/* === Reset & Base === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* === Navigation === */
nav.site-nav {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background-color: #333;
  padding: 8px 24px;
  display: flex;
  align-items: center;
}

nav.site-nav .site-logo {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-login-item {
  margin-left: 8px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.nav-links a:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-login {
  margin-left: 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4.5px 10.5px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  transition: background-color 0.2s, border-color 0.2s;
}

.nav-login:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* === Hamburger Button === */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* === Footer === */
footer {
  background-color: #f5f5f5;
  color: #777;
  text-align: center;
  padding: 36px 10px 20px;
  font-size: 0.9rem;
  margin-top: 40px;
}

footer a {
  color: #007B7F;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* === Mobile Navigation === */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #333;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    gap: 0;
  }

  .nav-links.open {
    display: flex !important;
  }

  .nav-links a {
    display: block;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1rem;
    text-align: left;
  }

  .nav-login-item {
    margin-left: 0;
  }

  .nav-login {
    border: none;
    font-weight: 500;
    color: #ccc;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 1rem;
  }

  nav.site-nav {
    position: relative;
    z-index: 1000;
  }
}
