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

html, body {
  font-family: 'Gilmer', 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #1a1a1a;
  line-height: 1.6;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Header */
.site-header {
  background-image: url("/assets/images/banner_HOT.png");
  background-size: 800px;
  background-position: center top -75px;
  background-repeat: repeat-x;
  padding: 0.25rem 0rem 0rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center;
  overflow: hidden;
}

.header-inner {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding-left: 2rem;
}

.logo-img {
  height: 120px;
  max-width: 90%;
  margin-top: 1.5rem;
}

.site-title {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Gilmer', 'Oswald', 'Segoe UI', sans-serif;
  margin-top: 0.25rem;
  text-shadow: -2px -2px 0 #000;
}

.site-title .lighter {
  font-weight: 300;
  color: #CE1126;
}

.top-right-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hamburger {
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  display: none;
}

.profile-dropdown {
  display: flex;
  position: static;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  left: 2rem;
  border: 2px solid #000;
  margin-top: 2rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  transform: translateX(-100%);
  background: white;
  padding: 0.75rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 200px;
  white-space: nowrap;
  z-index: 1101;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-content.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 85%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.dropdown-content a {
  display: block;
  padding: 1rem 1.5rem;
  color: #620000;
  text-decoration: none;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.dropdown-content a:hover {
  background-color: #3262e3;
  color: #000;
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 1rem;
  padding: 0.5rem 10.6rem 1.5rem;
  margin-top: -2.75rem;
  font-weight: 300;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 1rem;
  font-weight: 300;
}

.nav-links a {
  color: #0038A8;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus {
  color: #c0111f;
  text-decoration: underline;
  text-decoration-color: #0038A8;
  text-underline-offset: 4px;
  font-weight: bold;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  .top-right-controls {
    position: static;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .avatar {
    width: 40px;
    height: 40px;
    margin-top: 0.5rem;
  }

  .dropdown-content {
    right: 0;
    left: auto;
    transform: none;
  }

  .dropdown-content::before {
    left: 90%;
  }

  .logo-img {
    margin-top: 0;
    height: 90px;
  }

  .site-title {
    font-size: 2rem;
    margin-top: 0.25rem;
    text-align: center;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    margin-top: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }
}

/* Utilities */
.fade-in {
  animation: fadeIn 0.8s ease-in-out forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

