/* 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;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Header styles */
.site-header {
  background-color: #007BFF; /* Primary color */
  color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #FFC107; /* Secondary color */
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 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: #FFC107; /* 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: #FFC107; /* Secondary color */
}

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

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

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

/* Footer styles */
.site-footer {
  background-color: #222;
  color: #f0f0f0;
  padding: 3rem 2rem 1rem;
  font-size: 0.9rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-column h3 {
  color: #FFC107; /* Secondary color */
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

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

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

.footer-column a:hover {
  color: #007BFF; /* Primary color */
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .site-header {
    padding: 1rem;
  }

  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .logo {
    flex-grow: 1;
    text-align: left;
  }

  .hamburger-menu {
    display: block;
  }

  .main-nav {
    flex-basis: 100%;
    order: 3; /* Move below logo and hamburger */
    display: none; /* Hidden by default */
    width: 100%;
    background-color: #007BFF;
    padding-bottom: 1rem;
  }

  .main-nav.active {
    display: block;
  }

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

  .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: 1rem;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-column h3 {
    margin-top: 1.5rem;
  }

  .footer-column:first-child h3 {
    margin-top: 0;
  }
}

/* Back to top button (optional, but good for JS) */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007BFF; /* Primary color */
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}