/* ============================================================
   Sunny Ridge RV Park — shared stylesheet
   Brand system locked from blog build:
   teal #2BA8B5 · navy-teal #1B5A6B · mint #A8D5C8
   cta-blue #1E6F9F · sand #F4EDE2 · ink #1A2B30
   Fonts: Fredoka (display) + Montserrat (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --teal: #2BA8B5;
  --navy-teal: #1B5A6B;
  --mint: #A8D5C8;
  --cta-blue: #1E6F9F;
  --sand: #F4EDE2;
  --ink: #1A2B30;
  --white: #ffffff;

  --display: 'Fredoka', system-ui, sans-serif;
  --body: 'Montserrat', system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(27, 90, 107, 0.12);
  --shadow-lg: 0 20px 50px rgba(27, 90, 107, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; color: var(--navy-teal); }

a { color: var(--cta-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,90,107,0.10);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem;
  color: var(--navy-teal); text-decoration: none;
}
.brand .logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--navy-teal));
  display: grid; place-items: center; color: var(--white);
  font-weight: 700; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: 0.95rem; text-decoration: none;
}
.nav-links a:hover { color: var(--teal); }

.btn {
  display: inline-block; font-family: var(--display); font-weight: 600;
  padding: 12px 22px; border-radius: 999px; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  border: none; font-size: 1rem;
}
.btn-primary { background: var(--cta-blue); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--navy-teal); border: 2px solid var(--teal); }
.btn-ghost:hover { background: var(--teal); color: var(--white); text-decoration: none; }
.btn-lg { padding: 16px 34px; font-size: 1.15rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.6rem; color: var(--navy-teal); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--navy-teal) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 92px 0 104px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(168,213,200,.25), transparent 45%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow {
  font-family: var(--display); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: .85rem; color: var(--mint); margin-bottom: 14px;
}
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 700; }
.hero .tagline { font-size: clamp(1.1rem, 2.5vw, 1.45rem); margin: 18px 0 30px; max-width: 620px; opacity: .96; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.section .lead { font-size: 1.15rem; max-width: 680px; margin-bottom: 40px; color: var(--ink); }
.section.alt { background: var(--white); }

.eyebrow-dark {
  font-family: var(--display); font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; font-size: .8rem; color: var(--teal); margin-bottom: 10px;
}

/* ---------- Amenity grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid rgba(27,90,107,.06);
}
.section.alt .card { background: var(--sand); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 14px;
  background: var(--mint); display: grid; place-items: center; font-size: 1.5rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { font-size: .98rem; }

/* ---------- Amenity icon strip ---------- */
.amenity-strip {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-top: 44px;
}
.amenity-pill {
  background: var(--white); border-radius: var(--radius); padding: 22px 16px;
  text-align: center; box-shadow: var(--shadow); border: 1px solid rgba(27,90,107,.06);
}
.amenity-pill .ico { font-size: 1.8rem; }
.amenity-pill span { display: block; margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--navy-teal); }

/* ---------- Callout / booking note ---------- */
.callout {
  background: var(--mint); border-radius: var(--radius);
  padding: 30px 34px; border-left: 6px solid var(--teal);
}
.callout h3 { margin-bottom: 8px; }
.callout.warn { background: #FBEEDC; border-left-color: #E0A458; }

/* ---------- Photo placeholder ---------- */
.photo-ph {
  background:
    linear-gradient(135deg, rgba(43,168,181,.18), rgba(168,213,200,.30)),
    repeating-linear-gradient(45deg, rgba(27,90,107,.05) 0 12px, transparent 12px 24px);
  border: 2px dashed rgba(27,90,107,.30);
  border-radius: var(--radius);
  display: grid; place-items: center; text-align: center;
  color: var(--navy-teal); font-family: var(--display); font-weight: 500;
  min-height: 240px; padding: 20px;
}
.photo-ph small { display: block; font-family: var(--body); font-weight: 400; opacity: .7; margin-top: 6px; }
.hero-photo { min-height: 320px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.gallery-grid .photo-ph { min-height: 200px; }

/* ---------- Things to do ---------- */
.attraction {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center;
  margin-bottom: 36px;
}
.attraction:nth-child(even) .attraction-text { order: 2; }
.attraction h3 { font-size: 1.5rem; margin-bottom: 8px; }

/* ---------- Video accordion (open-drawer) ---------- */
.video-list { display: flex; flex-direction: column; gap: 16px; }
.drawer {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid rgba(27,90,107,.06);
  overflow: hidden;
}
.section.alt .drawer { background: var(--sand); }
.drawer-head {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; font-family: var(--display); color: var(--navy-teal);
}
.drawer-head:hover { background: rgba(43,168,181,.06); }
.drawer-head .titles { display: flex; flex-direction: column; gap: 4px; }
.drawer-head .d-title { font-size: 1.3rem; font-weight: 600; }
.drawer-head .d-sub { font-family: var(--body); font-weight: 400; font-size: .95rem; color: var(--ink); opacity: .8; }
.drawer-head .chev {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--mint); display: grid; place-items: center;
  font-size: 1.1rem; color: var(--navy-teal); transition: transform .3s ease;
}
.drawer[open] .chev, .drawer.open .chev { transform: rotate(180deg); }
.drawer-body {
  max-height: 0; overflow: hidden; transition: max-height .4s ease;
}
.drawer.open .drawer-body { max-height: 720px; }
.drawer-body-inner { padding: 0 26px 26px; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 12px; overflow: hidden; background: var(--ink); margin-bottom: 14px;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame.placeholder {
  display: grid; place-items: center; color: var(--mint); text-align: center;
  font-family: var(--display); padding: 20px;
}
.video-frame.placeholder small { display:block; font-family: var(--body); opacity:.8; margin-top:6px; }

/* ---------- Contact / about ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-row { display: flex; gap: 12px; margin-bottom: 14px; }
.info-row .ico { font-size: 1.2rem; }
.map-embed { border: 0; width: 100%; height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--cta-blue), var(--navy-teal));
  color: var(--white); text-align: center; padding: 70px 0;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem,4vw,2.6rem); }
.cta-band p { max-width: 560px; margin: 12px auto 28px; opacity: .95; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.85); padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.site-footer a { color: var(--mint); }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: .85rem; opacity: .7; }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--white); }

/* ---------- Floating Sunny greeter ---------- */
.sunny-greeter {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: none; border: none; padding: 0;
}
.sunny-greeter .label {
  background: var(--white); color: var(--navy-teal);
  font-family: var(--display); font-weight: 600; font-size: .9rem;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow);
  white-space: nowrap;
}
.sunny-greeter .bubble {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--teal); background: var(--ink);
  display: grid; place-items: center; overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
  transition: transform .2s ease;
}
.sunny-greeter:hover .bubble { transform: scale(1.06); }
.sunny-greeter .bubble .ph {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(43,168,181,.22) 0 10px, transparent 10px 20px);
}
.sunny-greeter .bubble .play {
  position: relative; color: var(--mint); font-size: 1.4rem;
  font-family: var(--body); text-align: center; line-height: 1;
}
.sunny-greeter .bubble img { width: 100%; height: 100%; object-fit: cover; position: relative; }

/* Greeter modal */
.sunny-modal {
  position: fixed; inset: 0; z-index: 90; display: none;
  background: rgba(26,43,48,.72); align-items: center; justify-content: center; padding: 20px;
}
.sunny-modal.open { display: flex; }
.sunny-modal-card {
  background: var(--ink); border-radius: var(--radius); overflow: hidden;
  width: min(680px, 100%); box-shadow: var(--shadow-lg); position: relative;
}
.sunny-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; color: var(--white); font-family: var(--display); font-weight: 600;
}
.sunny-modal-close {
  background: rgba(255,255,255,.15); border: none; color: var(--white);
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
}
.sunny-modal-close:hover { background: rgba(255,255,255,.28); }
.sunny-modal .video-frame { margin: 0; border-radius: 0; }

@media (max-width: 560px) {
  .sunny-greeter .label { display: none; }
}

/* ---------- Entrance animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); animation: rise .7s ease forwards; }
.reveal.d1 { animation-delay: .1s; } .reveal.d2 { animation-delay: .2s; }
.reveal.d3 { animation-delay: .3s; } .reveal.d4 { animation-delay: .4s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); padding: 20px 24px; gap: 18px; box-shadow: var(--shadow);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .amenity-strip { grid-template-columns: repeat(2,1fr); }
  .attraction, .contact-grid { grid-template-columns: 1fr; }
  .attraction:nth-child(even) .attraction-text { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}
