/* General Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
  color: #007bff; /* Primary color for links */
}

a:hover {
  color: #0056b3;
}

ul {
  list-style: none;
}

/* Header Styles */
.site-header {
  background-color: #1a1a1a; /* Darker background for header */
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #28a745; /* Secondary color for logo for contrast */
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #007bff; /* Primary color on hover */
}

.main-nav .nav-list {
  display: flex;
}

.main-nav .nav-list li {
  margin-left: 1.5rem;
}

.main-nav .nav-list a {
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
  color: #28a745; /* Secondary color for active/hover */
  border-bottom: 2px solid #28a745;
}

.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  position: relative;
  z-index: 1000;
}

.hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
}

/* Footer Styles */
.site-footer {
  background-color: #1a1a1a; /* Darker background for footer */
  color: #bbb;
  padding: 3rem 0 1rem;
  font-size: 0.9rem;
}

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

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

.footer-column h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.footer-column p,
.footer-column ul {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #28a745; /* Secondary color on hover */
}

.footer-column .footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #28a745;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 1rem;
}

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

.copyright {
  color: #888;
}

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

  .main-nav {
    width: 100%;
    order: 3; /* Push nav below logo and hamburger */
  }

  .main-nav .nav-list {
    display: none; /* Hide by default */
    flex-direction: column;
    background-color: #2a2a2a;
    width: 100%;
    position: absolute;
    top: 60px; /* Adjust based on header height */
    left: 0;
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }

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

  .main-nav .nav-list li {
    margin: 0;
    text-align: center;
  }

  .main-nav .nav-list a {
    display: block;
    padding: 0.8rem 1.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .main-nav .nav-list a:hover,
  .main-nav .nav-list a.active {
    background-color: #3a3a3a;
    border-left: 3px solid #28a745;
    color: #28a745;
  }

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

  /* Hamburger 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-column {
    min-width: unset;
    width: 100%;
  }

  .footer-column h3 {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }
}