:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --dark-blue: #06153B;
  --light-gold: #FFECB3;
  --text-color-light: #ffffff;
  --text-color-dark: #333333;
  --header-top-height: 60px;
  --main-nav-height: 50px;
  --mobile-buttons-height: 60px;
  --total-header-height-desktop: calc(var(--header-top-height) + var(--main-nav-height));
  --total-header-height-mobile: calc(var(--header-top-height) + var(--mobile-buttons-height));
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  padding-top: var(--total-header-height-desktop); /* Desktop default padding */
}

body.no-scroll {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background-color: transparent; /* Base for fixed header */
}

.header-top {
  background-color: var(--primary-color); /* Dark blue for top bar */
  color: var(--text-color-light);
  min-height: var(--header-top-height);
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
}

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

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

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-blue);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.4);
}

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

.btn-secondary {
  background-color: var(--dark-blue);
  color: var(--text-color-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background-color: #0d2a6b;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-accent {
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(255, 165, 0, 0.4);
}

.btn-accent:hover {
  background: linear-gradient(90deg, #FFA500, #FFD700);
  box-shadow: 0 6px 12px rgba(255, 165, 0, 0.6);
}

.main-nav {
  background-color: var(--secondary-color); /* Gold for main navigation */
  min-height: var(--main-nav-height);
  display: flex; /* Desktop default: flex */
  flex-direction: row; /* Desktop default: row */
  align-items: center;
  justify-content: center;
  color: var(--dark-blue);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 25px; /* Desktop padding */
}

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

.nav-link:hover {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 5px;
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 5px auto;
  transition: all 0.3s ease;
}

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

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

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

.mobile-buttons-area {
  display: none; /* Hidden on desktop */
  background-color: var(--dark-blue);
  min-height: var(--mobile-buttons-height);
  padding: 10px 0;
  z-index: 998;
}

.mobile-buttons-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
}

.mobile-menu-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Footer Styles */
.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 40px 0 20px;
  font-size: 15px;
  margin-top: 50px; /* Ensure space below main content */
}

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

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

.footer-column h3 {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-column p {
  margin: 0;
  line-height: 1.8;
}

.footer-nav a {
  display: block;
  color: var(--text-color-light);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

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

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

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    padding-top: var(--total-header-height-mobile); /* Mobile padding */
  }

  .site-header {
    display: block;
  }

  .header-container {
    padding: 0 15px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    justify-content: unset;
  }

  .hamburger-menu {
    display: block;
    grid-column: 1;
    justify-self: start;
    color: var(--secondary-color);
  }

  .logo {
    grid-column: 2;
    justify-self: center;
    font-size: 24px;
    padding: 10px 0;
  }

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

  .mobile-buttons-area {
    display: block; /* Show mobile buttons area */
    background-color: var(--primary-color);
    z-index: 998;
  }

  .mobile-buttons-container {
    justify-content: space-around;
    padding: 0 10px;
    flex-wrap: wrap;
  }
  
  .mobile-buttons-container .btn {
    flex: 1 1 auto;
    margin: 5px;
    font-size: 14px;
    padding: 8px 15px;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--dark-blue);
    flex-direction: column; /* Vertical menu on mobile */
    justify-content: flex-start;
    padding-top: 60px; /* Space for fixed header content */
    transform: translateX(-100%); /* Slide out of view */
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  }

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

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    width: 100%;
    max-width: none; /* Mobile container fills width */
  }

  .nav-link {
    width: 100%;
    padding: 12px 25px;
    text-align: left;
    color: var(--text-color-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }

  .footer-column {
    min-width: unset;
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-column:last-child {
    margin-bottom: 0;
  }

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