/* Highland Caravans — shared styles */
:root {
  --sand: #f5efe6;
  --sand-dark: #e8ddd0;
  --ocean: #1a3a4a;
  --wave: #2e6b8a;
  --gold: #c9a84c;
  --gold-light: #e0b85a;
  --white: #ffffff;
  --text: #2a2a2a;
  --muted: #5f5f5f;
  --light: #f0f4f6;
  --radius: 1rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--sand);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--wave); }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ocean);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { color: var(--white); text-decoration: none; line-height: 1.2; }
.brand-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; display: block; }
.brand-sub { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.08em; }
.nav { display: flex; gap: 1.4rem; align-items: center; }
.nav a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.92rem; }
.nav a:hover, .nav a.active { color: var(--gold); }
.nav a.nav-book {
  background: var(--gold); color: var(--ocean);
  padding: 0.5rem 1.1rem; border-radius: 0.5rem; font-weight: 500;
}
.nav a.nav-book:hover { background: var(--gold-light); color: var(--ocean); }
.nav-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.4);
  color: var(--white); font-size: 1.3rem; padding: 0.25rem 0.6rem;
  border-radius: 0.4rem; cursor: pointer;
}

/* BUTTONS */
.btn-primary, .btn-outline, .btn-dark {
  display: inline-block; padding: 0.9rem 2rem; border-radius: 0.5rem;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: all 0.2s; text-align: center;
}
.btn-primary { background: var(--gold); color: var(--ocean); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,168,76,0.3); }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-dark { background: var(--ocean); color: var(--white); }
.btn-dark:hover { background: var(--wave); transform: translateY(-1px); }
.btn-block { display: block; width: 100%; }

/* HERO */
.hero {
  min-height: 85vh; background: var(--ocean); position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 3rem 1rem 8rem; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46,107,138,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 50%);
}
.wave-decoration {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 120px;
  background: var(--sand); clip-path: ellipse(55% 100% at 50% 100%);
}
.hero > * { position: relative; }
.hero-badge {
  display: inline-block; background: rgba(201,168,76,0.2); border: 1px solid var(--gold);
  color: var(--gold); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 1.2rem; border-radius: 2rem; margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 7vw, 5rem);
  color: var(--white); line-height: 1.1; animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,0.75); font-size: 1.1rem; font-weight: 300;
  margin-top: 1rem; max-width: 600px; animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta {
  margin-top: 2.5rem; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  animation: fadeUp 0.8s 0.45s ease both;
}

/* PAGE HEADER (inner pages) */
.page-head { background: var(--ocean); color: var(--white); padding: 3.5rem 1rem 3rem; text-align: center; }
.page-head h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; }
.page-head p { color: rgba(255,255,255,0.75); margin-top: 0.75rem; }
.page-head .section-label { color: var(--gold); }

/* AMENITIES STRIP */
.amenities-strip {
  background: var(--white); padding: 1.2rem 1rem;
  display: flex; justify-content: center; gap: 1rem 2rem; flex-wrap: wrap;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.amenity-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--ocean); font-weight: 500; }

/* SECTIONS */
section { padding: 4.5rem 1rem; }
.container { max-width: 1100px; margin: 0 auto; }
.narrow { max-width: 760px; margin: 0 auto; }
.section-label {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--wave); font-weight: 500; margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ocean); line-height: 1.2;
}
.lead { color: var(--muted); margin-top: 1rem; font-size: 1.02rem; }
.bg-white { background: var(--white); }
.bg-ocean { background: var(--ocean); color: var(--white); }
.bg-ocean .section-title { color: var(--white); }
.bg-ocean .section-label { color: var(--gold); }

/* TWO COLUMN */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; margin-top: 2.5rem; }
.text-block p { color: var(--muted); margin-top: 1rem; }

/* CARAVAN CARDS */
.cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.caravan-card {
  border-radius: 1.2rem; overflow: hidden; border: 1px solid rgba(0,0,0,0.08);
  background: var(--sand); transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.caravan-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(26,58,74,0.12); }
.caravan-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.caravan-name { font-family: 'Playfair Display', serif; font-size: 1.45rem; color: var(--ocean); }
.caravan-tagline { font-size: 0.88rem; color: var(--wave); margin-top: 0.25rem; }
.rating { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; color: var(--ocean); font-weight: 500; }
.rating .stars { color: var(--gold); }
.features { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.feature-tag {
  background: rgba(46,107,138,0.1); color: var(--wave); font-size: 0.8rem;
  padding: 0.25rem 0.75rem; border-radius: 2rem; font-weight: 500;
}
.price { font-family: 'Playfair Display', serif; font-size: 1.35rem; color: var(--ocean); margin-top: auto; padding-top: 0.5rem; }
.price span { font-size: 0.85rem; font-family: 'DM Sans', sans-serif; color: #888; font-weight: 300; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem; }
.card-actions a { padding: 0.8rem 0.5rem; }
.btn-light { background: var(--white); color: var(--ocean); border: 1px solid rgba(26,58,74,0.25); border-radius: 0.5rem; text-decoration: none; font-weight: 500; font-size: 0.95rem; text-align: center; }
.btn-light:hover { border-color: var(--ocean); }

/* GALLERY */
.gallery { position: relative; background: #f5f5f5; user-select: none; }
.gallery img { width: 100%; height: 300px; object-fit: contain; background: #f5f5f5; }
.gallery.large img { height: min(60vh, 520px); }
.gallery-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  padding: 0.5rem 0.85rem; font-size: 1.5rem; cursor: pointer; border-radius: 4px; line-height: 1;
}
.gallery-btn:hover { background: rgba(0,0,0,0.7); }
.gallery-btn.prev { left: 0.5rem; }
.gallery-btn.next { right: 0.5rem; }
.gallery-counter {
  position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,0.5); color: #fff; font-size: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 2rem;
}
.gallery-badge {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--gold); color: var(--ocean); font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.8rem; border-radius: 2rem;
}

/* INFO LISTS */
.info-box { background: var(--white); border-radius: var(--radius); padding: 1.6rem; border: 1px solid rgba(0,0,0,0.06); }
.info-box h3 { font-family: 'Playfair Display', serif; color: var(--ocean); font-size: 1.2rem; margin-bottom: 0.75rem; }
.info-box + .info-box { margin-top: 1.25rem; }
.check-list { list-style: none; }
.check-list li { padding: 0.45rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); font-size: 0.95rem; display: flex; gap: 0.6rem; }
.check-list li:last-child { border-bottom: none; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table td { padding: 0.5rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.price-table td:last-child { text-align: right; font-weight: 500; color: var(--ocean); }
.note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }
.sticky-col { position: sticky; top: 6rem; }

/* FACILITIES */
.facilities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.facility-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem; text-align: center;
  border: 1px solid rgba(0,0,0,0.06); transition: transform 0.2s;
}
.facility-card:hover { transform: translateY(-3px); }
.facility-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.facility-name { font-weight: 500; color: var(--ocean); font-size: 0.92rem; }
.facility-note { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }

/* LOCATION */
.nearby-list { list-style: none; margin-top: 1.5rem; }
.nearby-list li {
  display: flex; gap: 0.75rem; padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); font-size: 0.95rem;
}
.bg-ocean .text-block p { color: rgba(255,255,255,0.75); }
.map-box {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 3rem 1.5rem; text-align: center; color: rgba(255,255,255,0.65);
}
.map-box .map-icon { font-size: 3rem; margin-bottom: 1rem; }
.map-box a { color: var(--gold); text-decoration: none; display: inline-block; margin-top: 1rem; }

/* CTA */
.cta-final { text-align: center; background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%); }
.cta-final p { color: var(--muted); margin: 1rem auto; max-width: 520px; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* BOOK PAGE */
.steps { counter-reset: step; list-style: none; margin-top: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding: 0.6rem 0 0.6rem 2.8rem; color: var(--text); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.5rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--ocean); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 0.9rem;
}

/* LEGAL PAGES */
.legal h2 { font-family: 'Playfair Display', serif; color: var(--ocean); font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { color: #444; margin-top: 0.7rem; }
.legal ul { padding-left: 1.3rem; }
.legal .updated { font-size: 0.85rem; color: var(--muted); }

/* FOOTER */
.site-footer { background: var(--ocean); color: rgba(255,255,255,0.65); padding: 2.5rem 1rem; font-size: 0.88rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; }
.site-footer a { color: var(--gold); text-decoration: none; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-small { width: 100%; font-size: 0.78rem; color: rgba(255,255,255,0.45); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ocean); flex-direction: column; align-items: stretch;
    padding: 0.5rem 1rem 1rem; gap: 0; box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav a.nav-book { margin-top: 0.75rem; text-align: center; border-bottom: none; }
  .two-col, .cards-grid { grid-template-columns: 1fr; gap: 2rem; }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .sticky-col { position: static; }
  .gallery img { height: 260px; }
  .gallery.large img { height: 320px; }
}
