:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --dark-background: #1a1a1a;
  --light-text: #ffffff;
  --dark-text: #333333;
  --header-top-height-desktop: 60px;
  --main-nav-height-desktop: 50px;
  --header-height-desktop: calc(var(--header-top-height-desktop) + var(--main-nav-height-desktop));
  --header-top-height-mobile: 60px;
  --mobile-buttons-height-mobile: 60px;
  --header-height-mobile: calc(var(--header-top-height-mobile) + var(--mobile-buttons-height-mobile));
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding-top: var(--header-height-desktop); /* Desktop padding-top */
  color: var(--dark-text);
  line-height: 1.6;
  background-color: #f5f5f5;
}

/* Site Header (Fixed) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background-color: var(--secondary-color); /* Default background, mostly for header-top */
  min-height: var(--header-height-desktop);
}

/* Header Top (Desktop) */
.header-top {
  background-color: var(--secondary-color); /* Dark Red */
  color: var(--light-text);
  padding: 10px 0;
  min-height: var(--header-top-height-desktop);
  display: flex;
  align-items: center;
}

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

.logo {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color); /* Gold logo */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
  line-height: 1;
}

/* Desktop Navigation Buttons */
.desktop-nav-buttons {
  display: flex;
  gap: 12px;
}

/* Main Navigation (Desktop) */
.main-nav {
  background-color: var(--primary-color); /* Gold */
  padding: 10px 0;
  display: flex; /* Desktop default */
  flex-direction: row; /* Desktop default */
  position: static; /* Desktop default */
  width: 100%;
  box-sizing: border-box;
  min-height: var(--main-nav-height-desktop);
}

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

.nav-link {
  color: var(--dark-text);
  text-decoration: none;
  padding: 10px 18px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease, border-radius 0.3s ease;
  border-radius: 4px;
}

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

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

.btn-primary {
  background-color: var(--primary-color);
  color: var(--dark-text);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #e0b800;
  border-color: #e0b800;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--light-text);
  border: 2px solid var(--secondary-color);
}

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

/* Hamburger Menu (Mobile) */
.hamburger-menu {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.hamburger-icon {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-menu.active .hamburger-icon:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.hamburger-menu.active .hamburger-icon:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active .hamburger-icon:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation Buttons (Hidden on desktop) */
.mobile-nav-buttons {
  display: none; /* Hidden on desktop */
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none; /* Hidden on desktop */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

/* Footer */
.site-footer {
  background-color: var(--dark-background);
  color: var(--light-text);
  padding: 40px 20px 20px;
  font-size: 0.9em;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer-col p,
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer-col a:hover {
  color: var(--primary-color);
}

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

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

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

  /* Header Top */
  .header-container {
    padding: 0 15px;
    max-width: none; /* No max-width on mobile */
    justify-content: space-between;
  }

  .logo {
    font-size: 1.8em;
    flex-grow: 1;
    text-align: center;
    order: 2;
    padding: 10px 0;
  }

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

  .hamburger-menu {
    display: flex;
    order: 1;
    margin-right: auto; /* Pushes logo to center */
  }

  /* Main Navigation (Mobile) */
  .main-nav {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 75%; /* Take up 75% of screen width */
    height: 100%;
    background-color: var(--dark-background);
    padding: var(--header-height-mobile) 20px 20px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%); /* Slide out to the left */
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

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

  .nav-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    max-width: none;
    width: 100%;
  }

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

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

  /* Mobile Buttons Area */
  .mobile-nav-buttons {
    display: flex; /* Show mobile buttons */
    position: fixed;
    top: var(--header-top-height-mobile); /* Below the header-top */
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background-color: var(--secondary-color);
    padding: 10px 15px;
    justify-content: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

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

  .footer-col {
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  .footer-col ul {
    text-align: center;
  }
  .footer-col li {
    display: inline-block;
    margin: 0 5px;
  }
}

/* Utility for no scroll */
body.no-scroll {
  overflow: hidden;
}
