/*This is the css file for the maintenance-page.html file*/

* {
  /* Reset all elements to have no margin or padding */
  /* and set box-sizing to border-box for consistent sizing */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/*body styling for the entire body*/
body {
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  font-family: "Lato", "Open Sans", "Roboto", sans-serif;
}

/*entire header styling*/
.header {
  border-bottom: 5px solid black;
  padding: 20px;
  background-color: rgba(30, 30, 30, 0.95);
}

/*entire main-nav div formatting*/
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/*header left div formatting */
.left-div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.left-div img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
  animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
  0%, 100% { border-color: #ffd700; 
  box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
  50% { border-color: #ffd700;
  box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.2); 
    }
}

.left-div a {
  color: #ffd700;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  transition: color 0.3s ease-in-out;
}

.left-div a:hover {
  color: #fff;
}

/* Right side nav links */
.right-div {
  display: flex;
  align-items: center;
}

.header-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 40px;
}

.header-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.header-links li a:hover {
  color: #ffd700;
  background-color: rgba(255, 215, 0, 0.1);
}

/* Hamburger Menu Icon */
.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger-menu span {
  width: 30px;
  height: 3px;
  background-color: #ffd700;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger-menu:hover span {
  background-color: #fff;
}

/* Animate hamburger to X when open */
.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/*This is now the styling of the main content*/
main {
  background-color: rgba(30, 30, 30, 0.7);
  width: 100%;
  padding: 10px 30px;
  min-height: calc(100vh - 200px);
}

.two-column {
  display: flex;
  width: 100%;
  gap: 30px;
  padding: 40px 0;
}

.left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.progress-bar {
  width: 100%;
  max-width: 500px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 30px auto;
  border: 1px solid rgba(0, 102, 204, 0.3);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0066cc, #00a3ff, #0066cc);
  background-size: 200% 100%;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 100%; }
}

.right-column {
  flex: 1;
  min-height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.right-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/*h1 styling*/
h1 {
  text-align: center;
  font-size: 2.5rem;
  margin: 20px 0;
  padding: 20px;
}

/*h2 styling*/
h2 {
  color: #ffd700;
  text-align: center;
  font-size: 2rem;
  margin: 20px 0;
  padding: 20px;
}

/* h3 styling*/
h3 {
  color: #ff5252;
  text-align: center;
  font-size: 1.5rem;
  margin: 20px 0;
  padding: 20px;
}

.left-column img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 20px 0;
}

.percentage {
  width: 100%;
  max-width: 500px;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zero-percent {
  color: #ff5252;
  font-size: 1.4rem;
}

.onehundred-percent {
  color: #00e676;
  font-size: 1.4rem;
}

/* Hamburger Menu Icon */
.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger-menu span {
  width: 30px;
  height: 3px;
  background-color: #ffd700;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

.hamburger-menu:hover span {
  background-color: #fff;
}

/* Animate hamburger to X when open */
.hamburger-menu.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Footer Styling */
.Footer {
  background-color: rgba(30, 30, 30, 0.9);
  border-top: 5px solid black;
  padding: 20px;
  text-align: center;
  color: #ffd700;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .hamburger-menu {
    display: flex;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .header-links {
    display: none; /* Hide navigation by default on mobile */
    flex-direction: column;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.95);
    border: 2px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    gap: 10px;
  }

  .header-links.open {
    display: flex; /* Show navigation when 'open' class is added */
  }

  .header-links li a {
    padding: 10px 0;
  }

  .two-column {
    flex-direction: column;
    gap: 20px;
  }

  .right-column {
    min-height: 300px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  main {
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .left-div {
    gap: 10px;
  }

  .left-div img {
    width: 50px;
    height: 50px;
  }

  .left-div a {
    font-size: 1.2rem;
  }

  h1 {
    font-size: 1.5rem;
    padding: 15px;
  }

  h2 {
    font-size: 1.2rem;
    padding: 15px;
  }

  h3 {
    font-size: 1rem;
    padding: 15px;
  }

  .percentage {
    font-size: 1.2rem;
  }
}
