* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --nav-bg: #eba533;
  --nav-color: #fff;
  --nav-hover: #f1c070;
  --nav-date: #a57324;
  --transition: 0.3s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navbar */
.navbar {
  background: var(--nav-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 25px;
  font-family: system-ui, sans-serif;
  height: 80px;
}

/* Brand */
.logo {
  height: 140px;
  width: 140px;
  margin-top: 80px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 25px;
  transition: transform 0.3s ease;
}
.bar {
  width: 100%;
  height: 3px;
  background: var(--nav-color);
  transition: all 0.3s ease;
}
.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Nav links */
.nav {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}
.nav-link {
  color: var(--nav-color);
  text-decoration: none;
  padding: 8px 10px;
  transition: background var(--transition);
}
.nav-link:hover {
  background: var(--nav-hover);
  border-radius: 4px;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  list-style: none;
  background: var(--nav-bg);
  border-radius: 6px;
  overflow: hidden;
  min-width: 160px;
  position: absolute;
  top: 38px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition);
  z-index: 999;
}
.dropdown-menu li a {
  display: block;
  color: #fff;
  padding: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.dropdown-menu li a:hover {
  background: var(--nav-hover);
}

/* Show dropdown on hover or click */
.dropdown.show .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.date {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 16px;
  color: var(--nav-date);
  font-family: system-ui, sans-serif;
}

.copy {
  width: 2rem;
  height: 2rem;
}

/* Responsive */

@media (max-width: 1100px) {
  .date {
    flex-direction: column;
  }
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: var(--nav-bg);
    flex-direction: column;
    align-items: start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav.show {
    max-height: 500px;
  }

  .nav li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 12px 20px;
  }

  .date {
    font-size: 12px;
  }

  /* Mobile dropdowns */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown.show .dropdown-menu {
    max-height: 300px;
  }
}
