/* ============================================================
   AVATARAM THEME — Main Stylesheet v1.0
   Brand of JP Trading Company
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #0E0C1E;
  --gold:      #C9963A;
  --gold-lt:   #E8C97A;
  --ivory:     #F5F0E8;
  --border:    rgba(201,150,58,0.18);
  --success:   #1D9E75;
  --error:     #E24B4A;
  --font-r:    'Cormorant Garamond', Georgia, serif;
  --font-s:    'DM Sans', -apple-system, sans-serif;
  --nav-h:     76px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-s); background: var(--ink); color: var(--ivory); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content:''; position:fixed; inset:0; z-index:0; background: radial-gradient(ellipse 80% 60% at 50% -10%, #1a1340 0%, transparent 70%), radial-gradient(ellipse 40% 30% at 80% 80%, #120d2e 0%, transparent 60%); pointer-events:none; }
.stars { position:fixed; inset:0; z-index:0; pointer-events:none; background-image: radial-gradient(1px 1px at 12% 14%, rgba(232,201,122,.55) 0%, transparent 100%), radial-gradient(1px 1px at 28% 72%, rgba(232,201,122,.4) 0%, transparent 100%), radial-gradient(1.5px 1.5px at 45% 22%, rgba(245,240,232,.5) 0%, transparent 100%), radial-gradient(1px 1px at 61% 88%, rgba(232,201,122,.35) 0%, transparent 100%), radial-gradient(1px 1px at 78% 35%, rgba(245,240,232,.4) 0%, transparent 100%), radial-gradient(1px 1px at 90% 65%, rgba(232,201,122,.5) 0%, transparent 100%), radial-gradient(1px 1px at 7% 55%, rgba(245,240,232,.3) 0%, transparent 100%), radial-gradient(1px 1px at 33% 40%, rgba(232,201,122,.3) 0%, transparent 100%), radial-gradient(1px 1px at 55% 60%, rgba(245,240,232,.25) 0%, transparent 100%), radial-gradient(1px 1px at 70% 10%, rgba(232,201,122,.45) 0%, transparent 100%), radial-gradient(1px 1px at 84% 90%, rgba(245,240,232,.35) 0%, transparent 100%), radial-gradient(1px 1px at 19% 90%, rgba(232,201,122,.3) 0%, transparent 100%), radial-gradient(1px 1px at 95% 20%, rgba(245,240,232,.4) 0%, transparent 100%); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-r); font-weight:400; line-height:1.15; }
p { line-height:1.7; }
a { color: var(--gold); text-decoration:none; transition: color .2s; }
a:hover { color: var(--gold-lt); }
img { max-width:100%; height:auto; display:block; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ══════════════════════════════════════════════════
   HEADER & NAVIGATION
══════════════════════════════════════════════════ */
.site-header {
  position: fixed; top:0; left:0; right:0; height: var(--nav-h); z-index:1000;
  display: flex; align-items:center; justify-content:space-between;
  padding: 0 3rem; gap:1.5rem;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: rgba(14,12,30,0.85);
}

/* Logo */
.site-logo { display:flex; align-items:center; gap:12px; text-decoration:none; flex-shrink:0; }
.logo-mark { width:38px; height:38px; border-radius:8px; background:var(--gold); display:flex; align-items:center; justify-content:center; font-family:var(--font-r); font-size:21px; font-weight:600; color:var(--ink); flex-shrink:0; }
.logo-text { font-family:var(--font-r); font-size:22px; font-weight:500; color:var(--ivory); letter-spacing:.04em; }
.logo-text span { color:var(--gold); }

/* Desktop nav */
.nav-menu { display:flex; align-items:center; gap:2rem; list-style:none; margin:0; padding:0; }
.nav-menu a { font-family:var(--font-s); font-size:12px; font-weight:400; letter-spacing:.08em; text-transform:uppercase; color:rgba(245,240,232,.7); text-decoration:none; transition:color .2s; position:relative; padding-bottom:2px; }
.nav-menu a::after { content:''; position:absolute; bottom:-2px; left:0; right:0; height:1px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:transform .25s; }
.nav-menu a:hover, .nav-menu a.active, .nav-menu a[aria-current="page"] { color:var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { transform:scaleX(1); }

/* Language switcher */
.lang-switcher { display:flex; gap:5px; align-items:center; flex-shrink:0; }
.lang-btn { font-size:11px; padding:4px 9px; border-radius:20px; border:1px solid var(--border); background:transparent; color:rgba(245,240,232,.6); cursor:pointer; font-family:var(--font-s); transition:all .2s; white-space:nowrap; }
.lang-btn.active, .lang-btn:hover { border-color:var(--gold); color:var(--gold); background:rgba(201,150,58,.08); }

/* Book CTA in nav */
.nav-book-btn { font-family:var(--font-s); font-size:13px; padding:9px 20px; border-radius:6px; background:var(--gold); color:var(--ink); text-decoration:none; font-weight:500; letter-spacing:.03em; transition:background .2s; white-space:nowrap; flex-shrink:0; }
.nav-book-btn:hover { background:var(--gold-lt); color:var(--ink); }

/* Hamburger */
.hamburger { display:none; flex-direction:column; justify-content:center; align-items:center; width:42px; height:42px; border:1px solid var(--border); border-radius:6px; background:transparent; cursor:pointer; gap:5px; padding:10px; flex-shrink:0; }
.hamburger span { display:block; width:20px; height:1.5px; background:var(--ivory); border-radius:2px; transition:transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform:translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.hamburger.open span:nth-child(3) { transform:translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav-drawer { display:none; position:fixed; top:var(--nav-h); left:0; right:0; z-index:999; background:rgba(10,8,26,.98); backdrop-filter:blur(20px); border-bottom:1px solid var(--border); overflow:hidden; max-height:0; transition:max-height .4s cubic-bezier(0.4,0,0.2,1); }
.mobile-nav-drawer.open { max-height:100vh; }
.mobile-nav-inner { padding:1.5rem 1.5rem 2.5rem; }
.mobile-nav-menu { list-style:none; padding:0; margin:0 0 1.5rem; display:flex; flex-direction:column; }
.mobile-nav-menu li { border-bottom:1px solid rgba(201,150,58,.1); }
.mobile-nav-menu a { display:block; padding:.9rem .5rem; font-family:var(--font-r); font-size:22px; font-weight:300; color:rgba(245,240,232,.85); text-decoration:none; transition:color .2s, padding-left .2s; }
.mobile-nav-menu a:hover, .mobile-nav-menu a[aria-current="page"] { color:var(--gold); padding-left:.75rem; }
.mobile-footer-strip { display:flex; flex-direction:column; gap:1rem; }
.mobile-lang-row { display:flex; gap:8px; flex-wrap:wrap; }
.mobile-book-btn { display:block; text-align:center; padding:14px; border-radius:6px; background:var(--gold); color:var(--ink); font-family:var(--font-s); font-size:14px; font-weight:500; text-decoration:none; }
.mobile-book-btn:hover { background:var(--gold-lt); color:var(--ink); }

/* ══════════════════════════════════════════════════
   PAGE STRUCTURE
══════════════════════════════════════════════════ */
.site-main { position:relative; z-index:1; padding-top:var(--nav-h); }

.page-hero { position:relative; z-index:1; padding:5rem 2rem 4rem; text-align:center; border-bottom:1px solid var(--border); }
.page-hero-eyebrow { font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.page-hero-title { font-family:var(--font-r); font-size:clamp(2.2rem,5vw,4.5rem); font-weight:300; line-height:1.1; color:var(--ivory); margin-bottom:1rem; }
.page-hero-title em { font-style:italic; color:var(--gold); }
.page-hero-sub { font-size:16px; font-weight:300; color:rgba(245,240,232,.6); max-width:560px; margin:0 auto; line-height:1.7; }

.breadcrumb { position:relative; z-index:1; padding:.85rem 2rem; font-size:12px; color:rgba(245,240,232,.35); border-bottom:1px solid var(--border); }
.breadcrumb a { color:rgba(245,240,232,.35); }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb .sep { margin:0 6px; }

.trust-bar { position:relative; z-index:1; border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:1.25rem 2rem; display:flex; align-items:center; justify-content:center; gap:2.5rem; flex-wrap:wrap; }
.trust-item { text-align:center; }
.trust-num { font-family:var(--font-r); font-size:26px; font-weight:500; color:var(--gold); display:block; line-height:1; }
.trust-label { font-size:10px; letter-spacing:.1em; text-transform:uppercase; color:rgba(245,240,232,.4); margin-top:4px; }
.trust-sep { width:1px; height:32px; background:var(--border); flex-shrink:0; }

.section { position:relative; z-index:1; max-width:1100px; margin:0 auto; padding:5rem 2rem; }
.section-label { font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:1rem; }
.section-title { font-family:var(--font-r); font-size:clamp(1.8rem,4vw,3rem); font-weight:400; line-height:1.15; margin-bottom:.5rem; }
.section-title em { font-style:italic; color:var(--gold); }
.section-sub { font-size:15px; color:rgba(245,240,232,.55); max-width:500px; line-height:1.7; margin-bottom:2.5rem; }

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn-primary { display:inline-block; font-family:var(--font-s); font-size:14px; padding:13px 30px; border-radius:6px; background:var(--gold); color:var(--ink); text-decoration:none; font-weight:500; border:none; cursor:pointer; transition:background .2s, transform .15s; }
.btn-primary:hover { background:var(--gold-lt); color:var(--ink); transform:translateY(-1px); }
.btn-outline { display:inline-block; font-family:var(--font-s); font-size:14px; padding:13px 30px; border-radius:6px; border:1px solid var(--border); color:var(--ivory); text-decoration:none; font-weight:400; background:transparent; cursor:pointer; transition:border-color .2s, color .2s, transform .15s; }
.btn-outline:hover { border-color:var(--gold); color:var(--gold); transform:translateY(-1px); }

/* ══════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════ */
.form-group { margin-bottom:1.25rem; }
.form-label { display:block; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(245,240,232,.5); margin-bottom:6px; }
.form-input, .form-select, .form-textarea { width:100%; padding:13px 16px; border-radius:6px; border:1px solid var(--border); background:rgba(255,255,255,.04); color:var(--ivory); font-family:var(--font-s); font-size:14px; outline:none; transition:border-color .2s, box-shadow .2s; -webkit-appearance:none; appearance:none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,150,58,.1); }
.form-input::placeholder, .form-textarea::placeholder { color:rgba(245,240,232,.3); }
.form-select { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9963A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:40px; }
.form-select option { background:#0E0C1E; color:var(--ivory); }
.form-textarea { resize:vertical; min-height:120px; line-height:1.6; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

/* ══════════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════════ */
.faq-item { border-bottom:1px solid var(--border); }
.faq-q { width:100%; text-align:left; padding:1.15rem 0; font-family:var(--font-r); font-size:17px; font-weight:400; cursor:pointer; display:flex; justify-content:space-between; align-items:center; color:var(--ivory); background:none; border:none; transition:color .2s; }
.faq-q:hover { color:var(--gold); }
.faq-q::after { content:'+'; color:var(--gold); font-size:22px; transition:transform .35s; flex-shrink:0; margin-left:1rem; }
.faq-item.open .faq-q::after { transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .4s ease; }
.faq-item.open .faq-a { max-height:400px; padding-bottom:1.25rem; }
.faq-a p { font-size:14px; color:rgba(245,240,232,.55); line-height:1.8; }

/* ══════════════════════════════════════════════════
   BOOKING FORM COMPONENTS
══════════════════════════════════════════════════ */
.step-indicator { display:flex; border:1px solid var(--border); border-radius:8px; overflow:hidden; margin-bottom:2rem; }
.step-ind { flex:1; text-align:center; padding:.75rem .5rem; font-size:11px; color:rgba(245,240,232,.4); border-right:1px solid var(--border); transition:all .2s; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.step-ind:last-child { border-right:none; }
.step-ind.active { background:rgba(201,150,58,.1); color:var(--gold); font-weight:500; }
.step-ind.done { color:rgba(245,240,232,.55); background:rgba(255,255,255,.02); }
.form-section { display:none; }
.form-section.active { display:block; }
.pkg-select { display:grid; grid-template-columns:repeat(3,1fr); gap:.75rem; margin-bottom:1.25rem; }
.pkg-opt { border:1px solid var(--border); border-radius:8px; padding:1rem; cursor:pointer; transition:border-color .2s; background:rgba(255,255,255,.02); }
.pkg-opt:hover, .pkg-opt.selected { border-color:var(--gold); }
.pkg-opt-name { font-size:13px; font-weight:500; color:var(--ivory); margin-bottom:2px; }
.pkg-opt-price { font-size:12px; color:var(--gold); }
.time-slots { display:grid; grid-template-columns:repeat(4,1fr); gap:.5rem; margin-bottom:1.25rem; }
.slot { border:1px solid var(--border); border-radius:6px; padding:.6rem; text-align:center; font-size:12px; cursor:pointer; color:rgba(245,240,232,.6); transition:all .2s; font-family:var(--font-s); }
.slot:hover, .slot.selected { border-color:var(--gold); color:var(--gold); background:rgba(201,150,58,.08); }
.slot.unavailable { opacity:.3; cursor:not-allowed; pointer-events:none; }
.payment-methods { display:flex; gap:.5rem; flex-wrap:wrap; margin-bottom:1.25rem; }
.pay-method { border:1px solid var(--border); border-radius:6px; padding:.6rem 1rem; font-size:12px; cursor:pointer; color:rgba(245,240,232,.6); transition:all .2s; font-family:var(--font-s); }
.pay-method:hover, .pay-method.selected { border-color:var(--gold); color:var(--gold); }
.order-summary { background:rgba(201,150,58,.06); border:1px solid var(--border); border-radius:8px; padding:1.25rem; margin-bottom:1.25rem; }
.order-row { display:flex; justify-content:space-between; font-size:13px; padding:4px 0; color:rgba(245,240,232,.65); }
.order-row.total { border-top:1px solid var(--border); padding-top:10px; margin-top:6px; font-weight:500; color:var(--gold); }

/* ══════════════════════════════════════════════════
   LANGUAGE CONTENT SWITCHING
══════════════════════════════════════════════════ */
[data-lang] { display:none; }
[data-lang].lang-active { display:block; }
span[data-lang].lang-active { display:inline; }
li[data-lang].lang-active { display:list-item; }

/* ══════════════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════════════ */
.wa-float { position:fixed; bottom:2rem; right:2rem; z-index:900; width:54px; height:54px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(37,211,102,.4); cursor:pointer; transition:transform .2s, box-shadow .2s; text-decoration:none; }
.wa-float:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.5); }
.wa-float svg { width:28px; height:28px; fill:white; }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer { position:relative; z-index:1; border-top:1px solid var(--border); padding:3rem 3rem 0; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:2rem; }
.footer-brand .logo-text { font-size:20px; display:block; margin-bottom:.75rem; }
.footer-tagline { font-size:13px; color:rgba(245,240,232,.35); line-height:1.65; margin-bottom:.75rem; }
.footer-legal { font-size:11px; color:rgba(245,240,232,.22); }
.footer-col-title { font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:rgba(245,240,232,.4); margin-bottom:1rem; }
.footer-links { list-style:none; display:flex; flex-direction:column; gap:.5rem; }
.footer-links a { font-size:13px; color:rgba(245,240,232,.45); text-decoration:none; transition:color .2s; }
.footer-links a:hover { color:var(--gold); }
.footer-bottom { position:relative; z-index:1; border-top:1px solid var(--border); margin-top:2rem; padding:1.25rem 3rem; display:flex; justify-content:space-between; align-items:center; }
.footer-copy { font-size:11px; color:rgba(245,240,232,.22); }
.footer-socials { display:flex; gap:1.25rem; }
.footer-socials a { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:rgba(245,240,232,.3); text-decoration:none; transition:color .2s; }
.footer-socials a:hover { color:var(--gold); }

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

/* ══════════════════════════════════════════════════
   WP ADMIN BAR OFFSET
══════════════════════════════════════════════════ */
.admin-bar .site-header { top:32px; }
.admin-bar .mobile-nav-drawer { top:calc(var(--nav-h) + 32px); }
@media (max-width:782px) {
  .admin-bar .site-header { top:46px; }
  .admin-bar .mobile-nav-drawer { top:calc(var(--nav-h) + 46px); }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET 1024px
══════════════════════════════════════════════════ */
@media (max-width:1024px) {
  .site-header { padding:0 1.5rem; gap:1rem; }
  .nav-menu { gap:1.25rem; }
  .nav-menu a { font-size:11px; }
  .lang-btn { padding:3px 7px; font-size:10px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE 900px (hamburger activates)
══════════════════════════════════════════════════ */
@media (max-width:900px) {
  :root { --nav-h:66px; }
  .site-header { padding:0 1.25rem; gap:.75rem; }
  .nav-menu { display:none !important; }
  .lang-switcher { display:none !important; }
  .nav-book-btn { display:none !important; }
  .hamburger { display:flex; }
  .mobile-nav-drawer { display:block; }
  .form-row { grid-template-columns:1fr; }
  .time-slots { grid-template-columns:repeat(3,1fr); }
  .pkg-select { grid-template-columns:1fr 1fr; }
  .trust-sep { display:none; }
  .trust-bar { gap:1.5rem; padding:1.25rem 1rem; }
  .site-footer { grid-template-columns:1fr 1fr; padding:2.5rem 1.5rem 0; }
  .footer-bottom { padding:1.25rem 1.5rem; flex-direction:column; gap:.75rem; text-align:center; }
  .breadcrumb { padding:.85rem 1.25rem; }
  .page-hero { padding:4rem 1.25rem 3rem; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE 600px
══════════════════════════════════════════════════ */
@media (max-width:600px) {
  :root { --nav-h:60px; }
  .site-header { padding:0 1rem; }
  .logo-text { font-size:19px; }
  .logo-mark { width:33px; height:33px; font-size:18px; }
  .time-slots { grid-template-columns:repeat(2,1fr); }
  .pkg-select { grid-template-columns:1fr; }
  .site-footer { grid-template-columns:1fr; }
  .section { padding:3.5rem 1.25rem; }
  .page-hero { padding:3.5rem 1.25rem 2.5rem; }
  .trust-bar { padding:1rem; }
  .form-row { grid-template-columns:1fr; }
}
