
/* Fast load fix: disable blocking loader */
#preloader,.preloader{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
/* SAN TRAVELS — Ultra Premium WOW Effects */

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  height: 80px;
  width: auto;
  margin: 0 auto 28px;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}

.preloader-line {
  width: 200px;
  height: 2px;
  background: rgba(212, 175, 55, 0.2);
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 2px;
}

.preloader-line span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, #D4AF37, transparent);
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

.preloader-text {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.7);
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.85; }
}

@keyframes preloaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

body.loaded {
  overflow-x: hidden;
}

body:not(.loaded) {
  overflow-x: hidden;
}

/* ========== HERO CINEMATIC ========== */
.hero {
  position: relative;
  overflow: hidden !important;
  min-height: calc(100svh - var(--site-header));
  height: auto;
  max-height: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #050505;
}

.hero::before {
  display: none !important;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 5, 5, 0.88) 0%,
    rgba(5, 5, 5, 0.55) 45%,
    rgba(5, 5, 5, 0.25) 100%
  );
}

.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: #D4AF37;
  top: -10%;
  right: 10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: #E32619;
  bottom: 10%;
  left: -5%;
  animation-delay: -3s;
}

.orb-3 {
  width: 200px;
  height: 200px;
  background: #FFC107;
  top: 40%;
  right: 30%;
  animation-delay: -5s;
  opacity: 0.2;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-module {
  z-index: 3;
}

.hero-content {
  position: relative;
}

/* Hero entrance animations */
body.loaded .hero-anim {
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  opacity: 0;
}

body.loaded .hero-anim-d1 { animation-delay: 0.15s; }
body.loaded .hero-anim-d2 { animation-delay: 0.3s; }
body.loaded .hero-anim-d3 { animation-delay: 0.45s; }
body.loaded .hero-anim-d4 { animation-delay: 0.6s; }
body.loaded .hero-anim-d5 { animation-delay: 0.75s; }

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  animation: badgeGlow 3s ease-in-out infinite !important;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.15); }
  50% { box-shadow: 0 0 35px rgba(212, 175, 55, 0.35); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  padding: 15px 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding-top: clamp(10px, 1.5vh, 16px);
  margin-top: clamp(4px, 0.8vh, 8px);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-stat strong {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3.5vh, 36px);
  font-weight: 600;
  color: #D4AF37;
  line-height: 1;
}

.hero-stat span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
  display: block;
}

.hero-scroll {
  position: relative;
  flex-shrink: 0;
  align-self: center;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0 0 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.hero-scroll i {
  animation: bounceDown 2s ease-in-out infinite;
  color: #D4AF37;
}

.hero-scroll:hover {
  color: #D4AF37;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ========== TRUST MARQUEE ========== */
.trust-marquee {
  background: #0a0a0a;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 16px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: trustMarquee 40s linear infinite;
}

.trust-track span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
}

.trust-track .dot {
  color: #D4AF37;
  font-size: 8px;
}

@keyframes trustMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== SECTION HEADER (eyebrow + title) ========== */
.section-header {
  text-align: center;
  margin: 0 auto 52px;
  max-width: 900px;
}

.section-eyebrow {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #B8962E;
  margin: 0 0 14px;
  padding: 0;
  line-height: 1.4;
}

.section-header .page-title {
  margin-top: 0;
  margin-bottom: 0 !important;
  padding-top: 0;
  line-height: 1.2;
}

.section-header .page-title::after {
  margin-top: 18px;
}

/* ========== STATS COUNTER ========== */
.stat-item {
  gap: 8px !important;
}

.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 48px !important;
  font-weight: 600;
  color: #D4AF37 !important;
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 11px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
}

.stat-item i {
  margin-bottom: 8px;
}

/* ========== CARD SHINE ========== */
.service-card,
.package-card,
.fleet-card {
  position: relative;
  overflow: hidden !important;
}

.service-card::before,
.package-card::before,
.fleet-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.08), transparent);
  transition: left 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.service-card:hover::before,
.package-card:hover::before,
.fleet-card:hover::before {
  left: 120%;
}

/* Gallery overlay */
.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #D4AF37;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item {
  position: relative;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* ========== HEADER SCROLL ========== */
.header.scrolled {
  padding: 0;
  background: rgba(8, 8, 8, 0.98) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
}

.header.scrolled .header-inner {
  padding: 10px 28px !important;
}

.header.scrolled .logo-img {
  height: 48px !important;
}

/* ========== FLOATING BUTTONS (legacy — use .float-actions in style.css) ========== */
.float-actions .float-wa,
.float-actions .back-top {
  position: relative;
  bottom: auto;
  right: auto;
}

.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9000;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.float-wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: waPulse 2s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.back-top {
  position: fixed;
  bottom: 28px;
  right: 98px;
  width: 48px;
  height: 48px;
  background: #111;
  border: 1px solid #D4AF37;
  color: #D4AF37;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  font-size: 16px;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: #D4AF37;
  color: #111;
}

/* ========== ENHANCED REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax hero on scroll */
.hero-bg.parallax {
  transition: transform 0.1s linear;
}

@media (max-height: 760px) {
  .hero-content {
    padding-top: 0 !important;
    padding-bottom: 12px !important;
  }

  .hero-badge {
    margin-bottom: 14px !important;
    padding: 8px 16px !important;
  }

  .hero h1 {
    font-size: clamp(26px, 4.5vw, 40px) !important;
    margin-bottom: 10px !important;
  }

  .hero p {
    margin-bottom: 16px !important;
    font-size: 14px !important;
  }

  .hero-actions {
    margin-bottom: 16px;
  }

  .hero-stats {
    gap: 20px;
    padding-top: 14px;
  }

  .hero-stat strong {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
    justify-content: space-between;
    width: 100%;
  }

  .hero-stat strong {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-hero-outline,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }

  .float-actions {
    bottom: 20px;
    right: 16px;
  }

  .float-actions .back-top,
  .float-actions .float-wa {
    bottom: auto;
    right: auto;
  }

  .hero-scroll {
    display: flex;
    margin-bottom: 8px;
  }
}
