/* ===========================================================
   Gopal's Coachella Lodging — shared stylesheet
   Palette pulled from coachella.com's public brand colors
   (cream/parchment, forest green, steel blue) — not an official
   Coachella/Goldenvoice product.
   =========================================================== */

:root {
  --cream: #f5ebdb;
  --cream-light: #fefbf6;
  --cream-mid: #f3e6ce;
  --forest: #294e2c;
  --forest-dark: #1b3520;
  --steel-blue: #336d8e;
  --steel-blue-dark: #285874;
  --royal-blue: #3860be;
  --ink: #121515;
  --warm-gray: #5f5251;
  --stripe-blue: #336d8e;
  --stripe-teal: #4fa89f;
  --stripe-green: #6fa84b;
  --stripe-orange: #e07a3f;
  --stripe-pink: #ef9fc0;
  --stripe-red: #c0463c;
  --stripe-yellow: #e8a93b;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Funnel Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 21, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--steel-blue-dark);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--steel-blue-dark);
}

/* -------------------- Rainbow stripe divider -------------------- */
.stripe-divider {
  display: flex;
  height: 6px;
  width: 100%;
}
.stripe-divider span {
  flex: 1;
}
.stripe-divider span:nth-child(1) { background: var(--stripe-blue); }
.stripe-divider span:nth-child(2) { background: var(--stripe-teal); }
.stripe-divider span:nth-child(3) { background: var(--stripe-green); }
.stripe-divider span:nth-child(4) { background: var(--stripe-orange); }
.stripe-divider span:nth-child(5) { background: var(--stripe-pink); }
.stripe-divider span:nth-child(6) { background: var(--stripe-red); }
.stripe-divider span:nth-child(7) { background: var(--stripe-yellow); }

/* -------------------- Header / nav -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(41, 78, 44, 0.12);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.logo span {
  color: var(--steel-blue-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--steel-blue-dark); }
.nav-links .btn { padding: 10px 20px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--forest);
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-light);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid rgba(41, 78, 44, 0.12);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .nav-links .btn { margin-top: 8px; display: inline-block; }
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--steel-blue);
  color: #fff;
}
.btn-primary:hover { background: var(--steel-blue-dark); }

.btn-accent {
  background: var(--forest);
  color: #fff;
}
.btn-accent:hover { background: var(--forest-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }

.btn-block { display: block; width: 100%; text-align: center; }

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,21,21,0.15) 0%, rgba(18,21,21,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 56px;
  width: 100%;
}
.hero-content .eyebrow { color: var(--cream); }
.hero h1 { color: var(--cream-light); }
.hero p.lede {
  font-size: 1.15rem;
  max-width: 640px;
  color: var(--cream);
}
.dates-pill {
  display: inline-block;
  background: rgba(18, 21, 21, 0.55);
  border: 1px solid var(--stripe-yellow);
  color: var(--stripe-yellow);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.page-hero {
  padding: 70px 24px 46px;
  text-align: center;
  background: var(--cream-mid);
}
.page-hero h1 { margin-bottom: 0.3em; }
.page-hero p { color: var(--warm-gray); max-width: 640px; margin: 0 auto; }

/* -------------------- Sections -------------------- */
section { padding: 72px 0; }
.section-alt { background: var(--cream-mid); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 44px;
}

/* -------------------- Unit cards -------------------- */
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
}
.unit-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease;
}
.unit-card:hover { transform: translateY(-4px); }
.unit-card img { height: 190px; object-fit: cover; width: 100%; }
.unit-card .unit-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.unit-card h3 { margin-bottom: 4px; }
.unit-card .sleeps { color: var(--warm-gray); font-size: 0.9rem; margin-bottom: 12px; }
.unit-card .from-price { margin-top: auto; font-weight: 700; color: var(--forest); font-size: 1.05rem; }
.unit-card .from-price small { font-weight: 400; color: var(--warm-gray); font-size: 0.78rem; display: block; }

/* -------------------- Gallery -------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream-light);
  cursor: zoom-in;
}
.gallery-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--warm-gray);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(18, 21, 21, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 8px;
}
.lightbox-caption {
  position: absolute;
  bottom: 30px;
  color: var(--cream-light);
  font-size: 0.9rem;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(254,251,246,0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* -------------------- Pricing table -------------------- */
.pricing-table-wrap {
  overflow-x: auto;
  background: var(--cream-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}
table.pricing-table th, table.pricing-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(41,78,44,0.1);
}
table.pricing-table thead th {
  background: var(--forest);
  color: var(--cream-light);
  font-family: var(--font-display);
  font-weight: 600;
}
table.pricing-table tbody tr:last-child td { border-bottom: none; }
table.pricing-table .price { font-weight: 700; color: var(--forest); font-size: 1.05rem; }
table.pricing-table .unavailable { color: var(--warm-gray); font-style: italic; }

/* -------------------- Amenity strip / info blocks -------------------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.info-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.info-card h3 { margin-bottom: 8px; }
.info-card p { color: var(--warm-gray); margin: 0; font-size: 0.95rem; }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* -------------------- FAQ accordion -------------------- */
.faq-group-title {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--steel-blue-dark);
  margin: 40px 0 14px;
}
.faq-group-title:first-child { margin-top: 0; }

.faq-list details {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 6px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--forest);
  padding: 16px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--steel-blue-dark);
  margin-left: 16px;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-body { padding: 0 0 18px; color: var(--warm-gray); }
.faq-list .faq-body p:last-child { margin-bottom: 0; }

.placeholder-note {
  display: inline-block;
  background: var(--stripe-yellow);
  color: var(--ink);
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* -------------------- Forms -------------------- */
.form-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--forest);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid rgba(41,78,44,0.25);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
}
.price-preview {
  background: var(--cream-mid);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}
.price-preview strong { color: var(--forest); font-size: 1.1rem; }
.form-note { font-size: 0.85rem; color: var(--warm-gray); margin-top: 10px; }

/* -------------------- Booking option cards (home CTA) -------------------- */
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.option-card {
  background: var(--cream-light);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.option-card h3 { margin-bottom: 10px; }
.option-card p { color: var(--warm-gray); margin-bottom: 22px; }

/* -------------------- Footer -------------------- */
.site-footer {
  background: var(--forest);
  color: var(--cream);
  padding: 52px 0 26px;
}
.site-footer a { color: var(--cream-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-grid h4 {
  color: var(--cream-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { text-decoration: none; opacity: 0.9; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(254,251,246,0.18);
  padding-top: 20px;
  font-size: 0.8rem;
  color: rgba(254,251,246,0.75);
  line-height: 1.6;
}

/* -------------------- Utility -------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
