/* 
    Berkah Travel - WDD Tour & Travel Inspired Design
    Primary: Navy Blue #0B2B5E | Accent: Gold #F7B801
*/

:root {
    --navy: #0B2B5E;
    --navy-dark: #071C3D;
    --navy-light: #1a3f78;
    --accent: #F7B801;
    --light-gray: #F5F7FA;
    --text-dark: #1A1A2E;
    --text-muted: #6C757D;
    --t: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #fff;
    overflow-x: hidden;
    margin: 0; padding: 0;
}
h1,h2,h3,h4,h5,h6 { font-family: 'Poppins', sans-serif; font-weight: 700; }

/* ===================== NAVBAR ===================== */
.navbar-custom {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 10px 0;
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 999;
}
.navbar-brand {
    font-family: 'Poppins', sans-serif; font-weight: 900;
    font-size: 1.4rem; color: var(--navy) !important;
    display: flex; align-items: center; gap: 8px;
    text-decoration: none;
}
.brand-icon {
    width: 38px; height: 38px; background: var(--navy);
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; color: #fff; font-size: 1rem; flex-shrink: 0;
}
.navbar-custom .nav-link {
    font-weight: 600; color: var(--navy) !important;
    font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 0.3px; padding: 8px 12px !important;
    transition: var(--t);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active { color: var(--accent) !important; }
.btn-booking {
    background: var(--navy); color: #fff !important;
    font-weight: 700; border-radius: 25px;
    padding: 9px 22px !important; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 0.3px;
    transition: var(--t); text-decoration: none;
    display: inline-block;
}
.btn-booking:hover { background: var(--navy-dark); transform: translateY(-1px); color: #fff !important; }

/* ===================== HERO SECTION ===================== */
.hero-section {
    background: var(--navy);
    padding: 110px 0 70px;
    position: relative; overflow: hidden;
    min-height: 100vh; display: flex; align-items: center;
}
/* Decorative circles */
.hero-section::before {
    content: ''; position: absolute;
    top: -80px; left: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%; z-index: 0;
}
.hero-section::after {
    content: ''; position: absolute;
    bottom: -60px; left: 120px;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%; z-index: 0;
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-tagline {
    font-size: 0.85rem; color: rgba(255,255,255,0.65);
    text-transform: uppercase; letter-spacing: 2.5px;
    margin-bottom: 10px; font-weight: 500;
}
.hero-title {
    font-size: 3.8rem; font-weight: 900; color: #fff;
    line-height: 1.05; margin-bottom: 18px;
    text-transform: uppercase; font-family: 'Poppins', sans-serif;
}
.hero-desc {
    font-size: 0.95rem; color: rgba(255,255,255,0.72);
    margin-bottom: 30px; line-height: 1.75; max-width: 460px;
}

/* Hero Image Stack */
.hero-images {
    position: relative; height: 480px;
}
.hero-img-1 {
    position: absolute; top: 0; right: 0;
    width: 62%; height: 300px;
    object-fit: cover; border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 4px solid rgba(255,255,255,0.25);
    z-index: 2;
}
.hero-img-2 {
    position: absolute; bottom: 10px; left: 0;
    width: 58%; height: 280px;
    object-fit: cover; border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 4px solid rgba(255,255,255,0.25);
    z-index: 3;
}

/* ===================== BOOKING CARD ===================== */
.booking-card {
    background: #fff; border-radius: 14px;
    overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    margin-top: 36px;
}
.booking-card-header {
    background: var(--navy); padding: 14px 20px;
    display: flex; align-items: center; gap: 10px;
}
.booking-card-header h5 { color: #fff; margin: 0; font-size: 1rem; font-weight: 700; }
.booking-card-body { padding: 20px; background: #fff; }
.b-group { position: relative; margin-bottom: 12px; }
.b-group i {
    position: absolute; left: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--navy); font-size: 1rem; z-index: 1;
}
.b-input {
    width: 100%; padding: 12px 14px 12px 42px;
    border: 1.5px solid #dde3ed; border-radius: 10px;
    font-size: 0.9rem; background: #f7f9fc;
    transition: var(--t); font-family: 'Inter', sans-serif;
    color: var(--text-dark); cursor: pointer;
    appearance: none; -webkit-appearance: none;
}
.b-input:focus { border-color: var(--navy); outline: none; background: #fff; }
.btn-wa {
    width: 100%; background: #25D366; color: #fff;
    border: none; border-radius: 10px; padding: 13px;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: var(--t); font-family: 'Poppins', sans-serif;
    margin-top: 4px;
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ===================== INFO CARDS ===================== */
.info-section { background: #fff; padding: 60px 0 40px; }
.info-section .section-intro { text-align: center; margin-bottom: 36px; }
.info-section .section-intro h3 { font-size: 1.9rem; font-weight: 900; color: var(--text-dark); }
.info-section .section-intro p { color: var(--text-muted); font-size: 0.9rem; margin: 6px 0 0; }
.info-card {
    background: var(--navy); border-radius: 14px;
    padding: 26px 22px; display: flex;
    align-items: flex-start; gap: 16px;
    height: 100%; transition: var(--t);
}
.info-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(11,43,94,0.3); }
.info-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(255,255,255,0.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: #fff;
}
.info-card h5 { color: #fff; font-size: 0.98rem; margin-bottom: 6px; font-weight: 700; }
.info-card p { color: rgba(255,255,255,0.72); font-size: 0.83rem; margin: 0; line-height: 1.55; }

/* ===================== RIBBON BANNERS ===================== */
.ribbon-wrap { text-align: center; padding: 50px 0 36px; position: relative; }
.ribbon-box {
    display: inline-block; background: var(--navy);
    color: #fff; font-family: 'Poppins', sans-serif;
    font-size: 2rem; font-weight: 900;
    text-transform: uppercase; letter-spacing: 2px;
    padding: 18px 70px; position: relative;
    clip-path: polygon(22px 0%, calc(100% - 22px) 0%, 100% 50%, calc(100% - 22px) 100%, 22px 100%, 0% 50%);
}
.ribbon-sub {
    display: flex; align-items: center; justify-content: center;
    gap: 12px; margin-top: 12px;
    color: var(--navy); font-size: 0.82rem; font-weight: 600;
}
.ribbon-sub::before, .ribbon-sub::after {
    content: ''; display: block; height: 1.5px; width: 60px; background: var(--navy);
}

/* ===================== ROUTE TABLE ===================== */
.route-section { background: #fff; padding: 0 0 60px; }
.route-wrap {
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,0.07); margin-bottom: 16px;
}
.route-head {
    background: var(--navy); color: #fff;
    padding: 12px 18px; font-weight: 700;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px;
}
.rt { width: 100%; border-collapse: collapse; background: #fff; }
.rt thead th {
    background: #eef1fa; color: var(--navy);
    padding: 12px 16px; font-size: 0.82rem;
    font-weight: 700; text-align: center;
    border-bottom: 2px solid var(--navy);
    text-transform: uppercase; letter-spacing: 0.5px;
}
.rt tbody td {
    padding: 11px 16px; text-align: center;
    border-bottom: 1px solid #eef0f5; font-size: 0.88rem;
}
.rt tbody tr:last-child td { border-bottom: none; }
.rt tbody tr:hover td { background: #f5f8ff; }
.td-city { font-weight: 700; color: var(--navy); }
.td-price { font-weight: 800; color: var(--accent); font-size: 0.95rem; }

/* ===================== ARMADA SECTION ===================== */
.armada-section { background: var(--light-gray); padding: 0 0 60px; }
.armada-card {
    background: #fff; border-radius: 14px;
    overflow: hidden; border: 1px solid #e8edf5;
    box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    transition: var(--t); height: 100%;
    display: flex; flex-direction: column;
}
.armada-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(11,43,94,0.14); border-color: var(--navy); }
.ac-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 18px 16px 14px; text-align: center;
}
.ac-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem; font-weight: 900;
    color: #fff; text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 10px;
}
.ac-img {
    width: 100%; height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}
.ac-body { padding: 14px 16px; flex-grow: 1; }
.ac-row {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; color: var(--text-muted);
    padding: 7px 0; border-bottom: 1px dashed #eee;
}
.ac-row:last-child { border-bottom: none; }
.ac-row i { color: var(--navy); font-size: 0.95rem; flex-shrink: 0; }
.ac-price-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 10px; }
.ac-price { font-weight: 900; color: var(--navy); font-size: 1.1rem; }
.btn-pesan {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--navy); color: #fff !important;
    padding: 12px; font-weight: 700; font-size: 0.9rem;
    text-decoration: none; font-family: 'Poppins', sans-serif;
    transition: var(--t); width: 100%; border: none; cursor: pointer;
}
.btn-pesan:hover { background: var(--navy-dark); }

/* ===================== GALLERY ===================== */
.gallery-section { background: #fff; padding: 0 0 60px; }
.gal-wrap {
    border-radius: 12px; overflow: hidden;
    height: 200px; position: relative; cursor: pointer;
}
.gal-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.4s ease;
}
.gal-wrap:hover img { transform: scale(1.08); }
.gal-overlay {
    position: absolute; inset: 0;
    background: rgba(11,43,94,0); transition: var(--t);
    display: flex; align-items: center; justify-content: center;
}
.gal-wrap:hover .gal-overlay {
    background: rgba(11,43,94,0.45);
}
.gal-overlay i {
    color: #fff; font-size: 2rem; opacity: 0; transition: var(--t);
}
.gal-wrap:hover .gal-overlay i { opacity: 1; }

/* ===================== NEWS ===================== */
.news-section { background: var(--light-gray); padding: 0 0 60px; }
.news-card {
    background: #fff; border-radius: 14px;
    overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,0.07);
    transition: var(--t); height: 100%; display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.nc-img { height: 190px; overflow: hidden; flex-shrink: 0; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-card:hover .nc-img img { transform: scale(1.06); }
.nc-body { padding: 18px; flex-grow: 1; display: flex; flex-direction: column; }
.nc-date { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 8px; }
.nc-title a {
    font-weight: 700; color: var(--navy); text-decoration: none;
    font-size: 0.98rem; line-height: 1.4;
}
.nc-title a:hover { color: var(--navy-light); }
.nc-excerpt { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 8px 0; }
.nc-read {
    margin-top: auto; color: var(--navy); font-weight: 700;
    font-size: 0.84rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 4px;
    padding-top: 10px;
}
.nc-read:hover { color: var(--navy-light); }
.btn-all {
    background: var(--navy); color: #fff !important;
    border: none; border-radius: 30px;
    padding: 13px 46px; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: var(--t); text-decoration: none;
    display: inline-block; font-family: 'Poppins', sans-serif;
}
.btn-all:hover { background: var(--navy-dark); transform: translateY(-2px); color: #fff !important; }

/* ===================== FOOTER ===================== */
.main-footer { background: #fff; border-top: 5px solid var(--navy); padding: 50px 0 0; margin-top: 0; }
.footer-brand { font-family: 'Poppins', sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--navy); }
.footer-brand span { color: var(--accent); }
.footer-about { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin: 10px 0; }
.footer-row { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: #555; margin-bottom: 10px; }
.footer-row i { color: var(--navy); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-heading { font-weight: 800; color: var(--navy); font-size: 1rem; margin-bottom: 14px; border-bottom: 2px solid var(--navy); padding-bottom: 8px; }
.footer-link { display: block; color: #555; text-decoration: none; font-size: 0.88rem; margin-bottom: 8px; transition: var(--t); }
.footer-link:hover { color: var(--navy); padding-left: 5px; }
.social-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--navy); color: #fff; margin-right: 6px;
    font-size: 0.9rem; transition: var(--t); text-decoration: none;
}
.social-icon:hover { background: var(--navy-light); transform: translateY(-3px); color: #fff; }
.footer-map { border-radius: 12px; overflow: hidden; height: 210px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.footer-bottom { background: var(--navy); padding: 14px 0; margin-top: 40px; }
.footer-bottom p { color: rgba(255,255,255,0.7); font-size: 0.83rem; margin: 0; }

/* ===================== FLOATING WA ===================== */
.float-wa {
    position: fixed; bottom: 24px; right: 24px;
    background: #25D366; color: #fff; border-radius: 50px;
    padding: 13px 20px; font-weight: 700; font-size: 0.88rem;
    z-index: 9999; box-shadow: 0 5px 20px rgba(37,211,102,0.45);
    text-decoration: none; display: flex; align-items: center; gap: 8px;
    transition: var(--t);
}
.float-wa:hover { background: #1da851; color: #fff; transform: scale(1.05); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .hero-section { padding: 90px 0 50px; min-height: auto; }
    .hero-title { font-size: 2.5rem; }
    .hero-desc { font-size: 0.9rem; }
    .hero-images { height: 260px; margin-top: 30px; }
    .hero-img-1 { width: 65%; height: 200px; }
    .hero-img-2 { width: 60%; height: 185px; }
    .ribbon-box { font-size: 1.3rem; padding: 14px 30px; }
}
@media (max-width: 575px) {
    .hero-title { font-size: 2rem; }
    .hero-images { display: none; }
    .ribbon-box { font-size: 1.1rem; padding: 12px 20px; }
    .gal-wrap { height: 150px; }
}

/* ===================== HERO SLIDER ===================== */
.hero-slider { position: relative; width: 100%; overflow: hidden; height: 90vh; min-height: 500px; background: var(--navy-dark); }
.hero-slide-item { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.hero-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@keyframes fadeAnim {
    0%, 100% { opacity: 0; }
    5%, 33% { opacity: 1; }
    38% { opacity: 0; }
}
@keyframes zoomAnim {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}
@keyframes zoomOutAnim {
    0% { transform: scale(1.15); }
    100% { transform: scale(1); }
}
@keyframes panRightAnim {
    0% { transform: scale(1.1) translateX(-2%); }
    100% { transform: scale(1.1) translateX(2%); }
}
@keyframes panLeftAnim {
    0% { transform: scale(1.1) translateX(2%); }
    100% { transform: scale(1.1) translateX(-2%); }
}
@keyframes panUpAnim {
    0% { transform: scale(1.1) translateY(2%); }
    100% { transform: scale(1.1) translateY(-2%); }
}

.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(7,28,61,0.88) 0%, rgba(7,28,61,0.45) 60%, rgba(7,28,61,0.1) 100%);
    display: flex; align-items: center;
}
.hero-slide-content { max-width: 580px; color: #fff; }
.hero-tag { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2.5px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.hero-h1 { font-family: 'Poppins',sans-serif; font-size: 4rem; font-weight: 900; line-height: 1.05; text-transform: uppercase; margin-bottom: 18px; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,0.78); line-height: 1.75; margin-bottom: 28px; }
.hero-btn {
    display: inline-block; background: #fff; color: var(--navy);
    font-family: 'Poppins',sans-serif; font-weight: 800;
    border-radius: 30px; padding: 14px 38px; font-size: 1rem;
    text-decoration: none; transition: var(--t);
}
.hero-btn:hover { background: var(--accent); color: var(--navy); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.2); }

/* ===================== TENTANG ===================== */
.tentang-section { padding: 80px 0; background: #fff; }
.section-sub-label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.section-title { font-family: 'Poppins',sans-serif; font-weight: 900; font-size: 2.4rem; color: var(--navy); line-height: 1.1; margin-bottom: 18px; }
.section-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 14px; }
.tentang-img-wrap { position: relative; }
.tentang-img { width: 100%; border-radius: 20px; box-shadow: 0 20px 50px rgba(11,43,94,0.2); object-fit: cover; height: 450px; }
.tentang-badge {
    position: absolute; bottom: 20px; right: -10px;
    background: var(--navy); color: #fff;
    border-radius: 14px; padding: 16px 22px; text-align: center;
    box-shadow: 0 10px 25px rgba(11,43,94,0.35);
}
.tb-num { display: block; font-size: 2rem; font-weight: 900; line-height: 1; font-family: 'Poppins',sans-serif; }
.tb-txt { font-size: 0.78rem; opacity: 0.8; }
.btn-navy { display: inline-block; background: var(--navy); color: #fff !important; font-family: 'Poppins',sans-serif; font-weight: 700; border-radius: 30px; padding: 13px 36px; text-decoration: none; transition: var(--t); font-size: 0.95rem; }
.btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }

/* ===================== WHY SECTION ===================== */
.why-section { background: var(--light-gray); padding: 80px 0; }
.why-card {
    background: var(--navy); border-radius: 16px; padding: 30px 24px;
    height: 100%; text-align: center; transition: var(--t);
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(11,43,94,0.3); }
.why-icon { width: 58px; height: 58px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff; margin: 0 auto 16px; }
.why-card h4 { color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.72); font-size: 0.85rem; line-height: 1.6; margin: 0; }

/* ===================== RUTE SECTION ===================== */
.rute-section { background: #fff; padding: 0 0 60px; }
.route-group-card { border-radius: 12px; overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,0.07); }
.rg-header { background: var(--navy); color: #fff; padding: 12px 18px; font-weight: 800; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 1px; }
.rg-body { padding: 14px 16px; background: #fff; display: flex; flex-wrap: wrap; gap: 8px; }
.city-chip { background: #f0f4ff; color: var(--navy); font-size: 0.82rem; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid #dde6ff; transition: var(--t); }
.city-chip:hover { background: var(--navy); color: #fff; }
.route-cta-card { background: var(--navy); border-radius: 14px; padding: 28px 24px; height: 100%; }
.route-cta-card h5 { color: #fff; font-weight: 700; margin-bottom: 10px; font-size: 1.05rem; }
.route-cta-card p { color: rgba(255,255,255,0.72); font-size: 0.87rem; margin-bottom: 16px; }
.btn-wa-small { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff !important; border-radius: 8px; padding: 10px 22px; font-weight: 700; font-size: 0.88rem; text-decoration: none; transition: var(--t); font-family: 'Poppins',sans-serif; }
.btn-wa-small:hover { background: #1da851; transform: translateY(-2px); }

/* ===================== ARMADA IMG FIX ===================== */
.ac-img-wrap { height: 110px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ac-img { max-width: 90%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); }

@media (max-width:991px) { .hero-h1 { font-size: 2.6rem; } .tentang-img { height: 320px; } .section-title { font-size: 1.9rem; } }
@media (max-width:575px) { .hero-slide { height: 70vh; } .hero-h1 { font-size: 2rem; } .tentang-badge { right: 10px; } }
