:root {
    --primary: #0051A8;
    /* biru utama */
    --accent: #012a5e;
    /* biru tua */
    --gold: #D4AF37;
    --muted: #6b6b6b;
    --dark: #0b0b0b;
    --white: #ffffff;
    --container: 1200px;
    --radius: 12px;
    --shadow: 0 12px 36px rgba(0, 0, 0, .12);
    --header-h: 72px;
}

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

html,
body {
    height: 100%
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background: linear-gradient(180deg, #fff, #fff);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(100px + env(safe-area-inset-bottom))
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem
}

/* Header (id required — avoid styling every <header> on the page) */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1100;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .98));
    border-bottom: 1px solid rgba(0, 0, 0, .06)
}

nav {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    border: 2px solid var(--gold)
}

.brand span {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: .3px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: .95rem;
    padding: .35rem .6rem;
    border-radius: 10px
}

.nav-links a:hover {
    background: rgba(0, 81, 168, 0.06)
}

.wa-top {
    background: linear-gradient(180deg, var(--gold), #c79a2b);
    color: var(--dark);
    padding: .55rem .95rem;
    border-radius: 999px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 0;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12)
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--dark);
    font-size: 1.2rem
}

@media (max-width:900px) {
    .nav-links {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--header-h);
        background: var(--white);
        display: none;
        flex-direction: column;
        padding: .9rem 1rem;
        border-top: 1px solid rgba(0, 0, 0, .04)
    }
    #header.open .nav-links {
        display: flex
    }
    .mobile-toggle {
        display: block
    }
}

/* Hero */

.hero {
    margin-top: var(--header-h);
    height: calc(100vh - var(--header-h));
    min-height: 480px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(120deg, rgba(0, 81, 168, .12), rgba(1, 42, 94, .16)), url('assets/hero-batam.png');
    background-size: cover;
    background-position: left center;
    color: var(--white);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0.12) 100%);
    z-index: 0;
}

.hero-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--gold), var(--primary));
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    padding: 3.2rem 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    color: var(--white);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: rgba(0, 0, 0, 0.26);
    padding: .5rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    font-size: .9rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 3.2rem);
    font-weight: 800;
    margin-bottom: .5rem;
    color: #fff;
    line-height: 1.08;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: 600;
    max-width: 820px
}

.hero-small {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 1.2rem;
    line-height: 1.5
}

.cta {
    display: flex;
    gap: .9rem;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.25rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    border: 0;
    cursor: pointer;
    font-size: .98rem
}

.btn-primary {
    background: linear-gradient(180deg, var(--gold), #b58e2a);
    color: var(--dark);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28)
}

.btn-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.02)
}

.btn-hero-wa {
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding-top: 0.72rem;
    padding-bottom: 0.72rem;
    text-align: center
}

.btn-hero-wa-main {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem
}

.btn-hero-wa-sub {
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    opacity: 0.88;
    letter-spacing: 0.02em
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    padding: .75rem 1.12rem;
    font-weight: 700;
    border-radius: 999px
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.06)
}

@media (max-width:768px) {
    .hero {
        height: calc(100vh - var(--header-h));
        align-items: flex-end
    }
    .hero-inner {
        padding: 2.4rem 1.25rem 2rem
    }
    .hero h1 {
        font-size: clamp(1.7rem, 6vw, 2.2rem)
    }
}

/* Fix spacing hero mobile */

@media (max-width: 768px) {
    .hero {
        height: auto !important;
        min-height: 68vh !important;
        padding-top: 1.2rem !important;
        display: flex;
        align-items: flex-start !important;
    }
    .hero-inner {
        padding-top: 1.2rem !important;
        padding-bottom: 2rem !important;
    }
    .hero h1 {
        margin-top: 0.3rem !important;
    }
    .brand-badge {
        margin-bottom: 0.6rem !important;
    }
    .hero-small {
        margin-bottom: 1rem !important;
    }
}

/* Sections */

main section {
    padding: 3rem 0
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: .35rem;
    color: var(--dark)
}

.section-sub {
    max-width: var(--container);
    margin: 0 auto 1rem;
    color: var(--muted);
    text-align: center;
    padding: 0 1rem
}

/* Fleet grid */

.fleet-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: 0 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

@media (max-width:1100px) {
    .fleet-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media (max-width:680px) {
    .fleet-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media (max-width:420px) {
    .fleet-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr))
    }
}

.car-card {
    background: linear-gradient(180deg, #fff, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, .04);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease
}

.car-card:hover {
    transform: translateY(-6px)
}

.car-img {
    min-height: 120px;
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #fff, #fafafa);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.car-img img {
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    object-fit: contain;
    object-position: center top;
    display: block
}

.car-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: .4rem
}

.car-body h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0
}

.muted {
    color: var(--muted);
    font-size: .93rem;
    margin: 0
}

.book-row {
    margin-top: .6rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: .6rem
}

.wa-book {
    background: linear-gradient(135deg, var(--gold), #f6e27a);
    color: var(--dark);
    border: 0;
    padding: .6rem .95rem;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    gap: .5rem;
    align-items: center
}

.wa-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12)
}

/* Services */

.services-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 1rem
}

@media (max-width:768px) {
    .services-grid {
        grid-template-columns: 1fr
    }
}

/* Contact */

.contact-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1rem
}

@media (max-width:900px) {
    .contact-grid {
        grid-template-columns: 1fr
    }
}

.contact-card {
    background: linear-gradient(180deg, #111, #1b1b1b);
    color: var(--white);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow)
}

.contact-item {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin: .6rem 0
}

.contact-item i {
    color: var(--gold)
}

footer {
    background: #080808;
    color: rgba(255, 255, 255, .9);
    padding: 1.6rem 0;
    margin-top: 1.2rem
}

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    padding: 0 1rem
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, .7);
    margin-top: .8rem;
    font-size: .9rem
}

/* bottom nav mobile */

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #111;
    border-top: 3px solid var(--gold);
    display: flex;
    justify-content: space-around;
    z-index: 1200;
    padding: .6rem 0
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    color: var(--white);
    text-decoration: none;
    font-size: .9rem
}

.bottom-nav .btn-book {
    background: linear-gradient(180deg, var(--gold), #c79a2b);
    color: var(--dark);
    padding: .45rem .8rem;
    border-radius: 999px;
    font-weight: 800
}

@media (min-width:900px) {
    .bottom-nav {
        display: none
    }
}

/* modal */

.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 11, .6);
    place-items: center;
    padding: 1rem;
    z-index: 2000
}

.modal-panel {
    background: #fff;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    padding: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden
}

.modal-panel-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0
}

.modal-body {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1rem;
    margin-top: .6rem
}

@media (max-width:720px) {
    .modal-body {
        grid-template-columns: 1fr
    }
}

.modal-body img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px
}

.modal-actions {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
    margin-top: .75rem
}

.modal-close {
    background: transparent;
    border: 0;
    font-size: 1.1rem;
    cursor: pointer
}

/* About layout */

.about-layout {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.about-single-card {
    width: 100%;
    max-width: 36rem;
}

/* Testimoni slider */

.testi-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testi-slider-wrapper {
    display: flex;
    transition: transform .6s ease;
}

.testi-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
}

.testi-card {
    background: white;
    padding: 2rem 1.8rem;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    max-width: 650px;
    text-align: left;
}

.testi-card .name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.testi-card .stars {
    color: #f2c200;
    font-size: 1.1rem;
    margin-bottom: .8rem;
}

.testi-card p {
    color: #444;
    line-height: 1.55;
    font-size: 1rem;
}

@media (max-width:900px) {
    #header {
        height: 64px
    }
    .brand img {
        width: 40px;
        height: 40px
    }
    .brand span {
        font-size: 0.98rem
    }
    .hero {
        min-height: 46vh;
        margin-top: 64px
    }
}

/* Most Popular 5 Seater — Avanza */

.popular-5-section {
    background: linear-gradient(180deg, #f4f7fb 0%, #fff 40%);
    border-top: 1px solid rgba(0, 81, 168, 0.08);
    border-bottom: 1px solid rgba(0, 81, 168, 0.06);
}

.popular-5-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1rem 0.5rem;
}

.popular-5-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.popular-5-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
}

.popular-5-model {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.popular-5-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d0d0d;
    background: linear-gradient(135deg, #2dd4bf, #14b8a6);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

.popular-5-photo {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border: 0;
    box-shadow: none;
}

.popular-5-photo-book {
    display: block;
    width: 100%;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.popular-5-photo-book:focus-visible {
    outline: 2px solid var(--accent, #14b8a6);
    outline-offset: 2px;
}

.popular-5-photo-book:hover img {
    opacity: 0.96;
}

.popular-5-photo img {
    width: 100%;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    box-shadow: none;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.popular-5-pricing {
    padding: 1.25rem 1.25rem 1.5rem;
    text-align: center;
    background: #fff;
}

.popular-5-cat {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 1rem;
    letter-spacing: 0.04em;
}

.popular-5-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto 1rem;
}

.price-package {
    border: 1px solid rgba(0, 81, 168, 0.12);
    border-radius: 10px;
    padding: 0.65rem 0.5rem 0.85rem;
    background: linear-gradient(180deg, #fafbff, #fff);
}

.price-package-head {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    color: #1565c0;
    font-size: 1rem;
}

.price-package-head .fa-coins {
    color: #c9a227;
}

.price-package-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0d47a1;
    margin: 0 0 0.5rem;
}

.price-package-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.65;
}

.price-package-list .cur {
    font-weight: 600;
    color: #444;
    font-size: 0.82em;
    margin-right: 0.15rem;
}

.popular-5-includes {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: #8a6d2e;
    margin: 0 0 1.1rem;
}

.btn-book-popular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    color: var(--dark);
    background: linear-gradient(135deg, var(--gold), #f6e27a);
    border: 0;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-book-popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    color: var(--dark);
}
