/* ================================================================
   COMPONENTS.CSS — Reusable UI Components
   Navbar, Footer, Trust Bar, WhatsApp Float, Back-to-Top
   ================================================================ */

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar {
  background: var(--primary-ultra);
  overflow: hidden; height: 36px;
  position: relative; z-index: 200;
}
.trust-track {
  display: flex; align-items: center;
  animation: trustScroll 40s linear infinite;
  white-space: nowrap; height: 100%;
}
.trust-bar:hover .trust-track { animation-play-state: paused; }
.trust-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.688rem; font-weight: 500; letter-spacing: 0.08em;
  color: var(--white-80); padding: 0 28px; flex-shrink: 0;
}
.trust-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@keyframes trustScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,242,234,0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
  transition: var(--trans);
}
.navbar.scrolled {
  background: rgba(247,242,234,0.97);
  box-shadow: 0 4px 24px rgba(27,67,50,0.10);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 32px; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 14px; }
.logo-mark {
  width: 44px; height: 44px;
  background: var(--primary);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: '';
  position: absolute; bottom: -6px; right: -6px;
  width: 20px; height: 20px;
  background: var(--accent); border-radius: 50%;
  opacity: 0.5;
}
.logo-mark svg {
  width: 22px; height: 22px;
  color: var(--white); position: relative; z-index: 1;
}
.logo-text { line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.10rem; font-weight: 600; letter-spacing: 0.01em;
  color: var(--text);
}
.logo-name span { color: var(--accent); }
.logo-sub {
  font-size: 0.600rem; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted);
  margin-top: 2px;
}

/* Nav Links */
.nav-links {
  display: flex; align-items: center; gap: 2px;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-dim); padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: var(--trans-fast); position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--accent);
  transition: left 0.25s var(--ease), right 0.25s var(--ease);
  border-radius: 1px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { left: 14px; right: 14px; }
.nav-links a.active { color: var(--primary); font-weight: 600; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary); color: var(--white) !important;
  padding: 9px 20px !important; border-radius: var(--r-sm);
  font-size: 0.813rem !important; font-weight: 600 !important;
  letter-spacing: 0.02em; margin-left: 8px;
  box-shadow: 0 3px 12px rgba(27,67,50,0.25);
  transition: var(--trans) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,67,50,0.30) !important;
}

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 36px; height: 36px; align-items: center; justify-content: center;
  border-radius: var(--r-sm); cursor: pointer;
  transition: var(--trans-fast);
}
.hamburger:hover { background: var(--bg2); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: var(--trans-fast); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 12px 20px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text-dim);
  padding: 12px 14px; border-radius: var(--r-sm);
  transition: var(--trans-fast); display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu a:hover { background: var(--bg2); color: var(--primary); }
.mob-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  text-align: center; justify-content: center !important;
  margin-top: 10px; border-radius: var(--r-sm) !important;
  border: none !important;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-inner { padding: 0 20px; }
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: var(--primary-ultra);
  color: var(--white);
  position: relative; overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-light), var(--accent), transparent);
}

/* Footer Top — Mountain decorative strip */
.footer-deco {
  width: 100%; overflow: hidden; line-height: 0;
  background: var(--primary-dark);
}
.footer-deco svg { display: block; width: 100%; height: 60px; }

.footer-body {
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px 36px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,253,248,0.08);
}

/* Brand Col */
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--white); letter-spacing: 0.01em; margin-bottom: 4px;
}
.footer-logo-name span { color: var(--accent-light); }
.footer-tagline {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--white-50); margin-bottom: 18px;
}
.footer-desc {
  font-size: 0.875rem; font-weight: 300; line-height: 1.78;
  color: var(--white-50); max-width: 280px; margin-bottom: 24px;
}
.footer-cert {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px;
}
.footer-cert-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.688rem; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(240,168,48,0.85);
  background: rgba(212,134,10,0.10);
  border: 1px solid rgba(212,134,10,0.20);
  padding: 4px 10px; border-radius: var(--r-full);
}
.footer-cert-item svg { width: 12px; height: 12px; }
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,253,248,0.16);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--white-80); font-size: 0.875rem; font-weight: 600;
  transition: var(--trans-fast);
}
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* Footer Column */
.footer-col-title {
  font-family: var(--font-body); font-size: 0.688rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 22px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col-title::before {
  content: ''; display: block; width: 16px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}
.footer-links { display: flex; flex-direction: column; gap: 1px; }
.footer-links a {
  font-size: 0.875rem; font-weight: 300;
  color: var(--white-50); padding: 5px 0;
  transition: var(--trans-fast);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before {
  content: '→'; font-size: 0.688rem; color: var(--accent);
  opacity: 0; transform: translateX(-6px);
  transition: var(--trans-fast); flex-shrink: 0;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }

/* Contact Col */
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 18px;
}
.footer-contact-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(27,67,50,0.50);
  border: 1px solid rgba(255,253,248,0.08);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.footer-contact-icon svg { width: 16px; height: 16px; color: var(--accent-light); fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-contact-label { font-size: 0.688rem; letter-spacing: 0.08em; color: var(--white-50); margin-bottom: 3px; }
.footer-contact-val { font-size: 0.875rem; font-weight: 500; color: var(--white); }
.footer-contact-val a:hover { color: var(--accent-light); }

/* Footer Bottom */
.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.813rem; color: var(--white-50); font-weight: 300;
}
.footer-copy span { color: var(--accent-light); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 0.750rem; color: var(--white-50);
  transition: var(--trans-fast); letter-spacing: 0.04em;
}
.footer-legal a:hover { color: var(--accent-light); }

/* Footer Map Strip */
.footer-route-strip {
  background: rgba(27,67,50,0.30);
  border-top: 1px solid rgba(255,253,248,0.06);
  padding: 18px 0;
  overflow: hidden;
}
.footer-route-track {
  display: flex; gap: 0; align-items: center;
  animation: routeScroll 30s linear infinite;
  white-space: nowrap;
}
.footer-route-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.688rem; color: var(--white-50); padding: 0 20px;
  font-weight: 400; letter-spacing: 0.06em;
}
.footer-route-sep { color: var(--accent); font-size: 0.750rem; }
@keyframes routeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ══════════════════════════════════════
   FLOATING BUTTONS
══════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 88px; right: 24px;
  width: 52px; height: 52px; z-index: 500;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  transition: var(--trans); cursor: pointer;
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:hover { transform: scale(1.10) translateY(-3px); box-shadow: 0 10px 36px rgba(37,211,102,0.45); }
.wa-float::before {
  content: 'Chat on WhatsApp';
  position: absolute; right: 60px;
  background: var(--primary-dark); color: var(--white);
  font-size: 0.750rem; font-weight: 500;
  padding: 6px 12px; border-radius: var(--r-sm);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(8px);
  transition: var(--trans-fast);
}
.wa-float:hover::before { opacity: 1; transform: translateX(0); }

/* WA Pulse Ring */
.wa-float::after {
  content: ''; position: absolute;
  width: 52px; height: 52px;
  border-radius: 50%; border: 2px solid #25D366;
  animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.65); opacity: 0; }
}

.back-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px; z-index: 500;
  background: var(--primary); color: var(--white);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer;
  font-size: 1rem; font-weight: 600;
  opacity: 0; transform: translateY(16px);
  transition: var(--trans); pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-top:hover { background: var(--primary-light); transform: translateY(-3px); }

/* ══════════════════════════════════════
   BOOKING BAR (Sticky below hero)
══════════════════════════════════════ */
.booking-bar {
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  position: relative; z-index: 50;
  border-bottom: 1px solid var(--border);
}
.booking-bar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: 8px;
  height: 72px;
}
.booking-field {
  flex: 1; display: flex; flex-direction: column;
  border-right: 1px solid var(--border); padding: 0 16px;
  min-width: 0;
}
.booking-field:first-child { padding-left: 0; }
.booking-field-label {
  font-size: 0.563rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px;
}
.booking-field input,
.booking-field select {
  border: none; background: transparent; outline: none;
  font-size: 0.875rem; font-weight: 500; color: var(--text);
  font-family: var(--font-body); width: 100%; cursor: pointer;
}
.booking-field input::placeholder { color: var(--text-muted); font-weight: 400; }
.booking-submit {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff; padding: 0 28px; height: 46px;
  border-radius: var(--r-sm); font-weight: 600;
  font-size: 0.875rem; letter-spacing: 0.03em;
  box-shadow: var(--shadow-gold); flex-shrink: 0;
  transition: var(--trans); white-space: nowrap;
}
.booking-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212,134,10,0.35);
}

@media (max-width: 900px) {
  .booking-bar { display: none; }
}

/* ══════════════════════════════════════
   STATS STRIP
══════════════════════════════════════ */
.stats-strip {
  background: var(--primary-dark);
  padding: 0;
  position: relative;
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,253,248,0.08);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-caps);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--accent-light); line-height: 1;
  letter-spacing: 0.02em; display: block;
}
.stat-num span { color: var(--accent); }
.stat-label {
  font-size: 0.750rem; font-weight: 400; letter-spacing: 0.10em;
  color: var(--white-50); margin-top: 6px; text-transform: uppercase;
}
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,253,248,0.08); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
}

/* ══════════════════════════════════════
   PAGE HERO (Inner Pages)
══════════════════════════════════════ */
.page-hero {
  min-height: 340px; position: relative;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: var(--page-hero-img, none);
  background-size: cover; background-position: center;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(7,26,19,0.55) 0%,
    rgba(7,26,19,0.75) 100%
  );
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 48px 0; width: 100%;
  max-width: var(--max-w); margin: 0 auto; padding-inline: 32px;
}
.page-hero-eyebrow {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.page-hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 1px;
  background: var(--accent-light);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300; color: var(--white); line-height: 1.12;
}
.page-hero-title em { font-style: italic; color: var(--accent-light); }
.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-top: 14px;
}
.breadcrumb a, .breadcrumb span {
  font-size: 0.813rem; color: var(--white-50); font-weight: 300;
}
.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb-sep { color: var(--white-20); }

/* ══════════════════════════════════════
   FORM STYLES
══════════════════════════════════════ */
.form-label {
  display: block; font-size: 0.750rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 7px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg); border: 1.5px solid var(--border2);
  border-radius: var(--r-sm); font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 400; color: var(--text);
  transition: var(--trans-fast); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-light);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.10);
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════
   CTA BANNER
══════════════════════════════════════ */
.cta-block {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  border-radius: var(--r-lg);
  padding: 64px 56px;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.cta-block::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,134,10,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute; left: -40px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,106,79,0.40) 0%, transparent 70%);
  pointer-events: none;
}
.cta-label {
  font-size: 0.625rem; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent-light); margin-bottom: 12px;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--white); line-height: 1.18;
  margin-bottom: 10px;
}
.cta-title em { font-style: italic; color: var(--accent-light); }
.cta-desc {
  font-size: 0.938rem; font-weight: 300; color: var(--white-80);
  line-height: 1.65;
}
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cta-block { flex-direction: column; padding: 44px 32px; text-align: center; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 480px) { .cta-block { padding: 36px 24px; } }