/* ═══════════════════════════════════════════════════
   MODERN DESIGN OVERRIDES — Travel Haji
   Mengoverride welcome.css dengan desain yang lebih 
   modern, bersih, dan premium.
═══════════════════════════════════════════════════ */

/* ==========================================
   [TANDA: VARIABEL WARNA & UKURAN GLOBAL]
   Ganti warna utama di sini (--green, --gold, dll)
========================================== */
/* ─── CSS VARIABLES ─── */
:root {
  /* Colors are injected dynamically from Blade */
  --bg: #f8f9fa;
  --bg2: #f1f3f5;
  --white: #ffffff;
  --dark: #0d1f15;
  --text: #2d3748;
  --muted: #718096;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
}

/* ==========================================
   [TANDA: SCROLLBAR - GAYA SCROLL BAR]
========================================== */
/* ─── CUSTOM SCROLLBAR ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f3f5;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--green), var(--green3));
  border-radius: 10px;
  border: 2px solid #f1f3f5;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green);
}

/* ─── BODY ─── */
body {
  background: #f8f9fa;
  font-family: 'Figtree', system-ui, sans-serif;
}

/* ==========================================
   [TANDA: TOMBOL (BUTTONS) - .btn, .btn-solid, .btn-gold]
========================================== */
/* ─── BUTTONS ─── */
.btn {
  border-radius: 100px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.25s ease;
}

.btn-solid {
  background: linear-gradient(135deg, var(--green) 0%, var(--green2) 100%);
  box-shadow: 0 4px 16px rgba(26, 92, 58, 0.25);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-solid:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(26, 92, 58, 0.35);
}

.btn-gold {
  background: linear-gradient(135deg, #c9972a 0%, #e8bf6a 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(201, 151, 42, 0.3);
  border: 1px solid rgba(255,255,255,0.15);
}

.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(201, 151, 42, 0.4);
}

/* ==========================================
   [TANDA: STATS BAR - ANGKA STATISTIK JEMAAH]
   Kotak angka: Jemaah, Tahun, Kepuasan, Kota
========================================== */
/* ─── STATS BAR (MODERNIZED) ─── */
.stats-bar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
  z-index: 10;
}

.stats-inner {
  padding: 2rem 5%;
  gap: 0;
}

.stat-item {
  padding: 0.5rem 2rem;
  border-right: 1px solid #e8ecf0;
  position: relative;
}

.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), var(--green3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================
   [TANDA: SECTION BASE - GAYA DASAR SEMUA SEKSI]
   Padding, judul (sec-title), subtitle (sec-sub)
========================================== */
/* ─── SECTION BASE (MODERNIZED) ─── */
.section {
  padding: 6rem 5%;
}

.sec-eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  background: var(--green-light);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  display: inline-flex;
  gap: 0.4rem;
}

.sec-eyebrow::before {
  display: none;
}

.sec-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sec-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

/* ==========================================
   [TANDA: ABOUT - SEKSI TENTANG KAMI]
   Kartu item about (.about-item, .about-item-icon)
========================================== */
/* ─── ABOUT SECTION ─── */
.about-section {
  background: linear-gradient(180deg, #f0f7f3 0%, #ffffff 100%);
}

.about-item {
  background: var(--white);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(26, 92, 58, 0.08);
  transition: all 0.3s ease;
}

.about-item:hover {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(26, 92, 58, 0.1);
  transform: translateX(4px);
}

.about-item-icon {
  width: 2.6rem;
  height: 2.6rem;
  min-width: 2.6rem;
  background: linear-gradient(135deg, var(--green-light), #d4f0e0);
  border-radius: 10px;
  font-size: 1.1rem;
}

.about-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
}

/* ==========================================
   [TANDA: PACKAGES - KARTU PAKET HAJI/UMRAH]
   Kartu paket, tombol filter, slider
========================================== */
/* ─── PACKAGES SECTION ─── */
.pkg-section {
  background: #f8f9fa;
}

/* ─── PACKAGE CATEGORY FILTER TABS ─── */
.pkg-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.pkg-filter-btn {
  padding: 0.45rem 1.2rem;
  border-radius: 100px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
  font-family: inherit;
}

.pkg-filter-btn:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-light);
}

.pkg-filter-btn.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 4px 14px rgba(26, 92, 58, 0.3);
}

.pkg-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.pkg-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(13, 31, 21, 0.12);
  border-color: var(--green-light);
}

.pkg-header {
  background: linear-gradient(135deg, #1a5c3a 0%, #2e8f5c 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 0.8rem 1.4rem;
  font-size: 0.8rem;
}

.pkg-img {
  height: 200px;
}

.pkg-pop-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 100px;
  font-size: 0.65rem;
  padding: 0.35rem 0.9rem;
  box-shadow: 0 4px 12px rgba(201, 151, 42, 0.4);
  position: relative;
  overflow: hidden;
}

.pkg-pop-badge::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translate(-100%, -100%) rotate(45deg); }
  100% { transform: translate(100%, 100%) rotate(45deg); }
}

.pkg-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--dark);
}

.pkg-detail-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.pkg-detail-value {
  font-weight: 700;
  color: var(--dark);
}

.pkg-btn {
  border-radius: 100px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.pkg-actions {
  gap: 0.75rem;
}

/* ==========================================
   [TANDA: FACILITIES - KARTU FASILITAS]
   Kartu fasilitas (.fac-card), slider, icon
========================================== */
/* ─── FACILITIES SECTION (PREMIUM CARDS - REFINED) ─── */
.fac-section {
  background: radial-gradient(circle at top right, #fdfdfb, #f5f8f6);
  padding: 8rem 5% 10rem;
  position: relative;
  overflow: visible !important; /* Diubah dari hidden agar tidak memotong shadow */
}

.fac-section .section-inner {
  overflow: visible !important;
}


/* Background ornament */
.fac-section::before {
  content: "FACILITIES";
  position: absolute;
  top: 10%;
  left: -2%;
  font-size: 10rem;
  font-weight: 900;
  color: rgba(26, 92, 58, 0.02);
  z-index: 0;
  pointer-events: none;
}

.fac-slider-wrapper-outer {
  position: relative;
  overflow: visible;
}

.fac-slider-controls {
  position: absolute;
  top: -60px;
  right: 0;
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.fac-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--green); /* Warna ikon hijau */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fac-nav-btn:hover {
  background: #fff;
  color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--green-light);
}

.fac-nav-btn svg {
  width: 22px;
  height: 22px;
}



.fac-slider-wrapper {
  overflow: visible !important; /* Agar shadow tidak terpotong */
  position: relative;
  padding-bottom: 20px;
  margin: 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.fac-grid-slider {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  padding: 1rem 0;
  overflow-x: auto; /* Aktifkan scroll di grid langsung */
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.fac-grid-slider::-webkit-scrollbar {
  display: none;
}

.fac-card-wrapper {
  flex: 0 0 calc(50% - 0.75rem); /* Mobile: Tampilkan 2 kartu */
  scroll-snap-align: start;
  display: flex;
}

/* Penyesuaian font untuk mobile agar muat 2 kartu */
@media (max-width: 768px) {
  .fac-title {
    font-size: 1rem !important;
  }
  .fac-desc {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }
  .fac-card-icon {
    width: 45px !important;
    height: 45px !important;
    font-size: 1.25rem !important;
  }
}

/* Desktop Responsiveness */
@media (min-width: 992px) {
  .fac-grid-slider {
    gap: 2.5rem;
  }
  .fac-card-wrapper {
    flex: 0 0 calc(33.33% - 1.7rem); /* Tampilkan 3 kartu di desktop */
  }
}

@media (min-width: 1400px) {
  .fac-card-wrapper {
    flex: 0 0 calc(25% - 2rem); /* Tampilkan 4 kartu di layar ekstra lebar */
  }
}

.fac-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 32px;
  padding: 3.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  width: 100%;
  cursor: pointer; /* Indikasi bisa diklik */
}

/* ==========================================
   [TANDA: MODAL FASILITAS - POPUP DETAIL FASILITAS]
   Overlay popup saat kartu fasilitas diklik
========================================== */
/* ─── FACILITY MODAL PREMIUM ─── */
.fac-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 21, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.fac-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fac-modal-card {
    background: #fff;
    width: 100%;
    max-width: 500px;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    text-align: center;
}

.fac-modal-overlay.active .fac-modal-card {
    transform: translateY(0) scale(1);
}

.fac-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f3f5;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.fac-modal-close:hover {
    background: #e9ecef;
    transform: rotate(90deg);
}

.fac-modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.fac-modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.fac-modal-line {
    width: 60px;
    height: 4px;
    background: var(--green);
    margin: 0 auto 1.5rem;
    border-radius: 100px;
}

.fac-modal-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--muted);
}



.fac-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
  border-color: var(--green-light);
}

/* Highlighted Card State (Consistent border) */
.fac-card.featured {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.04); /* Disamakan dengan yang lain */
  box-shadow: 0 20px 50px rgba(26, 92, 58, 0.1);
}


.fac-card.featured .fac-title { color: var(--dark); }
.fac-card.featured .fac-desc { color: var(--muted); }

.fac-card-icon {
  width: 90px; /* Diperkecil sedikit agar pas */
  height: 90px;
  background: #f8faf9;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
  transition: all 0.4s ease;
  position: relative;
  flex-shrink: 0; /* Pastikan kotak ikon tidak mengecil */
}

.fac-card:hover .fac-card-icon {
  transform: rotate(5deg) scale(1.1);
  background: var(--green-light);
}

.fac-card.featured .fac-card-icon {
  background: var(--green-light);
  border: 1px solid rgba(26, 92, 58, 0.1);
}

.fac-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}


.fac-desc {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 400;
}

/* Refined Selected Badge */
.fac-badge-selected {
  position: absolute;
  top: 30px;
  right: 30px;
  background: linear-gradient(135deg, #c9972a, #eab308);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(201, 151, 42, 0.3);
  z-index: 2;
}



/* ==========================================
   [TANDA: SCHEDULE - SEKSI JADWAL/ITINERARY]
========================================== */
/* ─── SCHEDULE SECTION ─── */
.jadwal-section {
  background: var(--white);
}

/* ==========================================
   [TANDA: TESTIMONIALS - KARTU ULASAN JEMAAH]
   Kartu testimoni (.testi-card)
========================================== */
/* ─── TESTIMONIALS ─── */
.testi-section {
  background: linear-gradient(180deg, #f0f7f3 0%, #f8f9fa 100%);
}

.btn-review-testi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
  padding: 10px 24px;
  border-radius: 100px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(26, 92, 58, 0.08);
  margin-top: 1.2rem;
}

.btn-review-testi svg {
  color: var(--gold);
  fill: var(--gold);
  transition: transform 0.3s ease, fill 0.3s ease, color 0.3s ease;
}

.btn-review-testi:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 92, 58, 0.2);
}

.btn-review-testi:hover svg {
  transform: scale(1.2) rotate(15deg);
  color: var(--white);
  fill: var(--white);
}

.btn-review-testi:active {
  transform: translateY(-1px);
}

.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid #e8ecf0;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.testi-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 92, 58, 0.15);
  transform: translateY(-4px);
}

/* ==========================================
   [TANDA: GALLERY - GALERI FOTO]
   Latar gelap, foto marquee berjalan
========================================== */
/* ─── GALLERY / MARQUEE ─── */
.gallery-section {
  background: var(--dark);
  padding: 4rem 0;
}

.marquee-item {
  border-radius: 12px;
  overflow: hidden;
}

/* ─── SECTION DIVIDERS ─── */
.section + .section {
  border-top: 1px solid #e8ecf0;
}

/* ==========================================
   [TANDA: ANIMASI REVEAL - ELEMEN MUNCUL SAAT SCROLL]
   .reveal, .reveal-left, .reveal-right
========================================== */
/* ─── REVEAL ANIMATIONS ─── */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal { transform: translateY(28px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }

.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed {
  opacity: 1;
  transform: none;
}

/* ==========================================
   [TANDA: RESPONSIVE - TAMPILAN HP/TABLET]
   Ubah di sini untuk penyesuaian layar kecil
========================================== */
/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .section { padding: 4rem 5%; }
  .stat-item { padding: 0.5rem 1rem; }
  .pkg-img { height: 160px; }
}

/* ==========================================
   [TANDA: MODALS & OVERLAYS - POPUP/DIALOG]
   Modal paket, video, status (.modal-overlay)
========================================== */
/* ─── MODALS & OVERLAYS (MIGRATED FROM INLINE) ─── */
.modal-overlay, .review-modal { 
    position: fixed; inset: 0; z-index: 9999; 
    background: rgba(0,0,0,.8); opacity: 0; 
    visibility: hidden; pointer-events: none; 
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open, .review-modal.active { opacity: 1; visibility: visible; pointer-events: all; }

/* Utilities */
.overflow-hidden {
    overflow: hidden !important;
}

.chevron-open {
    transform: rotate(-135deg) translateY(-1px) !important;
}

.cursor-grabbing {
    cursor: grabbing !important;
}

.cursor-grab {
    cursor: grab !important;
}

/* ─── GALLERY GRID STATIC ─── */
.gallery-section { 
    padding: 80px 0; 
    background: #0a1f15; 
}

.gallery-inner { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 20px;
}

.gallery-grid-static { 
    display: grid; 
    grid-template-columns: repeat(5, 1fr); 
    gap: 15px; 
    margin-top: 40px; 
}

.marquee-wrap { 
    padding: 20px 0; 
}

.marquee-item { 
    width: 100%; 
    height: 220px; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    background: #0d2a1d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marquee-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.marquee-item:hover img { 
    transform: scale(1.1); 
}

@media (max-width: 1200px) { 
    .gallery-grid-static { grid-template-columns: repeat(4, 1fr); } 
}
@media (max-width: 992px) { 
    .gallery-grid-static { grid-template-columns: repeat(3, 1fr); } 
    .marquee-item { height: 180px; }
}
@media (max-width: 640px) { 
    .gallery-grid-static { grid-template-columns: repeat(2, 1fr); } 
    .marquee-item { height: 150px; }
}
