/* Global Styles & Variables */
:root {
  --primary-color: #0A2342;
  --accent-color: #FFD700;
  --text-color: #f0f0f0;
  --dark-text-color: #333;
  --link-hover-color: #FFECB3;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--dark-text-color);
  padding-top: 110px; /* Space for fixed header on desktop and mobile */
}

body.no-scroll {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: linear-gradient(45deg, #FFD700, #FFA500);
  color: var(--primary-color);
  border: 1px solid #FFD700;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #FFA500, #FFD700);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: #0C3660;
  box-shadow: 0 6px 20px rgba(10, 35, 66, 0.4);
  transform: translateY(-2px);
}

/* Site Header - Desktop First */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-top {
  background-color: var(--primary-color); /* Dark blue */
  padding: 10px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  min-height: 40px;
}

.logo {
  color: var(--accent-color);
  font-size: 28px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding: 5px 0;
}

.desktop-nav-buttons {
  display: flex;
  gap: 12px;
}

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

.hamburger-menu::before, .hamburger-menu::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--accent-color);
  left: 0;
  transition: all 0.3s ease;
}

.hamburger-menu::before {
  top: 0;
}

.hamburger-menu::after {
  bottom: 0;
}

.hamburger-menu.active::before {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger-menu.active::after {
  transform: rotate(-45deg);
  bottom: 10px;
}

.main-nav {
  background-color: var(--accent-color); /* Gold */
  width: 100%;
  display: flex;
  min-height: 50px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  padding: 8px 15px;
  font-weight: bold;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 5px;
  white-space: nowrap;
}

.nav-link:hover {
  background-color: var(--primary-color);
  color: var(--accent-color);
}

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

.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Site Footer */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 40px 20px;
  font-size: 14px;
}

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

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-column h3, .footer-column h4 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-column p {
  margin-bottom: 10px;
}

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

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

.footer-nav a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

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

.footer-bottom p {
  margin: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    padding-top: 110px; /* Keep consistent padding for mobile header */
  }

  .header-container {
    padding: 0 15px;
    justify-content: space-between;
    position: relative;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .desktop-nav-buttons {
    display: none;
  }

  .hamburger-menu {
    display: block;
    order: -1; /* Place hamburger on the left */
    margin-right: auto; /* Push logo to center */
  }

  .mobile-buttons-area {
    display: block; /* Show mobile buttons area */
    background-color: var(--primary-color);
    padding: 10px 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }

  .mobile-buttons-container {
    width: 100%;
    max-width: none; /* CRITICAL: No max-width on mobile containers */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0 15px;
  }

  .btn {
    flex: 1;
    max-width: 150px;
    padding: 8px 15px;
    font-size: 14px;
  }

  .main-nav {
    position: fixed;
    top: 0; /* Will be adjusted by JS, but fixed to top initially */
    left: 0;
    width: 280px;
    height: 100%;
    background-color: var(--primary-color); /* Use primary color for mobile menu background */
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px; /* Space for a potential logo/close button inside menu */
    transform: translateX(-100%); /* Hidden by default */
    transition: transform 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: none; /* Hidden by default, toggled by JS to block/flex */
  }

  .main-nav.active {
    transform: translateX(0); /* Visible when active */
    display: flex; /* CRITICAL: Set display to block/flex when active */
  }

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 15px;
    width: 100%;
    max-width: none; /* CRITICAL: No max-width on mobile containers */
  }

  .nav-link {
    width: 100%;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
  }

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

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

  .footer-bottom {
    margin-top: 30px;
  }
}