/* ==========================================================================
   3G HOLIDAY TOURS — UNIFIED PRODUCTION STYLESHEET 
   ========================================================================== */

:root {
  --bg: #faf8f4;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --soft: #f5efe4;
  --text: #162033;
  --muted: #5b6470;
  --line: #e8e0d2;
  --navy: #162033;
  --navy-2: #3d4b63;
  --gold: #be9b5e;
  --gold-2: #d7bd8e;
  --gold-soft: rgba(190, 155, 94, 0.12);
  --green: #17382a;
  --shadow: 0 14px 34px rgba(22, 32, 51, 0.08);
  --shadow-lg: 0 24px 56px rgba(22, 32, 51, 0.15);
  --radius: 24px;
  --container: 1180px;
  
  --site-logo-header-height: 65px;
  --site-logo-mobile-height: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  margin: 0; font-family: 'Inter', Arial, sans-serif; color: var(--text); 
  background: linear-gradient(180deg, #fdfbf8 0%, #faf8f4 100%);
  line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.nav-open, body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
img { display: block; max-width: 100%; height: auto; }

.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 80px 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.04em; line-height: 1.05; color: var(--navy); text-wrap: balance; }

/* --- Topbar & Header --- */
.site-topbar { background: var(--navy); color: rgba(255, 255, 255, 0.9); padding: 8px 0; font-size: 0.85rem; font-weight: 500; }
.topbar-inner { display: flex; justify-content: flex-end; }
.topbar-contact { display: flex; gap: 24px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 6px; transition: color 0.25s ease; }
.topbar-contact a:hover { color: var(--gold); }

.site-header {
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky; top: 0; z-index: 1000; transition: box-shadow 0.4s ease;
}
.site-header.scrolled { box-shadow: 0 12px 34px rgba(23, 56, 42, 0.08); }
.nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 96px; transition: min-height 0.4s ease; }
.site-header.scrolled .nav-row { min-height: 76px; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo-image { height: var(--site-logo-header-height); width: auto; object-fit: contain; transition: height 0.4s ease; transform-origin: left center; }
.site-header.scrolled .brand-logo-image { height: calc(var(--site-logo-header-height) * 0.85); }
.brand-logo-mark { display: none; } 

.site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.site-nav a:not(.btn) { color: var(--navy); font-weight: 600; font-size: 0.95rem; position: relative; padding: 8px 0; }
.site-nav a:not(.btn):hover { color: var(--gold); }
.site-nav a:not(.btn)::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px;
  background-color: var(--gold); transition: width 0.3s ease; border-radius: 2px;
}
.site-nav a:not(.btn):hover::after { width: 100%; }

.menu-toggle { display: none; }

/* --- Buttons & Inputs (Luxy Style) --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 28px;
  border-radius: 999px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all 0.3s ease; border: none; white-space: nowrap;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(23, 56, 42, 0.15); }
.btn-primary:hover { background: var(--gold); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(23, 56, 42, 0.25); }
.btn-secondary { background: #fff; border: 1px solid var(--line); color: var(--navy); }
.btn-secondary:hover { border-color: var(--gold); background: #fffaf2; transform: translateY(-2px); }

input[type="date"], input[type="text"], select, textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
input:focus, select:focus, textarea:focus {
    background: #ffffff !important; border-color: var(--gold) !important;
    box-shadow: 0 0 0 4px rgba(190, 155, 94, 0.15) !important; outline: none !important;
}

/* --- Cards & Globals --- */
.card, .tour-card, .fleet-card, .route-card, .blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: all 0.3s ease; backdrop-filter: blur(8px);
}
.card:hover, .tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(190, 155, 94, 0.4); }
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.floating-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; background: var(--navy); color: #fff; 
  padding: 14px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 700; transition: transform 0.2s ease;
}
.floating-whatsapp:hover { background: var(--green); transform: translateY(-3px); }

/* --- Mega Footer --- */
.site-mega-footer { background: var(--navy); color: rgba(255, 255, 255, 0.7); padding: 80px 0 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px; }
.footer-col h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255, 255, 255, 0.6); margin-bottom: 12px; font-size: 0.95rem; transition: all 0.3s ease; }
.footer-col a:hover { color: var(--gold); transform: translateX(4px); }
.footer-contact-links a { display: inline-block; margin-right: 15px; background: rgba(255,255,255,0.05); padding: 10px 15px; border-radius: 8px; margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 25px; font-size: 0.85rem; }
.footer-legal a { color: inherit; margin-left: 20px; }

/* --- Mobile Responsiveness --- */
@media (max-width: 980px) {
  .site-topbar { display: none; }
  .nav-row, .site-header.scrolled .nav-row { min-height: 76px; }
  .brand-logo-image, .site-header.scrolled .brand-logo-image { height: var(--site-logo-mobile-height); }
  
  .hp-hero__inner { min-height: auto; padding: 120px 0 80px; }
  .hp-hero__copy h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .hp-hero__slide { background-position: center center; background-size: cover; background-attachment: scroll; }

  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; z-index: 9999; }
  .menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s ease; }
  .menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-active span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; top: 0; right: -100%; width: 300px; max-width: 80vw; height: 100vh;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(15px); flex-direction: column; align-items: flex-start;
    padding: 100px 30px 30px; box-shadow: -10px 0 40px rgba(0,0,0,0.1); transition: right 0.4s ease; margin: 0; z-index: 9998;
  }
  .site-nav.is-open { right: 0; display: flex !important; }
  .site-nav a:not(.btn) { font-size: 1.15rem; padding: 12px 0; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.05); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn-primary { margin-top: 24px; width: 100%; text-align: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .floating-whatsapp { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}