/* =====================================================================
   FRONT PAGE  — ported from surfside-beach-v4-fl.html
   Loaded only on the site front page (see functions.php).
   Shared chrome (nav/footer/topbar) lives in style.css.
   ===================================================================== */

/* HERO */
.hero { position: relative; height: 88vh; min-height: 600px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; animation: slowZoom 20s ease-out forwards; }
.hero-bg--fallback { background: linear-gradient(160deg, var(--teal) 0%, var(--ocean) 55%, var(--ocean-dark) 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,74,99,.35) 0%, rgba(15,74,99,.15) 40%, rgba(15,74,99,.75) 80%, rgba(15,74,99,.92) 100%); }
.hero-content { position: relative; z-index: 10; height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 3rem; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-text-block { text-align: center; padding-bottom: 3rem; }
.hero-eyebrow { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); font-weight: 800; display: block; margin-bottom: 1rem; text-shadow: 0 1px 8px rgba(15,74,99,.4); opacity: 0; animation: fadeUp .8s ease .2s forwards; }
.hero-headline { font-family: var(--font-head); font-size: clamp(3rem, 6vw, 6rem); font-weight: 700; color: #fff; line-height: 1.05; margin-bottom: 1.2rem; opacity: 0; animation: fadeUp .8s ease .4s forwards; }
.hero-headline em { font-style: italic; color: var(--sand); }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; opacity: 0; animation: fadeUp .8s ease .6s forwards; }
.hero-buttons { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; opacity: 0; animation: fadeUp .8s ease .8s forwards; flex-wrap: wrap; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slowZoom { from { transform: scale(1.05); } to { transform: scale(1.0); } }

/* HERO + BANNER + PIER BUTTONS */
.btn-coral { background: var(--coral); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 1rem 2.5rem; border-radius: 4px; transition: background .2s, transform .2s; display: inline-block; }
.btn-coral:hover { background: var(--coral-light); transform: translateY(-2px); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.6); color: #fff; text-decoration: none; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 1rem 2.5rem; border-radius: 4px; transition: border-color .2s, background .2s; display: inline-block; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* QUICK LINKS STRIP */
.quick-links { background: var(--ocean); }
.quick-links-inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); }
.quick-link { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.4rem 1rem; text-decoration: none; color: #fff; border-right: 1px solid rgba(255,255,255,.12); transition: background .2s; gap: .4rem; }
.quick-link:last-child { border-right: none; }
.quick-link:hover { background: var(--teal); }
.quick-link-icon { font-size: 1.4rem; }
.quick-link-label { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

/* INTRO STRIP */
.intro-strip { background: var(--sky); border-bottom: 1px solid var(--border); padding: 2.5rem 2rem; text-align: center; }
.intro-strip p { font-size: 1.05rem; color: var(--ocean-dark); max-width: 800px; margin: 0 auto; line-height: 1.8; }
.intro-strip strong { color: var(--ocean); font-weight: 700; }

/* FEATURES */
.features { max-width: var(--wrap); margin: 3rem auto; padding: 0 2rem; }
.features-heading { text-align: center; margin-bottom: 2.5rem; }
.features-label { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); font-weight: 700; display: block; margin-bottom: .5rem; }
.features-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.8rem); color: var(--text); font-weight: 700; }
.features-title em { font-style: italic; color: var(--ocean); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-card { border-radius: 8px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.1); background: #fff; transition: transform .3s, box-shadow .3s; text-decoration: none; display: block; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,.15); }
.feature-card-image { height: 200px; background-size: cover; background-position: center; position: relative; background-color: var(--sky); }
.feature-card-image--fallback { background: linear-gradient(150deg, var(--teal-light), var(--ocean)); }
.feature-card-badge { position: absolute; top: 1rem; left: 1rem; background: var(--coral); color: #fff; font-size: .55rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 3px; }
.feature-card-body { padding: 1.25rem 1.5rem 1.5rem; }
.feature-card-title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.feature-card-desc { font-size: .8rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1rem; }
.feature-card-link { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ocean); text-decoration: none; display: flex; align-items: center; gap: .3rem; transition: color .2s, gap .2s; }
.feature-card:hover .feature-card-link { color: var(--teal); gap: .6rem; }

/* EVENTS */
.events-section { background: var(--sky); padding: 4rem 2rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.events-inner { max-width: var(--wrap); margin: 0 auto; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; gap: 1rem; flex-wrap: wrap; }
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--text); }
.section-title em { font-style: italic; color: var(--ocean); }
.events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.event-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.07); transition: transform .3s, box-shadow .3s; text-decoration: none; display: block; }
.event-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.event-card-date { background: var(--ocean); color: #fff; text-align: center; padding: .8rem; }
.event-card-date.is-featured { background: var(--coral); color: #fff; }
/* Event card image (when the event has a featured image) with an overlaid date badge */
.event-card-image { height: 160px; background-size: cover; background-position: center; position: relative; background-color: var(--sky); }
.event-card-date-badge { position: absolute; top: .7rem; left: .7rem; background: var(--ocean); color: #fff; border-radius: 6px; padding: .35rem .55rem; text-align: center; min-width: 44px; box-shadow: 0 2px 10px rgba(15,74,99,.35); }
.event-card-date-badge.is-featured { background: var(--coral); color: #fff; }
.event-card-date-badge .event-card-day { font-size: 1.4rem; }
.event-card-date-badge .event-card-month { font-size: .55rem; opacity: .9; }
.event-card-day { font-family: var(--font-head); font-size: 2rem; font-weight: 700; line-height: 1; display: block; }
.event-card-month { font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; display: block; }
.event-card-body { padding: 1.2rem; }
.event-card-title { font-weight: 700; font-size: .95rem; color: var(--text); margin-bottom: .4rem; line-height: 1.3; }
.event-card-meta { font-size: .7rem; color: var(--text-light); line-height: 1.5; }
.events-empty { background: #fff; border: 1px dashed var(--border); border-radius: 8px; padding: 2.5rem; text-align: center; color: var(--text-light); font-size: .9rem; }

/* FAMILY BANNER */
.family-banner { position: relative; height: 420px; overflow: hidden; }
.family-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center 20%; }
.family-banner-bg--fallback { background: linear-gradient(120deg, var(--ocean-dark), var(--teal)); }
.family-banner-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,74,99,.92) 0%, rgba(15,74,99,.7) 40%, rgba(15,74,99,.2) 70%, transparent 100%); display: flex; align-items: center; padding: 4rem; }
.family-banner-content { max-width: 520px; }
.family-banner-label { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--sand); font-weight: 700; display: block; margin-bottom: 1rem; }
.family-banner-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem; }
.family-banner-title em { font-style: italic; color: var(--sand); }
.family-banner-text { font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 1.5rem; }

/* PIER */
.pier-section { max-width: var(--wrap); margin: 4rem auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.pier-image { border-radius: 8px; overflow: hidden; height: 420px; background-size: cover; background-position: center; box-shadow: 0 8px 32px rgba(0,0,0,.15); background-color: var(--sky); }
.pier-image--fallback { background: linear-gradient(150deg, var(--teal-light), var(--ocean-dark)); }
.pier-label { font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: var(--teal); font-weight: 700; display: block; margin-bottom: .75rem; }
.pier-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 700; color: var(--text); line-height: 1.15; margin-bottom: 1rem; }
.pier-title em { font-style: italic; color: var(--ocean); }
.pier-text { font-size: .9rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.5rem; }
.pier-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; padding: 1.25rem; background: var(--sky); border-radius: 8px; border: 1px solid var(--border); }
.pier-stat-number { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--ocean); display: block; line-height: 1; }
.pier-stat-label { font-size: .65rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; display: block; margin-top: .2rem; }

/* RESPONSIVE */
@media (max-width: 1000px) {
  .features-grid, .events-grid { grid-template-columns: repeat(2, 1fr); }
  .pier-section { grid-template-columns: 1fr; }
  .pier-image { height: 300px; }
}
@media (max-width: 700px) {
  .quick-links-inner { grid-template-columns: repeat(2, 1fr); }
  .quick-link:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .features-grid, .events-grid { grid-template-columns: 1fr; }
  .family-banner-overlay { padding: 2rem; background: linear-gradient(90deg, rgba(15,74,99,.92) 0%, rgba(15,74,99,.75) 100%); }
}
