/* ═══════════════════════════════════════════════════════
   MASTER TEMPLATE — PREMIUM CSS
   Agency-level design system · €20K+ quality
   ═══════════════════════════════════════════════════════ */

/* ═══ DESIGN TOKENS ═══ */
:root {
  --primary: #B5852A;
  --primary-dark: #8F651C;
  --primary-light: #D1A54D;
  --surface: #F8F6F2;
  --surface-dark: #EFEDE8;
  --surface-warm: #FAF9F6;
  --dark: #0A1118;
  --dark-soft: #121C26;
  --dark-line: #202D3B;
  --dark-warm: #18232E;
  --mute: #606E7D;
  --white: #ffffff;
  --radius: 0px;
  --header-h: 90px;
  --transition: .35s cubic-bezier(.4, 0, .2, 1);
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--surface);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* Selection */
::selection { background: var(--primary); color: var(--white); }

/* ═══ PRELOADER ═══ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}
.preloader-logo span { color: var(--primary); }
.preloader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: preloaderSlide 1.2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes preloaderSlide {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

/* ═══ CUSTOM CURSOR ═══ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transition: transform .15s ease, opacity .15s ease;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transition: transform .25s ease, width .3s ease, height .3s ease, border-color .3s ease;
  mix-blend-mode: difference;
}
.cursor-ring.hover {
  width: 56px;
  height: 56px;
  border-color: var(--primary-light);
}
@media (hover: none), (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ═══ ANNOUNCEMENT BAR ═══ */
.announcement-bar {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: .68rem;
  letter-spacing: .2em;
  font-weight: 600;
  text-transform: uppercase;
}

/* ═══ TOP BAR ═══ */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  font-size: .68rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--dark-line);
}
.top-bar a { transition: color var(--transition); }
.top-bar a:hover { color: var(--primary); }

/* ═══ HEADER / NAV ═══ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251,246,236,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: all .4s ease;
}
.header.scrolled {
  background: rgba(251,246,236,.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
.header.scrolled .header-inner { padding-top: 12px; padding-bottom: 12px; }
.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--transition);
}

.nav-link {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  transition: color .25s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width .3s ease;
}
.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

/* Logo */
.logo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.logo-est { color: var(--primary); font-size: .6rem; letter-spacing: .4em; font-weight: 600; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-top: 2px;
}
.logo-name span { color: var(--primary); }
.logo-sub { font-size: .55rem; letter-spacing: .45em; color: var(--mute); margin-top: 3px; font-weight: 500; }

/* Mobile Menu */
.mobile-menu {
  transition: max-height .4s ease, opacity .3s ease;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}
.mobile-menu.open { max-height: 700px; opacity: 1; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateX(-100%);
  transition: transform .4s ease;
  z-index: 0;
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.45);
  color: var(--white);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 14px 28px;
  transition: all .3s ease;
}
.btn-outline:hover { background: var(--white); color: var(--dark); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: .68rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 5px;
  transition: gap .3s ease;
}
.btn-ghost:hover { gap: 16px; }

/* btn-orange alias (used in HTML template) */
.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 15px 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.btn-orange::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: translateX(-100%);
  transition: transform .4s ease;
  z-index: 0;
}
.btn-orange:hover::before { transform: translateX(0); }
.btn-orange span, .btn-orange svg { position: relative; z-index: 1; }

/* ═══ GENERIC FORM INPUTS ═══ */
input, textarea, select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10, 17, 24, 0.2);
  color: inherit;
  padding: 14px 0;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .3s ease;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230A1118'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  padding-right: 28px;
}
body.dark select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F5EFE4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}
input:hover, textarea:hover, select:hover { border-bottom-color: rgba(10, 17, 24, 0.4); }
input:focus, textarea:focus, select:focus { outline: none; border-bottom-color: var(--primary); }
input::placeholder, textarea::placeholder { color: rgba(10, 17, 24, 0.4); }
select option { background: var(--surface); color: var(--dark); }
body.dark select option { background: var(--dark); color: var(--white); }

input[type="date"], input[type="time"] {
  color-scheme: light;
  min-height: 44px;
}
body.dark input[type="date"], body.dark input[type="time"] {
  color-scheme: dark;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(0);
}
body.dark input[type="date"]::-webkit-calendar-picker-indicator,
body.dark input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

/* Dark wrappers context */
.bg-dark input, .bg-dark textarea, .bg-dark select,
.bg-dark-warm input, .bg-dark-warm textarea, .bg-dark-warm select,
.zellige-dark input, .zellige-dark textarea, .zellige-dark select,
footer input, footer textarea, footer select {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.2);
}
.bg-dark input:hover, .bg-dark textarea:hover, .bg-dark select:hover,
.bg-dark-warm input:hover, .bg-dark-warm textarea:hover, .bg-dark-warm select:hover,
.zellige-dark input:hover, .zellige-dark textarea:hover, .zellige-dark select:hover,
footer input:hover, footer textarea:hover, footer select:hover {
  border-bottom-color: rgba(255, 255, 255, 0.45);
}
.bg-dark input::placeholder, .bg-dark textarea::placeholder,
.bg-dark-warm input::placeholder, .bg-dark-warm textarea::placeholder,
.zellige-dark input::placeholder, .zellige-dark textarea::placeholder,
footer input::placeholder, footer textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.bg-dark select, .bg-dark-warm select, .zellige-dark select, footer select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
}
.bg-dark select option, .bg-dark-warm select option, .zellige-dark select option, footer select option {
  background: var(--dark);
  color: var(--white);
}

/* Touch target optimizations */
#menuBtn {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#darkToggleMobile, #darkToggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#mobileMenu .nav-link {
  padding-top: 14px;
  padding-bottom: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.cookie-banner button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ═══ ORNAMENTS ═══ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
}
.tag::before { content: '◆'; font-size: .55rem; }

.tag-ghost {
  display: inline-block;
  font-size: .62rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--primary);
  padding: 8px 0;
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  margin-bottom: 8px;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--primary);
  font-size: .7rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  font-weight: 600;
}
.ornament::before, .ornament::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}
.ornament::after { background: linear-gradient(90deg, var(--primary), transparent); }

/* ═══ HERO ═══ */
.hero {
  position: relative;
  background-image:
    linear-gradient(180deg,
      rgba(14,11,8,.88) 0%,
      rgba(14,11,8,.55) 42%,
      rgba(14,11,8,.88) 100%
    ),
    url('img/hero.webp');
  background-size: cover;
  background-position: center 25%;
  background-attachment: scroll;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .hero { background-position: center 20%; min-height: 85vh; }
}
.hero-corner {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(196, 155, 69, 0.4);
  pointer-events: none;
  transition: border-color .3s ease;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.float-badge {
  position: absolute;
  background: rgba(20,15,10,.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(196, 155, 69, 0.3);
  padding: 14px 20px;
}

/* ═══ MARQUEE ═══ */
.marquee-wrap {
  overflow: hidden;
  background: var(--dark-warm);
  padding: 18px 0;
  border-top: 1px solid rgba(196, 155, 69, 0.15);
  border-bottom: 1px solid rgba(196, 155, 69, 0.15);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 0 32px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}
.marquee-track span::after {
  content: '◆';
  color: var(--primary);
  font-size: .5rem;
  font-style: normal;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══ SECTION BACKGROUNDS ═══ */
.bg-surface { background-color: var(--surface); }
.bg-surface-dark { background-color: var(--surface-dark); }
.bg-surface-warm { background-color: var(--surface-warm); }
.bg-dark { background-color: var(--dark); }
.bg-dark-soft { background-color: var(--dark-soft); }
.bg-dark-warm { background-color: var(--dark-warm); }

.zellige {
  background-color: var(--surface);
  background-image:
    radial-gradient(circle at 0% 50%, rgba(196,155,69,.06) 0%, transparent 25%),
    radial-gradient(circle at 100% 50%, rgba(10,17,24,.04) 0%, transparent 25%);
}
.zellige-dark {
  background-color: var(--dark);
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(196,155,69,.02) 20px, rgba(196,155,69,.02) 21px),
    repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(196,155,69,.02) 20px, rgba(196,155,69,.02) 21px);
}

/* ═══ COUNTER ANIMATED ═══ */
.counter {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 3.8rem;
  line-height: 1;
  color: var(--primary);
}

/* ═══ CARDS ═══ */
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.feature-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.feature-card:hover > img { transform: scale(1.06); }
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,.15) 0%, rgba(20,15,10,.85) 100%);
  z-index: 1;
}
.feature-card > .content { position: absolute; inset: 0; z-index: 2; }

/* ═══ MENU ROW ═══ */
.menu-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed rgba(20,17,13,.1);
  transition: background .3s ease;
}
.menu-row:last-child { border-bottom: none; }
.menu-row:hover { background: rgba(196, 155, 69, 0.03); padding-left: 8px; }
.menu-row .dots {
  flex: 1;
  border-bottom: 1px dotted #b9a98c;
  transform: translateY(-4px);
}
.menu-row h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  transition: color .3s ease;
}
.menu-row:hover h5 { color: var(--primary); }
.menu-row .price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.menu-row p {
  font-size: .78rem;
  color: var(--mute);
  margin-top: 3px;
  line-height: 1.5;
}

.chef-pick {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: .55rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ═══ UTILITIES ═══ */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ═══ MENU TABS ═══ */
.menu-tab {
  font-size: .72rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mute);
  padding: 12px 24px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
  position: relative;
  white-space: nowrap;
}
.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all .3s ease;
  transform: translateX(-50%);
}
.menu-tab:hover { color: var(--dark); border-color: rgba(0,0,0,.08); }
.menu-tab.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(196, 155, 69, 0.04);
}
.menu-tab.active::after { width: 60%; }
.menu-tab-icon {
  font-size: .5rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.menu-tab.active .menu-tab-icon { opacity: 1; }

.menu-panel {
  animation: menuFadeIn .4s ease;
}
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ ZOOM ═══ */
.zoom { overflow: hidden; }
.zoom img { transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.zoom:hover img { transform: scale(1.08); }

/* ═══ GALLERY ═══ */
.gallery-tile {
  position: relative;
  overflow: hidden;
}
.gallery-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20,15,10,.85) 100%);
  opacity: 0;
  transition: opacity .4s ease;
}
.gallery-tile .caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: var(--white);
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s ease;
  z-index: 2;
}
.gallery-tile:hover::after { opacity: 1; }
.gallery-tile:hover .caption { opacity: 1; transform: translateY(0); }
.gallery-tile img { transition: transform .8s ease; }
.gallery-tile:hover img { transform: scale(1.08); }

/* ═══ INSTAGRAM ═══ */
.insta-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
.insta-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196, 155, 69, 0.85), rgba(163, 122, 44, 0.85));
  opacity: 0;
  transition: opacity .35s;
}
.insta-tile:hover::after { opacity: 1; }
.insta-tile .insta-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity .35s;
  z-index: 2;
}
.insta-tile:hover .insta-icon { opacity: 1; }
.insta-tile img { transition: transform .6s; }
.insta-tile:hover img { transform: scale(1.08); }

/* ═══ STARS ═══ */
.stars { color: var(--primary); letter-spacing: 3px; }
/* ═══ FORM INPUTS ═══ */
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(10, 17, 24, 0.2);
  color: inherit;
  padding: 14px 0;
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .3s ease;
}
.form-input:hover, .form-textarea:hover { border-bottom-color: rgba(10, 17, 24, 0.4); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-bottom-color: var(--primary); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(10, 17, 24, 0.4); }
.form-select option { background: var(--surface); color: var(--dark); }
body.dark .form-select option { background: var(--dark); color: var(--white); }


/* ═══ MAP ═══ */
.map-decor {
  background-image:
    linear-gradient(135deg, rgba(20,15,10,.3), rgba(20,15,10,.3)),
    url('https://placehold.co/900x600/4A3520/E87722?text=MAP');
  background-size: cover;
  background-position: center;
}

/* ═══ COOKIE BANNER ═══ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1510;
  border-top: 1px solid rgba(196, 155, 69, 0.3);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }

/* ═══ SCROLL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger delays */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }

/* Text split reveal */
.text-reveal {
  overflow: hidden;
  display: inline-block;
}
.text-reveal-inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .8s cubic-bezier(.77,0,.175,1);
}
.text-reveal.visible .text-reveal-inner { transform: translateY(0); }

/* ═══ SCROLL INDICATOR ═══ */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: .6; }
  50% { transform: translateY(8px); opacity: 1; }
}
.scroll-indicator { animation: scrollBounce 2s ease-in-out infinite; }

/* ═══ PARALLAX ═══ */
.parallax-slow { will-change: transform; }

/* ═══ MAGNETIC BUTTON EFFECT ═══ */
.magnetic { transition: transform .3s ease; }

/* ═══ BACK TO TOP ═══ */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 40;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .3s ease;
  cursor: pointer;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--dark); }

/* ═══ PROGRESS BAR ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 10000;
  transition: width .1s linear;
  width: 0;
}

/* ═══ LIGHTBOX ═══ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  cursor: zoom-out;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(.9);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.lightbox.active img { transform: scale(1); }
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.2);
  transition: all .3s ease;
}
.lightbox-close:hover { border-color: var(--primary); color: var(--primary); }

/* ═══ DARK MODE ═══ */
body.dark { background-color: #0d0b09; color: var(--surface); }
body.dark .header { background: rgba(13,11,9,.95); border-color: rgba(245,239,228,.05); }
body.dark .header.scrolled { background: rgba(13,11,9,.98); }
body.dark .nav-link { color: var(--surface); }
body.dark .logo-name { color: var(--surface); }
body.dark .bg-surface { background-color: #1a1510; }
body.dark .bg-surface-dark { background-color: #17120d; }
body.dark .bg-surface-warm { background-color: #1e1912; }
body.dark .menu-row { border-color: rgba(245,239,228,.1); }
body.dark .menu-row .dots { border-color: #5a4f40; }
body.dark .menu-row h5 { color: var(--surface); }
body.dark .mobile-menu { background-color: #1e1912; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .hero-corner { width: 60px; height: 60px; }
  .counter { font-size: 2.5rem; }
  .float-badge { display: none; }

  /* ─ CUSTOM CURSOR: force-hide on mobile viewports ─ */
  .cursor-dot, .cursor-ring { display: none !important; }

  /* ─ FEATURE CARDS: reduce min-height ─ */
  .feature-card { min-height: 320px; }

  /* Gallery: ensure tiles fill their grid rows */
  .gallery-tile { min-height: 0; position: relative; }
  .gallery-tile img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

  /* Prevent horizontal overflow */
  .marquee-wrap { overflow: hidden; }
  .ornament { font-size: .6rem; letter-spacing: .3em; }

  /* Footer: centered mobile layout */
  footer .grid { gap: 2rem; }
  footer .grid > div { padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,.07); text-align: center; }
  footer .grid > div:last-child { border-bottom: none; padding-bottom: 0; }
  footer .grid > div .flex.gap-2 { justify-content: center; }
  footer .grid > div .mt-5.space-y-2 { text-align: left; display: inline-block; }

  /* Gallery: captions always visible on touch devices */
  .gallery-tile::after { opacity: 0.75; }
  .gallery-tile .caption { opacity: 1; transform: translateY(0); }

  /* Menu section: unstick the image on mobile */
  .menu-sticky-img { position: static !important; }

  /* Philosophie split: text padding on mobile */
  .philosophie-text { padding: 2.5rem 1.5rem; }

  /* Réservation section: better mobile */
  #reserver .min-h-\[500px\] { min-height: 320px; }

  /* ─────────────────────────────────────────────────────
     IMAGE FIXES — tailles & positions sur mobile
     ───────────────────────────────────────────────────── */

  /* À PROPOS: two side-by-side images → reduce height, remove stagger */
  #histoire .grid-cols-2 img {
    height: 220px !important;
    object-position: center center;
  }
  /* Remove the mt-16 vertical offset on the second image (stagger only for desktop) */
  #histoire .grid-cols-2 .zoom:nth-child(2) {
    margin-top: 0 !important;
  }
  /* Tighten the grid gap slightly so both images stay at the same height */
  #histoire .grid-cols-2 {
    gap: 8px;
  }

  /* MENU: tab image — too tall at 500px on mobile */
  #menuTabImg {
    height: 240px !important;
    object-position: center;
  }

  /* PHILOSOPHIE SPLIT: remove side margins so image goes edge-to-edge */
  .zoom.reveal-left.parallax-slow {
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: 260px !important;
  }

  /* RÉSERVATION: image panel — reduce height on mobile */
  #reserver > div:first-child {
    min-height: 280px !important;
  }
}

@media (max-width: 480px) {
  .menu-row h5 { font-size: 1rem; }
  .menu-row .price { font-size: 1.1rem; }
  .ornament::before, .ornament::after { width: 25px; }
  .cookie-banner { padding: 16px; }

  /* Hero stats: tighten on very small screens */
  .hero-stat { gap: .5rem; }

  /* À PROPOS images: even shorter on small phones */
  #histoire .grid-cols-2 img {
    height: 180px !important;
  }

  /* MENU image: tighter on small phones */
  #menuTabImg {
    height: 200px !important;
  }

  /* PHILOSOPHIE image: shorter on small phones */
  .zoom.reveal-left.parallax-slow {
    height: 220px !important;
  }
}

/* ═══ ACTIVE NAV LINK ═══ */
.nav-link.active { color: var(--primary); }
.nav-link.active::after { width: 100%; }

/* ═══ COOKIE TEXT ═══ */
.cookies-text { font-size: .82rem; color: #a09080; line-height: 1.6; }
.cookies-text a { color: var(--primary); text-decoration: underline; }

/* Note: .hidden is provided by Tailwind — do not override */

/* ═══ DARK MODE — TAILWIND OVERRIDES ═══ */
body.dark .bg-cream { background-color: #1a1510; }
body.dark .bg-cream-warm { background-color: #1e1912; }
body.dark .bg-cream-dark { background-color: #17120d; }
body.dark .bg-ink { background-color: #0d0b09; }
body.dark .bg-ink-warm { background-color: #15110c; }
body.dark .bg-ink-soft { background-color: #120f0b; }
body.dark .bg-white { background-color: #1a1510; }
body.dark .text-ink { color: #F5EFE4; }
body.dark .text-mute { color: #a09080; }
body.dark .border-cream { border-color: #2a2218; }
body.dark .border-black\/5 { border-color: rgba(245,239,228,.05); }
body.dark .border-white\/10 { border-color: rgba(245,239,228,.1); }
body.dark .border-orange\/20 { border-color: rgba(196,155,69,.2); }
body.dark input, body.dark textarea, body.dark select { color: #F5EFE4; }
body.dark section#evenements { background-color: #0d0b09; }
body.dark .zellige { background-color: #0f0c09 !important; background-image: none !important; }
body.dark .zellige .text-ink { color: #F5EFE4; }
body.dark .zellige .text-mute { color: #a09080; }
body.dark .zellige p:not([class*="text-"]) { color: #a09080; }

/* ═══ DARK MODE — HEADER & NAVIGATION ═══ */
body.dark .header {
  background: rgba(20, 17, 13, .97);
  border-bottom-color: rgba(255,255,255,.06);
}
body.dark .header .nav-link { color: rgba(245,239,228,.8); }
body.dark .header .nav-link:hover { color: var(--primary); }
body.dark .header .nav-link.active { color: var(--primary); }
body.dark .logo-name { color: var(--surface); }
body.dark .logo-sub { color: rgba(245,239,228,.4); }
body.dark #menuBtn span { background-color: rgba(245,239,228,.85); }
body.dark #darkToggleMobile { color: rgba(245,239,228,.55); }
body.dark #mobileMenu { background-color: #1a1510; }
body.dark #mobileMenu .nav-link { color: rgba(245,239,228,.85); }
body.dark #mobileMenu a { border-bottom-color: rgba(255,255,255,.05) !important; }
body.dark .menu-row .dots { border-color: #3a3127; }

/* ═══ SMOOTH GRADIENT DIVIDERS ═══ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: .2;
}

/* ═══ GLOW EFFECT ═══ */
.glow-primary {
  box-shadow: 0 0 40px rgba(196,155,69,.15), 0 0 80px rgba(196,155,69,.05);
}

/* ═══ TESTIMONIAL CARD HOVER ═══ */
.testimonial-card {
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

/* ═══ PRESS ITEM HOVER ═══ */
.press-item {
  transition: all .3s ease;
}
.press-item:hover {
  border-color: rgba(196,155,69,.4);
  transform: translateY(-2px);
}

/* ═══ SMOOTH SCROLL SNAP (optional) ═══ */
@media (min-width: 1024px) {
  .feature-card {
    transition: transform .5s ease;
  }
}

/* ═══ BOOKING SUCCESS MESSAGE ═══ */
#bookingSuccess {
  transition: opacity .3s ease;
}
body.dark #bookingSuccess {
  background-color: rgba(22, 163, 74, .12);
  border-color: rgba(22, 163, 74, .3);
  color: #86efac;
}

/* ═══ GOOGLE MAPS EMBED ═══ */
#reserver iframe {
  display: block;
  width: 100%;
  border: none;
  border-top: 1px solid rgba(196,155,69,.15);
}

/* ═══ FOOTER NAV LINK HOVER ═══ */
footer a:not(.btn-orange):not([aria-label]) {
  transition: color var(--transition), padding-left .25s ease;
}
footer a:not(.btn-orange):not([aria-label]):hover {
  color: var(--primary);
  padding-left: 4px;
}

/* ═══ RESERVATION FORM — FLOATING LABEL DARK MODE ═══ */
body.dark #bookingForm label { color: rgba(245,239,228,.55); }
body.dark #bookingForm input,
body.dark #bookingForm select {
  color: #F5EFE4;
  border-bottom-color: rgba(245,239,228,.2);
}
body.dark #bookingForm input:focus,
body.dark #bookingForm select:focus {
  border-bottom-color: var(--primary);
}
body.dark .bg-cream .tag-ghost {
  color: var(--primary);
  border-color: var(--primary);
}
body.dark .bg-cream p.text-mute { color: rgba(245,239,228,.5); }

/* ═══ SECTION TRANSITION POLISH ═══ */
section { position: relative; }

/* ═══ MOBILE — FORM ═══ */
@media (max-width: 640px) {
  #bookingForm .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ═══ PRINT STYLES ═══ */
@media print {
  .preloader, .cursor-dot, .cursor-ring, .scroll-progress,
  .back-to-top, #cookieBanner, .fixed { display: none !important; }
}
