/* ---------- Dropdown menu styles ---------- */

*{
  padding: 0;
  margin: 0;
  /* font-family: Cormorant Garamond, serif; */
}
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #00000044;
  min-width: 100px;
  z-index: 1000;
  padding: 0;
  margin: 0;
  border-radius: 2px;
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 1.2s;
}
.dropdown-menu a:hover {
  background: #00000013;
}
.dropdown:hover .dropdown-menu {
  display: block;
}

/* ---------- Navbar ---------- */
:root {
  --bg: #0f0f10;
  --bg-elev: #141416;
  --text: #d9d9d9;
  --muted: #a6a6a6;
  --gold: #d4c58a;
  --gold-strong: #e6d79e;
  --btn-dark: #1b1c1f;
}

.site-header {
  
  inset: 0 0 auto 0;
  background: transparent;
  background-color: rgba(0, 0, 0, 0.705);
  transition: background 0.25s ease, box-shadow 0.25s ease,
    backdrop-filter 0.25s ease;
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
}

.site-header.scrolled {
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

/* Brand */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

#logoimage{
  width: 250px;
}
.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--gold);
}
.brand-sub {
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--muted);
}

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-strong);
  opacity: 1;
}

.nav-links a.active {
  background-color: #00000083;
  padding: 10px 20px;
  border-radius: 8px;
}

.nav-links .cart a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--btn-dark);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.nav-toggle .bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Responsive ---------- */
/* ---------- Responsive (Mobile Navbar) ---------- */
@media (max-width: 960px) {
  .nav-toggle {
    display: none !important;
  }
  .nav-links {
    flex-direction: row;
    gap: 12px;
    position: static;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    display: flex !important;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  .nav-links a {
    font-size: 13px;
    padding: 6px 10px;
    min-width: 60px;
  }
  .nav-links .cart {
    align-self: center;
  }
  .logo img {
    width: 110px;
  }
  .nav {
    justify-content: space-between;
    padding: 0 8px;
    height: 54px;
  }
  .dropdown-menu {
    min-width: 80px;
  }
  .dropdown-menu a {
    font-size: 12px;
    padding: 6px 10px;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    font-size: 12px;
  }
  .brand-sub {
    display: none;
  }
  .nav-links a {
    font-size: 10px;
    padding: 4px 6px;
    min-width: 40px;
  }
  #logoimage {
    width: 60px;
  }
  .dropdown-menu a {
    font-size: 9px;
    padding: 4px 6px;
  }
}
