/* Base Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f4f7f6;
  color: #333;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px; /* Ensure content adaptation */
  background-color: #0A1931;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  color: #fff;
  padding: 0 20px;
  box-sizing: border-box;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.desktop-nav-wrapper {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav li {
  margin-left: 25px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a.active {
  color: #FFD700;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  margin-left: 30px;
  display: flex;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: #FFD700;
  color: #0A1931;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  background-color: #e6c200;
  box-shadow: 0 6px 15px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
  background-color: #007BFF; /* Vibrant blue */
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.4);
}

.btn-secondary:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.6);
}

/* Hamburger Menu */
.hamburger-menu {
  display: none; /* Hidden on desktop */
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.hamburger-menu .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFD700;
  margin-bottom: 5px;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger-menu .bar:last-child {
  margin-bottom: 0;
}

.hamburger-menu.is-active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.is-active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.is-active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0A1931;
  padding-top: 80px; /* Space for header-top */
  box-sizing: border-box;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav li {
  margin-bottom: 15px;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
  padding: 10px 0;
  display: block;
  transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #FFD700;
}

.header-buttons.mobile-only {
  display: none; /* Hidden on desktop */
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  background-color: #0A1931; /* Match header background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow below buttons */
  z-index: 1000; /* Lower than hamburger menu, same as header */
}

/* Footer */
.site-footer {
  background-color: #0A1931;
  color: #ccc;
  padding: 40px 20px;
  font-size: 0.9em;
  line-height: 1.6;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.footer-section h3 {
  color: #FFD700;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFD700;
}

.footer-contact p a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact p a:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav-wrapper {
    display: none;
  }

  .hamburger-menu {
    display: block;
    order: -1; /* Place hamburger on the far left */
  }

  .header-top {
    justify-content: space-between; /* Re-adjust for hamburger */
    padding: 10px 20px; /* Add padding back for mobile */
  }

  .logo {
    flex-grow: 1;
    text-align: center;
    margin: 0;
    font-size: 1.5em;
  }

  .header-buttons.mobile-only {
    display: flex;
    padding: 10px 20px;
  }

  .header-buttons.mobile-only .btn {
    flex: 1;
    font-size: 0.9em;
    padding: 8px 15px;
  }

  .site-header {
    padding: 0; /* Remove header padding as header-top has it */
    min-height: auto;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    min-width: unset;
    width: 100%;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-nav li {
    margin-bottom: 0;
  }
}
