/* Mornings & Mulligans — Lowcountry golf-coastal direct booking site */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --pine: #1e3a32;
  --pine-dark: #142722;
  --marsh: #30514a;
  --sand: #f6f2e7;
  --sand-deep: #ece4d1;
  --brass: #a9803f;
  --brass-light: #c9a35f;
  --ink: #222a22;
  --ink-soft: #52594e;
  --white: #ffffff;
  --radius: 4px;
  --max: 1180px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--pine-dark); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lede { font-size: 1.1rem; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,242,231,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sand-deep);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .brand { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--pine-dark); text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav a.nav-link { text-decoration: none; font-size: .95rem; color: var(--ink); }
.nav a.nav-link:hover { color: var(--brass); }
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  padding: 12px 22px; border-radius: var(--radius); text-decoration: none; border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--pine); color: var(--white); }
.btn-primary:hover { background: var(--pine-dark); }
.btn-ghost { background: transparent; color: var(--pine-dark); border-color: var(--pine-dark); }
.btn-ghost:hover { background: var(--pine-dark); color: var(--white); }
.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; color: var(--white); overflow: hidden; }
.hero img { width: 100%; height: 86vh; min-height: 520px; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,39,34,.15) 0%, rgba(20,39,34,.55) 72%, rgba(20,39,34,.78) 100%);
}
.hero-content { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 0 56px; z-index: 2; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35); padding: 6px 14px; border-radius: 999px; font-size: .88rem; margin-bottom: 18px;
}
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5vw, 3.6rem); max-width: 16ch; margin-bottom: .3em; }
.hero .sub { font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 48ch; color: rgba(255,255,255,.92); margin-bottom: 1.4em; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.15); }

/* Facts strip */
.facts { background: var(--pine-dark); color: var(--white); padding: 30px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; text-align: center; }
.facts .fact .num { font-family: var(--serif); font-size: 1.9rem; display: block; }
.facts .fact .label { font-size: .82rem; color: rgba(255,255,255,.75); }

/* Section rhythm */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-sand { background: var(--sand); }
.section-deep { background: var(--sand-deep); }

.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.two-col.reverse { grid-template-columns: .95fr 1.05fr; }
.two-col.reverse .figure { order: 2; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: 10px; font-style: italic; }

.drive-strip { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--sand-deep); border-bottom: 1px solid var(--sand-deep); margin: 36px 0 0; }
.drive-strip .d { flex: 1 1 150px; padding: 18px 20px; border-left: 1px solid var(--sand-deep); }
.drive-strip .d:first-child { border-left: none; }
.drive-strip .d .t { font-family: var(--serif); font-size: 1.3rem; color: var(--pine); }
.drive-strip .d .l { font-size: .85rem; color: var(--ink-soft); }

/* Scorecard */
.scorecard { background: var(--pine); color: var(--white); border-radius: 8px; padding: 36px; }
.scorecard h3 { color: var(--white); font-size: 1.5rem; }
.scorecard-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 18px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.15); }
.scorecard-row:first-of-type { border-top: none; }
.scorecard-row .n { font-family: var(--serif); color: var(--brass-light); font-size: 1.1rem; }
.scorecard-row .label { font-weight: 600; }
.scorecard-row .detail { font-size: .88rem; color: rgba(255,255,255,.72); }
.scorecard-row .val { font-family: var(--serif); font-size: 1.3rem; text-align: right; color: var(--brass-light); white-space: nowrap; }

/* Amenity grid */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.amenity-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand-deep); }
.amenity-card img { height: 200px; object-fit: cover; width: 100%; }
.amenity-card .body { padding: 20px; }
.amenity-card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.amenity-card p { font-size: .92rem; margin: 0; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; }
.gallery-grid button { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; }
.gallery-grid img { width: 100%; height: 190px; object-fit: cover; border-radius: 3px; }
.gallery-grid .tall img { height: 400px; }
.gallery-grid .tall { grid-row: span 2; }

/* Bedrooms */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.room-card img { height: 230px; object-fit: cover; border-radius: var(--radius); }
.room-card .tag { display: inline-block; background: var(--sand-deep); color: var(--pine-dark); font-size: .8rem; padding: 3px 10px; border-radius: 999px; margin: 14px 0 8px; }
.room-card h3 { margin-bottom: .2em; }

/* Perk list */
.perk-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; }
.perk-list li { padding-left: 26px; position: relative; font-size: .95rem; color: var(--ink); }
.perk-list li::before { content: '✓'; position: absolute; left: 0; color: var(--brass); font-weight: 700; }

/* Amenity groups (3 columns of plain lists) */
.amenity-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 32px; }
.amenity-groups h3 { font-size: 1rem; color: var(--brass); margin-bottom: 14px; }
.amenity-groups ul { list-style: none; padding: 0; margin: 0; }
.amenity-groups li { padding: 8px 0; border-top: 1px solid var(--sand-deep); font-size: .94rem; }
.amenity-groups li:first-child { border-top: none; }

/* Reviews */
.review-score { display: flex; align-items: baseline; gap: 18px; margin-bottom: 30px; }
.review-score .big { font-family: var(--serif); font-size: 3rem; color: var(--pine-dark); }
.cat-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px; margin: 28px 0 40px; }
.cat-bar .top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: 5px; }
.cat-bar .track { height: 6px; background: var(--sand-deep); border-radius: 3px; overflow: hidden; }
.cat-bar .fill { height: 100%; background: var(--brass); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border: 1px solid var(--sand-deep); border-radius: var(--radius); padding: 22px; }
.review-card p { font-size: .94rem; color: var(--ink); margin-bottom: 12px; }
.review-card .who { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

/* Nearby */
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.nearby-card .t { font-family: var(--serif); color: var(--pine); font-size: 1.1rem; margin-bottom: 4px; }
.nearby-card .dist { font-size: .85rem; color: var(--brass); font-weight: 600; margin-bottom: 6px; }

/* Booking */
.booking { background: var(--pine-dark); color: var(--white); }
.booking h2 { color: var(--white); }
.booking .two-col { align-items: start; }
#booking-widget { background: var(--white); border-radius: 8px; padding: 18px; min-height: 420px; color: var(--ink); }
.booking-perks { list-style: none; padding: 0; margin: 24px 0; }
.booking-perks li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .96rem; }
.booking-perks li:first-child { border-top: none; }
.booking-meta { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 18px; }

/* Host */
.host-block { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.host-block .txt { flex: 1 1 420px; }

/* FAQ */
.faq-item { border-top: 1px solid var(--sand-deep); }
.faq-item:last-child { border-bottom: 1px solid var(--sand-deep); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-family: var(--serif); font-size: 1.1rem; color: var(--pine-dark); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--brass); flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .a { padding: 0 0 20px; color: var(--ink-soft); max-width: 68ch; }

/* Cross-links (landing pages) */
.also-see { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.also-see a { text-decoration: none; color: var(--pine); font-weight: 600; }
.also-see a:hover { color: var(--brass); }

/* Footer */
footer { background: var(--pine-dark); color: rgba(255,255,255,.8); padding: 44px 0 30px; font-size: .88rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
footer a { color: rgba(255,255,255,.8); }
footer .keywords { margin-top: 18px; font-size: .78rem; color: rgba(255,255,255,.45); }

/* Lightbox */
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; background: rgba(10,16,13,.94); z-index: 100; display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; top: 20px; right: 28px; background: none; border: 0; color: #fff; font-size: 2rem; cursor: pointer; }

@media (max-width: 880px) {
  .nav ul { display: none; }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 28px; }
  .two-col.reverse .figure { order: 0; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid, .room-grid, .review-grid, .nearby-grid, .amenity-groups { grid-template-columns: repeat(2, 1fr); }
  .perk-list { grid-template-columns: 1fr 1fr; }
  .cat-bars { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .drive-strip .d { flex: 1 1 45%; border-left: none; border-top: 1px solid var(--sand-deep); }
}
@media (max-width: 560px) {
  .amenity-grid, .room-grid, .review-grid, .nearby-grid, .amenity-groups, .perk-list, .cat-bars { grid-template-columns: 1fr; }
  .facts .wrap { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  section { padding: 52px 0; }
  .hero img { height: 92vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
