/* ==========================================================================
   DJ's Resort & Rentals — Design tokens
   ========================================================================== */

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

:root {
  /* color */
  --lake:        #123A3D;   /* deep lake teal — nav, headlines on light */
  --lake-dark:   #0C2729;
  --cedar:       #7A4A2B;   /* weathered wood */
  --gold:        #D98A2B;   /* sunset accent — CTAs */
  --gold-dark:   #B96F1B;
  --foam:        #EDF0E6;   /* page background */
  --foam-white:  #FAFBF7;   /* card background */
  --ink:         #16211C;   /* body text */
  --ink-soft:    #4A5750;   /* secondary text */
  --line:        #D8DECF;   /* hairline borders */

  /* type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius: 6px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--foam);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

/* focus visibility */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--lake);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cedar);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--cedar);
}

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Contour-line motif (signature element)
   Topographic lines standing in for the lake's depth contours —
   used as dividers and ambient hero texture.
   ========================================================================== */

.contour-divider {
  width: 100%;
  height: 34px;
  display: block;
  color: var(--lake);
  opacity: 0.35;
}

.contour-divider.on-dark { color: var(--foam); opacity: 0.25; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: var(--gold);
  color: var(--lake-dark);
}
.btn-gold:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  background: transparent;
  border-color: var(--lake);
  color: var(--lake);
}
.btn-outline-dark:hover { background: var(--lake); color: var(--foam-white); }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--foam);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--lake);
}

.brand small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--cedar);
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.main-nav a.nav-link {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--radius);
}
.main-nav a.nav-link:hover { background: rgba(18,58,61,0.07); }

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: var(--foam-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(18,58,61,0.14);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  color: var(--ink);
}
.dropdown a:hover { background: var(--foam); color: var(--lake); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lake);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--lake);
  color: var(--foam-white);
  overflow: hidden;
  padding: 84px 0 0;
}

.hero-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 640px;
  padding-bottom: 64px;
}

.hero .eyebrow { color: var(--gold); }
.hero .eyebrow::before { background: var(--gold); }

.hero h1 {
  color: var(--foam-white);
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 18px 0 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero p.lead {
  font-size: 18px;
  color: #D6E0D4;
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: #B9C7B6;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.hero-meta strong { color: var(--foam-white); display: block; font-family: var(--font-body); font-size: 14px; margin-bottom: 2px; }

.hero-photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  position: relative;
  z-index: 1;
}
.hero-photo-strip .ph {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #1C4C4F, #0C2729);
  position: relative;
  overflow: hidden;
}
.hero-photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-strip .ph::after {
  content: attr(data-label);
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */

.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  max-width: 620px;
  margin-bottom: 48px;
}
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; }
.section-alt { background: var(--foam-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--lake); color: var(--foam-white); }
.section-dark p { color: #C7D3C4; }
.section-dark h2, .section-dark h3 { color: var(--foam-white); }

/* ==========================================================================
   Entry-point cards (Stay / Play / Gather)
   ========================================================================== */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--foam-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.pillar-card:hover { border-color: var(--gold); transform: translateY(-3px); }

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cedar);
  letter-spacing: .08em;
}

.pillar-card h3 { font-size: 24px; }

.pillar-card p { font-size: 14.5px; }

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pillar-list li::before { content: '— '; color: var(--gold); }

.pillar-go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--lake);
  padding-top: 14px;
}

/* ==========================================================================
   Room grid
   ========================================================================== */

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.room-card {
  text-decoration: none;
  color: inherit;
  background: var(--foam-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.room-card .thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(150deg, #E7DEC4, #C9BE9C);
  position: relative;
}
.room-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.room-card .thumb span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--lake);
  color: var(--foam-white);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 3px;
}

.room-card .body { padding: 18px 18px 20px; }
.room-card h3 { font-size: 19px; margin-bottom: 6px; }
.room-card p { font-size: 13.5px; margin-bottom: 10px; }
.room-card .room-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.faq-tab {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--foam-white);
  cursor: pointer;
  color: var(--ink-soft);
}
.faq-tab[aria-selected="true"] {
  background: var(--lake);
  border-color: var(--lake);
  color: var(--foam-white);
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--lake);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--gold-dark);
  flex: none;
  transition: transform .18s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 2px 20px; max-width: 68ch; }

/* ==========================================================================
   Testimonials (postcards)
   ========================================================================== */

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

.postcard {
  background: var(--foam-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  position: relative;
}
.postcard::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 54px;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.postcard p.quote {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 16px;
}
.postcard .who {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cedar);
}

/* ==========================================================================
   CTA band
   ========================================================================== */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 36px); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--lake-dark);
  color: #A9BBA6;
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer .brand { color: var(--foam-white); }
.site-footer .brand small { color: var(--gold); }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--foam-white);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { text-decoration: none; font-size: 14px; color: #A9BBA6; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { color: #A9BBA6; font-size: 14px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { text-decoration: none; color: #A9BBA6; font-size: 13px; }
.footer-social a:hover { color: var(--gold); }

/* ==========================================================================
   Room detail page
   ========================================================================== */

.room-hero {
  background: var(--lake);
  color: var(--foam-white);
  padding: 56px 0 0;
}
.room-hero .wrap { padding-bottom: 40px; }
.room-hero h1 { color: var(--foam-white); font-size: clamp(34px, 4.6vw, 54px); margin: 14px 0 12px; }
.room-hero .tagline { font-size: 18px; color: #D6E0D4; max-width: 60ch; margin-bottom: 26px; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: #9FB39C;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.breadcrumb a { color: #9FB39C; text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery .g {
  aspect-ratio: 1/1;
  background: linear-gradient(155deg, #E7DEC4, #C9BE9C);
  overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.room-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
}

.spec-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.spec-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-size: 14px;
}
.spec-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 4px;
}

.booking-card {
  background: var(--foam-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  position: sticky;
  top: 100px;
  align-self: start;
}
.booking-card h3 { font-size: 20px; margin-bottom: 6px; }
.booking-card p { font-size: 13.5px; margin-bottom: 18px; }
.booking-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.booking-card .phone {
  display: block;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-top: 12px;
}

.other-rooms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.contact-detail strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 4px;
}
.contact-detail a { color: var(--lake); text-decoration: none; font-weight: 600; }
.contact-detail a:hover { color: var(--gold-dark); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cedar);
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--foam-white);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-top: 28px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .pillars { grid-template-columns: 1fr; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .postcards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .room-detail-grid { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .other-rooms { grid-template-columns: repeat(2, 1fr); }
  .hero-photo-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-photo-strip .ph:nth-child(4), .hero-photo-strip .ph:nth-child(5) { display: none; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header.nav-open .main-nav {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--foam);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 20px;
  }
  .site-header.nav-open .main-nav > ul { flex-direction: column; gap: 0; }
  .site-header.nav-open .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 0 0 6px;
    display: none;
  }
  .site-header.nav-open .has-dropdown.dd-open .dropdown { display: block; }
  .room-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .other-rooms { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
