/* ── Traana Official Light & Warm Theme (Base: #FAF8F2 | Primary Yellow: #F9C80E | Accent Blue: #1F4E6B) ── */
:root {
  --base:         #FAF8F2; /* Warm Cream Base - Dominant Page Color */
  --base-card:    #FFFFFF; /* Pure Clean White for Cards */
  --base-alt:     #F3EFE6; /* Warm Ivory for Section Alternation */
  --primary:      #F9C80E; /* Vibrant Yellow Accent/CTA */
  --primary-hover:#E5B505;
  --accent:       #1F4E6B; /* Deep Blue for Icons, Links & Lines */
  --accent-dark:  #123246;
  --text-dark:    #0E2838; /* Rich Slate Dark Text */
  --text-slate:   #3C5A70; /* Body Text */
  --text-muted:   #6C8A9E;
  --border:       #E4ECE0; /* Soft Warm Border */
  --border-light: #F0F4ED;
  
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--base);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.65;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; color: var(--text-dark); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
::selection { background: rgba(249, 200, 14, 0.35); color: var(--text-dark); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--base); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── Layout Helpers ── */
.wrap { max-width: 1140px; margin: auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }

/* ── Typography ── */
.display { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; color: var(--text-dark); }
.h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; color: var(--text-dark); }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 600; color: var(--text-dark); }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}
.eyebrow-yellow { color: #D9A800; }
.body-lg { font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.8; color: var(--text-slate); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

/* Primary Button (Vibrant Yellow Background + Dark Text) */
.btn-primary {
  background: var(--primary);
  color: var(--text-dark);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 200, 14, 0.4);
}

/* Accent Button (Deep Blue Background + White Text) */
.btn-accent {
  background: var(--accent);
  color: #FFF;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 78, 107, 0.25);
}

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

.btn-outline-dark {
  background: transparent;
  border-color: var(--border);
  color: var(--text-dark);
}
.btn-outline-dark:hover {
  border-color: var(--accent);
  background: var(--base-card);
  color: var(--accent);
}

/* ── Cards & Media ── */
.card {
  background: var(--base-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 4px 20px rgba(31, 78, 107, 0.05);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(31, 78, 107, 0.1); border-color: var(--primary); }

.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.8rem; }

.divider { width: 2.5rem; height: 3px; background: var(--primary); border-radius: 2px; }

/* ── NAVBAR ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  padding: 0.6rem 0;
  background: rgba(250, 248, 242, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
#nav.scrolled {
  box-shadow: 0 2px 16px rgba(31, 78, 107, 0.08);
  padding: 0.3rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.logo-img { height: 48px; width: auto; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 100px;
  color: var(--text-slate);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(249, 200, 14, 0.22);
  color: var(--text-dark);
  font-weight: 700;
}

.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.hamburger { display: none; width: 38px; height: 38px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }

@media (max-width: 820px) {
  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }
}

/* Mobile Menu */
#mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: var(--base); padding: 90px 1.5rem 2rem;
  flex-direction: column; gap: 0;
  overflow-y: auto;
}
#mobile-menu.open { display: flex; }
#mobile-menu a { display: block; padding: 1.1rem 0; font-family: var(--font-display); font-size: 1.8rem; color: var(--text-dark); border-bottom: 1px solid var(--border); }
#mobile-menu .mm-cta { margin-top: 2rem; }

/* ── Page Header / Subpage Banner (Light & Warm) ── */
.page-banner {
  background: var(--base-alt);
  color: var(--text-dark);
  padding: 130px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-banner .eyebrow { color: var(--accent); }
.page-banner h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin-bottom: 1rem; color: var(--text-dark); }
.page-banner p { color: var(--text-slate); max-width: 600px; font-size: 1.1rem; line-height: 1.7; }

/* ── Photo & Feature Grids ── */
.feature-media-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .feature-media-grid { grid-template-columns: 1fr 1fr; }
  .feature-media-grid.reverse { direction: rtl; }
  .feature-media-grid.reverse > * { direction: ltr; }
}

.media-frame {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(31, 78, 107, 0.1);
  border: 4px solid #FFF;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.media-frame:hover img { transform: scale(1.03); }

/* ── Footer (Clean & Warm) ── */
footer { background: var(--base-alt); padding: 4rem 0 2rem; color: var(--text-dark); border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: 0.9rem; color: var(--text-slate); font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding-top: 1.5rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-disclaimer { font-size: 0.75rem; color: var(--text-muted); text-align: right; }

/* ── Floating WhatsApp ── */
#wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  display: flex; align-items: center; gap: 0.75rem;
  animation: waFloat 3s ease-in-out infinite;
  opacity: 0; transition: opacity 0.5s;
}
#wa-float.visible { opacity: 1; }
@keyframes waFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
#wa-float .wa-label { background: #FFF; color: var(--text-dark); font-size: 0.78rem; font-weight: 700; padding: 0.45rem 0.9rem; border-radius: 100px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); white-space: nowrap; display: none; border: 1px solid var(--border); }
@media (min-width: 640px) { #wa-float .wa-label { display: block; } }
#wa-float .wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); flex-shrink: 0; }
#wa-float .wa-btn svg { width: 28px; height: 28px; fill: #FFF; }

/* ── Animations ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.75s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
