/* ===================================
   ATBALI TOUR & TRAVEL — Main Styles
   =================================== */

:root {
  --primary: #f08400;
  --primary-dark: #d47200;
  --primary-light: #fff3e0;
  --secondary: #034d32;
  --secondary-dark: #022d1e;
  --secondary-light: #e8f5ef;
  --accent: #e80013;
  --dark: #0d1b10;
  --text: #2c2c2c;
  --text-muted: #6b7280;
  --light-warm: #faf8f5;
  --white: #ffffff;
  --border: #e8e0d5;
  --shadow: 0 4px 24px rgba(3,77,50,0.10);
  --shadow-lg: 0 12px 48px rgba(3,77,50,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ===========================
   LOADING SCREEN
   =========================== */
.page-loader {
  position: fixed; inset: 0;
  background: var(--secondary);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-brand { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--white); font-weight: 900; }
.loader-brand .lb-at { color: var(--primary); }
.loader-bar { width: 120px; height: 3px; background: rgba(255,255,255,0.2); border-radius: 2px; margin-top: 1rem; overflow: hidden; }
.loader-bar-inner { height: 100%; background: var(--primary); border-radius: 2px; animation: loadBar 1.2s ease forwards; }
@keyframes loadBar { from { width: 0; } to { width: 100%; } }

/* ===========================
   NAVBAR
   =========================== */
#mainNav {
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
  padding: 1.2rem 0;
  z-index: 1000;
}
#mainNav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(3,77,50,0.10);
  padding: 0.7rem 0;
  backdrop-filter: blur(12px);
}
#mainNav.scrolled .nav-link { color: var(--text); }
#mainNav.scrolled .brand-at, #mainNav.scrolled .brand-bali, #mainNav.scrolled .brand-sub { color: var(--secondary) !important; }
#mainNav .nav-link {
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.8rem;
  transition: color var(--transition);
}
#mainNav .nav-link:hover { color: var(--primary); }
.navbar-toggler { border: 1px solid rgba(255,255,255,0.4); padding: 0.4rem 0.6rem; }
.navbar-toggler-icon { filter: invert(1); }
#mainNav.scrolled .navbar-toggler { border-color: var(--border); }
#mainNav.scrolled .navbar-toggler-icon { filter: none; }

/* Brand */
.brand-logo { line-height: 1; }
.brand-at { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.brand-bali { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--white); letter-spacing: -1px; }
.brand-sub { font-size: 0.55rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.7); text-transform: uppercase; margin-top: -2px; }
#mainNav.scrolled .brand-bali { color: var(--secondary); }
#mainNav.scrolled .brand-sub { color: var(--text-muted); }

/* Nav WA Button */
.btn-wa-nav {
  background: var(--primary);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-wa-nav:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease;
  transform: scale(1.05);
  animation: kenburns 8s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(3,77,50,0.72) 0%, rgba(13,27,16,0.65) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-content { position: relative; z-index: 2; padding-top: 6rem; }
.hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  border-radius: 50px;
  padding: 0.4rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title .text-accent { color: var(--primary); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.btn-primary-custom {
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(240,132,0,0.35);
}
.btn-primary-custom:hover { background: var(--primary-dark); transform: translateY(-2px); color: var(--white); box-shadow: 0 8px 28px rgba(240,132,0,0.45); }
.btn-wa-hero {
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-wa-hero:hover { background: #1fb956; transform: translateY(-2px); color: var(--white); }

/* Stats */
.hero-stats {
  display: flex; gap: 0; justify-content: center;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; padding: 0 1.5rem; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.1em; }
.stat-divider { width: 1px; background: rgba(255,255,255,0.2); margin: 0; }

/* Scroll Hint */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-dot {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.5);
  border-radius: 12px; position: relative; margin: 0 auto;
}
.scroll-dot::after {
  content: ''; position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--white); border-radius: 2px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce { 0%,100% { top: 5px; opacity: 1; } 50% { top: 18px; opacity: 0.3; } }

/* ===========================
   SECTION GLOBALS
   =========================== */
.section-pad { padding: 5rem 0; }
.bg-light-warm { background: var(--light-warm); }
.bg-dark-jungle { background: var(--secondary-dark); }

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-label--light { color: rgba(240,132,0,0.9); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-title em { color: var(--secondary); font-style: normal; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.section-header { margin-bottom: 1rem; }

/* ===========================
   WHY CHOOSE US
   =========================== */
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--primary);
  transition: height var(--transition);
}
.why-card:hover::before { height: 100%; }
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.why-card--featured {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  border-color: var(--secondary);
}
.why-card--featured h3, .why-card--featured p { color: var(--white); }
.why-card--featured .why-icon-wrap { background: rgba(240,132,0,0.2); color: var(--primary); }
.why-card--featured .why-tag { background: var(--primary); color: var(--white); }
.why-icon-wrap {
  width: 60px; height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
  transition: all var(--transition);
}
.why-card:hover .why-icon-wrap { background: var(--primary); color: var(--white); }
.why-card--featured:hover .why-icon-wrap { background: var(--primary); }
.why-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--dark); }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1rem; }
.why-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

/* ===========================
   PACKAGE CARDS
   =========================== */
.pkg-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
  display: flex; flex-direction: column;
  border: 1px solid var(--border);
}
.pkg-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pkg-img-wrap { position: relative; overflow: hidden; height: 220px; }
.pkg-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.pkg-card:hover .pkg-img { transform: scale(1.08); }
.pkg-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--secondary);
  color: var(--white);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.pkg-badge--intl { background: var(--primary); }
.pkg-duration-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.pkg-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.pkg-rating { color: var(--primary); font-size: 0.85rem; margin-bottom: 0.5rem; }
.pkg-rating i { font-size: 0.75rem; }
.pkg-rating span { color: var(--text-muted); margin-left: 0.2rem; }
.pkg-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--dark); }
.pkg-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; margin-bottom: 1rem; }
.pkg-highlights { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.2rem; }
.hl-tag { background: var(--secondary-light); color: var(--secondary); font-size: 0.72rem; font-weight: 500; padding: 0.25rem 0.65rem; border-radius: 50px; }
.hl-tag i { font-size: 0.65rem; }
.pkg-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.pkg-price { display: flex; flex-direction: column; }
.price-from { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-num { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--primary); line-height: 1; }
.price-per { font-size: 0.7rem; color: var(--text-muted); }
.pkg-actions { display: flex; gap: 0.5rem; }
.btn-outline-pkg {
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-outline-pkg:hover { background: var(--secondary); color: var(--white); }
.btn-wa-pkg {
  background: #25d366;
  color: var(--white);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-wa-pkg:hover { background: #1fb956; color: var(--white); }

/* ===========================
   CUSTOM TRIP SECTION
   =========================== */
.custom-trip-section { padding: 3rem 0; }
.custom-trip-card {
  background: linear-gradient(135deg, var(--primary) 0%, #e07500 100%);
  border-radius: var(--radius);
  padding: 3rem;
  color: var(--white);
}
.ct-label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600; opacity: 0.85; margin-bottom: 0.75rem; }
.custom-trip-card h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; }
.custom-trip-card p { opacity: 0.9; font-size: 1.05rem; }
.btn-custom-trip {
  background: var(--white);
  color: var(--primary);
  border-radius: 50px;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex; align-items: center;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-custom-trip:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); color: var(--primary); }

/* ===========================
   GALLERY
   =========================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; min-height: 200px; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item--large { grid-column: 1; grid-row: 1 / 3; }
.gallery-item--large img { min-height: 420px; }
.gallery-item--tall img { min-height: 300px; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  padding: 1.5rem 1rem 0.75rem;
  font-size: 0.82rem; font-weight: 500;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ===========================
   TESTIMONIALS
   =========================== */
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.testi-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.testi-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary-light); flex-shrink: 0; }
.testi-info h4 { font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.15rem; }
.testi-origin { font-size: 0.8rem; color: var(--text-muted); }
.testi-stars { color: var(--primary); font-size: 0.8rem; margin-top: 0.2rem; }
.testi-pkg-badge { margin-left: auto; background: var(--secondary-light); color: var(--secondary); font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 50px; white-space: nowrap; align-self: flex-start; }
.testi-text { color: var(--text); font-size: 0.9rem; line-height: 1.75; border-left: 3px solid var(--primary); padding-left: 1rem; margin-bottom: 1rem; font-style: italic; }
.testi-footer { font-size: 0.78rem; color: var(--text-muted); }
.trust-note { color: var(--text-muted); font-size: 0.85rem; background: var(--secondary-light); display: inline-block; padding: 0.6rem 1.5rem; border-radius: 50px; }

/* ===========================
   VIDEO SECTION
   =========================== */
.video-embed-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.video-embed-wrap iframe { width: 100%; height: 100%; display: block; }
.video-section .section-title em { color: var(--primary); }

/* ===========================
   CONTACT
   =========================== */
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 100%;
}
.contact-info-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--dark); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.ci-icon { width: 40px; height: 40px; background: var(--secondary-light); color: var(--secondary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-item a { color: var(--secondary); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--primary); }
.social-links { display: flex; gap: 0.75rem; }
.social-link { width: 40px; height: 40px; border: 1.5px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; transition: all var(--transition); font-size: 0.9rem; }
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn-wa-contact {
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  display: block; text-align: center;
  transition: all var(--transition);
}
.btn-wa-contact:hover { background: #1fb956; color: var(--white); transform: translateY(-1px); }
.map-wrap { border-radius: var(--radius); overflow: hidden; height: 280px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.wa-options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.wa-option-btn {
  background: var(--secondary-light);
  color: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.83rem; font-weight: 600;
  text-decoration: none;
  display: flex; align-items: center;
  transition: all var(--transition);
}
.wa-option-btn:hover { background: var(--secondary); color: var(--white); }

/* ===========================
   FOOTER
   =========================== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.75); padding: 4rem 0 0; }
.footer-brand .brand-sub { color: rgba(255,255,255,0.5); }
.footer-tagline { font-size: 0.9rem; opacity: 0.7; line-height: 1.7; }
.footer-badge { display: inline-block; border: 1px solid rgba(240,132,0,0.4); color: var(--primary); font-size: 0.75rem; padding: 0.4rem 1rem; border-radius: 50px; margin-top: 1rem; }
.footer-heading { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin-bottom: 1.2rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-contact-info { font-size: 0.875rem; line-height: 2; opacity: 0.75; }
.footer-contact-info a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact-info a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; margin-top: 3rem; font-size: 0.8rem; opacity: 0.5; }
.seo-footer-text { font-size: 0.72rem; margin-top: 0.3rem; }

/* ===========================
   FLOATING WHATSAPP
   =========================== */
.floating-wa {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 60px; height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition);
  animation: waPulse 3s infinite;
}
.floating-wa:hover { transform: scale(1.12); color: var(--white); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 20px rgba(37,211,102,0.4), 0 0 0 12px rgba(37,211,102,0.1); }
}
.wa-tooltip {
  position: absolute; right: 70px;
  background: var(--dark); color: var(--white);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.wa-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right: none; border-left-color: var(--dark); }
.floating-wa:hover .wa-tooltip { opacity: 1; }

/* ===========================
   DETAIL PAGE
   =========================== */
.detail-page .navbar-toggler-icon { filter: none; }

.detail-hero {
  height: 60vh; min-height: 420px;
  background-size: cover; background-position: center;
  position: relative;
  display: flex; align-items: flex-end;
  padding-top: 80px;
}
.detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,77,50,0.85) 0%, rgba(0,0,0,0.3) 100%);
}
.detail-hero-content { position: relative; z-index: 1; padding-bottom: 3rem; }
.detail-breadcrumb { background: none; padding: 0; }
.detail-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.7); text-decoration: none; }
.detail-breadcrumb .breadcrumb-item.active { color: rgba(255,255,255,0.5); }
.detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }
.detail-badge-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1rem; margin-top: 0.5rem; }
.detail-dest-badge, .detail-dur-badge, .detail-pax-badge {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.78rem; font-weight: 500;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
}
.detail-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--white); line-height: 1.2; margin-bottom: 0.75rem; }
.detail-rating { color: var(--primary); font-size: 0.9rem; }
.detail-rating span { color: var(--white); font-weight: 600; margin: 0 0.3rem; }
.detail-rating em { color: rgba(255,255,255,0.6); font-style: normal; }

/* Detail Blocks */
.detail-block { margin-bottom: 2.5rem; }
.detail-block-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--dark); margin-bottom: 1.2rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--primary); display: inline-block; }
.detail-desc { color: var(--text); font-size: 1.05rem; line-height: 1.8; }

/* Highlights */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; }
.highlight-item { display: flex; align-items: center; gap: 0.6rem; background: var(--secondary-light); padding: 0.75rem 1rem; border-radius: var(--radius-sm); }
.highlight-item i { color: var(--secondary); font-size: 1rem; flex-shrink: 0; }
.highlight-item span { font-size: 0.875rem; font-weight: 500; color: var(--secondary-dark); }

/* Itinerary */
.itinerary-timeline { position: relative; }
.itinerary-day { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.itin-day-marker { flex-shrink: 0; }
.itin-day-marker span {
  display: block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem; font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  text-align: center;
  white-space: nowrap;
}
.itin-day-content { flex: 1; background: var(--light-warm); border-radius: var(--radius-sm); padding: 1.2rem; border-left: 3px solid var(--primary); }
.itin-day-content h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.itin-activities { list-style: none; }
.itin-activities li { font-size: 0.875rem; color: var(--text-muted); padding: 0.2rem 0; }
.itin-activities li i { color: var(--primary); font-size: 0.7rem; }

/* Includes */
.includes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.6rem; }
.include-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text); }
.include-item i { color: #25d366; font-size: 0.9rem; flex-shrink: 0; }

/* Custom Options Block */
.custom-options-block { background: linear-gradient(135deg, var(--primary-light), rgba(255,255,255,0.5)); border-radius: var(--radius); padding: 2rem; border: 1px solid rgba(240,132,0,0.2); }
.custom-options-intro { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1rem; }
.custom-options-grid { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.custom-option-item { background: var(--white); border: 1px solid rgba(240,132,0,0.3); color: var(--primary); font-size: 0.82rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 50px; }
.btn-custom-ask {
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; display: inline-flex; align-items: center;
  transition: all var(--transition);
  border: none;
}
.btn-custom-ask:hover { background: var(--primary-dark); color: var(--white); }

/* Detail Gallery */
.detail-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.detail-gal-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.detail-gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.detail-gal-item:hover img { transform: scale(1.05); }

/* Detail Video */
.detail-video-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.detail-video-wrap iframe { width: 100%; height: 100%; border: none; }

/* Booking Sidebar */
.booking-sidebar {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: sticky; top: 90px;
  box-shadow: var(--shadow);
}
.booking-price-box { text-align: center; padding-bottom: 1.2rem; border-bottom: 1px solid var(--border); margin-bottom: 1.2rem; }
.booking-from { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.booking-price { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 900; color: var(--primary); line-height: 1; }
.booking-per { font-size: 0.8rem; color: var(--text-muted); }
.booking-meta { margin-bottom: 1.5rem; }
.bm-row { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: var(--text); padding: 0.4rem 0; border-bottom: 1px solid var(--light-warm); }
.bm-row i { color: var(--secondary); width: 16px; }
.btn-wa-book {
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 0.9rem;
  font-weight: 700; font-size: 1rem;
  text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-wa-book:hover { background: #1fb956; color: var(--white); transform: translateY(-2px); }
.btn-outline-custom {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  border-radius: 50px;
  padding: 0.75rem;
  font-weight: 600; font-size: 0.9rem;
  text-align: center; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.btn-outline-custom:hover { background: var(--secondary); color: var(--white); }
.booking-trust { border-top: 1px solid var(--border); padding-top: 1rem; }
.bt-item { font-size: 0.8rem; color: var(--text-muted); padding: 0.25rem 0; }
.bt-item i { color: var(--secondary); margin-right: 0.5rem; }

/* Quick Contact */
.quick-contact-card { background: var(--secondary-light); border-radius: var(--radius); padding: 1.5rem; }
.quick-contact-card h5 { font-family: 'Playfair Display', serif; color: var(--secondary-dark); margin-bottom: 0.25rem; }
.quick-contact-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1rem; }
.qc-btn { background: var(--white); color: var(--secondary); border: 1.5px solid var(--secondary); border-radius: var(--radius-sm); padding: 0.65rem 1rem; font-size: 0.85rem; font-weight: 600; text-decoration: none; display: flex; align-items: center; transition: all var(--transition); }
.qc-btn:hover { background: var(--secondary); color: var(--white); }

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.msc-price span { font-size: 0.72rem; color: var(--text-muted); display: block; }
.msc-price strong { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--primary); }
.btn-wa-mobile-sticky {
  background: #25d366;
  color: var(--white);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
}

/* Related Packages */
.related-section { border-top: 1px solid var(--border); padding-top: 3rem; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 991px) {
  .hero-stats { gap: 0.5rem; padding: 1rem; }
  .stat-item { padding: 0 0.75rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item--large { grid-column: 1 / -1; grid-row: auto; }
  .gallery-item--large img { min-height: 260px; }
  .custom-trip-card { padding: 2rem; }
  .custom-trip-card h2 { font-size: 1.5rem; }
}
@media (max-width: 767px) {
  .section-pad { padding: 3.5rem 0; }
  .hero-title { font-size: 2.2rem; }
  .hero-cta .btn-primary-custom, .hero-cta .btn-wa-hero { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
  .hero-stats { flex-wrap: wrap; gap: 0.75rem; }
  .stat-divider { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--large { grid-row: auto; }
  .wa-options-grid { grid-template-columns: 1fr; }
  .detail-hero { height: 50vh; }
  .detail-gallery-grid { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .itinerary-day { flex-direction: column; gap: 0.5rem; }
  .detail-page body { padding-bottom: 80px; }
}

/* ===========================
   HOME GALLERY PREVIEW
   =========================== */
.btn-see-all-gallery {
  background: var(--secondary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.65rem 1.4rem;
  font-size: 0.875rem; font-weight: 600;
  text-decoration: none;
  display: inline-flex; align-items: center;
  transition: all var(--transition);
  white-space: nowrap;
  align-self: flex-end;
}
.btn-see-all-gallery:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }

.home-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}
.hg-card { border-radius: var(--radius); overflow: hidden; }
.hg-card--featured { grid-column: 1 / 2; grid-row: 1 / 3; }
.hg-card-link { display: block; height: 100%; text-decoration: none; }
.hg-img-wrap {
  position: relative; overflow: hidden;
  height: 200px;
  background: var(--secondary-dark);
}
.hg-card--featured .hg-img-wrap { height: 100%; min-height: 420px; }
.hg-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.hg-card:hover .hg-img-wrap img { transform: scale(1.07); }
.hg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,77,50,0.75) 0%, transparent 55%);
  transition: opacity var(--transition);
}
.hg-card:hover .hg-overlay { opacity: 0.9; }

/* Photo strip for featured card */
.hg-photo-strip {
  position: absolute; bottom: 70px; left: 0; right: 0;
  display: flex; height: 55px;
  opacity: 0; transition: opacity var(--transition);
}
.hg-card:hover .hg-photo-strip { opacity: 1; }
.hg-photo-strip img { flex: 1; object-fit: cover; border-right: 1px solid rgba(255,255,255,0.2); }

.hg-type-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 50px;
  backdrop-filter: blur(6px);
}
.hg-type--school { background: rgba(3,77,50,0.82); color: #a8f0c8; }
.hg-type--corporate { background: rgba(240,132,0,0.82); color: #fff3cd; }
.hg-type--family { background: rgba(232,0,19,0.78); color: #ffd6d9; }
.hg-type--community { background: rgba(13,27,16,0.82); color: #b8d4be; }

.hg-info-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.1rem;
  color: var(--white);
}
.hg-info-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  margin-bottom: 0.3rem; line-height: 1.3;
}
.hg-card--featured .hg-info-overlay h3 { font-size: 1.3rem; }
.hg-meta {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  font-size: 0.72rem; color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
}
.hg-meta i { font-size: 0.65rem; }
.hg-view-btn {
  display: inline-flex; align-items: center;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem; font-weight: 600;
  padding: 0.35rem 0.9rem; border-radius: 50px;
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.hg-card:hover .hg-view-btn { opacity: 1; transform: translateY(0); }

.btn-outline-gallery {
  border: 2px solid var(--secondary);
  color: var(--secondary);
  background: transparent;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex; align-items: center;
  transition: all var(--transition);
}
.btn-outline-gallery:hover { background: var(--secondary); color: var(--white); }

@media (max-width: 991px) {
  .home-gallery-grid { grid-template-columns: 1fr 1fr; }
  .hg-card--featured { grid-column: 1 / -1; grid-row: auto; }
  .hg-card--featured .hg-img-wrap { min-height: 260px; }
}
@media (max-width: 575px) {
  .home-gallery-grid { grid-template-columns: 1fr; }
}
