.site-header {
  background-color: #1A1A1A;
  color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

.site-header .logo {
  font-family: 'Impact', sans-serif;
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.site-header .logo:hover {
  color: #fff;
}

.site-header .main-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

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

.site-header .main-nav .nav-list a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.site-header .main-nav .nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}

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

.site-header .main-nav .nav-list a:hover,
.site-header .main-nav .nav-list a.active {
  color: #FFD700;
}

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

.site-header .hamburger-menu .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #FFD700;
  margin: 5px 0;
  transition: 0.4s;
}

.site-header .auth-buttons {
  display: flex;
  gap: 10px;
  margin-left: 20px;
}

.site-header .auth-buttons .btn {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.site-header .auth-buttons .btn-register {
  background-color: #FFD700;
  color: #1A1A1A;
  border: 1px solid #FFD700;
}

.site-header .auth-buttons .btn-register:hover {
  background-color: #e0c200;
  color: #1A1A1A;
}

.site-header .auth-buttons .btn-login {
  background-color: transparent;
  color: #FFD700;
  border: 1px solid #FFD700;
}

.site-header .auth-buttons .btn-login:hover {
  background-color: #FFD700;
  color: #1A1A1A;
}

/* Footer Styles */
.site-footer {
  background-color: #1A1A1A;
  color: #fff;
  padding: 40px 0 20px;
  font-size: 0.9em;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-footer .footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.site-footer .footer-col {
  flex: 1;
  min-width: 250px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.site-footer .footer-col:last-child {
  margin-right: 0;
}

.site-footer .footer-col h3 {
  color: #FFD700;
  font-size: 1.2em;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 5px;
}

.site-footer .footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #FFD700;
}

.site-footer .footer-col p,
.site-footer .footer-col li {
  line-height: 1.6;
  color: #ccc;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer .footer-col a:hover {
  color: #FFD700;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
  .site-header .container {
    flex-wrap: wrap;
    /* Original: align-items: center; justify-content: space-between; */
  }

  .site-header .logo {
    font-size: 2em;
    order: 2; /* Logo comes after main-nav (hamburger) */
    flex-grow: 1; /* Allow logo to take up available space in the middle */
    text-align: center; /* Center the text within its flex item */
    margin: 0; /* Reset any desktop margins */
  }

  .site-header .main-nav {
    order: 1; /* Main nav (with hamburger) comes first */
    width: auto; /* Override width: 100% */
    flex-basis: auto; /* Don't force it to take full width */
    justify-content: flex-start; /* Push hamburger to the left */
    align-items: center; /* Vertically align hamburger */
    margin-right: auto; /* This will push logo to center if main-nav is small */
  }

  .site-header .hamburger-menu {
    display: block; /* Already block */
    margin-left: 0; /* Ensure it's left-aligned within its container */
  }

  .site-header .main-nav .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #1A1A1A;
    position: absolute;
    top: 120px; /* Adjusted to account for two-row header height */
    left: 0;
    padding: 10px 0;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  .site-header .main-nav .nav-list.active {
    display: flex;
  }

  .site-header .main-nav .nav-list li {
    margin: 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .site-header .main-nav .nav-list a {
    display: block;
    padding: 15px 20px;
  }
  
  .site-header .main-nav .nav-list a::after {
    display: none;
  }

  .site-header .auth-buttons {
    order: 3; /* Comes after logo */
    width: 100%; /* Take full width */
    display: flex; /* To center buttons within */
    justify-content: center; /* Center the buttons horizontally */
    gap: 15px; /* Space between buttons */
    margin-top: 15px; /* Space from logo */
    margin-left: 0; /* Reset desktop margin */
    padding: 0 15px; /* Ensure padding inside container */
    box-sizing: border-box;
  }

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

  .site-footer .footer-col {
    width: 100%;
    max-width: 300px;
    margin-right: 0;
    text-align: center;
  }

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