/* ═══════════════════════════════════════════════════
   VasaviSiri Website — Mobile-First Responsive Styles
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --brown-deep:  #1A0A04;
  --brown-mid:   #2C1810;
  --brown-card:  #3A1F10;
  --brown-lt:    #5C3520;
  --orange:      #E8854A;
  --orange-dk:   #C4672D;
  --gold:        #D4AF37;
  --gold-lt:     #F0C84A;
  --cream:       #FDF6EE;
  --cream-dim:   #C8A882;
  --text-body:   #E8D5BC;
  --border-gold: rgba(212,175,55,0.3);
  --radius:      14px;
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--brown-deep);
  color: var(--text-body);
  overflow-x: hidden;
  line-height: 1.7;
}
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--brown-deep); }
::-webkit-scrollbar-thumb { background: var(--orange-dk); border-radius: 3px; }

/* ══ NAVBAR ══ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,10,4,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px;
}
.nav-logo img { height: 38px; width: auto; }
.nav-links { display: none; gap: 4px; align-items: center; }
.nav-links a {
  color: var(--cream-dim); font-size: 0.88rem; font-weight: 500;
  padding: 7px 14px; border-radius: 8px; transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(212,175,55,0.1); }
.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  border-radius: 24px !important; padding: 7px 18px !important;
  font-weight: 600 !important; font-size: 0.85rem !important;
}
.nav-cta:hover { background: var(--orange-dk) !important; color: #fff !important; }
.nav-toggle {
  background: none; border: 1px solid var(--border-gold); border-radius: 8px;
  color: var(--cream); font-size: 1.1rem; cursor: pointer;
  padding: 7px 10px; line-height: 1; transition: all var(--transition);
}
.nav-toggle:hover { border-color: var(--orange); color: var(--orange); }

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column;
  padding: 12px 20px 16px;
  border-top: 1px solid var(--border-gold);
  background: rgba(13,5,2,0.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--cream-dim); padding: 11px 14px;
  border-radius: 8px; font-size: 0.95rem;
  border-bottom: 1px solid rgba(212,175,55,0.08);
  transition: all var(--transition);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); background: rgba(212,175,55,0.08); }

/* ══ SECTIONS ══ */
.section { padding: 64px 20px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--cream); line-height: 1.2; margin-bottom: 14px;
}
.section-title span { color: var(--gold); }
.section-sub {
  font-size: 1rem; color: var(--cream-dim);
  max-width: 600px; margin-bottom: 40px; line-height: 1.75;
}

/* ══ MANDALA DIVIDER ══ */
.mandala-divider {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin: 12px 0 40px;
}
.mandala-divider::before,
.mandala-divider::after {
  content: ''; flex: 1; max-width: 180px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.mandala-icon { width: 44px; height: 44px; animation: spin-slow 20s linear infinite; flex-shrink: 0; }
.mandala-icon svg { width: 100%; height: 100%; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ══ CARDS ══ */
.vs-card {
  background: var(--brown-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius); padding: 24px 20px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.vs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  border-color: rgba(212,175,55,0.6);
}
.card-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(232,133,74,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
  border: 1px solid rgba(232,133,74,0.3);
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; color: var(--gold); margin-bottom: 8px;
}
.card-body { font-size: 0.88rem; color: var(--cream-dim); line-height: 1.7; }

/* ══ BUTTONS ══ */
.btn-vs {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 600;
  cursor: pointer; border: none; transition: all var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,133,74,0.4); }
.btn-gold { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-gold:hover { background: rgba(212,175,55,0.12); color: var(--gold-lt); transform: translateY(-2px); }
.btn-vs.w-100 { width: 100%; }

/* ══ BADGE ══ */
.vs-badge {
  display: inline-block;
  background: rgba(212,175,55,0.12); border: 1px solid var(--border-gold);
  color: var(--gold); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 20px;
}

/* ══ PAGE HERO (inner pages) ══ */
.page-hero {
  min-height: 260px; display: flex; align-items: flex-end;
  padding: 100px 20px 48px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #5A2E14 0%, #2C1208 100%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('bg.png') center/cover no-repeat; opacity: 0.18;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); color: var(--cream); margin-bottom: 10px; }
.page-hero p { font-size: 1rem; color: var(--cream-dim); }

/* ══ SCROLL REVEAL ══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══ FOOTER ══ */
#footer { background: #0D0502; border-top: 1px solid var(--border-gold); padding: 56px 20px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 36px; margin-bottom: 40px;
}
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.86rem; color: var(--cream-dim); line-height: 1.7; max-width: 300px; }
.footer-col h5 {
  font-family: 'Playfair Display', serif; color: var(--gold);
  font-size: 0.92rem; margin-bottom: 14px; letter-spacing: 0.05em;
}
.footer-col a {
  display: block; color: var(--cream-dim);
  font-size: 0.86rem; margin-bottom: 9px; transition: color var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.15); padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.8rem; color: #6B4A35; }
.footer-bottom .om { color: var(--gold); }

/* ══ RESPONSIVE BREAKPOINTS ══ */

/* Small phones (≥ 480px) */
@media (min-width: 480px) {
  .section { padding: 72px 24px; }
}

/* Tablets (≥ 768px) */
@media (min-width: 768px) {
  .nav-inner { height: 70px; padding: 0 28px; }
  .nav-logo img { height: 42px; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
  .section { padding: 88px 28px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  .page-hero { padding: 110px 28px 60px; }
  .btn-vs { padding: 13px 32px; font-size: 0.95rem; }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
  .section { padding: 96px 32px; }
}
