/* ==== home.css (lean overrides for homepage) ==== */

/* Wider mobile, full-bleed hero & carousel */
@media (max-width:768px){
  .container{max-width:100%; padding-left:16px; padding-right:16px}
  .hero-wrap .container{padding-left:0; padding-right:0}
  .hero-grid{grid-template-columns:1fr !important; gap:14px}
  .carousel-field, .card-stack, #cardStack{ margin-left:-16px; margin-right:-16px; width:calc(100% + 32px); }
  .lead-ctas .btn{width:100%}
  .booking-section .container{padding-left:16px; padding-right:16px}
  .booking-section, .booking-card{ width:100% !important; max-width:100% !important; margin-left:0 !important; margin-right:0 !important; overflow:visible !important; }
  .form-grid{display:block; width:100%}
  .form-row{width:100%}
}


/* Globals */
html,body{overflow-x:hidden}
img,video{max-width:100%; height:auto}

/* ===== CAROUSEL REPAIR PATCH ===== */
#cardStack{ position:relative; height: 420px; perspective: 1000px; overflow: visible;}
#cardStack .cf-card{
  position:absolute; inset:0; border-radius:24px; background-size:cover; background-position:center;
  box-shadow:0 18px 50px rgba(0,0,0,.18); transition:transform .6s cubic-bezier(.22,.61,.36,1), opacity .4s, z-index .2s;
  will-change: transform;
}
#cfDots{ display:flex; gap:8px; justify-content:center; align-items:center; margin-top:16px; }
#cfDots .cf-dot{ width:10px; height:10px; border-radius:999px; border:none; background:#e0e0e0; cursor:pointer; }
#cfDots .cf-dot.is-active{ background:#c73b57; }
/* ===== END CAROUSEL REPAIR PATCH ===== */

/* ===== WELCOME STACK PATCH (mobile) ===== */
@media (max-width: 768px){
  .welcome .features{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .welcome .feature{
    display: block;
    margin: 0 !important;
    border: none !important;
    padding: 14px 16px !important;
  }
  .welcome .feature .icon{
    margin-bottom: 8px;
    display: inline-flex;
    width: 36px; height: 36px; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.75);
  }
  .welcome h3{ margin: 6px 0 8px !important; }
  .welcome p{ margin: 0 !important; }
}
/* ===== END WELCOME STACK PATCH ===== */
/* ===== CTA 'Explore our menu' color fix ===== */
a.btn.btn-ghost,
.btn-ghost {
  color: #fff !important;                    /* make text white */
  border-color: #CD2C58 !important;          /* rose border to match palette */
  background: linear-gradient(135deg, #E06B80, #CD2C58) !important; /* rose fill */
  box-shadow: 0 6px 20px rgba(205,44,88,0.25);
}

/* On hover — invert softly */
a.btn.btn-ghost:hover,
.btn-ghost:hover {
  background: #fff !important;
  color: #CD2C58 !important;
  border-color: #CD2C58 !important;
  box-shadow: 0 8px 24px rgba(205,44,88,0.35);
}

/* On mobile, keep same feel but lower contrast a bit */
@media (max-width: 768px){
  a.btn.btn-ghost,
  .btn-ghost {
    background: linear-gradient(135deg, #9b3044, #CD2C58) !important;
  }
}
/* Page heroes */
.page-hero { padding: 48px 0 12px; }
.page-hero .eyebrow{ text-transform: uppercase; letter-spacing:.12em; font-size:.8rem; color:#a27a78 }
.page-hero h1{ margin:8px 0 6px; }

/* Grids */
.menu-grid, .about-grid, .book-grid, .contact-grid { display:grid; gap:16px; }
.menu-grid{ grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); }
.menu-card img{ width:100%; height:auto; display:block; border-radius:16px; box-shadow:0 12px 30px rgba(0,0,0,.12) }
.menu-card figcaption{ text-align:center; margin-top:8px; color:#7a6260 }

.about-grid{ grid-template-columns:1.2fr .8fr; }
.contact-grid{ grid-template-columns:1fr 1fr; }
@media (max-width: 768px){
  .about-grid, .contact-grid{ grid-template-columns:1fr; }
}

/* Map */
.map-embed iframe{ width:100%; height:320px; border:0; border-radius:16px; }


/* Page hero becomes a card like the home welcome block */
.page-hero {
  padding: 28px 0 0;
  background: transparent;
}
.page-hero .container {
  display: grid;
  place-items: start;
}
.page-hero .hero-card {
  width: min(100%, var(--hero-card-max-desktop));
  margin-inline: auto;
  padding: 28px clamp(var(--page-gutter), 4vw, 28px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  position: relative;
}
.page-hero .eyebrow{
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: #a27a78;
}
.page-hero h1{
  margin: 6px 0 8px;
  font-weight: 800;
  background: linear-gradient(90deg,#CD2C58 0%, #FFC69D 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; text-fill-color:transparent;
}

@media (max-width: 768px){
  .page-hero{ padding: 22px 0 6px; }
  .page-hero .hero-card{
    width: min(100%, var(--hero-card-max-mobile));
    padding: 22px var(--page-gutter);
  }
}

/* ===== MENU GRID — 2 per row, larger & tidy ===== */
.menu-grid{
  display:grid;
  gap:16px;
  grid-template-columns: 1fr;               /* mobile: 1 per row */
  align-items:start;
}
@media (min-width: 769px){
  .menu-grid{ grid-template-columns: repeat(2, 1fr); } /* desktop: 2 per row */
}
.menu-card{
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.menu-card img{
  width: 100%;
  aspect-ratio: 3 / 4;                     /* keep them tall like your PDF pages */
  object-fit: cover;
  border-radius: 14px;
  display:block;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}
.menu-card figcaption{
  text-align:center;
  margin-top:10px;
  color:#7a6260;
  font-weight:600;
}
.menu-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 46px rgba(0,0,0,.16);
}

/* ===== GENERIC SECTION SPACING + centered CTAs ===== */
.section{ padding: clamp(16px, 4vw, 32px) 0; }
.center-ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin: 18px 0; }

/* ===== ABOUT / CONTACT / BOOK: tidy two-column grids ===== */
.about-grid, .contact-grid, .book-grid{
  display:grid; gap:16px;
}
@media (min-width: 900px){
  .about-grid{ grid-template-columns: 1.2fr .8fr; }
  .contact-grid{ grid-template-columns: 1fr 1fr; }
  .book-grid{ grid-template-columns: 1.1fr .9fr; }
}
.block-card{
  background:#fff; border-radius:20px; padding: clamp(16px, 3.2vw, 24px);
  box-shadow: 0 14px 36px rgba(0,0,0,.12);
}

/* Maps */
.map-embed iframe{ width:100%; height:320px; border:0; border-radius:16px; }

/* Buttons (reinforce site-wide) */
.btn-rose, a.btn-rose, .btn.btn-rose{
  background: linear-gradient(135deg,#E06B80,#CD2C58) !important;
  color:#fff !important; border:none !important; border-radius:14px; font-weight:700;
  box-shadow: 0 6px 18px rgba(205,44,88,.25);
}
.btn-ghost, a.btn-ghost, .btn.btn-ghost{
  background: transparent !important; border:2px solid #E06B80 !important; color:#E06B80 !important;
  border-radius:14px; font-weight:700;
}
.btn-ghost:hover{ background: linear-gradient(135deg,#FFC69D,#FFE6D4) !important; color:#CD2C58 !important; border-color:#FFC69D !important; }
/* ========= SUB-PAGE HERO WIDTH: match home welcome card ========= */
:root{
  --sub-hero-card-desktop: 860px;  /* tune if you change the home card */
  --sub-hero-card-mobile:  560px;
  --gutter: 16px;
}

/* Constrain the page hero's container */
.page-hero .container{
  max-width: 1200px;              /* safe outer width */
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* The inner card that should mirror the home welcome block */
.page-hero .hero-card{
  width: min(100%, var(--sub-hero-card-desktop));
  margin-inline: auto;
  padding: 28px clamp(var(--gutter), 4vw, 28px);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

/* Mobile: same card width as home */
@media (max-width: 768px){
  .page-hero .hero-card{
    width: min(100%, var(--sub-hero-card-mobile));
    padding: 22px var(--gutter);
  }

  /* Override any global "full-bleed" mobile rule that forced containers to 100% */
  .page-hero .container{
    max-width: 100%;
    padding-left: var(--gutter) !important;
    padding-right: var(--gutter) !important;
  }
}

/* Ensure subsequent sections keep normal gutters (no edge-to-edge) */
.section > .container{
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* ==== CONSISTENT CONTENT WIDTH (match home welcome card) ==== */
:root{
  --rail-desktop: 860px;      /* match your home welcome card width */
  --rail-mobile:  560px;
  --rail-gutter:  16px;
}

/* Use on any .container to make it match the welcome card width */
.container.narrow{
  width: min(100%, var(--rail-desktop));
  margin-inline: auto;
  padding-left: var(--rail-gutter);
  padding-right: var(--rail-gutter);
}

@media (max-width: 768px){
  .container.narrow{
    width: min(100%, var(--rail-mobile));
  }
}

/* Optional helper: one-liner wrapper that already looks like the welcome card */
.content-card{
  background: #fff;
  border-radius: 24px;
  padding: clamp(16px, 3.5vw, 28px);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
}

/* Spacing for sections that use the narrow rail */
.section.narrow{
  padding: clamp(16px, 4vw, 32px) 0;
}

/* Headings vibe with emojis */
.section h2, .content-card h2{
  display:flex; align-items:center; gap:.5ch;
}
.emoji{
  font-size: 1.05em;           /* just a touch bigger */
  line-height: 1;
}

/* Subtle lift on interactive cards/blocks */
.block-card, .content-card{
  transition: transform .18s ease, box-shadow .18s ease;
}
.block-card:hover, .content-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(0,0,0,.16);
}

/* Make existing grids respect the narrow rail when desired */
.about-grid.narrow, .contact-grid.narrow, .book-grid.narrow, .menu-grid.narrow{
  width: min(100%, var(--rail-desktop));
  margin-inline: auto;
  padding-inline: var(--rail-gutter);
}
@media (max-width:768px){
  .about-grid.narrow, .contact-grid.narrow, .book-grid.narrow, .menu-grid.narrow{
    width: min(100%, var(--rail-mobile));
  }
}
/* === CONSISTENT RAIL (matches Home "Welcome" width) === */
:root{
  --rail-desktop: 860px; /* tune to match your welcome card exactly */
  --rail-mobile:  560px;
  --gutter:       16px;
}

.container.narrow{
  width: min(100%, var(--rail-desktop));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (max-width:768px){
  .container.narrow{ width: min(100%, var(--rail-mobile)); }
}

/* === Page Header box (top card) === */
.page-header{
  padding: 28px 0 0;
  background: radial-gradient(1200px 220px at 50% -40px, rgba(255,230,212,.55), transparent 60%);
}
.page-header .header-card{
  background:#fff;
  border-radius:24px;
  padding: clamp(16px, 3.8vw, 28px);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}
.page-header .eyebrow{
  text-transform:uppercase; letter-spacing:.12em; font-size:.82rem; color:#a27a78;
}
.page-header h1{
  margin:.35rem 0 .25rem;
  font-weight:800;
  background: linear-gradient(90deg,#CD2C58 0%, #FFC69D 100%);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent; text-fill-color:transparent;
}
.page-header p{ margin:0 0 .75rem; color:#6f5e5c; }

/* CTA row */
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; }
.btn-rose, a.btn-rose, .btn.btn-rose{
  background: linear-gradient(135deg,#E06B80,#CD2C58) !important;
  color:#fff !important; border:none !important; border-radius:14px; font-weight:700;
  box-shadow:0 6px 18px rgba(205,44,88,.25);
}
.btn-ghost, a.btn-ghost, .btn.btn-ghost{
  background: transparent !important; border:2px solid #E06B80 !important; color:#E06B80 !important;
  border-radius:14px; font-weight:700;
}
.btn-ghost:hover{
  background: linear-gradient(135deg,#FFC69D,#FFE6D4) !important;
  color:#CD2C58 !important; border-color:#FFC69D !important;
}

/* === Page Content box (second card under header) === */
.page-content{ padding: clamp(16px,4vw,28px) 0; }
.page-content .content-card{
  background:#fff;
  border-radius:24px;
  padding: clamp(16px, 3.5vw, 26px);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}

/* Optional: reveal-on-scroll vibe */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in{ opacity:1; transform:none; }

/* Menu grid stays inside content card and respects the rail */
.menu-grid{ display:grid; gap:16px; grid-template-columns:1fr; }
@media (min-width:769px){ .menu-grid{ grid-template-columns:repeat(2,1fr); } }
.menu-card{ background:#fff; border-radius:20px; padding:14px; box-shadow:0 14px 36px rgba(0,0,0,.12); }
.menu-card img{ width:100%; aspect-ratio:3/4; object-fit:cover; border-radius:14px; display:block; box-shadow:0 10px 26px rgba(0,0,0,.10); }
.menu-card figcaption{ text-align:center; margin-top:10px; color:#7a6260; font-weight:600; }
/* === ONE RAIL TO RULE THEM ALL (match Home "Welcome" width) === */
:root{
  --rail-desktop: 860px;   /* set this to your exact Welcome-card width */
  --rail-mobile:  560px;
  --rail-gutter:  16px;
}

/* Constrain ALL main-section containers to the rail width
   (excludes header/footer/hero so those can do their own thing) */
main .section > .container,
main > .container,
.page-content > .container,
.page-header > .container {        /* we still want the header's inner card centered */
  width: min(100%, var(--rail-desktop)) !important;
  margin-inline: auto !important;
  padding-left: var(--rail-gutter) !important;
  padding-right: var(--rail-gutter) !important;
}

@media (max-width: 768px){
  main .section > .container,
  main > .container,
  .page-content > .container,
  .page-header > .container {
    width: min(100%, var(--rail-mobile)) !important;
  }
}

/* If you ever need a truly wide/full-bleed section, add .allow-wide to its container */
.allow-wide {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Cards/grids keep behaving inside the rail */
.content-card, .block-card{
  background:#fff;
  border-radius:24px;
  padding: clamp(16px, 3.5vw, 26px);
  box-shadow: 0 18px 50px rgba(0,0,0,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.content-card:hover, .block-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(0,0,0,.16);
}
/* ——— Remove the accidental spacer that slips in after the page header ——— */
.page-header + .section,
.page-header + section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

/* Ensure the actual content card sits tight under the header */
.page-content { margin-top: 0 !important; }
.page-content .content-card { margin-top: 0 !important; }
/* ==== One consistent rail (matches home Welcome) ==== */
:root{
  --rail-desktop: 860px;   /* adjust if you tweak the home card */
  --rail-mobile:  560px;
  --gutter: 16px;
}

/* Constrain all main page sections to the rail */
main .section > .container,
main > .container,
.page-header > .container,
.page-content > .container{
  width: min(100%, var(--rail-desktop)) !important;
  margin-inline: auto !important;
  padding-inline: var(--gutter) !important;
}
@media (max-width:768px){
  main .section > .container,
  main > .container,
  .page-header > .container,
  .page-content > .container{
    width: min(100%, var(--rail-mobile)) !important;
  }
}

/* Top header box (card) */
.page-header{
  padding: 28px 0 0;
  background: radial-gradient(1200px 220px at 50% -40px, rgba(255,230,212,.55), transparent 60%);
}
.page-header .header-card{
  background:#fff; border-radius:24px;
  padding: clamp(16px,3.8vw,28px);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}
.page-header .eyebrow{ text-transform:uppercase; letter-spacing:.12em; font-size:.82rem; color:#a27a78; }
.page-header h1{
  margin:.35rem 0 .25rem; font-weight:800;
  background: linear-gradient(90deg,#CD2C58 0%, #FFC69D 100%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; text-fill-color:transparent;
}
.page-header p{ margin:0 0 .75rem; color:#6f5e5c; }
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; }

/* Content box (card) */
.page-content{ padding: clamp(16px,4vw,28px) 0; }
.page-content .content-card{
  background:#fff; border-radius:24px;
  padding: clamp(16px,3.5vw,26px);
  box-shadow:0 18px 50px rgba(0,0,0,.12);
}

/* Buttons (site-wide) */
.btn-rose, a.btn-rose, .btn.btn-rose{
  background: linear-gradient(135deg,#E06B80,#CD2C58) !important;
  color:#fff !important; border:none !important; border-radius:14px; font-weight:700;
  box-shadow:0 6px 18px rgba(205,44,88,.25);
}
.btn-ghost, a.btn-ghost, .btn.btn-ghost{
  background: transparent !important; border:2px solid #E06B80 !important; color:#E06B80 !important;
  border-radius:14px; font-weight:700;
}
.btn-ghost:hover{ background: linear-gradient(135deg,#FFC69D,#FFE6D4) !important; color:#CD2C58 !important; border-color:#FFC69D !important; }

/* Mobile menu backdrop */
.nav-backdrop{ position:fixed; inset:0; background:rgba(0,0,0,.3); backdrop-filter:blur(6px); opacity:0; pointer-events:none; transition:opacity .2s; }
.nav-backdrop.show{ opacity:1; pointer-events:auto; }
.nav-list{ transition:transform .25s ease; } /* keep your existing open state rule */

/* Reveal vibe */
.reveal{ opacity:0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
.reveal.in{ opacity:1; transform:none; }
/* === PATCH: Center the two CTAs under Welcome === */
.lead-ctas{
  display:flex;
  justify-content:left;
  gap:14px;
  flex-wrap:wrap;
  margin-top:8px;
}
.lead-ctas .btn{
  min-width:200px;
}
@media (max-width:768px){
  .lead-ctas{ gap:10px; }
  .lead-ctas .btn{ width:100%; max-width:320px; }
}

/* === PATCH: Feature cards — stronger border + subtle glow === */
.welcome .features{ gap:18px; }

.welcome .feature{
  position:relative;
  border-radius:18px;
  /* crisper edge + gentle inner highlight */
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.9));
  box-shadow:
    0 10px 28px rgba(0,0,0,.08),
    inset 0 0 0 1px #fff;      /* inner hairline for “card” look */
  border:2px solid rgba(217, 168, 181, 0.2);  /* #CD2C58 @ 20% */
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* gradient edge that “pops” without being loud */
.welcome .feature::before{
  content:"";
  position:absolute; inset:-2px; border-radius:inherit;
  background: linear-gradient(140deg, #FFE6D4 0%, rgba(255,198,157,.55) 30%, rgba(224,107,128,.45) 100%);
  z-index:0;
  /* show only the thin ring */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box, 
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  padding:2px;                 /* ring thickness */
  opacity:.65;
  pointer-events:none;
}

.welcome .feature > *{ position:relative; z-index:1; }

.welcome .feature:hover{
  transform: translateY(-2px);
  border-color: rgba(223, 179, 191, 0.32);
  box-shadow:
    0 14px 36px rgba(0,0,0,.10),
    inset 0 0 0 1px #fff;
}

.welcome .feature .icon{
  box-shadow: 0 6px 16px rgba(205,44,88,.18);
}

/* Mobile stack already handled earlier; just keep spacing tidy */
@media (max-width:768px){
  .welcome .feature{ margin:0; }
}

/* Grid: two columns on desktop, stack on mobile */
.book-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

/* Force two-up from ~900px */
@media (min-width: 900px) {
  .book-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Make both cards stretch to equal height and keep consistent white bg */
.book-grid > .block-card {
  background: #fff;                /* match map card */
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;          /* lets content stack and stretch */
  height: 100%;
}

/* Map embed – responsive, fills available width, consistent height feel */
.map-embed {
  margin-top: .75rem;
  border-radius: 14px;
  overflow: hidden;
}
.map-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Info card content styling */
.info h2 { margin-bottom: .5rem; }
.info .hours {
  list-style: none;
  margin: .25rem 0 1rem;
  padding: 0;
}
.info .hours li { margin: .25rem 0; }

.info .mt { margin-top: .5rem; }
.info .contact p { margin: .25rem 0; }
.info .contact a { text-decoration: none; }

/* Soft divider that matches your vibe */
.soft {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.08), transparent);
  margin: 1rem 0;
}

/* Hero Gradient Text */
.gradient-text {
  background: linear-gradient(90deg, #CD2C58 0%, #E06B80 45%, #FFC69D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Softer overall tone (less apricot dominance) */
@media (prefers-color-scheme: dark) {
  .gradient-text {
    background: linear-gradient(90deg, #E06B80 10%, #FFC69D 70%, #FFE6D4 100%);
  }
}



/* subtle white border on hero carousel cards */
.card-stack img,
.card-stack .card,
.carousel-field img { 
  border: 4px solid #fff; 
  box-shadow: 0 4px 18px rgba(0,0,0,.16);
}
.card-stack .card,
.carousel-field img { border-radius: 18px; }
