:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Dodger Blue */
  --dark-background: #0A1A30; /* Very dark blue for header-top and footer */
  --light-text: #FFFFFF;
  --dark-text: #333333;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding-top: 0; /* Will be overridden by JS for mobile */
  line-height: 1.6;
  color: var(--dark-text);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Site Header - Fixed position, always visible */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Suspended effect */
  background-color: var(--dark-background); /* Fallback, specific parts will override */
  min-height: 60px; /* Ensure content fits */
  display: flex;
  flex-direction: column; /* Stacks header-top and main-nav */
}

/* Header Top Area - Desktop layout */
.header-top {
  background-color: var(--dark-background); /* Distinct background for top bar */
  width: 100%;
  color: var(--light-text);
  padding: 10px 0; /* Vertical padding for the top bar */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px; /* Desktop left/right padding */
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color); /* Gold logo */
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block; /* Ensure logo is visible */
  padding: 5px 0;
}

/* Desktop Navigation Buttons */
.desktop-nav-buttons {
  display: flex; /* Always visible on desktop */
  gap: 12px; /* Spacing between buttons */
  align-items: center;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none; /* Remove underline for buttons */
  white-space: nowrap; /* Prevent buttons from wrapping */
}

.btn-primary {
  background-color: var(--primary-color); /* Gold */
  color: var(--dark-background); /* Dark text on gold */
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold */
  border-color: #e6c200;
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color); /* Dodger Blue */
  color: var(--light-text); /* Light text on blue */
  border: 2px solid var(--secondary-color);
  box-shadow: 0 4px 8px rgba(30, 144, 255, 0.3);
}

.btn-secondary:hover {
  background-color: #1a7ae6; /* Slightly darker blue */
  border-color: #1a7ae6;
  box-shadow: 0 6px 12px rgba(30, 144, 255, 0.4);
  transform: translateY(-2px);
}

/* Main Navigation Area - Desktop layout */
.main-nav {
  background-color: var(--primary-color); /* Gold background for nav */
  width: 100%;
  padding: 10px 0; /* Vertical padding for nav bar */
  display: flex; /* Desktop default: flex */
  flex-direction: row; /* Desktop default: horizontal */
  justify-content: center; /* Center menu items */
  align-items: center;
  min-height: 50px; /* Ensure content fits */
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* Desktop default: horizontal */
  justify-content: center;
  align-items: center;
  padding: 0 20px; /* Desktop left/right padding */
  flex-wrap: wrap; /* Allow wrapping if many items */
}

.nav-link {
  color: var(--dark-background); /* Dark text on gold nav */
  font-weight: bold;
  padding: 10px 15px;
  font-size: 16px;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap; /* Prevent menu items from wrapping */
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color); /* Dodger Blue on hover */
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 5px;
}

/* Hamburger menu - Hidden on desktop */
.hamburger-menu {
  display: none; /* Hidden on desktop */
}

/* Mobile button area - Hidden on desktop */
.mobile-button-area {
  display: none; /* Hidden on desktop */
}

/* Site Footer */
.site-footer {
  background-color: var(--dark-background); /* Dark background for footer */
  color: var(--light-text);
  padding: 40px 20px 20px;
  margin-top: 50px; /* Add some space above footer */
  font-size: 15px;
}

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

.site-footer .footer-column {
  flex: 1;
  min-width: 200px; /* Minimum width for columns */
}

.site-footer .footer-heading {
  font-size: 18px;
  color: var(--primary-color); /* Gold headings */
  margin-bottom: 15px;
  font-weight: bold;
}

.site-footer p, .site-footer li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.site-footer a {
  color: var(--light-text);
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--primary-color); /* Gold on hover */
}

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

.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.site-footer .copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile styles */
@media (max-width: 768px) {
  body.no-scroll {
    overflow: hidden;
  }

  /* Adjust body padding-top to account for fixed header and mobile button area */
  /* header-top height ~ 60px, mobile-button-area height ~ 50px. Total ~110px. Add 10px buffer. */
  body {
    padding-top: 120px; 
  }

  .site-header {
    flex-direction: column; /* Stack elements vertically */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .header-top {
    padding: 10px 0; /* Smaller vertical padding */
  }

  .header-container {
    width: 100%; /* Mobile container takes full width */
    max-width: none; /* No max-width on mobile */
    padding: 0 15px; /* Smaller left/right padding */
    justify-content: space-between; /* Hamburger left, Logo center */
    position: relative; /* For logo centering */
  }

  .logo {
    font-size: 24px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: block; /* Ensure logo is visible */
    z-index: 1; /* Keep logo above other elements if needed */
  }

  .desktop-nav-buttons {
    display: none; /* Hide desktop buttons on mobile */
  }

  /* Hamburger menu - Visible on mobile */
  .hamburger-menu {
    display: flex; /* Show hamburger menu */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001; /* Above logo and buttons */
    position: relative; /* For positioning */
  }

  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color); /* Gold lines */
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
  }

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

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

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

  /* Mobile Button Area - Visible on mobile, below header-top */
  .mobile-button-area {
    display: block; /* Show on mobile */
    background-color: #1A3A5A; /* Slightly lighter dark blue for button area */
    padding: 10px 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 990; /* Below hamburger menu, above main content */
    position: relative; /* To ensure it stacks below header-top */
  }
  .mobile-button-area .header-container {
    justify-content: center; /* Center buttons */
    gap: 10px;
  }

  /* Main Navigation - Mobile (hidden by default, slides in) */
  .main-nav {
    display: none; /* Hidden by default for mobile */
    position: fixed; /* Fixed for slide-in menu */
    top: 0;
    left: 0;
    width: 70%; /* Slide-in menu width */
    height: 100%;
    background-color: var(--dark-background); /* Dark background for mobile menu */
    flex-direction: column; /* Vertical menu items */
    padding-top: 80px; /* Space for a top bar if needed, or push content down */
    transform: translateX(-100%); /* Start off-screen to the left */
    transition: transform 0.3s ease-in-out;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Above overlay */
    overflow-y: auto; /* Allow scrolling if menu is long */
  }

  .main-nav.active {
    display: flex; /* Show when active */
    transform: translateX(0); /* Slide into view */
  }

  .main-nav .nav-container {
    width: 100%; /* Mobile container takes full width */
    max-width: none; /* No max-width on mobile */
    flex-direction: column; /* Vertical menu items */
    padding: 0 15px; /* Smaller left/right padding */
    align-items: flex-start; /* Align menu items to the left */
  }

  .main-nav .nav-link {
    color: var(--light-text); /* Light text on dark mobile menu */
    width: 100%;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .main-nav .nav-link:last-child {
    border-bottom: none;
  }

  .main-nav .nav-link:hover, .main-nav .nav-link.active {
    background-color: rgba(255, 215, 0, 0.1); /* Slight gold background on hover */
    color: var(--primary-color); /* Gold text on hover */
  }

  /* Mobile menu overlay */
  .mobile-menu-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 999; /* Below menu, above content */
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
  }

  .mobile-menu-overlay.active {
    display: block; /* Show when active */
    opacity: 1;
  }

  /* Footer mobile adjustments */
  .site-footer .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .site-footer .footer-column {
    min-width: unset; /* Remove min-width */
    width: 100%;
    text-align: center;
  }

  .site-footer .footer-nav {
    text-align: center;
  }
}