/* StayInDestin.com — shared styles
   Coastal-modern. One stylesheet for the whole site. */

:root {
  --emerald: #2f8f9e;
  --emerald-dark: #24707c;
  --emerald-deep: #163f47;
  --sand: #f6f1e7;
  --sand-deep: #efe7d6;
  --ink: #1c2a2a;
  --ink-soft: #4a5a59;
  --gold: #e0982f;
  --gold-bright: #ffb84f;
  --white: #ffffff;
  --line: #e3ddce;
  --shadow: 0 10px 30px rgba(7, 62, 58, 0.10);
  --radius: 16px;
  --max: 1120px;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; color: var(--emerald-deep); font-weight: 600; }

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

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--max); margin: 0 auto;
}
.brand { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--emerald-deep); display: flex; align-items: center; gap: 8px; }
.brand span { color: var(--gold); }
.brand-logo { height: 36px; width: auto; display: block; }
@media (max-width: 860px) { .brand-logo { height: 30px; } }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--ink-soft); font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--emerald); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  /* Layer 1: dark-to-clear overlay so text stays readable.
     Layer 2: your Destin beach photo. Drop a file at assets/hero-destin.jpg
     (see README). Until then it falls back to the emerald gradient. */
  background:
    linear-gradient(180deg, rgba(22,63,71,0.55) 0%, rgba(22,63,71,0.30) 45%, rgba(22,63,71,0.65) 100%),
    linear-gradient(160deg, var(--emerald) 0%, var(--emerald-dark) 55%, var(--emerald-deep) 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 110px 0 118px;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 12px rgba(0,0,0,0.25);
}
/* When you add the photo, this rule turns it on automatically */
.hero.has-photo {
  background:
    linear-gradient(180deg, rgba(22,63,71,0.50) 0%, rgba(22,63,71,0.25) 45%, rgba(22,63,71,0.70) 100%),
    url('images/destin_beach-p-2000.jpeg');
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: ""; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--sand);
  clip-path: polygon(0 100%, 100% 100%, 100% 30%, 75% 55%, 50% 20%, 25% 55%, 0 30%);
  opacity: 0.0;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 15ch; }
.hero p { font-size: 1.2rem; max-width: 52ch; margin-top: 18px; color: rgba(255,255,255,0.92); }
.hero .kicker { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold { background: var(--gold-bright); color: #6b3d05; }
.btn-gold:hover { box-shadow: 0 8px 20px rgba(255,184,79,.45); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-emerald { background: var(--emerald); color: var(--white); }
.btn-emerald:hover { background: var(--emerald-dark); box-shadow: var(--shadow); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head .kicker { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; color: var(--gold); }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-top: 8px; }
.section-head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.08rem; }

/* article body */
.prose { max-width: 72ch; }
.prose p { margin: 0 0 18px; font-size: 1.06rem; color: #2b3938; }
.prose h2 { font-size: 1.9rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.35rem; margin: 30px 0 10px; color: var(--emerald-dark); }
.prose ul { margin: 0 0 20px 20px; }
.prose li { margin-bottom: 8px; }

/* ---------- Cards ---------- */
.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: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.28rem; margin-bottom: 8px; }
.card .tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--emerald); background: #e5f0ee; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; }

/* pick list (best for X) */
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pick { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.pick .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-top: 8px; flex: none; }
.pick strong { display: block; color: var(--emerald-deep); }
.pick span { color: var(--ink-soft); font-size: 0.95rem; }

/* affiliate / CTA band */
.cta-band { background: var(--sand-deep); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; text-align: center; }
.cta-band h3 { font-size: 1.5rem; }
.cta-band p { color: var(--ink-soft); margin: 10px auto 20px; max-width: 52ch; }

/* affiliate placeholder marker */
.aff-slot { border: 2px dashed var(--gold); border-radius: 12px; padding: 16px; background: #fffaf1; color: #8a6417; font-size: 0.9rem; text-align: center; margin: 22px 0; }
.map-slot { border: 2px dashed var(--emerald); border-radius: 12px; padding: 30px; background: #f0f7f6; color: var(--emerald-dark); text-align: center; margin: 24px 0; min-height: 120px; display: flex; align-items: center; justify-content: center; }

/* Expedia search widget wrapper */
.widget-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 24px 0; min-height: 90px; }

/* callout */
.callout { border-left: 4px solid var(--gold); background: #fffaf1; padding: 16px 20px; border-radius: 8px; margin: 22px 0; }
.callout strong { color: var(--emerald-deep); }

/* FAQ */
.faq { max-width: 72ch; margin: 20px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--emerald-deep); cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 12px 0 0; color: #2b3938; font-size: 1.02rem; }

/* breadcrumb */
.breadcrumb { font-size: 0.88rem; color: var(--ink-soft); padding: 20px 0 0; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-deep); color: rgba(255,255,255,.85); padding: 54px 0 30px; margin-top: 40px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.site-footer a { color: rgba(255,255,255,.8); font-size: 0.95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 34px; padding-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,.6); }
.disclosure { font-size: 0.8rem; color: rgba(255,255,255,.55); margin-top: 10px; max-width: 60ch; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .grid-2, .picks, .footer-grid { grid-template-columns: 1fr; }
  .nav { flex-direction: column; gap: 12px; }
  .nav-links { justify-content: center; }
  section { padding: 48px 0; }
  .hero { padding: 60px 0 66px; }
}
