:root {
  --primary-color: #0A2463; /* Dark Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-color-light: #f4f4f4;
  --text-color-dark: #333;
  --bg-color-dark: #1a1a1a;
  --link-hover-color: #ffd700; /* Secondary color for hover */
}

/* Basic Reset & Body Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--link-hover-color);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.site-header {
  background-color: var(--primary-color);
  color: var(--text-color-light);
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.site-header .logo {
  font-family: 'Georgia', serif; /* A classic, professional font */
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
  padding: 5px 0;
}

.site-header .logo:hover {
  color: #fff; /* Lighter gold on hover */
}

.main-nav ul {
  display: flex;
  gap: 25px;
}

.main-nav a {
  color: var(--text-color-light);
  font-weight: 600;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--secondary-color);
}

.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001; /* Ensure it's above the nav when active */
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color-light);
  margin-bottom: 6px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu span:last-child {
  margin-bottom: 0;
}

/* Hamburger menu active state */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Footer Styles */
.site-footer {
  background-color: var(--bg-color-dark);
  color: var(--text-color-light);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}

.site-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
}

.site-footer .footer-brand-info,
.site-footer .footer-nav-section,
.site-footer .footer-contact-info {
  flex: 1;
  min-width: 250px; /* Minimum width for columns before wrapping */
}

.site-footer .footer-brand-info p {
  color: #ccc;
  line-height: 1.8;
}

.site-footer h3 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

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

.footer-nav a,
.footer-contact-info a {
  color: #ccc;
  transition: color 0.3s ease;
}

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

.footer-contact-info p {
  margin-bottom: 8px;
  color: #ccc;
}

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

.site-footer .copyright {
  color: #aaa;
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .site-header .header-container {
    padding: 0 15px;
  }

  .site-header .logo {
    font-size: 1.8rem;
  }

  .main-nav {
    display: none; /* Hide desktop nav */
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    transition: transform 0.3s ease-out;
    transform: translateY(-100%); /* Start off-screen */
  }

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

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .main-nav a {
    display: block;
    padding: 15px 20px;
    color: var(--text-color-light);
  }

  .main-nav a::after {
    display: none; /* Remove underline animation on mobile */
  }

  .main-nav a:hover,
  .main-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
  }

  .hamburger-menu {
    display: block; /* Show hamburger on mobile */
  }

  .site-footer .footer-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 15px;
  }

  .site-footer .footer-brand-info,
  .site-footer .footer-nav-section,
  .site-footer .footer-contact-info {
    min-width: unset; /* Remove min-width for stacking */
    width: 100%;
    text-align: center;
  }

  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 20px; /* Adjust gap for wrapped items */
  }

  .footer-nav ul li {
    margin-bottom: 0; /* Remove vertical margin for wrapped items */
  }
}