/* ====== Navbar ====== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #123E2C;
  color: #FCFBC5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 10%;
  z-index: 1000;
  font-family: "Times", "Times New Roman", serif;
}

/* Logo */
nav .logo {
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Navbar Links */
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #FCFBC5;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #ffd9a0;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #FCFBC5;
  background: none;
  border: none;
}

/* ================== Responsive Design ================== */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #123E2C;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  nav ul.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  nav ul li {
    padding: 10px 0;
  }

  nav ul li a {
    font-size: 1.1rem;
  }
}

/* Logo image */
.logo img {
  height: 60px;
  width: auto;
  display: block;
  border-radius: 50%;
  background: #FCFBC5; /* 米色背景呼应网站主题 */
  padding: 8px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);  
}