/* ============================================================
   TROPICANA — base.css
   Design tokens, reset, base typography, shared utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  /* Palette (matches the printed cream/gold menu) */
  --cream: #FBF6EC;
  --cream-soft: #F4EBD9;
  --cream-deep: #EADFC6;
  --gold: #C5A55A;
  --gold-dark: #A8863F;
  --gold-light: #E3CC93;
  --ink: #2E2417;
  --ink-soft: #6B5D4A;
  --line: #E4D7BE;
  --white: #FFFFFF;

  /* Typography */
  --font-script: 'Great Vibes', cursive;
  --font-head: 'Playfair Display', 'Tajawal', serif;
  --font-body: 'Lora', 'Tajawal', serif;
  --font-ar: 'Tajawal', sans-serif;

  /* Rhythm */
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(46, 36, 23, 0.08);
  --shadow-lg: 0 24px 60px rgba(46, 36, 23, 0.14);
  --header-h: 76px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-size: 1rem;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 600;
  text-wrap: balance;
}

::selection { background: var(--gold); color: var(--white); }

/* Gold scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream-soft); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 8px; border: 3px solid var(--cream-soft); }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout utilities ---------- */
.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); position: relative; }
.section--soft { background: var(--cream-soft); }

.text-center { text-align: center; }

.script {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--gold-dark);
}

.gold { color: var(--gold-dark); }

/* ---------- Section title w/ flourish ---------- */
.sec-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }

.sec-head__eyebrow {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold);
  display: block;
  margin-bottom: .25rem;
}

.sec-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  color: var(--ink);
  letter-spacing: .02em;
}

.sec-head__rule {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  margin-top: .9rem;
}
.sec-head__rule::before,
.sec-head__rule::after {
  content: "";
  height: 1px;
  width: 46px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.sec-head__rule::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.sec-head__rule svg { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  color: var(--white);
  box-shadow: 0 8px 22px rgba(168, 134, 63, .35);
}
.btn--gold:hover { box-shadow: 0 14px 30px rgba(168, 134, 63, .45); }

.btn--ghost {
  background: transparent;
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}
.btn--ghost:hover { background: var(--gold-dark); color: var(--white); }

.btn--wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .35);
}
.btn--wa:hover { box-shadow: 0 14px 30px rgba(37, 211, 102, .45); }

.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Hairline cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Reveal on scroll (progressive enhancement) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
