:root {
    --blue: #0d1b52;
    --blue-dark: #07113a;
    --orange: #ff9800;
    --orange-dark: #ff7800;
    --green: #25d366;
    --paper: #f5f6fa;
    --white: #ffffff;
    --ink: #202331;
    --muted: #667085;
    --line: #e5e7eb;
    --danger: #991b1b;
    --success: #166534;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    padding-bottom: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Poppins, Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-header {
    position: relative;
    z-index: 50;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #eeeeee;
    padding: 12px 8%;
    background: var(--white);
    font-weight: 700;
}

.top-left {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}

.topbar a:hover {
    color: var(--orange);
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 60;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 8%;
    background: var(--white);
    box-shadow: var(--shadow);
}

.navbar.is-scrolled {
    box-shadow: 0 12px 32px rgba(13, 27, 82, 0.16);
}

.logo {
    color: var(--blue);
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 900;
    line-height: 1.1;
}

.logo span {
    color: var(--orange);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 800;
}

.site-nav a {
    color: #222222;
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus {
    color: var(--orange);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 10px;
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
}

.hero {
    position: relative;
    height: 90vh;
    min-height: 620px;
    overflow: hidden;
    background: var(--blue-dark);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1000ms ease;
}

.slide.active {
    z-index: 1;
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.24));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    z-index: 3;
    max-width: 680px;
    color: var(--white);
    transform: translateY(-50%);
}

.hero-content h1 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
}

.hero-content p {
    margin-bottom: 30px;
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.btn,
.book-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 40px;
    padding: 13px 30px;
    color: var(--white);
    background: var(--orange);
    cursor: pointer;
    font-weight: 900;
    text-align: center;
    transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover,
.book-button:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
}

.btn.primary {
    background: var(--orange);
}

.btn.secondary,
.btn-outline {
    color: var(--blue);
    background: var(--white);
    border: 1px solid var(--line);
}

.btn.secondary:hover,
.btn-outline:hover {
    color: var(--white);
    background: var(--blue);
}

.btn.full {
    width: 100%;
}

.btn.small {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.88rem;
}

.slider-dots {
    position: absolute;
    right: 8%;
    bottom: 36px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.slider-dots button {
    width: 38px;
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.slider-dots button.active {
    background: var(--orange);
}

.countdown {
    padding: 50px 20px;
    color: var(--white);
    background: var(--blue);
    text-align: center;
}

.countdown h2 {
    margin-bottom: 22px;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
}

.timer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.box {
    width: 120px;
    border-radius: 15px;
    padding: 20px;
    color: var(--blue);
    background: var(--white);
}

.box h3 {
    font-size: 2.2rem;
    line-height: 1;
}

.box span {
    color: var(--muted);
    font-weight: 800;
}

.section {
    padding: 80px 8%;
}

.section-blue {
    background: var(--blue);
}

.title {
    margin-bottom: 50px;
    color: var(--blue);
    font-size: clamp(2rem, 5vw, 2.6rem);
    line-height: 1.12;
    text-align: center;
}

.title.light {
    color: var(--white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 25px;
}

.card-body h3 {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 1.35rem;
    line-height: 1.2;
}

.card-body p {
    color: var(--muted);
}

.price {
    margin: 15px 0;
    color: var(--orange);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 900;
    line-height: 1.15;
}

.facility-list {
    display: grid;
    gap: 8px;
    margin: 18px 0 24px;
    padding: 0;
    list-style: none;
}

.card-body .book-button {
    width: fit-content;
    margin-top: auto;
}

.facility-list li {
    position: relative;
    padding-left: 24px;
    color: #333333;
}

.facility-list li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--orange);
    content: "+";
    font-weight: 900;
}

.vehicle-card {
    display: flex;
    flex-direction: column;
}

.vehicle-visual {
    display: grid;
    min-height: 220px;
    place-items: center;
    padding: 28px;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(13, 27, 82, 0.94), rgba(255, 152, 0, 0.86)),
        url("../img/hero2.png") center/cover no-repeat;
    text-align: center;
}

.vehicle-visual span {
    display: block;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1;
}

.vehicle-visual small {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 800;
}

.testimoni {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.testi {
    border-radius: 20px;
    padding: 30px;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.testi p {
    color: var(--muted);
}

.testi strong {
    display: block;
    margin-top: 18px;
    color: var(--blue);
}

.stars {
    margin-bottom: 15px;
    color: var(--orange);
    font-weight: 900;
}

.booking-section {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
    gap: 42px;
    align-items: start;
    background: var(--white);
}

.booking-copy {
    position: sticky;
    top: 112px;
}

.booking-copy h2,
.contact-section h2 {
    color: var(--blue);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.1;
}

.booking-copy p,
.contact-section p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.05rem;
}

.booking,
.admin-card {
    max-width: 900px;
    border-radius: 25px;
    padding: clamp(24px, 5vw, 46px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-weight: 900;
}

.form-control,
input,
select,
textarea {
    width: 100%;
    border: 1px solid #dddddd;
    border-radius: 10px;
    padding: 14px 15px;
    color: var(--ink);
    background: var(--white);
    outline: 0;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.15);
}

textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 15px;
}

.btn-booking {
    width: 100%;
    background: var(--green);
}

.btn-booking:hover {
    background: #1fb85a;
}

.form-note {
    margin-top: 12px;
    color: var(--muted);
    font-size: 0.92rem;
}

.alert {
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 22px;
}

.alert ul {
    margin-top: 8px;
    padding-left: 20px;
}

.alert.error {
    border: 1px solid #fecaca;
    color: var(--danger);
    background: #fee2e2;
}

.alert.success {
    border: 1px solid #bbf7d0;
    color: var(--success);
    background: #dcfce7;
}

.alert.warning {
    border: 1px solid #fde68a;
    color: #854d0e;
    background: #fef3c7;
}

.faq-section {
    background: var(--paper);
}

.faq-list {
    display: grid;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    overflow: hidden;
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.06);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    color: var(--blue);
    font-weight: 900;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
}

.contact-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--white);
}

.contact-section > div:first-child {
    max-width: 760px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wa-float {
    position: fixed;
    right: auto;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    max-width: calc(100vw - 48px);
    border-radius: 50px;
    padding: 14px 22px;
    color: var(--white);
    background: var(--green);
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
}

.footer {
    padding: 46px 8% 26px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--blue-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.8fr;
    gap: 28px;
}

.footer-logo {
    display: inline-block;
    color: var(--white);
}

.footer h2 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: 1rem;
}

.footer p {
    max-width: 560px;
    margin-top: 12px;
}

.footer a {
    display: block;
    width: fit-content;
    margin-top: 8px;
}

.footer a:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 34px;
    padding-top: 20px;
    font-size: 0.9rem;
}

.page-hero {
    display: grid;
    min-height: 420px;
    align-content: end;
    padding: 144px 8% 72px;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(13, 27, 82, 0.84), rgba(13, 27, 82, 0.42)),
        url("../img/hero3.png") center/cover no-repeat,
        var(--blue-dark);
}

.page-hero .eyebrow {
    color: var(--orange);
    font-weight: 900;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 820px;
    margin-top: 10px;
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
    max-width: 640px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.1rem;
}

.confirmation-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 24px;
    align-items: start;
}

.confirmation-card,
.payment-card,
.empty-state {
    border-radius: 20px;
    padding: clamp(24px, 4vw, 34px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.confirmation-card h2,
.payment-card h2,
.empty-state h2 {
    margin: 12px 0 16px;
    color: var(--blue);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
}

.tag {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 7px 12px;
    color: var(--blue);
    background: #fff3d6;
    font-size: 0.82rem;
    font-weight: 900;
}

dl {
    display: grid;
    gap: 12px;
}

dl div {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

dt {
    color: var(--muted);
    font-weight: 800;
}

dd {
    margin: 0;
    font-weight: 900;
}

.qris-image,
.qris-placeholder {
    width: min(100%, 360px);
    margin: 20px auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.qris-image {
    height: auto;
    padding: 10px;
    object-fit: contain;
}

.qris-placeholder {
    display: grid;
    aspect-ratio: 1 / 1;
    place-items: center;
    padding: 24px;
    text-align: center;
    background:
        linear-gradient(90deg, rgba(13, 27, 82, 0.08) 50%, transparent 50%) 0 0/28px 28px,
        linear-gradient(rgba(13, 27, 82, 0.08) 50%, transparent 50%) 0 0/28px 28px,
        var(--white);
}

.qris-placeholder strong {
    display: block;
    color: var(--blue);
    font-size: 2rem;
}

.qris-placeholder span {
    max-width: 220px;
    color: var(--muted);
    font-size: 0.9rem;
}

.receiver-box {
    display: grid;
    gap: 4px;
    border: 1px solid #ffe0a3;
    border-radius: 12px;
    margin: 12px 0 16px;
    padding: 14px 16px;
    background: #fff7e8;
}

.receiver-box span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.receiver-box strong {
    color: var(--blue);
    font-size: 1.1rem;
}

.payment-total {
    display: grid;
    gap: 4px;
    border: 1px solid #c7d2fe;
    border-radius: 12px;
    margin: 12px 0 16px;
    padding: 14px 16px;
    background: #eef2ff;
}

.payment-total span {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 800;
}

.payment-total strong {
    color: var(--blue);
    font-size: clamp(1.35rem, 4vw, 1.8rem);
    line-height: 1.1;
}

.payment-total.muted {
    border-color: var(--line);
    background: var(--paper);
}

.payment-card .btn + .btn,
.payment-card .form-note + .btn,
.payment-card p + .btn {
    margin-top: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 10px;
    color: var(--white);
    background: var(--blue);
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
    line-height: 1.1;
}

.brand small {
    margin-top: 3px;
    color: var(--muted);
}

.admin-login-page,
.admin-page {
    min-height: 100vh;
    background: var(--paper);
}

.admin-login {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.admin-card {
    width: min(100%, 460px);
}

.admin-card h1 {
    margin: 10px 0;
    color: var(--blue);
    font-size: 2rem;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 8%;
    background: var(--white);
    box-shadow: var(--shadow);
}

.admin-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-main {
    padding: 42px 8%;
}

.admin-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-title h1 {
    color: var(--blue);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}

.eyebrow {
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.filter-form {
    min-width: 220px;
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 16px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.82rem;
    text-transform: uppercase;
}

.admin-table small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.admin-table .booking-note {
    max-width: 360px;
    white-space: normal;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: 900;
}

.status.pending {
    color: #854d0e;
    background: #fef3c7;
}

.status.contacted {
    color: #075985;
    background: #e0f2fe;
}

.status.awaiting-amount {
    color: #075985;
    background: #e0f2fe;
}

.status.paid {
    color: var(--success);
    background: #dcfce7;
}

.status.cancelled {
    color: var(--danger);
    background: #fee2e2;
}

.status.expire {
    color: #7f1d1d;
    background: #fee2e2;
}

.status-form {
    display: flex;
    gap: 8px;
    align-items: center;
}

.final-price-form {
    display: grid;
    gap: 8px;
    min-width: 220px;
    margin-bottom: 12px;
}

.final-price-form input {
    min-height: 40px;
}

.final-price-form small {
    margin: 0;
}

.admin-link {
    display: inline-block;
    margin: 10px 10px 0 0;
    color: var(--orange-dark);
    font-weight: 900;
}

@media (max-width: 1100px) {
    .cards,
    .testimoni {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-section,
    .confirmation-layout {
        grid-template-columns: 1fr;
    }

    .booking-copy {
        position: static;
    }
}

@media (max-width: 860px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
        padding: 12px 20px;
    }

    .navbar {
        padding: 16px 20px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 18px;
        padding: 10px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px;
    }

    .hero {
        min-height: 560px;
        height: 82vh;
    }

    .hero-content {
        right: 20px;
        left: 20px;
    }

    .section {
        padding: 64px 20px;
    }

    .cards,
    .testimoni,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-section,
    .admin-title,
    .admin-header,
    .admin-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    body {
        padding-bottom: 76px;
    }

    .hero-content h1 {
        font-size: 2.35rem;
    }

    .slider-dots {
        right: 20px;
        bottom: 24px;
    }

    .box {
        width: calc(50% - 10px);
        min-width: 120px;
    }

    .card img {
        height: 240px;
    }

    .form-row,
    dl div {
        grid-template-columns: 1fr;
    }

    .status-form,
    .footer-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .wa-float {
        bottom: 14px;
        right: 16px;
        left: 16px;
        display: flex;
        min-height: 50px;
        align-items: center;
        justify-content: center;
        max-width: none;
        padding: 12px 16px;
        text-align: center;
    }
}
