/*
Theme Name: Balat Plans Theme
Theme URI: https://balatplans.com
Author: Balat Plans
Version: 1.0.0
Description: Custom theme for Balat Plans travel & adventure operations in the Rif.
Text Domain: balat-plans
*/

:root {
  --bg-dark: #0a1815;
  --bg-card: #0e221e;
  --bg-card-hover: #132b26;
  --teal-main: #33bbb0;
  --teal-light: #8fe9de;
  --teal-dim: rgba(51, 187, 176, 0.12);
  --sand-main: #f4eedb;
  --sand-muted: #b8b09d;
  --terracotta: #c97440;
  --orange-bright: #e5a878;
  --border-light: rgba(244, 238, 219, 0.12);
  --border-active: rgba(51, 187, 176, 0.4);
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Archivo', -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-dark);
  color: var(--sand-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Helpers */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.15; color: var(--sand-main); }
h1 em, h2 em { font-style: italic; color: var(--teal-light); font-weight: 400; }
p { color: var(--sand-muted); }
a { color: inherit; text-decoration: none; }

/* Global Container */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--teal-main); color: var(--bg-dark); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #20ba5a; transform: translateY(-2px); }
.btn-ghost { border: 1px solid var(--border-light); color: var(--sand-main); }
.btn-ghost:hover { border-color: var(--teal-main); color: var(--teal-light); }

/* Header & Nav */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 24, 21, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
nav.wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: #fff; }
.logo .mark { width: 34px; height: 34px; flex-shrink: 0; }
.nav-links { display: flex; gap: 32px; font-size: 0.95rem; font-weight: 500; }
.nav-links a:hover { color: var(--teal-main); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--sand-main); }

/* Hero */
.hero { position: relative; padding: 80px 0 100px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--teal-main); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 20px; }
.lead { font-size: 1.15rem; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-art { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
.hero-art svg { display: block; width: 100%; height: auto; }
.badge-follow {
  position: absolute; bottom: 20px; right: 20px;
  background: rgba(14, 34, 30, 0.9); border: 1px solid var(--border-light);
  padding: 12px 20px; border-radius: 14px; backdrop-filter: blur(8px);
}
.badge-follow b { display: block; font-size: 1.2rem; color: var(--teal-light); }
.badge-follow span { font-size: 0.8rem; color: var(--sand-muted); }
.ridgeline { position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; pointer-events: none; }

/* Marquee */
.marquee { background: var(--teal-dim); border-y: 1px solid var(--border-light); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 32px; whitespace: nowrap; animation: marquee 30s linear infinite; }
.marquee span { font-family: var(--font-mono); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--teal-light); }
.marquee .dot { color: var(--terracotta); margin: 0 8px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Stats */
.stats { padding: 60px 0; border-bottom: 1px solid var(--border-light); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.stat b { display: block; font-family: var(--font-heading); font-size: 2.5rem; color: var(--teal-main); }
.stat span { font-size: 0.9rem; color: var(--sand-muted); }

/* Section Headings */
section { padding: 100px 0; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Activities */
.activities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.activity-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  padding: 32px 24px; border-radius: 16px; position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.activity-card:hover { transform: translateY(-4px); border-color: var(--border-active); }
.activity-card .num { font-family: var(--font-mono); color: var(--teal-main); font-size: 0.85rem; margin-bottom: 16px; display: block; }
.activity-card .icon { width: 40px; height: 40px; color: var(--teal-light); margin-bottom: 20px; }
.activity-card h3 { font-size: 1.3rem; margin-bottom: 12px; }

/* Trips */
.trips-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.trip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.trip-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.trip-visual { height: 180px; position: relative; padding: 20px; }
.v-teal { background: linear-gradient(135deg, #123832, #33bbb0); }
.v-deep { background: linear-gradient(135deg, #091a24, #1b4d54); }
.v-lagoon { background: linear-gradient(135deg, #0a2d38, #2a8a9a); }
.v-night { background: linear-gradient(135deg, #181124, #3b2854); }
.v-clay { background: linear-gradient(135deg, #381a14, #c97440); }
.v-dusk { background: linear-gradient(135deg, #241628, #7a3e5d); }
.trip-visual .tag { background: rgba(10, 24, 21, 0.75); backdrop-filter: blur(4px); padding: 6px 14px; border-radius: 99px; font-size: 0.75rem; font-family: var(--font-mono); color: var(--teal-light); }
.trip-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.trip-body h3 { font-size: 1.35rem; margin-bottom: 16px; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.trip-meta span { font-size: 0.8rem; background: rgba(244, 238, 219, 0.05); padding: 4px 10px; border-radius: 6px; color: var(--sand-muted); }
.trip-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-light); pt: 20px; padding-top: 20px; }
.price { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--teal-light); }
.price small { font-size: 0.8rem; font-family: var(--font-body); color: var(--sand-muted); font-weight: 400; }
.trip-cta { color: var(--teal-main); font-weight: 700; font-size: 0.95rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step { background: var(--bg-card); padding: 32px 24px; border-radius: 16px; border: 1px solid var(--border-light); }
.step-num { font-family: var(--font-mono); width: 36px; height: 36px; border-radius: 50%; background: var(--teal-dim); color: var(--teal-main); display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 20px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote-card { background: var(--bg-card); border: 1px solid var(--border-light); padding: 32px; border-radius: 16px; font-size: 1.05rem; font-style: italic; }
.quote-who { margin-top: 20px; font-style: normal; font-size: 0.85rem; font-family: var(--font-mono); color: var(--teal-main); display: flex; align-items: center; gap: 8px; }
.quote-who .dot { width: 6px; height: 6px; background: var(--teal-main); border-radius: 50%; display: inline-block; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.phone-pill { display: inline-block; background: var(--teal-dim); border: 1px solid var(--border-active); padding: 10px 20px; border-radius: 99px; font-family: var(--font-mono); color: var(--teal-light); margin: 24px 0; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social-pill { background: rgba(244, 238, 219, 0.05); padding: 8px 16px; border-radius: 99px; font-size: 0.85rem; border: 1px solid var(--border-light); }
.contact-card { background: var(--bg-card); border: 1px solid var(--border-light); padding: 40px; border-radius: 24px; }
.contact-card h3 { font-size: 1.5rem; margin-bottom: 6px; }
.contact-card ul { list-style: none; margin: 24px 0 32px; }
.contact-card li { padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 0.95rem; color: var(--sand-muted); }
.contact-card li b { color: var(--sand-main); }

/* Footer */
footer { border-top: 1px solid var(--border-light); padding: 40px 0; font-size: 0.9rem; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-links { display: flex; gap: 24px; }

/* Floating WA */
.float-wa { position: fixed; bottom: 24px; right: 24px; z-index: 999; background: #25D366; color: #fff; font-weight: 700; padding: 14px 24px; border-radius: 99px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }

/* Animations & Mobile */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .burger { display: flex; }
}