:root {
  --primary-color: #FFD700;
  --secondary-color: #1A2B3C;
  --text-color-light: #f0f0f0;
  --text-color-dark: #333;
  --header-top-bg: var(--secondary-color);
  --main-nav-bg: var(--primary-color);
  --button-primary-bg: #E74C3C; /* Example vibrant red */
  --button-secondary-bg: #3498DB; /* Example vibrant blue */
  --button-tertiary-bg: #2ECC71; /* Example vibrant green */
  --header-height-desktop: 100px; /* Calculated from header-top and main-nav padding/height */
  --header-height-mobile: 150px; /* Calculated for mobile header-top + mobile-buttons-area */
}

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  padding-top: var(--header-height-desktop); /* Global padding for fixed header */
}

body.no-scroll {
  overflow: hidden;
}

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

/* Header Top Area (Desktop) */
.header-top {
  background-color: var(--header-top-bg);
  width: 100%;
  padding: 10px 0;
}

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

.logo {
  font-size: 2.2em;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  padding: 5px 0;
  display: block; /* Ensure logo is always visible */
}

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

/* Main Navigation Area (Desktop) */
.main-nav {
  background-color: var(--main-nav-bg);
  width: 100%;
  display: flex; /* Desktop default: flex */
  position: static; /* Desktop default: static */
  min-height: 40px;
}

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

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

.nav-link:hover {
  color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

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

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

/* Mobile Buttons Area (Hidden on Desktop) */
.mobile-buttons-area {
  display: none; /* Hidden on desktop */
}

/* Mobile Menu Overlay (Hidden on Desktop) */
.mobile-menu-overlay {
  display: none; /* Hidden on desktop */
}

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

.btn-primary {
  background-image: linear-gradient(45deg, #FF6F61, #FFD700);
  color: white;
}

.btn-primary:hover {
  background-image: linear-gradient(45deg, #E74C3C, #FFC107);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background-image: linear-gradient(45deg, #3498DB, #85C1E9);
  color: white;
}

.btn-secondary:hover {
  background-image: linear-gradient(45deg, #217DBB, #6CB5E8);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-tertiary {
  background-image: linear-gradient(45deg, #2ECC71, #82E0AA);
  color: white;
}

.btn-tertiary:hover {
  background-image: linear-gradient(45deg, #28B463, #5CBF8D);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.site-footer p,
.site-footer ul {
  margin-bottom: 10px;
}

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

.site-footer ul li a {
  color: var(--text-color-light);
  text-decoration: none;
  transition: color 0.3s;
  display: block;
  padding: 5px 0;
}

.site-footer ul li a:hover {
  color: var(--primary-color);
}

.site-footer .footer-contact a {
  color: var(--text-color-light);
  text-decoration: none;
}

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

.site-footer .footer-bottom {
  text-align: center;
  margin-top: 30px;
  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); /* Adjusted padding for mobile fixed header + buttons */
  }

  .site-header {
    min-height: auto;
  }

  .header-container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
    position: relative; /* For absolute positioning of hamburger */
  }

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

  .logo {
    flex-grow: 1;
    text-align: center;
    font-size: 1.8em;
    color: var(--primary-color);
  }

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

  .hamburger-menu {
    display: flex; /* Show hamburger menu on mobile */
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

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

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

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

  .main-nav {
    display: none; /* Default hidden on mobile */
    flex-direction: column; /* Vertical layout for mobile menu */
    position: fixed;
    top: 0;
    left: 0;
    width: 70%; /* Adjust as needed */
    height: 100%;
    background-color: var(--secondary-color); /* Darker background for menu */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(-100%); /* Slide out from left */
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    overflow-y: auto;
    padding-top: calc(var(--header-height-mobile) + 20px); /* Space for header + buttons */
  }

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

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

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

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

  .mobile-buttons-area {
    display: block; /* Show mobile buttons area */
    background-color: var(--header-top-bg);
    padding: 10px 0;
    width: 100%;
    z-index: 999; /* Below mobile menu, above content */
  }

  .mobile-buttons-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: none; /* Ensure full width */
    width: 100%;
    padding: 0 15px;
  }

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

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

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

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

  .site-footer ul {
    padding: 0;
  }
}
