/* Base styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Variables */
:root {
  --primary-color: #0A192F; /* Dark Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-light: #f0f0f0;
  --text-dark: #333;
  --bg-dark: #1a2a3a;
  --link-hover: #ffd700;
}

/* Header Styles */
.site-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.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(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  transition: color 0.3s ease;
}
.logo:hover {
  color: #fff;
}

.main-nav ul {
  display: flex;
}

.main-nav li {
  margin-left: 30px;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1em;
  padding: 5px 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,
.main-nav a.active {
  color: var(--secondary-color);
}

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

.hamburger-menu {
  display: none; /* Hidden by default on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001; /* Ensure it's above other content */
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: 0.4s;
}

/* Footer Styles */
.site-footer {
  background-color: var(--bg-dark); /* Slightly darker than primary */
  color: var(--text-light);
  padding: 40px 0 20px;
  font-size: 0.9em;
}

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

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

.footer-col h3 {
  color: var(--secondary-color);
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-col p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-col a {
  color: #ccc;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--secondary-color);
}

.footer-logo {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}

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

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

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

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

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

  .main-nav {
    display: none; /* Hide main nav by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 70px; /* Adjust based on header height */
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    z-index: 1000;
  }

  .main-nav.active {
    display: flex; /* Show when active */
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }

  .main-nav li {
    margin: 15px 0;
  }

  .main-nav a {
    font-size: 1.1em;
    padding: 10px 20px;
    display: block;
    width: 100%;
    text-align: center;
  }

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

  /* Hamburger menu animation */
  .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);
  }

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

  .footer-col {
    margin-bottom: 30px;
    min-width: unset;
    width: 100%;
  }

  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.8em;
  }
  .footer-logo {
    font-size: 1.6em;
  }
  .footer-bottom {
    font-size: 0.8em;
  }
}