/* ============================================
   SWATEXPLORER — global.css
   Shared across ALL pages
   ============================================ */

:root {
  --green:  #1B4D3E;
  --blue:   #4A90E2;
  --orange: #F5A623;
  --dark:   #0a1e15;
  --light:  #F9F6F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #222; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 0 40px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
nav.scrolled {
  background: rgba(10,30,22,0.93);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), #2d7a60);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(27,77,62,0.4);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text span:first-child { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: #fff; font-weight: 700; }
.logo-text span:last-child  { font-size: 0.6rem; color: var(--orange); letter-spacing: 2px; text-transform: uppercase; }

.nav-center { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; color: rgba(255,255,255,0.82); text-decoration: none;
  font-size: 0.83rem; font-weight: 500; padding: 8px 14px;
  border-radius: 8px; transition: .2s; letter-spacing: .3px;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%); width: 0; height: 2px;
  background: var(--orange); border-radius: 2px; transition: width .25s;
}
.nav-link:hover::after { width: 60%; }

/* Dropdown */
.has-drop { position: relative; }
.has-drop .drop-arrow { font-size: 0.6rem; margin-left: 3px; transition: transform .2s; }
.has-drop.open .drop-arrow { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(10,30,22,0.97); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 10px; min-width: 210px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s, transform .22s;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); z-index: 200;
}
.has-drop.open .dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.drop-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 9px;
  color: rgba(255,255,255,0.8); font-size: 0.82rem; text-decoration: none; transition: .18s;
}
.drop-item:hover { background: rgba(245,166,35,0.12); color: var(--orange); }
.drop-item .di {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(27,77,62,0.6);
  display: flex; align-items: center; justify-content: center; font-size: 0.9rem;
}

/* Nav CTA */
.nav-cta {
  background: linear-gradient(135deg, var(--orange), #e09410);
  color: #fff; font-weight: 600; font-size: 0.82rem;
  padding: 9px 20px; border-radius: 50px; text-decoration: none;
  letter-spacing: .3px; box-shadow: 0 4px 16px rgba(245,166,35,0.35);
  transition: .2s; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.45); }

/* Nav back (attraction pages) */
.nav-back {
  color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.83rem;
  display: flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2); transition: .2s;
}
.nav-back:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px; cursor: pointer;
  background: rgba(255,255,255,0.08); border-radius: 10px; padding: 8px; border: none;
}
.hamburger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Drawer */
.mobile-drawer {
  position: fixed; top: 0; right: -100%; width: min(320px,85vw); height: 100vh;
  background: linear-gradient(180deg,#0d2a1f,#0a1e15);
  z-index: 999; padding: 80px 24px 32px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 60px rgba(0,0,0,0.5);
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }
.drawer-section-label {
  color: rgba(255,255,255,0.35); font-size: 0.65rem;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin: 16px 0 6px 12px;
}
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500;
  text-decoration: none; transition: .18s;
}
.drawer-link:hover { background: rgba(255,255,255,0.07); color: #fff; }
.drawer-link .dl-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(27,77,62,0.7);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.drawer-cta { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.drawer-cta a {
  display: block; text-align: center;
  background: linear-gradient(135deg, var(--orange), #e09410);
  color: #fff; font-weight: 600; padding: 13px; border-radius: 12px; text-decoration: none;
}

/* ── FOOTER ── */
footer { background: #050f0a; color: rgba(255,255,255,0.5); padding: 60px 20px 30px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.8; max-width: 260px; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: 0.88rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.83rem; margin-bottom: 9px; transition: .2s; }
.footer-col a:hover { color: var(--orange); padding-left: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 38px; height: 38px; background: rgba(255,255,255,0.08);
  border-radius: 10px; display: flex; align-items: center;
  justify-content: center; font-size: 1rem; transition: .2s; text-decoration: none;
}
.social-btn:hover { background: var(--orange); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-bottom span { color: var(--orange); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.78rem; transition: .2s; }
.footer-links a:hover { color: var(--orange); }

/* ── SCROLL TOP ── */
#scrollTop {
  position: fixed; bottom: 28px; right: 28px;
  background: linear-gradient(135deg, var(--orange), #e09410);
  color: #fff; width: 46px; height: 46px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.2rem;
  box-shadow: 0 4px 18px rgba(245,166,35,0.4);
  z-index: 999; transition: .22s; border: none;
}
#scrollTop:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(245,166,35,0.5); }
#scrollTop.show { display: flex; }

/* ── SCROLL ANIMATIONS ── */
.reveal        { opacity: 0; transform: translateY(36px);  transition: opacity .75s ease, transform .75s ease; }
.reveal-left   { opacity: 0; transform: translateX(-40px); transition: opacity .75s ease, transform .75s ease; }
.reveal-right  { opacity: 0; transform: translateX(40px);  transition: opacity .75s ease, transform .75s ease; }
.reveal-scale  { opacity: 0; transform: scale(0.92);       transition: opacity .75s ease, transform .75s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-scale.visible { opacity: 1; transform: none; }

.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:none; transition-delay:.05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:none; transition-delay:.15s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:none; transition-delay:.25s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:none; transition-delay:.35s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:none; transition-delay:.45s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:none; transition-delay:.55s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:none; transition-delay:.65s; }
.stagger.visible > *:nth-child(8) { opacity:1; transform:none; transition-delay:.75s; }
.stagger.visible > *:nth-child(9) { opacity:1; transform:none; transition-delay:.85s; }

/* ── KEYFRAMES ── */
@keyframes fadeDown { from{opacity:0;transform:translateY(-16px);}to{opacity:1;transform:translateY(0);} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn   { from{opacity:0;}to{opacity:1;} }

/* ── SHARED SECTION STYLES ── */
.container  { max-width: 1100px; margin: 0 auto; }
.sec-label  { color: var(--orange); font-size: 0.7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.sec-title  { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem,4vw,2.8rem); color: var(--green); margin-bottom: 16px; line-height: 1.2; }
.sec-sub    { color: #666; font-size: 0.95rem; line-height: 1.8; max-width: 560px; }

/* ── SHARED BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #e09410); color: #fff;
  padding: 14px 34px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 6px 24px rgba(245,166,35,0.4); transition: .22s;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245,166,35,0.5); }
.btn-wa {
  background: #25D366; color: #fff; font-weight: 600; padding: 14px 28px;
  border-radius: 50px; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; transition: .2s; font-size: 0.9rem;
}
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media(max-width:900px) {
  .nav-center { display: none; }
  .hamburger  { display: flex; }
  nav         { padding: 0 20px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media(max-width:640px) {
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; text-align: center; }
}