/* ==========================================================================
   Sulthan Tour — lapisan di atas template Tourvex
   Warna disesuaikan dengan logo; komponen tambahan untuk fitur pemesanan.
   ========================================================================== */
:root {
    --clr-primary: #13809F;        /* biru logo, digelapkan agar teks putih tetap terbaca (AA) */
    --clr-heading: #0B2540;        /* navy logo */
    --clr-bg-dark: #0B2540;
    --clr-bg-turkuaz: #13809F;
    --st-sky: #1DA4C9;             /* biru cerah logo untuk aksen dekoratif */
    --st-line: #dee2f0;
    --st-ok: #1D7A4C;  --st-ok-soft: #DFF2E7;
    --st-warn: #A55A00; --st-warn-soft: #FCEFD6;
    --st-bad: #B42318; --st-bad-soft: #FDE6E4;
    --st-info-soft: #E6F5FA;
}

/* ---- Aksesibilitas ---- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 10000; background: var(--clr-heading); color: #fff !important; padding: 10px 18px; border-radius: 30px; }
.skip:focus { top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--st-sky); outline-offset: 2px; }

/* ---- Navbar ---- */
.navbar .logo-img { width: 150px; height: auto; }
.navbar .nav-cta { margin-left: 18px; height: 48px; }
.navbar .nav-cta .arrow-wrap { width: 34px; height: 34px; }
.navbar .nav-cta .arrow-inner i { font-size: 16px !important; }
@media (max-width: 991px) {
    .navbar .nav-cta { margin: 10px 0 20px; }
}

/* ---- Hero beranda ---- */
header .hero-title {
    font-family: var(--font-secondary); font-size: 84px; line-height: 1em; font-weight: var(--fw-medium);
    margin-bottom: 10px; letter-spacing: -2px; text-transform: uppercase; color: #fff;
}
header .hero-title i { color: var(--st-sky); font-style: normal; font-weight: var(--fw-regular); text-transform: lowercase; font-size: 48px; display: block; margin-top: 8px; }
@media (max-width: 991px) { header .hero-title { font-size: 56px; } header .hero-title i { font-size: 36px; } }
.home-hero .cont { padding: 60px 0; }
.home-hero .cont p { color: rgba(255,255,255,.7); }
.hero-search {
    position: relative; display: flex; align-items: center; gap: 0; background: #fff;
    border-radius: 60px; padding: 6px 6px 6px 22px; margin-bottom: 24px; max-width: 520px;
}
.hero-search > i { color: var(--clr-primary); margin-right: 10px; }
.hero-search input, .hero-search select {
    border: 0 !important; margin: 0 !important; padding: 10px 6px !important; background: transparent !important;
    border-radius: 0 !important; font-size: 16px; color: var(--clr-heading); min-width: 0;
}
.hero-search input { flex: 1 1 auto; }
.hero-search select { flex: 0 0 auto; border-left: 1px solid var(--st-line) !important; padding-left: 12px !important; max-width: 150px; }
.hero-search button {
    flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; background: var(--clr-primary) !important;
    color: #fff; display: grid; place-items: center; border: 0 !important;
}
.hero-search button:hover { background: var(--clr-heading) !important; }
@media (max-width: 575px) { .hero-search select { display: none; } }

/* ---- Banner halaman ---- */
.pg-hero h1.section-title { font-size: 60px; }
@media (max-width: 767px) { .pg-hero h1.section-title, .section-title { font-size: 42px; } .pg-hero .height1 { height: 360px; border-radius: 40px; } .pg-hero .radius-mask { border-radius: 40px; } }
.pg-hero .hero-note { color: var(--clr-body); margin: 10px 0 0; }
.pg-hero .hero-meta { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.pg-hero .hero-meta .date-comment { margin: 0 !important; color: var(--clr-body); }
.pg-hero .hero-meta .date-comment i { margin-right: 8px; }
.pg-hero .hero-meta a { color: var(--clr-heading); }
.crumbs { font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-primary); margin-bottom: 8px; font-family: var(--font-secondary); }
.crumbs a { color: var(--clr-primary); }
.crumbs a:hover { color: var(--clr-heading); }
.crumbs i { font-size: 10px; margin: 0 8px; color: var(--clr-body); }

/* ---- Ilustrasi pengganti foto paket ---- */
.cover-ph { --h: 190; position: relative; width: 100%; height: 100%; min-height: 100%; overflow: hidden;
    background: linear-gradient(180deg, hsl(var(--h) 55% 86%) 0%, hsl(var(--h) 45% 94%) 100%); }
.cover-ph svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cover-ph .ph-sun { fill: hsl(calc(var(--h) + 20) 80% 96%); }
.cover-ph .ph-far { fill: hsl(var(--h) 35% 62%); }
.cover-ph .ph-near { fill: hsl(var(--h) 45% 42%); }
.cover-ph .ph-sea { fill: hsl(var(--h) 55% 30%); }
.tours .item .tour-media .cover-ph { height: 100%; border-radius: 24px 24px 0 0; transition: transform .6s ease; }
.tours .item:hover .tour-media .cover-ph { transform: scale(1.05); }
.pg-hero .radius-mask .cover-ph { height: 100%; }

/* ---- Kartu paket ---- */
.tours .item .tour-title a { color: inherit; }
.tours .item .tour-title a:hover { color: var(--clr-primary); }
.tour-badge {
    position: absolute; left: 20px; top: 20px; z-index: 2; background: rgba(255,255,255,.92); color: var(--clr-heading);
    padding: 4px 14px; border-radius: 30px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; font-family: var(--font-secondary); font-weight: 500;
}
.tour-badge.is-open { background: var(--clr-primary); color: #fff; }
.tours .item .tour-info { display: flex; flex-direction: column; gap: 10px; }
.tours .item .tour-rating { background: var(--st-info-soft); color: var(--clr-primary); }
.tours .item .tour-rating.is-save { background: #FBF3E2; color: #7A5A12; }
.tours .item .tour-price { white-space: nowrap; }
.tours .item .tour-price s { display: block; text-align: right; font-size: 14px; color: var(--clr-body); font-family: var(--font-primary); margin-bottom: 4px; }

/* ---- Halaman paket ---- */
.filter-panel { padding-top: 60px; }
.filter-panel .filter-form { position: relative; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin: 20px 0 16px; }
.filter-panel .form-group input, .filter-panel .form-group select { margin: 0; width: 100%; }
.filter-panel .search-go { width: 56px; height: 56px; border-radius: 50%; background: var(--clr-primary); color: #fff; display: grid; place-items: center; }
.filter-panel .search-go:hover { background: var(--clr-heading); }
@media (max-width: 575px) { .filter-panel .filter-form { grid-template-columns: 1fr auto; } .filter-panel .filter-form .form-group:nth-of-type(2) { grid-column: 1 / -1; grid-row: 2; } }
.result-count { margin: 14px 0 0; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 18px; border-radius: 30px; border: 1px solid var(--st-line); background: #fff; color: var(--clr-heading); font-size: 15px; transition: all .3s; }
.chip:hover { border-color: var(--clr-primary); color: var(--clr-primary); }
.chip[aria-current="true"] { background: var(--clr-heading); border-color: var(--clr-heading); color: #fff; }

/* ---- Input umum (melengkapi tipe yang belum diberi gaya oleh template) ---- */
input[type="search"], input[type="tel"], input[type="date"], select, .st-form input[type="number"] {
    max-width: 100%; width: 100%; margin-bottom: 15px; padding: 16px; display: block; line-height: 1.5em;
    font-family: var(--font-primary); font-size: var(--fs-body); color: var(--clr-body);
    background: transparent; border: 1px solid var(--st-line); border-radius: 40px; transition: border .3s;
}
select { -webkit-appearance: none; appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313809F' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 18px center; }
input[type="search"]:hover, input[type="tel"]:hover, input[type="date"]:hover, select:hover,
input[type="search"]:focus, input[type="tel"]:focus, input[type="date"]:focus, select:focus { border-color: var(--clr-primary); }
.form-group select { padding-left: 55px !important; }

/* ---- Kosong ---- */
.empty-box { background: #fff; border-radius: 24px; padding: 40px; margin-top: 60px; }
.empty-box h3 { font-size: 30px; }

/* ---- Jadwal open trip ---- */
.trip-list { display: grid; gap: 16px; }
.trip-row {
    display: grid; grid-template-columns: 96px 1fr auto; gap: 24px; align-items: center;
    background: #fff; border-radius: 24px; padding: 20px 24px; transition: transform .4s, box-shadow .4s;
}
.bg-white .trip-row { background: var(--clr-bg-light); }
.trip-row:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgb(15 36 84 / 8%); }
.trip-row.is-full { opacity: .7; }
.trip-date { background: var(--clr-heading); color: #fff; border-radius: 18px; text-align: center; padding: 12px 6px; }
.trip-date b { display: block; color: #fff; font-family: var(--font-secondary); font-size: 38px; line-height: 1; font-weight: 500; }
.trip-date span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.75); }
.trip-main h3 { font-size: 26px; margin-bottom: 6px; }
.trip-main h3 a:hover { color: var(--clr-primary); }
.trip-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; margin-bottom: 10px; }
.trip-meta i { color: var(--clr-primary); margin-right: 6px; }
.seat { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.seat-bar { width: 160px; height: 6px; background: var(--st-line); border-radius: 6px; overflow: hidden; flex: 0 0 auto; }
.seat-bar i { display: block; height: 100%; background: var(--clr-primary); border-radius: 6px; }
.seat-bar.low i { background: #D97706; }
.trip-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.trip-price { font-family: var(--font-secondary); font-size: 26px; color: var(--clr-primary); line-height: 1; white-space: nowrap; }
.trip-price span { font-family: var(--font-primary); font-size: 13px; color: var(--clr-body); }
@media (max-width: 767px) {
    .trip-row { grid-template-columns: 72px 1fr; padding: 18px; gap: 16px; }
    .trip-date b { font-size: 30px; }
    .trip-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
    .seat-bar { width: 100px; }
}
.month-block + .month-block { margin-top: 70px; }
.month-head { margin-bottom: 20px; }
.month-head .section-title { font-size: 48px; }

/* ---- Label status ---- */
.pill { display: inline-block; padding: 3px 12px; border-radius: 30px; font-size: 13px; font-weight: 500; line-height: 1.6; }
.pill-ok { background: var(--st-ok-soft); color: var(--st-ok); }
.pill-warn { background: var(--st-warn-soft); color: var(--st-warn); }
.pill-bad { background: var(--st-bad-soft); color: var(--st-bad); }

/* ---- Detail paket ---- */
.tour-details h2.h4 { font-size: 26px; margin-bottom: 14px; }
.tour-details .lead-text { font-size: 20px; color: var(--clr-heading); }
.itin { counter-reset: itin; padding: 0; }
.itin li { position: relative; padding: 0 0 22px 46px; display: grid; gap: 2px; }
.itin li::before { counter-increment: itin; content: counter(itin); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--clr-primary); color: #fff; font-size: 13px; display: grid; place-items: center; }
.itin li::after { content: ""; position: absolute; left: 14.5px; top: 36px; bottom: 4px; width: 1px; background: var(--st-line); }
.itin li:last-child::after { display: none; }
.itin b { font-family: var(--font-secondary); font-size: 19px; font-weight: 500; }
.page-list.is-exclude .page-list-icon { background: #e6e9f2; color: var(--clr-body); }
.page-list li { display: flex; gap: 14px; align-items: flex-start; }
.page-list-icon { flex: 0 0 30px; }
.page-list-text p { margin: 2px 0 0; }
.table-wrap { overflow-x: auto; border-radius: 20px; background: #fff; }
.st-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.st-table th, .st-table td { border: 0; border-bottom: 1px solid var(--clr-bg-light); padding: 14px 18px; text-align: left; white-space: nowrap; }
.st-table th { font-family: var(--font-secondary); text-transform: uppercase; letter-spacing: 1px; font-size: 13px; color: var(--clr-heading); font-weight: 500; }
.st-table tr:last-child td { border-bottom: 0; }
.st-table .num { text-align: right; }
.tour-details .cont .item .value { flex: 1.3; }

/* Kartu pemesanan */
.book-card { scroll-margin-top: 110px; }
.book-price { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--st-line); }
.book-price small { display: block; font-size: 14px; }
.book-price strong { font-family: var(--font-secondary); font-size: 40px; font-weight: 500; color: var(--clr-primary); line-height: 1.1; margin-right: 8px; }
.book-price s { color: var(--clr-body); }
.book-price .save { display: block; margin-top: 4px; font-size: 14px; color: #7A5A12; }
.st-form .field { margin-bottom: 14px; }
.st-form label { display: block; font-size: 15px; color: var(--clr-heading); margin: 0 0 6px 6px; font-weight: 500; }
.st-form label .hint { font-weight: 400; }
.st-form input, .st-form select, .st-form textarea { margin-bottom: 0 !important; padding: 13px 18px; }
.st-form textarea { border-radius: 24px; resize: vertical; }
.st-form .hint { display: block; font-size: 13px; color: var(--clr-body); margin: 6px 0 0 8px; }
.st-form label .hint { display: inline; margin: 0 0 0 4px; font-size: 13px; }
.field-error { display: block; font-size: 13px; color: var(--st-bad); margin: 6px 0 0 8px; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--st-bad) !important; }
.total-line { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; margin: 6px 0 14px; border-top: 1px dashed var(--st-line); }
.total-line b { font-family: var(--font-secondary); font-size: 26px; font-weight: 500; color: var(--clr-heading); }
.butn-arrow.w-100, .butn-arrow2.w-100 { justify-content: space-between; border: 0; }
button.butn-arrow, button.butn-arrow2 { border: 0; cursor: pointer; }
.small-note { font-size: 13px; margin: 12px 4px 0; }
.st-alert { padding: 12px 16px; border-radius: 16px; font-size: 15px; margin-bottom: 14px; }
.st-alert-error { background: var(--st-bad-soft); color: var(--st-bad); }
.st-alert-info { background: var(--st-info-soft); color: var(--clr-heading); }

/* Navigasi paket sebelum/berikutnya */
.nex-prv .no-photo { background: linear-gradient(135deg, hsl(var(--h) 45% 42%), hsl(var(--h) 55% 28%)); }
.nex-prv .ontop .nav-label { display: block; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-primary); margin-bottom: 4px; transition: color .4s; }
.nex-prv .prv:hover .ontop .nav-label, .nex-prv .nxt:hover .ontop .nav-label { color: rgba(255,255,255,.85); }

/* ---- Pemesanan berhasil ---- */
.success-card { background: #fff; border-radius: 30px; padding: 50px 40px; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; background: var(--st-ok-soft); color: var(--st-ok); display: grid; place-items: center; font-size: 30px; }
.success-card .kode { display: inline-block; margin: 6px 0 24px; padding: 10px 26px; border-radius: 40px; background: var(--clr-heading); color: #fff; font-family: var(--font-secondary); font-size: 30px; letter-spacing: 3px; }
.summary { text-align: left; margin: 0 auto 28px; max-width: 460px; }
.summary div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--clr-bg-light); }
.summary dt { font-weight: 400; color: var(--clr-body); }
.summary dd { margin: 0; color: var(--clr-heading); text-align: right; font-weight: 500; }
.summary .total dd { font-family: var(--font-secondary); font-size: 24px; color: var(--clr-primary); }
.success-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.link-under { color: var(--clr-heading); border-bottom: 1px solid currentColor; }

/* ---- Kontak ---- */
.info-box .item .icon { display: grid; place-items: center; padding: 0; flex: 0 0 60px; font-size: 24px; }
.info-box .item p a { color: var(--clr-heading); }
.contact .contact-form h3 { text-align: left; font-size: 40px; letter-spacing: -1px; }

/* ---- Footer ---- */
.footer .subscribe .section-title { margin-bottom: 30px; }
.footer-info { padding: 50px 0 10px; border-top: 1px solid rgba(255,255,255,.1); position: relative; z-index: 2; }
.footer-info .footer-logo { width: 180px; height: auto; margin-bottom: 12px; }
.footer-info p { color: rgba(255,255,255,.6); }
.footer-info h6 { color: #fff; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 18px; }
.footer-info ul li { margin-bottom: 10px; color: rgba(255,255,255,.7); display: flex; gap: 12px; align-items: baseline; }
.footer-info ul a { color: rgba(255,255,255,.85); }
.footer-info ul a:hover { color: var(--st-sky); }
.footer-info ul i { color: var(--st-sky); width: 16px; }
@media (max-width: 991px) { .footer-info > div { margin-bottom: 30px; } .footer .bottom .social-icons { text-align: center !important; } }

/* ---- Tombol WhatsApp mengambang ---- */
.wa-float {
    position: fixed; left: 24px; bottom: 24px; z-index: 990; width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff !important; display: grid !important; place-items: center; font-size: 28px;
    box-shadow: 0 10px 24px rgb(0 0 0 / 18%); transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---- Ruang ---- */
.pb-90 { padding-bottom: 90px; }
.mb-15 { margin-bottom: 15px; }
.mt-30 { margin-top: 30px; }

@media (prefers-reduced-motion: reduce) {
    .slide-vertical .box, .scrolling .content { animation: none !important; }
}

/* ---- Perbaikan tumpukan dekorasi ---- */
.footer { overflow: hidden; }
.faqs .container, .about2 .container { position: relative; z-index: 2; }

/* Kartu di grid 2 kolom: judul satu baris penuh, durasi & harga di bawahnya */
.tours-isotope .item .tour-content { flex-wrap: wrap; row-gap: 16px; }
.tours-isotope .item .tour-header { flex: 1 1 100%; }
.tours-isotope .item .tour-info { flex: 1 1 auto; }
.tours .item .tour-location span { line-height: 1.4; }

/* ---- Penyesuaian HP ---- */
@media (max-width: 767px) {
    .about2-img .main-img:nth-child(2) { display: none; }
    .about2-img .main-img { height: 380px; margin-bottom: 30px; }
    .about2-img .main-img img { height: 100%; object-fit: cover; }
    .section-padding { padding: 80px 0; }
    .tour-details .cont { padding: 28px !important; }
    .success-card { padding: 36px 22px; }
    .wa-float { left: 16px; bottom: 16px; width: 50px; height: 50px; font-size: 24px; }
}
