/* ===== HAMBURGER BUTTON ===== */
.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin-right: 10px;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger.active {
  color: #AC162C;
  transform: rotate(90deg);
}

/* ===== HEADER & NAVIGATION STYLES ===== */
header {
  background-color: #1c2e4a;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.header-logo {
  height: 120px;
  z-index: 1000;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  transition: max-height 0.3s ease-out, opacity 0.3s ease;
}

.main-nav a {
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover {
  background-color: rgba(252, 255, 243, 0.2);
  color: #AC162C;
}

/* ===== MOBILE NAV TOGGLE ===== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 18px;
    right: 20px;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 0 10px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }

  .main-nav.active {
    max-height: 1000px; /* large enough to show all items */
    opacity: 1;
    margin-top: 10px;
  }

  .main-nav a {
    padding: 10px 0;
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-logo {
    height: 90px;
  }
}
