/* ==========================================================================
   Le Club House — Golf Oued Fès
   Luxury Hospitality UI/UX Design System (Static Edition)
   Palette: Alabaster Linen · Obsidian Espresso · Royal Golf Emerald · Antique Gold
   ========================================================================== */

:root {
  --bg: #FBF8F1;
  --bg-elevated: #FFFFFF;
  --bg-panel: #F2EBDC;
  --bg-chip: #E9DFC9;
  --bg-dark: #120F0B;
  --bg-dark-elevated: #1B1610;
  --bg-dark-card: #221C14;

  --ink: #1F1912;
  --ink-soft: #645A4A;
  --ink-muted: #8C7F6A;
  --ink-light: #F7F1E5;
  --ink-light-soft: #C7BBA5;

  --rule: rgba(156, 122, 60, 0.24);
  --rule-strong: rgba(156, 122, 60, 0.45);
  --rule-dark: rgba(217, 184, 124, 0.22);

  --gold: #9A7738;
  --gold-bright: #D9B87C;
  --gold-strong: #7F5F26;
  --gold-glow: rgba(217, 184, 124, 0.25);

  --green: #1F3627;
  --green-soft: #2E4D39;
  --green-tint: rgba(31, 54, 39, 0.08);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 18px;

  --shadow-xs: 0 2px 10px rgba(20, 15, 9, 0.04);
  --shadow-soft: 0 22px 54px rgba(22, 16, 10, 0.09);
  --shadow-hover: 0 28px 66px rgba(22, 16, 10, 0.14);
  --shadow-dark: 0 28px 70px rgba(0, 0, 0, 0.55);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1220px;
}

/* Global Night Theme ("Ambiance Nuit") */
:root[data-theme="dark"] {
  --bg: #13100C;
  --bg-elevated: #1C1711;
  --bg-panel: #19140E;
  --bg-chip: #261F17;
  --ink: #F5EFE2;
  --ink-soft: #BEB29B;
  --ink-muted: #93856E;
  --rule: rgba(217, 184, 124, 0.2);
  --rule-strong: rgba(217, 184, 124, 0.42);
  --gold: #D9B87C;
  --gold-strong: #E6C992;
  --green: #2B4B36;
  --green-tint: rgba(143, 184, 154, 0.14);
  --shadow-xs: 0 2px 12px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 22px 54px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 28px 66px rgba(0, 0, 0, 0.6);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

::selection {
  background: rgba(217, 184, 124, 0.32);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- SCROLL PROGRESS LINE ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), #F1DBA8);
  z-index: 120;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
}

.section-dark .eyebrow {
  color: var(--gold-bright);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.section-dark .section-title em {
  color: var(--gold-bright);
}

.section-lead {
  font-size: 15.5px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}

.section-dark .section-lead {
  color: var(--ink-light-soft);
}

/* Signature double-rule ornament echoing the official Club House logo */
.double-rule {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 72px;
  margin: 18px 0 24px;
}

.double-rule span {
  display: block;
  height: 1px;
  background: var(--gold-bright);
  opacity: 0.65;
}

.double-rule span:last-child {
  width: 44px;
  margin-inline: auto;
  opacity: 0.4;
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), color 0.28s var(--ease), border-color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, #E2C38B 0%, #CFA660 100%);
  color: #16110B;
  box-shadow: 0 8px 24px rgba(207, 166, 96, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ECD2A0 0%, #D9B36E 100%);
  box-shadow: 0 14px 34px rgba(217, 184, 124, 0.36);
}

.btn-green {
  background: var(--green);
  color: var(--ink-light);
  box-shadow: 0 8px 24px rgba(31, 54, 39, 0.22);
}

.btn-green:hover {
  background: var(--green-soft);
  box-shadow: 0 14px 32px rgba(31, 54, 39, 0.32);
}

.btn-outline-light {
  border-color: rgba(247, 241, 229, 0.4);
  color: var(--ink-light);
  background: rgba(18, 15, 11, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline-light:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(18, 15, 11, 0.62);
}

.btn-outline-dark {
  border-color: var(--rule-strong);
  color: var(--ink);
  background: transparent;
}

.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold-strong);
  background: var(--bg-panel);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 11.5px;
}

.icon-pill-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 124, 0.35);
  background: rgba(18, 15, 11, 0.45);
  color: var(--gold-bright);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}

.icon-pill-btn:hover {
  background: rgba(217, 184, 124, 0.16);
  border-color: var(--gold-bright);
  transform: rotate(12deg);
}

/* ---------- HEADER / NAVBAR ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding: 20px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.site-header.solid {
  background: rgba(16, 13, 9, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom-color: var(--rule-dark);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-light);
}

.brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 241, 229, 0.82);
  position: relative;
  padding: 5px 0;
  transition: color 0.22s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 124, 0.35);
  background: rgba(18, 15, 11, 0.45);
  color: var(--ink-light);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: radial-gradient(circle at top right, rgba(46, 77, 57, 0.25), transparent 55%), rgba(14, 11, 8, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer a:not(.btn) {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink-light);
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer a:not(.btn):hover {
  color: var(--gold-bright);
  transform: translateX(4px);
}

.mobile-drawer .drawer-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rule-dark);
  background: transparent;
  color: var(--ink-light);
  font-size: 24px;
  cursor: pointer;
}

/* ---------- HERO (CINEMATIC EDITORIAL) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--ink-light);
  background: var(--bg-dark);
  overflow: hidden;
  padding: 130px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.56) contrast(1.06) saturate(1.05);
  animation: heroBreath 26s ease-in-out infinite alternate;
}

@keyframes heroBreath {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.09); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(18, 15, 11, 0.16) 0%, rgba(12, 9, 6, 0.84) 82%),
    linear-gradient(180deg, rgba(12, 9, 6, 0.78) 0%, rgba(12, 9, 6, 0.2) 38%, rgba(12, 9, 6, 0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero-logo {
  width: 144px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.5));
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(217, 184, 124, 0.38);
  background: rgba(18, 15, 11, 0.58);
  backdrop-filter: blur(10px);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 24px;
}

.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6DD486;
  box-shadow: 0 0 12px rgba(109, 212, 134, 0.9);
  animation: pulseDot 2.4s ease-in-out infinite;
}

.hero-pill .dot.closed {
  background: #E29D62;
  box-shadow: 0 0 10px rgba(226, 157, 98, 0.7);
  animation: none;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.28); opacity: 0.7; }
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-bright);
  font-weight: 400;
}

.hero-subtitle {
  font-size: clamp(15.5px, 1.8vw, 18px);
  color: rgba(247, 241, 229, 0.85);
  max-width: 58ch;
  margin: 0 auto 38px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-meta {
  margin-top: 56px;
  padding: 22px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(217, 184, 124, 0.22);
  background: rgba(18, 15, 11, 0.56);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.hero-meta-item {
  position: relative;
}

.hero-meta-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 15%;
  right: -9px;
  height: 70%;
  width: 1px;
  background: rgba(217, 184, 124, 0.2);
}

.hero-meta-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.2;
}

.hero-meta-item span {
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(247, 241, 229, 0.74);
}

/* ---------- EDITORIAL MARQUEE RIBBON ---------- */
.marquee-band {
  display: flex;
  align-items: center;
  background: var(--green);
  color: var(--ink-light);
  border-top: 1px solid rgba(217, 184, 124, 0.28);
  border-bottom: 1px solid rgba(217, 184, 124, 0.28);
  padding: 14px 0;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
  min-width: max-content;
  will-change: transform;
  -webkit-animation: marqueeScroll 28s linear infinite;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-group {
  display: flex;
  flex-wrap: nowrap;
  flex-shrink: 0;
  align-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .marquee-band:hover .marquee-track {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 28px;
  padding-right: 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(247, 241, 229, 0.92);
}

.marquee-item::after {
  content: '◆';
  font-size: 8px;
  color: var(--gold-bright);
}

@-webkit-keyframes marqueeScroll {
  0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeScroll {
  0% { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 640px) {
  .marquee-track {
    -webkit-animation-duration: 20s;
    animation-duration: 20s;
  }
  .marquee-item {
    font-size: 11px;
    letter-spacing: 0.16em;
    gap: 20px;
    padding-right: 20px;
  }
}

/* ---------- SECTIONS ---------- */
section.band {
  padding: clamp(78px, 9.5vw, 126px) 0;
  position: relative;
}

section.band-alt {
  background: var(--bg-panel);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

section.section-dark {
  background: radial-gradient(circle at 18% 12%, rgba(46, 77, 57, 0.16), transparent 45%), var(--bg-dark);
  color: var(--ink-light);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.section-head-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 54px;
}

.section-head-centered .eyebrow {
  justify-content: center;
}

.section-head-centered .eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
}

.section-head-centered .section-lead {
  margin-inline: auto;
}

/* ---------- ABOUT / ESPRIT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(38px, 5.5vw, 78px);
  align-items: center;
}

.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  gap: 20px;
  align-items: end;
}

.about-photo-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
}

.about-photo-secondary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 3 / 4;
  border: 6px solid var(--bg);
  margin-left: -34px;
  position: relative;
  z-index: 2;
}

.about-photo-main img,
.about-photo-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.about-photo-main:hover img,
.about-photo-secondary:hover img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  top: 22px;
  right: 14px;
  z-index: 3;
  background: rgba(18, 15, 11, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(217, 184, 124, 0.45);
  color: var(--ink-light);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  line-height: 0.95;
  color: var(--gold-bright);
}

.about-badge span {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-light-soft);
}

.about-features {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-item {
  padding: 20px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xs);
}

.feature-item h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--gold-strong);
}

.feature-item p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- 3 EXPERIENCES / MOMENTS ---------- */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.moment-card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.moment-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--rule-strong);
}

.moment-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.moment-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.moment-card:hover .moment-img img {
  transform: scale(1.07);
}

.moment-index {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(18, 15, 11, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(217, 184, 124, 0.45);
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.moment-time {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(18, 15, 11, 0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 184, 124, 0.3);
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.moment-body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.moment-body h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.15;
}

.moment-body p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- SIGNATURES SPOTLIGHT (CHEF'S PICKS) ---------- */
.signatures-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.sig-card {
  padding: 20px 22px;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.sig-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.sig-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.sig-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  margin: 6px 0 0;
}

.sig-price {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-strong);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
}

.sig-price span {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- INTERACTIVE MENU SECTION ---------- */
.menu-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
}

.menu-top-bar {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mode-switch {
  display: inline-flex;
  background: var(--bg-chip);
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--rule);
}

.mode-switch button {
  border: none;
  background: transparent;
  padding: 11px 28px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.mode-switch button.active {
  background: var(--green);
  color: var(--ink-light);
  box-shadow: 0 6px 18px rgba(31, 54, 39, 0.24);
}

.menu-search-wrap {
  position: relative;
  flex: 1 1 260px;
  max-width: 380px;
}

.menu-search-wrap input {
  width: 100%;
  padding: 13px 18px 13px 44px;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: var(--bg-elevated);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.menu-search-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.menu-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  pointer-events: none;
}

.chip-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-nav button {
  border: 1px solid var(--rule);
  background: var(--bg-elevated);
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.chip-nav button:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.chip-nav button.active {
  background: linear-gradient(135deg, #DFBE82, #C59B52);
  border-color: transparent;
  color: #1A140C;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(197, 155, 82, 0.25);
}

.menu-notice {
  padding: 15px 22px;
  background: var(--bg-panel);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.menu-notice p { margin: 0; }
.menu-notice p + p { margin-top: 4px; font-style: italic; opacity: 0.85; }

.menu-grid-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.menu-grid-container.single-col {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin-inline: auto;
}

.menu-cat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-xs);
}

.menu-cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.menu-cat-head h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-strong);
  margin: 0;
  line-height: 1.1;
}

.menu-cat-hours {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  background: var(--green-tint);
  padding: 5px 12px;
  border-radius: 999px;
}

:root[data-theme="dark"] .menu-cat-hours {
  color: #A7CEB0;
}

.menu-group-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 22px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

.menu-group-label:first-of-type { margin-top: 4px; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dotted var(--rule-strong);
}

.menu-item:last-child { border-bottom: none; }

.menu-item-main { flex: 1; min-width: 0; }

.menu-item-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.45;
}

.menu-item-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 3px;
  line-height: 1.48;
}

.menu-item-desc .en {
  display: block;
  font-style: italic;
  opacity: 0.82;
}

.menu-item-price {
  flex: 0 0 auto;
  text-align: right;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  color: var(--gold-strong);
  white-space: nowrap;
}

.menu-item-price .dh {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  opacity: 0.72;
  margin-left: 3px;
}

.menu-item-price .bottle {
  display: block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.menu-cat-note {
  margin-top: 14px;
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-soft);
}

.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: var(--ink-soft);
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--rule-strong);
}

.menu-footer-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ---------- NIGHTLIFE / LE TARAB (DARK SECTION) ---------- */
.night-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}

.schedule-list {
  display: grid;
  gap: 16px;
  margin: 30px 0 36px;
}

.schedule-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: linear-gradient(145deg, rgba(34, 28, 20, 0.9), rgba(22, 18, 13, 0.9));
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.schedule-card:hover {
  border-color: rgba(217, 184, 124, 0.5);
  transform: translateX(4px);
}

.schedule-card.featured {
  border-color: rgba(217, 184, 124, 0.55);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.schedule-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: rgba(217, 184, 124, 0.12);
  border: 1px solid rgba(217, 184, 124, 0.42);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
}

.schedule-card h3 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 500;
  margin: 0 0 5px;
  color: var(--ink-light);
}

.schedule-card .meta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 6px;
}

.schedule-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-light-soft);
}

.night-mosaic {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 16px;
}

.night-mosaic-col {
  display: grid;
  gap: 16px;
}

.night-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule-dark);
  position: relative;
}

.night-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.night-photo:hover img {
  transform: scale(1.06);
}

.night-photo.tall { aspect-ratio: 3 / 4; }
.night-photo.sq { aspect-ratio: 4 / 3; }

/* ---------- GALLERY + FILTERS + LIGHTBOX ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.gallery-filters button {
  border: 1px solid var(--rule);
  background: var(--bg-elevated);
  color: var(--ink-soft);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.gallery-filters button:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.gallery-filters button.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--ink-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.gallery-item {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-dark);
  aspect-ratio: 4 / 3;
  grid-column: span 4;
  border: 1px solid var(--rule);
}

.gallery-item.wide {
  grid-column: span 8;
  aspect-ratio: 16 / 9;
}

.gallery-item.hidden-item {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease), opacity 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.88;
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 20px 16px;
  background: linear-gradient(transparent, rgba(14, 10, 6, 0.88));
  color: var(--ink-light);
  font-size: 13.5px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 5, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-height: 78vh;
  max-width: 90vw;
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--rule-dark);
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  color: var(--ink-light-soft);
  font-size: 14px;
}

.lightbox-counter {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--gold-bright);
}

.lightbox-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(217, 184, 124, 0.32);
  background: rgba(18, 15, 11, 0.72);
  color: var(--ink-light);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.lightbox-btn:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  background: rgba(217, 184, 124, 0.14);
}

.lightbox-close { top: 22px; right: 24px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- RESERVATION ---------- */
.reservation-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: stretch;
}

.res-info-box {
  padding: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  margin-top: 26px;
  box-shadow: var(--shadow-xs);
}

.res-info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dotted var(--rule-strong);
  font-size: 14.5px;
}

.res-info-row:last-child { border-bottom: none; }
.res-info-row span { color: var(--ink-soft); }
.res-info-row strong { color: var(--ink); text-align: right; }

.res-form-card {
  position: relative;
  background: linear-gradient(150deg, #1E3426 0%, #142219 100%);
  color: var(--ink-light);
  border: 1px solid rgba(217, 184, 124, 0.35);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 46px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
}

.res-form-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(217, 184, 124, 0.22);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}

.res-form-card .eyebrow { color: var(--gold-bright); margin-bottom: 0; }

.res-form-card h3 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 500;
  margin: 0;
  line-height: 1.1;
  color: var(--ink-light);
}

.res-form-card p {
  margin: 0;
  color: var(--ink-light-soft);
  font-size: 15px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- CONTACT & MAP ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 38px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.contact-card:hover {
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: var(--shadow-xs);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-bright);
  display: grid;
  place-items: center;
}

.contact-card small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.contact-card strong {
  font-size: 15px;
  color: var(--ink);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--rule);
  min-height: 400px;
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-light-soft);
  padding: 72px 0 calc(116px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--rule-dark);
}

.footer-logo {
  height: 66px;
  margin-bottom: 16px;
}

.site-footer h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-light);
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}

/* ---------- FLOATING ACTION DOCK (STICKY) ---------- */
.floating-dock {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(16, 13, 9, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(217, 184, 124, 0.42);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
  max-width: calc(100vw - 20px);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease);
}

.dock-btn:hover { transform: translateY(-2px); }

.dock-btn-menu {
  background: rgba(247, 241, 229, 0.09);
  color: var(--ink-light);
  border: 1px solid rgba(247, 241, 229, 0.18);
}

.dock-btn-menu:hover {
  background: rgba(247, 241, 229, 0.18);
  color: var(--gold-bright);
}

.dock-btn-reserve {
  background: linear-gradient(135deg, #E4C58D, #CFA55E);
  color: #18130C;
}

.dock-btn-reserve:hover {
  background: linear-gradient(135deg, #EFD5A4, #DCB36C);
}

.dock-btn-whatsapp {
  background: #25D366;
  color: #0B2615;
}

.dock-btn-whatsapp:hover {
  background: #34E074;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .hero-pill .dot { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .signatures-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .about-grid,
  .night-grid,
  .reservation-grid,
  .contact-grid,
  .footer-grid,
  .moments-grid,
  .menu-grid-container {
    grid-template-columns: 1fr;
  }
  .gallery-item,
  .gallery-item.wide {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
  }
  .hero-meta-item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 30px);
  }
  .hero {
    padding: 112px 0 74px;
  }
  .hero-meta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  .about-visual {
    grid-template-columns: 1fr;
  }
  .about-photo-secondary {
    display: none;
  }
  .about-features,
  .signatures-strip {
    grid-template-columns: 1fr;
  }
  .gallery-item,
  .gallery-item.wide {
    grid-column: span 12;
  }
  .floating-dock {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
    padding: 6px;
    width: calc(100vw - 18px);
    justify-content: space-between;
  }
  .dock-btn {
    flex: 1 1 auto;
    padding: 10px 8px;
    font-size: 11px;
    gap: 5px;
    letter-spacing: 0.02em;
  }
  .dock-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
}
