/* Front page only: hero, stat strip, feature tiles, testimonials */

.hero-section {
    position: relative;
    overflow: hidden;
    background: url('../img/hero/karimun-jawa-resize-2.jpg') no-repeat center center;
    background-size: cover;
    min-height: 76vh;
    min-height: 76dvh;
    border-radius: 0 0 50px 50px;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
}
/* The hero's content is bottom-aligned (align-items-xl-end below), so its
   distance from the floating navbar depends on the section's actual
   height, not just padding-top. min-height: 76vh looks fine on a tall
   viewport, but on a laptop where browser chrome eats into the window
   (e.g. 1440x760 usable), 76vh shrinks enough that the heading ends up
   crammed right under the navbar. Floor it at a safe pixel height once
   the navbar actually floats (xl+); below that it's sticky/in-flow so
   there's no overlap risk to guard against. */
@media (min-width: 1200px) {
    .hero-section {
        min-height: max(76vh, 680px);
    }
}
.stat-strip-section {
    position: relative;
    z-index: 5;
    margin-top: -100px;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 35, 45, 0.45), rgba(10, 35, 45, 0.55));
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding-bottom: 88px;
}
.hero-highlight-card {
    display: block;
    max-width: 70%;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 24px;
    padding: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.hero-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
    background: rgba(255, 255, 255, 0.22);
}
.hero-highlight-img {
    border-radius: 16px;
    overflow: hidden;
}
.hero-highlight-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.hero-highlight-card:hover .hero-highlight-img img {
    transform: scale(1.08);
}
.hero-highlight-body {
    padding: 14px 4px 4px;
}
.hero-highlight-body h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 4px;
}
.hero-highlight-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-content .badge,
.hero-content h1,
.hero-content p.lead,
.hero-content .hero-buttons,
.hero-content .hero-highlight-col {
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out forwards;
}
.hero-content .badge { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.25s; }
.hero-content p.lead { animation-delay: 0.4s; }
.hero-content .hero-buttons { animation-delay: 0.55s; }
.hero-content .hero-highlight-col { animation-delay: 0.7s; }
@media (prefers-reduced-motion: reduce) {
    .hero-content .badge,
    .hero-content h1,
    .hero-content p.lead,
    .hero-content .hero-buttons,
    .hero-content .hero-highlight-col {
        opacity: 1;
        animation: none;
        transform: none;
    }
}

/* Below `lg`, the hero's two columns stack — center everything instead of
   keeping the desktop's left-aligned text / right-pushed highlight card,
   which looks lopsided once they're no longer side by side. */
@media (max-width: 991.98px) {
    .hero-content .col-lg-7,
    .hero-content .col-lg-5 {
        text-align: center;
    }
    .hero-content .hero-buttons {
        justify-content: center;
    }
    .hero-highlight-card {
        margin-left: auto;
        margin-right: auto;
        max-width: 85%;
    }
}

/* Below `md`, the About Section's image/text columns stack (col-md-5 /
   col-md-7) — center the text and button instead of leaving them
   left-aligned under a full-width image. */
@media (max-width: 767.98px) {
    .kjt-about-section .col-md-7 {
        text-align: center;
    }
}

/* The itinerary teaser's timeline (dashed line + dots) sits right at the
   column's own padding edge, so at the default 12px inset it visually
   reads as flush against the screen edge on mobile. A little extra
   breathing room here only. */
@media (max-width: 767.98px) {
    .kjt-itinerary-section .col-md-6 {
        padding-left: 24px;
        padding-right: 24px;
    }
}
.stat-strip {
    background-color: var(--cream);
    border-radius: 20px;
}
@media (max-width: 1199.98px) {
    .stat-strip {
        border-radius: 0;
    }
}
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(40, 164, 154, 0.12);
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 14px;
}
.stat-item h3 { color: var(--teal); font-weight: 700; margin-bottom: 0; }
.option-icon {
    display: inline-block;
    color: var(--teal);
    font-size: 2.75rem;
    line-height: 1;
}
.avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
