/* ============================================================
   Strada Garden — Website UI kit v2 (Fidalgo-style layout)
   ============================================================ */

.site { background: var(--pine-950); color: var(--text-on-dark); overflow-x: hidden; }

/* ---- Decorative vertical lines (fixed, follow the page) ---- */
.vlines { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.vl { position: absolute; top: 0; bottom: 0; width: 1px; overflow: hidden;
  background: linear-gradient(to bottom, transparent, rgba(206,216,216,.09) 9%, rgba(206,216,216,.09) 91%, transparent); }
.vl--l { left: 58px; }
.vl--r { right: 58px; }
.vl::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--gold-400), transparent);
  animation: vl-shimmer 7.5s linear infinite; }
.vl--r::after { animation-delay: -3.4s; opacity: .85; }
@keyframes vl-shimmer { 0% { transform: translateY(-160px); } 100% { transform: translateY(100vh); } }
/* Scroll-progress: glowing line that extends downward with the page */
.vl-prog { position: fixed; top: 0; width: 1px; height: calc(var(--sp, 0) * 100%);
  background: linear-gradient(to bottom, transparent, rgba(196,152,113,.55) 60%, var(--gold-400));
  box-shadow: 0 0 6px rgba(196,152,113,.45); }
.vl-prog--l { left: 58px; }
.vl-prog--r { right: 58px; }
.vl-prog::after { content: ""; position: absolute; bottom: -2px; left: -2px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 10px 2px rgba(196,152,113,.6); }
@media (max-width: 760px) { .vl--l, .vl-prog--l { left: 20px; } .vl--r, .vl-prog--r { right: 20px; } }
@media (prefers-reduced-motion: reduce) { .vl::after { animation: none; opacity: 0; } }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---- Photo placeholders (drop real Strada photography here) ---- */
.ph {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 130% at 25% 8%, rgba(196,152,113,.40), transparent 55%),
    radial-gradient(130% 120% at 90% 100%, rgba(31,54,52,.85), transparent 60%),
    linear-gradient(150deg, #243f3a 0%, #18302b 48%, #0f211d 100%);
}
.ph::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJyBvcGFjaXR5PScwLjA1Jy8+PC9zdmc+");
  mix-blend-mode: overlay; opacity: .5;
}
.ph--warm { background:
    radial-gradient(120% 120% at 30% 10%, rgba(212,184,146,.55), transparent 55%),
    linear-gradient(160deg, #b89469 0%, #8c6f4e 45%, #4e3e2c 100%); }
.ph--dark { background:
    radial-gradient(120% 130% at 70% 0%, rgba(196,152,113,.22), transparent 55%),
    linear-gradient(160deg, #1c1b18 0%, #121110 60%, #0a0a09 100%); }
.ph__tag {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(243,236,224,.62); text-align: center;
}
.ph__tag img { width: 38px; height: 38px; object-fit: contain; opacity: .75; }
.ph__tag span { font-family: var(--font-sans); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.ph > img.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }

/* ---- Header ---- */
.hd {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background var(--dur-base) var(--ease-soft),
              padding var(--dur-base) var(--ease-soft),
              box-shadow var(--dur-base) var(--ease-soft);
}
.hd--scrolled {
  background: rgba(14,26,22,.86);
  backdrop-filter: blur(12px) saturate(1.1);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.hd__logo { display: flex; align-items: center; gap: 12px; height: 46px; }
.hd__logo img { height: 100%; width: auto; }
.hd__nav { display: flex; align-items: center; gap: 34px; }
.hd__nav a {
  font-family: var(--font-sans); font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--mist-300); text-decoration: none;
  transition: color var(--dur-base) var(--ease-soft); position: relative;
}
.hd__nav a:hover { color: var(--accent-hover); }
.hd__right { display: flex; align-items: center; gap: 18px; }
.hd__burger { display: none; }

/* ---- Mobile menu ---- */
.mnav {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  background: rgba(8,12,11,.97); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-soft);
}
.mnav--open { opacity: 1; pointer-events: auto; }
.mnav a { font-family: var(--font-display); font-weight: 300; font-size: 34px; color: var(--cream-50); text-decoration: none; letter-spacing: .04em; }
.mnav a:hover { color: var(--accent-hover); }
.mnav__close { position: absolute; top: 24px; right: 24px; }

/* ---- Hero (background video, Fidalgo slider style) ---- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; padding: 120px var(--gutter) 80px; overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 70% at 50% 40%, rgba(8,9,8,.18) 0%, rgba(8,9,8,.50) 78%, rgba(8,9,8,.84) 100%),
    rgba(0,0,0,.30);
}
.hero__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.hero__logo { width: clamp(180px, 24vw, 280px); height: auto; filter: drop-shadow(0 10px 40px rgba(0,0,0,.45)); }
.hero__cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--mist-300); display: grid; place-items: center; gap: 8px; animation: bob 2.4s var(--ease-in-out) infinite; text-decoration: none; }
.hero__cue span { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }
@media (max-height: 620px) { .hero__cue { display: none; } }

/* ---- Intro (icon + centered title + script, Fidalgo style) ---- */
.intro { text-align: center; }
.intro__mark { width: 56px; height: 56px; object-fit: contain; margin-bottom: 26px; }
.intro__title {
  font-family: var(--font-display); font-weight: 300; color: var(--cream-50);
  font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.25; letter-spacing: .01em;
  max-width: 21ch; margin: 0 auto 18px;
}
.intro__script { font-family: var(--font-script); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--gold-400); line-height: 1; display: block; }

/* ---- Generic section ---- */
.sec { padding-block: var(--section-y); position: relative; }
.sec--pine { background: var(--pine-800); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.split--rev > :last-child { order: 1; }

/* watermark word */
.bigword {
  font-family: var(--font-display); font-weight: 300; line-height: .9;
  font-size: clamp(4rem, 11vw, 9rem); letter-spacing: .1em; text-transform: uppercase;
  color: var(--watermark);
}

/* ---- Stacked images (square forms) ---- */
.stack { position: relative; padding-bottom: 64px; padding-left: 40px; }
.stack__main { aspect-ratio: 1/1; border-radius: 8px; }
.stack__small {
  position: absolute; left: 0; bottom: 0; width: 42%; aspect-ratio: 1/1;
  border-radius: 8px; box-shadow: var(--shadow-md);
  outline: 6px solid var(--pine-950); z-index: 2;
}
.sec--pine .stack__small { outline-color: var(--pine-800); }
.stack--rev { padding-left: 0; padding-right: 40px; }
.stack--rev .stack__small { left: auto; right: 0; border-radius: 8px; }
/* Garten section: match base bg + larger images */
#shisha .split { grid-template-columns: 1.35fr 0.9fr; }
#shisha .split > .reveal { min-width: 0; }
#shisha .split > .reveal .bigword { max-width: 100%; font-size: clamp(3.5rem, 7vw, 7rem); }
#shisha .stack { padding-bottom: 84px; padding-right: 0; }
#shisha .stack__small { width: 50%; }

/* ---- Showcase ---- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 78vh; }
.showcase__panel {
  position: relative; overflow: hidden; cursor: pointer; text-decoration: none;
  display: flex; align-items: flex-end; padding: 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: flex var(--dur-slow) var(--ease-soft);
}
.showcase__panel:last-child { border-right: 0; }
.showcase__panel .ph { position: absolute; inset: 0; z-index: 0; transition: transform var(--dur-slow) var(--ease-soft), filter var(--dur-base) var(--ease-soft); filter: grayscale(.3) brightness(.62); }
.showcase__panel:hover .ph { transform: scale(1.06); filter: grayscale(0) brightness(.82); }
.showcase__body { position: relative; z-index: 2; }
.showcase__sub { font-family: var(--font-script); font-size: 1.7rem; color: var(--gold-300); line-height: .8; display: block; }
.showcase__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.7rem,2.6vw,2.5rem); letter-spacing: .04em; text-transform: uppercase; color: var(--cream-50); margin: 8px 0 0; }
.showcase__desc { font-family: var(--font-sans); font-weight: 300; font-size: 14px; line-height: 1.6; color: var(--mist-200); margin: 12px 0 0; max-width: 30ch; }
.showcase__head { padding: var(--section-y) var(--gutter) 2.6rem; text-align: center; }

/* ---- Landing menu (dark, Fidalgo style) ---- */
.lmenu { display: grid; grid-template-columns: 0.85fr 1fr 1fr 0.85fr; gap: clamp(1.6rem, 3.4vw, 3.4rem); align-items: start; }
.lmenu__imgcol { display: flex; flex-direction: column; gap: 26px; }
.lmenu__imgcol .i-arch { aspect-ratio: 1/1; border-radius: 8px; }
.lmenu__imgcol .i-oval { aspect-ratio: 1/1; border-radius: 8px; }
.lmenu__imgcol .i-leaf { aspect-ratio: 1/1; border-radius: 8px; }
.lmenu__group { text-align: center; margin-bottom: 44px; }
.lmenu__cat {
  font-family: var(--font-display); font-weight: 400; font-size: 1.65rem;
  color: var(--cream-50); margin: 0 0 10px; letter-spacing: .02em;
}
.lmenu__sep { width: 22px; height: 22px; object-fit: contain; opacity: .85; margin-bottom: 16px; }
.lmenu__item { font-family: var(--font-sans); font-weight: 300; font-size: 17px; line-height: 1.95; color: var(--sage-200, #CED8D8); margin: 0; }
.lmenu__item b { font-weight: 400; color: var(--cream-100); }
.lmenu__code { font-size: 11px; letter-spacing: .08em; color: var(--text-faint-on-dark); vertical-align: super; margin-left: 4px; }
.lmenu__cta { text-align: center; margin-top: 14px; }
.lmenu__note { margin-top: 1.4rem; font-size: 13px; color: var(--text-faint-on-dark); letter-spacing: .04em; text-align: center; }

/* ---- Reservation ---- */
.resv { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem,6vw,5.5rem); align-items: center; }
.resv__media { position: relative; }
.resv__media .ph { border-radius: 18vw 0 0 0; aspect-ratio: 4/5; }
.resv__script { position: absolute; right: -8px; bottom: 38px; max-width: 240px; text-align: right; transform: rotate(-6deg); }
.resv__hint { font-size: 13px; color: var(--text-faint-on-dark); letter-spacing: .04em; margin-top: 14px; }

/* ---- Momente / Events ---- */
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); align-items: start; }
.event { text-decoration: none; display: flex; flex-direction: column; }
.event__ph { aspect-ratio: 1/1; border-radius: 8px; margin-bottom: 20px; box-shadow: var(--shadow-md); transition: transform var(--dur-base) var(--ease-soft); }
.event:hover .event__ph { transform: translateY(-6px); }
.event--mid .event__ph { border-radius: 46% 46% 10px 10px / 28% 28% 10px 10px; }
.event__date { font-family: var(--font-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 9px; }
.event__title { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; color: var(--cream-50); margin: 0 0 8px; letter-spacing: .01em; }
.event__desc { font-family: var(--font-sans); font-weight: 300; font-size: 14.5px; color: var(--mist-300); line-height: 1.65; margin: 0; max-width: 34ch; }

/* ---- Gallery carousel ---- */
.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 20px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel .ph { flex: 0 0 clamp(260px, 33vw, 420px); aspect-ratio: 1/1; border-radius: 8px; scroll-snap-align: center; box-shadow: var(--shadow-md); }
.carousel__hint { text-align: center; font-family: var(--font-sans); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-faint-on-dark); margin-top: 18px; }

/* ---- Instagram "Connect with us" strip ---- */
.ig-connect { padding-block: var(--section-y) 0; }
.ig-head { text-align: center; margin-bottom: 2.6rem; }
.ig-eyebrow { display: block; font-family: var(--font-sans); font-size: 13px; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.ig-handle { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--gold-300); font-family: var(--font-sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: color var(--dur-base) var(--ease-soft); }
.ig-handle:hover { color: var(--accent-hover); }
.ig-connect__title { font-family: var(--font-script); font-size: clamp(2.4rem, 4.4vw, 3.6rem); color: var(--gold-400); line-height: 1; margin: .5rem 0 0; }
/* Auto-scrolling marquee (self-rotating, seamless loop) */
.ig-marquee { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ig-track { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 48px); width: max-content; animation: ig-scroll 70s linear infinite; padding-block: 40px; }
.ig-marquee:hover .ig-track { animation-play-state: paused; }
@keyframes ig-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ig-post { position: relative; overflow: hidden; text-decoration: none; display: block; flex: 0 0 auto; }
.ig-post--rect { width: clamp(280px, 24vw, 380px); aspect-ratio: 5/4; border-radius: 6px; transform: translateY(8px); }
.ig-post--arch { width: clamp(210px, 17vw, 280px); aspect-ratio: 4/5; border-radius: 50% 50% 6px 6px / 32% 32% 6px 6px; transform: translateY(-34px); }
.ig-post--leaf { width: clamp(210px, 17vw, 280px); aspect-ratio: 4/5; border-radius: 50% 50% 46% 8px / 34% 34% 46% 8px; transform: translateY(34px); }
.ig-post .ph { position: absolute; inset: 0; border-radius: inherit; transition: transform var(--dur-slow) var(--ease-soft); }
.ig-post:hover .ph { transform: scale(1.07); }
.ig-post__ov { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(14,26,22,.5); opacity: 0; transition: opacity var(--dur-base) var(--ease-soft); }
.ig-post__ov svg { width: 30px; height: 30px; transform: scale(.8); transition: transform var(--dur-base) var(--ease-soft); }
.ig-post:hover .ig-post__ov { opacity: 1; }
.ig-post:hover .ig-post__ov svg { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .ig-track { animation: none; } }

/* ---- Footer (Fidalgo-style) ---- */
.ft { background: var(--pine-950); padding-top: 20px; }
.ft__cols { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 80px 64px; }
.ft-col { text-align: center; padding-inline: 40px; position: relative; }
.ft-col + .ft-col::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-on-dark); }
.ft-col__h { font-family: var(--font-sans); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--cream-50); margin: 0 0 26px; }
.ft-col__line { font-family: var(--font-display); font-weight: 300; font-size: 19px; color: var(--mist-300); line-height: 2.1; margin: 0; }
.ft__brand { display: flex; align-items: center; gap: 36px; padding-bottom: 30px; }
.ft__brand .ln { flex: 1; height: 1px; background: var(--line-on-dark); }
.ft__brand img { height: 52px; width: auto; }
.ft__base { display: flex; align-items: center; justify-content: space-between; padding-bottom: 40px; }
.ft__social { display: flex; align-items: center; gap: 20px; font-family: var(--font-sans); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.ft__social a { color: var(--cream-50); text-decoration: none; transition: color var(--dur-base) var(--ease-soft); }
.ft__social a:hover { color: var(--accent-hover); }
.ft__social .dia { color: var(--accent); font-size: 10px; }
.ft__right { display: flex; align-items: center; gap: 32px; }
.ft__copy { font-family: var(--font-sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-faint-on-dark); }
.ft__top-btn { width: 64px; height: 64px; flex: none; border: 1px solid var(--line-on-dark); display: grid; place-items: center; color: var(--cream-50); text-decoration: none; font-family: var(--font-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; transition: background var(--dur-base) var(--ease-soft), color var(--dur-base) var(--ease-soft), border-color var(--dur-base) var(--ease-soft); }
.ft__top-btn:hover { background: var(--gold-400); color: var(--ink-950); border-color: var(--gold-400); }

/* ---- Reveal on scroll (JS-driven .in class; gated by html.sg-anim) ---- */
.reveal { opacity: 1; }
.ph .ph__img { will-change: transform; }

/* Start-states apply ONLY when JS arms them (html.sg-anim) → no-JS/print/reduced-motion stays visible */
.sg-anim .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.sg-anim .reveal.in { opacity: 1; transform: none; }

.sg-anim .ph .ph__img { transform: scale(1.26); transition: transform 1.6s var(--ease-out); }
.sg-anim .ph.in .ph__img { transform: scale(1); }

.sg-anim .events .event:nth-child(2) { transition-delay: .12s; }
.sg-anim .events .event:nth-child(3) { transition-delay: .24s; }
.sg-anim .events .event:nth-child(2) .ph__img { transition-delay: .12s; }
.sg-anim .events .event:nth-child(3) .ph__img { transition-delay: .24s; }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .lmenu { grid-template-columns: 1fr 1fr; }
  .lmenu__imgcol { display: none; }
}
@media (max-width: 900px) {
  .hd__nav { display: none; }
  .hd__right .sg-btn { display: none; }
  .hd__burger { display: inline-grid; }
  .split, .resv { grid-template-columns: 1fr; }
  .ft__cols { grid-template-columns: 1fr; gap: 40px; }
  .ft-col { padding-inline: 0; }
  .ft-col + .ft-col::before { display: none; }
  .ft__base { flex-direction: column; gap: 24px; text-align: center; }
  .ft__right { flex-direction: column; gap: 18px; }
  .split--rev > :first-child { order: 1; }
  .split--rev > :last-child { order: 2; }
  .showcase { grid-template-columns: 1fr; }
  .showcase__panel { min-height: 320px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lmenu { grid-template-columns: 1fr; }
  .events { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .resv__script { position: static; transform: none; text-align: left; margin-top: 18px; max-width: none; }
}
@media (max-width: 600px) {
  /* Reservation form → single column on phones */
  .resv-form { grid-template-columns: 1fr !important; }
  /* Gallery marquee: tighter cards so they don't dominate the phone screen */
  .ig-post--rect { width: 76vw; }
  .ig-post--arch, .ig-post--leaf { width: 58vw; }
  .ig-track { gap: 16px; padding-block: 24px; }
  /* Hero watermark words never overflow */
  .bigword { font-size: clamp(3rem, 17vw, 5rem); }
  /* Showcase panels a touch shorter on phones */
  .showcase__panel { min-height: 260px; }
  /* Footer top button centers under copy */
  .ft__top-btn { margin-inline: auto; }
  /* Hero title + intro breathing room */
  .hero { padding-top: 96px; }
  .intro__title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__cue { animation: none; }
}
