/* ============================================
   Wadi Escape — base styles
   Brand: teal #0F4C4C · gold #D9A441 · terracotta #B5542B · cream #F6EFE3
   ============================================ */

:root {
  --teal: #0F4C4C;
  --teal-dark: #0a3535;
  --gold: #D9A441;
  --terracotta: #B5542B;
  --cream: #F6EFE3;
  --cream-dark: #ece0cb;
  --ink: #241f18;
  --ink-soft: #5c5346;
  --white: #ffffff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 76, 76, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--teal);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

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

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

section { padding: 72px 0; }
.section-tight { padding: 48px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head p { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--teal-dark);
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.35);
}
.btn-primary:hover { background: #e6b45c; }

.btn-outline {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--cream); }

.btn-light {
  background: var(--cream);
  color: var(--teal);
}
.btn-light:hover { background: var(--white); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 76, 76, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal);
}
.brand img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--teal);
  position: relative;
  padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--terracotta);
  transition: width 0.2s ease;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--terracotta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media .img-placeholder {
  height: 100%;
  border-radius: 0;
  align-items: flex-start;
  padding-top: 28px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,76,76,0.55) 0%, rgba(10,53,53,0.75) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { color: var(--white); }
.hero-content p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; margin-top: 24px; flex-wrap: wrap; }

/* ---------- Image placeholders ---------- */
.img-placeholder {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    var(--cream-dark),
    var(--cream-dark) 14px,
    #e2d4b7 14px,
    #e2d4b7 28px
  );
  border: 1px dashed rgba(15,76,76,0.35);
  border-radius: var(--radius);
  color: var(--teal);
  text-align: center;
  overflow: hidden;
}
.img-placeholder .ph-label {
  background: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  max-width: 85%;
  line-height: 1.3;
}
.ph-wide     { aspect-ratio: 16 / 7; }
.ph-square   { aspect-ratio: 1 / 1; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-banner   { aspect-ratio: 21 / 9; }
.ph-video    { aspect-ratio: 16 / 9; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(15,76,76,0.18); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; }
.card-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--cream);
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Package cards */
.pkg-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 5px solid var(--gold);
  position: relative;
}
.pkg-card.pkg-silver { border-top-color: var(--terracotta); }
.pkg-card.pkg-gold { border-top-color: var(--teal); }
.pkg-card.pkg-custom { border-top-color: var(--ink-soft); background: var(--teal); color: var(--cream); }
.pkg-card.pkg-custom h3, .pkg-card.pkg-custom .pkg-price { color: var(--cream); }
.pkg-card.pkg-custom p { color: rgba(246,239,227,0.85); }

.pkg-card h3 { margin-bottom: 0; }
.pkg-price { font-family: var(--font-head); font-size: 1.4rem; color: var(--terracotta); font-weight: 700; }
.pkg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pkg-list li { padding-left: 22px; position: relative; font-size: 0.95rem; color: var(--ink-soft); }
.pkg-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--terracotta);
  font-weight: 700;
}
.pkg-card.pkg-custom .pkg-list li { color: rgba(246,239,227,0.85); }
.pkg-card.pkg-custom .pkg-list li::before { color: var(--gold); }

/* TODO markers */
.todo {
  background: rgba(217, 164, 65, 0.25);
  border: 1px dashed var(--terracotta);
  color: var(--terracotta);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: 600;
}
.todo::before {
  content: "TODO: ";
  font-size: 0.75em;
  letter-spacing: 0.04em;
}

/* ---------- Activities grid ---------- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.activity-card .card-body { padding: 22px 24px 26px; }
.activity-meta {
  display: flex;
  gap: 14px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.activity-meta span { display: flex; align-items: center; gap: 6px; }

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item { text-align: center; padding: 0 12px; }
.why-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
}
.why-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: var(--teal); }

/* ---------- Bands ---------- */
.band-teal { background: var(--teal); color: var(--cream); }
.band-teal h2, .band-teal h3 { color: var(--cream); }
.band-teal p { color: rgba(246,239,227,0.85); }

.cta-final { text-align: center; }
.cta-final h2 { margin-bottom: 10px; }
.cta-final p { color: rgba(246,239,227,0.85); margin-bottom: 28px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-grid .img-placeholder:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }

/* ---------- Founders / About ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: start;
}
.founder-card { text-align: center; }
.founder-card .img-placeholder { margin-bottom: 18px; }
.founder-role { color: var(--terracotta); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.value-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid rgba(15,76,76,0.15);
  padding: 20px 0;
}
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--teal); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(15,76,76,0.2);
  border-radius: 8px;
  background: var(--cream);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.hidden-field { position: absolute; left: -9999px; top: -9999px; }

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.contact-direct a { font-weight: 700; color: var(--teal); }
.reassurance {
  background: var(--cream-dark);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-dark);
  color: rgba(246,239,227,0.85);
  padding: 56px 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(246,239,227,0.15);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 36px; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--cream); }
.footer-col h4 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(246,239,227,0.1);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); color: var(--teal-dark); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Page hero (non-home pages) ---------- */
.page-hero {
  padding: 56px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}
.page-hero p { max-width: 560px; margin: 0 auto; color: var(--ink-soft); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid,
  .why-grid,
  .values-grid { grid-template-columns: 1fr; }
  .activity-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .img-placeholder:nth-child(5n+1) { grid-column: span 1; grid-row: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: 1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    transform: translateY(-140%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    z-index: 90;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a.btn { align-self: flex-start; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .form-card { padding: 24px; }
  .hero { min-height: 76vh; text-align: left; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 52px 0; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
