/* ============================================================
   TREEHOUSE BEACH CLUB — page-only styles
   Links after common.css. Reuses hero/nav/footer/eyebrow/serif/
   btn/link-arrow/media-quote/features-grid/cta-panel from there —
   see /website/FrontEnd/STYLE-GUIDE.md.
   ============================================================ */

/* ===== HERO ===== */
.tbc-hero{
  min-height:var(--hero-height,80vh);
  background-size:cover;
  background-position:center;
}
.breadcrumb{margin-bottom:22px;}
.tbc-location{margin-bottom:10px;}
.tbc-hero h1{max-width:560px;margin-bottom:6px;}
.tbc-tagline{
  color:#fff;
  font-size:clamp(20px,1.9vw,24px);
  font-weight:400;
  margin-bottom:16px;
}
.tbc-hero-sub{max-width:430px;}
/* DestinationExperience.aspx: the hero comes from Header.ascx as a plain
   .hero (no tbc-hero class) — same rules, keyed off the site wrapper.
   This file only loads on that page, so it can't leak elsewhere. */
#wrapper > .hero{min-height:var(--hero-height,80vh);}
#wrapper > .hero h1{max-width:560px;margin-bottom:6px;}

/* ===== ICON ROW (6-up) ===== */
.tbc-icons{background:#fff;}
.tbc-icons .features-grid{grid-template-columns:repeat(6,1fr);}
.tbc-icons .feature-item svg{width:45px;height:45px;margin-bottom:16px;}
.tbc-icons .feature-item h3{margin-bottom:8px;}
.tbc-icons .feature-item p{font-size:15px;}

/* ===== ISLAND LIFE (split text / photo collage) ===== */
.tbc-island-grid{
  display:grid;
  grid-template-columns:minmax(260px,340px) 1fr;
  gap:40px;
  align-items:center;
}
.tbc-island-text h2{font-size:var(--fs-h2);font-weight:var(--fw-h2);line-height:1.12;margin:14px 0 18px;}
.tbc-island-text .story-sub{font-size:18px;margin-bottom:24px;}
/* Navy, standard size — same as "Get Directions" (mockup); was a stray blue (feedback 5-10 #31). */
.tbc-island-media{
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:14px;
  height:clamp(320px,32vw,420px);
}
.tbc-island-main{
  border-radius:2px;
  background-size:cover;
  background-position:center;
  height:100%;
}
.tbc-island-side{
  display:grid;
  grid-template-rows:1fr 1fr;
  gap:14px;
  height:100%;
}
.tbc-mini-card{
  position:relative;
  display:block;
  border-radius:2px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  color:#fff;
}
.tbc-mini-card::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(0deg, rgba(10,9,7,.85) 0%, rgba(10,9,7,.35) 45%, rgba(10,9,7,0) 70%);
}
.tbc-mini-card span{
  position:absolute;
  left:16px;bottom:14px;
  z-index:2;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.tbc-mini-card svg{transition:transform .2s ease;}
.tbc-mini-card:hover svg{transform:translateX(3px);}

/* ===== THE DUNCH EXPERIENCE (full-width single CTA panel) ===== */
.tbc-dunch{
  min-height:auto;
  align-items:flex-start;
  padding:64px 90px;
}
.tbc-dunch .btn{align-self:flex-start;}
/* Warm, sunny overlay instead of the shared .cta-panel's neutral dark
   scrim — keeps the same text contrast (similar overall darkening)
   but tinted amber/gold so the section reads as bright and sun-lit
   rather than moody. */
.tbc-dunch::before{
  background:linear-gradient(180deg, rgba(120,74,20,.32) 0%, rgba(48,28,10,.6) 100%);
}
.tbc-dunch h3{font-weight:400;font-size:clamp(30px,3.2vw,39px);}
.tbc-dunch-sub{
  font-size:18px;
  line-height:1.6;
  color:#e6e1d4;
  max-width:380px;
  margin-bottom:30px;
}

/* ===== VISIT US ===== */
.tbc-visit-grid{
  display:grid;
  grid-template-columns:minmax(240px,300px) 1fr minmax(220px,280px);
  gap:40px;
  align-items:center;
}
.tbc-visit-text h2{font-size:var(--fs-h2);font-weight:var(--fw-h2);line-height:1.2;margin:14px 0 18px;}
.tbc-visit-text .story-sub{font-size:18px;margin-bottom:22px;}
.tbc-map{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:2px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  aspect-ratio:362/148;
  min-height:190px;
}
.tbc-map-pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#fff;
  color:var(--ink);
  padding:14px 26px;
  border-radius:40px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.1em;
  text-transform:uppercase;
  transition:transform .2s ease;
}
.tbc-map:hover .tbc-map-pill{transform:translateY(-2px);}
.tbc-visit-info{display:flex;flex-direction:column;gap:24px;}
.tbc-info-block{
  display:flex;
  gap:16px;
  padding-bottom:24px;
  border-bottom:1px solid var(--line);
}
.tbc-info-block:last-child{border-bottom:none;padding-bottom:0;}
.tbc-info-block svg{width:28px;height:28px;color:var(--gold);flex-shrink:0;margin-top:2px;}
.tbc-info-block h4{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:600;
  margin-bottom:8px;
}
.tbc-info-block p{font-size:15.5px;color:var(--muted);line-height:1.6;}
.tbc-hours-list{list-style:none;font-size:15.5px;color:var(--muted);line-height:1.6;}
.tbc-info-block .link-arrow{margin-top:12px;}

/* ===== MEMBERSHIP BAND ===== */
.tbc-member-cta{
  position:relative;
  overflow:hidden;
  background:var(--dark) center/cover no-repeat;
  padding:56px 0;
}
.tbc-member-cta::before{
  content:"";
  position:absolute;inset:0;
  z-index:0;
  background:rgba(8,7,5,.55);
}
.tbc-member-cta > .container{position:relative;z-index:1;}
.tbc-member-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  flex-wrap:wrap;
}
.tbc-member-inner .eyebrow{margin-bottom:10px;}
.tbc-member-inner h2{
  font-size:var(--fs-h2);
  font-weight:var(--fw-h2);
  line-height:1.28;
  max-width:640px;
  margin-bottom:14px;
}
.tbc-member-sub{
  font-size:16px;
  color:#d8d0c2;
  line-height:1.6;
  max-width:480px;
}
.tbc-member-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:14px;
  flex-shrink:0;
}

/* ===== RESPONSIVE ===== */
@media (max-width:1100px){
  .tbc-icons .features-grid{grid-template-columns:repeat(3,1fr);row-gap:30px;}
  .tbc-icons .feature-item:nth-child(4){border-left:none;}
  .tbc-island-grid{grid-template-columns:1fr;gap:30px;}
  .tbc-island-media{height:auto;grid-template-columns:1.4fr 1fr;}
  .tbc-dunch{padding:56px 32px;}
  .tbc-visit-grid{grid-template-columns:1fr;gap:28px;}
  .tbc-map{aspect-ratio:auto;height:190px;min-height:0;}
  .tbc-visit-info{flex-direction:row;gap:30px;}
  .tbc-info-block{border-bottom:none;padding-bottom:0;flex:1;}
}

@media (max-width:640px){
  .tbc-icons .features-grid{grid-template-columns:repeat(2,1fr);}
  .tbc-icons .feature-item:nth-child(3){border-left:none;}
  .tbc-island-media{grid-template-columns:1fr;height:auto;}
  .tbc-island-side{grid-template-rows:1fr 1fr;}
  .tbc-mini-card{min-height:160px;}
  .tbc-visit-info{flex-direction:column;gap:24px;}
  .tbc-info-block{border-bottom:1px solid var(--line);padding-bottom:24px;}
  .tbc-info-block:last-child{border-bottom:none;padding-bottom:0;}
  .tbc-member-inner{flex-direction:column;align-items:flex-start;}
}

@media (max-width:500px){
  .tbc-tagline{font-size:20px;}
  .tbc-hero .hero-inner{padding-top:130px;}
}
