:root {
  --accent: #d7c4ad;
  --accent-hover: #e6d4bc;
  --border: rgba(215,196,173,0.23);
  --muted: #ccc;
}

/* HEADER BASE */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 56px;
  padding: 6px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0,0,0,0.6);
  border-bottom: 1px solid var(--border);
  z-index: 1300;
  backdrop-filter: blur(6px);
  transition: all .4s ease;
}

header.shrink {
  height: 44px;
  padding: 4px 28px;
  background: rgba(0,0,0,0.9);
  border-bottom: 1px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* LOGO SWAP */
.logo-container {
  position: relative;
  width: 120px;
  height: 40px;
}

.logo-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 1s, transform .8s;
}

.logo-scroll { opacity: 0; }

header.shrink .logo-start { opacity: 0 !important; }
header.shrink .logo-scroll { opacity: 1 !important; transform: translateX(-18px); }

/* DESKTOP NAV */
.desktop-nav ul {
  display: flex;
  gap: 28px;
  margin: 0;
  list-style: none;
}

.desktop-nav a {
  color: var(--accent);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.desktop-nav a:hover {
  color: var(--accent-hover);
}

.desktop-nav a.active {
  color: #fff !important;
  border-bottom: 2px solid #fff !important;
}

/* MOBILE BUTTON */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--accent);
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80vw;
  max-width: 260px;
  height: 100vh;
  background: rgba(15,15,15,0.95);
  backdrop-filter: blur(8px);
  border-left: 1px solid var(--border);
  padding: 90px 20px 20px;
  transition: right .3s ease;
  z-index: 1400;
}

.mobile-menu.open { right: 0; }

/* BACK BUTTON */
.mobile-back-btn {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

.mobile-back-btn:hover { color: var(--accent-hover); }

/* MOBILE LINKS */
.mobile-menu nav a {
  display: block;
  padding: 14px 0;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.mobile-menu nav a:hover {
  color: var(--accent-hover);
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 1390;
  transition: 0.3s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-btn,
  .overlay { display: none !important; }
}
