/* header */
.header {
  height: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color:var(--color-white);
  color:var(--color-black);
  padding: 10px 20px;
  position: relative;
}

.left {
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo {
  width: 50px;
  height: 50px;
  object-fit: cover;
}
.left h1 {
  margin: 0;                
  line-height: 1;   
  font-family: Garamond, serif;
  font-weight: 900;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  align-items: center; 
  margin: 0;
  padding: 0;
}

.nav a {
  color:var(--color-black);
   font-family: "Montserrat", sans-serif;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

.nav ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: var(--color-golden);
    display: block;
    margin: auto;
    transition: 0.5s;
    
}
.nav ul li:hover::after{
    width: 100%;
    
}
.menu-icon {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    background: var(--color-golden);
    z-index: 3;
    position: absolute;
    top: 80px;
    right: 0;
    width: 200px;
    display: none;
    padding: 10px 0;
  }
  .left h1 {
    font-size: 1.5rem;
  }
  .nav a{
    color: #fff;
  }
  .menu-icon {
    display: block;
  }

  #menu-toggle:checked + .menu-icon + .nav ul {
    display: flex;
  }
}
