@font-face {
    font-family: 'ElegantIcons';
    src: url('../fonts/ElegantIcons.woff') format('woff'),
        url('../fonts/ElegantIcons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.woff2') format('woff2'),
        url('../fonts/fontawesome-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Variabel mudah diubah */
:root {
    --header-bg: #333;
    /* ganti untuk ubah background */
    --link-color: rgba(255, 255, 255, 0.85);
    --link-hover: #ffffff;
    --brand-max-height: 58px;
    /* tinggi logo */
    --nav-font-size-lg: 15px;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header sticky */
.site-header {
    position: sticky !important;
    top: 0;
    z-index: 1030;
    background: var(--header-bg);
    transition: box-shadow .25s ease, background .25s ease;
}

/* Tambahan shadow saat di-scroll (dipicu oleh JS) */
.site-header.scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    background: rgba(13, 13, 13, 0.95);
    /* sedikit transparan saat scroll */
}

/* Navbar padding */
.site-header .navbar {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

/* Logo */
.site-logo {
    max-height: var(--brand-max-height);
    width: auto;
    display: block;
    margin-right: 0.75rem;
}

/* Nav links */
.navbar-nav .nav-link {
    color: var(--link-color);
    font-size: var(--nav-font-size-lg);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: .4rem 0.9rem;
    transition: color .15s ease, transform .08s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--link-hover);
    transform: translateY(-1px);
}


/* Active link style */
.navbar-nav .nav-link.active {
    color: #ffffff;
    position: relative;
    font-weight: 600;
}

.navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
}


/* Mobile adjustments */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-nav .nav-link {
        font-size: 14px;
        padding: .6rem 1rem;
    }
}

/* Smaller screens: smaller logo */
@media (max-width: 575.98px) {
    :root {
        --brand-max-height: 46px;
    }
}


/* ================= FOOTER ================= */
.site-footer {
    /* background: linear-gradient(180deg, #253349 0%, #1f2a3d 100%); */
    background-color: #333;
    color: #ffffff;
    font-size: 14px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.footer-contact i {
    font-size: 18px;
    opacity: 0.9;
}

.footer-logo {
    max-width: 220px;
}

.footer-tagline {
    letter-spacing: 0.15em;
    font-size: 13px;
    margin-top: -5px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 420px;
    margin-left: auto;
}

.footer-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.btn-footer {
    background: #ffffff;
    color: #1f2a3d;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 0;
    transition: all .2s ease;
}

.btn-footer:hover {
    background: #dfe6ef;
    color: #1f2a3d;
}

/* Bottom bar */
.footer-bottom {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom a {
    color: #6cb6ff;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-text {
        margin-left: 0;
    }

    .footer-actions {
        justify-content: flex-start;
    }
}

/* ===== EXPLORE RANGE ===== */
.explore-range {
    background: #ffffff;
}

.section-title {
    font-weight: 600;
    letter-spacing: 0.12em;
    font-size: 22px;
}

/* Tabs - Clean Bottom Border Style */
.range-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.range-tabs .nav-link {
    position: relative;
    color: #6b7280;
    background: transparent;
    border: none;
    padding: 10px 2px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color .2s ease;
}

/* Hover */
.range-tabs .nav-link:hover {
    color: #1f2a3d;
}

/* Active */
.range-tabs .nav-link.active {
    color: #1f2a3d !important;
    background: transparent !important;
}

/* Bottom indicator */
.range-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: #9bb483;
}

/* Car cards */
.car-img {
    max-height: 260px;
    margin-bottom: 25px;
}

.car-title {
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.car-variant {
    color: #555;
    font-size: 14px;
    margin-bottom: 4px;
}

.car-price {
    font-weight: 500;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .car-img {
        max-height: 200px;
    }
}

/* ================= HERO SLIDER ================= */
.hero-slider {
    position: relative;
}

.hero-slide {
    min-height: 90vh;
    background-size: cover;
    background-position: center right;
    position: relative;
    display: flex;
    align-items: center;
}

/* Overlay gelap agar teks jelas */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(15, 25, 40, 0.75) 0%,
            rgba(15, 25, 40, 0.35) 45%,
            rgba(15, 25, 40, 0.15) 100%);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 28px;
    opacity: 0.9;
}

/* Button */
.btn-hero1 {
    background-color: #1f2a3d43 !important;
    color: #ffffff !important;
    border: 1px solid #fff !important;
    font-size: 14px;
    letter-spacing: 0.08em;
    border-radius: 0;
    /* transition: all .2s ease; */
}

.btn-hero1:hover {
    background-color: #e2e8f0 !important;
    color: #1f2a3d !important;
}

/* Carousel arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 6%;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 85vh;
        background-position: center;
    }

    .hero-overlay {
        background: rgba(15, 25, 40, 0.65);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: auto;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 14px;
    }
}


/* ===== Carousel Indicators (Dots) ===== */
.hero-slider .carousel-indicators {
    bottom: 30px;
    gap: 10px;
}

.hero-slider .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all .25s ease;
}

.hero-slider .carousel-indicators .active {
    background-color: #ffffff;
    transform: scale(1.2);
}

/* Mobile spacing */
@media (max-width: 768px) {
    .hero-slider .carousel-indicators {
        bottom: 20px;
    }
}

.contact-info {
    border-radius: 5px;
    background-color: #f8f9fa !important;
}

.section-grey {
    background-color: #f8f9fa !important;
}

/* =========================
   Page Banner
========================= */
.page-banner {
    position: relative;
    min-height: 360px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

/* Overlay gelap */
.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 480px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-banner {
        min-height: 260px;
    }

    .page-title {
        font-size: 1.8rem;
    }
}


.full-image-banner-img {
    width: 100%;
    height: 60vh;
    overflow: hidden;
}

.full-image-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.full-image-banner-2-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.full-image-banner-2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   Content Image Section
========================= */
.content-image-section {
    background-color: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.section-text {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
}

.image-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* subtle hover effect */
.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Mobile spacing */
@media (max-width: 991px) {
    .section-title {
        font-size: 1.6rem;
    }
}

/* =========================
   Simple Custom Gallery
========================= */

.custom-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.custom-item {
    width: 100%;
}

.custom-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Tablet */
@media (max-width: 992px) {
    .custom-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .custom-gallery {
        grid-template-columns: 1fr;
    }
}


/* =========================
   Custom Carousel 3 – FIX FINAL
========================= */

/* Carousel Container */
.carousel-wrapper {
    background: white;
    border-radius: 20px;
    padding: 40px 20px;
}

.carousel-subtitle {
    text-align: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Owl Carousel Items */
.owl-carousel .item {
    padding: 20px;
    transition: all 0.3s ease;
}

.carousel-item-wrapper {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-item-wrapper:hover {
    transform: translateY(-10px);
}

.item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.item-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.color-badge {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--border-color);
}

.item-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.item-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 15px;
}

.item-code {
    background: var(--light-bg);
    padding: 10px 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* Owl Carousel Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.owl-nav button {
    pointer-events: all;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.owl-nav button:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.owl-nav button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

/* Owl Dots (Pagination) */
.owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-dot {
    display: inline-block;
    background: var(--border-color);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

.owl-dot:hover {
    background: var(--secondary-color);
}

/* Carousel position relative for nav */
.owl-carousel {
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h1 {
        font-size: 2rem;
    }

    .carousel-wrapper {
        padding: 25px 15px;
    }

    .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .item-image {
        height: 200px;
    }
}

@media (max-width: 576px) {

    .section-header h1 {
        font-size: 1.5rem;
    }

    .carousel-wrapper {
        padding: 20px 10px;
    }

    .owl-nav {
        padding: 0 10px;
    }

    .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* ===============================
   T2 Tabs – Clean Border Style
================================ */

.t2-specs-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.t2-specs-tabs .nav-link {
    position: relative;
    color: #6b7280;
    background: transparent;
    border: none;
    padding: 10px 2px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color .2s ease;
}

/* Hover */
.t2-specs-tabs .nav-link:hover {
    color: #1f2a3d;
}

/* Active */
.t2-specs-tabs .nav-link.active {
    color: #1f2a3d !important;
    background: transparent !important;
}

/* Bottom Indicator */
.t2-specs-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background-color: #9bb483;
}

/* ===============================
   T2 Spec Card – Clean Premium
================================ */

.t2-specs-card {
    background: transparent;
    padding: 42px 48px;
}

/* Title */
.t2-specs-card h5 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: #1f2a3d;
}

/* Spec Grid */
.t2-specs-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 18px;
}

/* Item */
.t2-specs-card ul li {
    font-size: 15px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.5;
}

/* Dot indicator */
.t2-specs-card ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #9bb483;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .t2-specs-card {
        padding: 28px;
    }

    .t2-specs-card ul {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   CST Floating Image Card
================================ */

.cst-floatcard {
    position: relative;
}

/* Image container */
.cst-floatcard-img {
    border-radius: 22px;
    overflow: hidden;
    background: #f3f4f6;
}

/* Image */
.cst-floatcard-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* tidak crop */
}

/* Floating caption - base */
.cst-floatcard-caption {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    margin: -40px 20px 0;
    padding: 16px 26px;
    border-radius: 14px;

    font-size: 16px;
    font-weight: 600;
    color: #111827;

    position: relative;

    transition:
        background .35s ease,
        backdrop-filter .35s ease,
        box-shadow .35s ease,
        transform .35s ease;
}

/* Hover: more solid, subtle lift */
.cst-floatcard-caption:hover {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    transform: translateY(-4px);
}


/* Mobile */
@media (max-width: 768px) {
    .cst-floatcard-caption {
        margin: -28px 14px 0;
        font-size: 14px;
        padding: 14px 16px;
    }
}

/* ===============================
   T2 Color Selection
================================ */

.t2-color-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #1f2a3d;
}

/* Item */
.t2-color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Swatch */
.t2-color-swatch {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
}

/* Names */
.t2-color-item p {
    font-size: 13px;
    letter-spacing: 0.08em;
    color: #374151;
    margin: 0;
}

/* Misty Cyan */
.t2-color-swatch.cyan {
    background: linear-gradient(135deg, #6fa6b6, #a8cfdc);
}

/* Night Black */
.t2-color-swatch.black {
    background: linear-gradient(135deg, #0f172a, #1f2937);
}

/* Sand */
.t2-color-swatch.sand {
    background: linear-gradient(135deg, #d8cbb2, #f0e6d2);
}

/* Silver Snow */
.t2-color-swatch.silver {
    background: linear-gradient(135deg, #bfc5cc, #f4f6f8);
}

/* Sun Orange */
.t2-color-swatch.orange {
    background: linear-gradient(135deg, #e8742a, #ffb76b);
}

/* Mobile */
@media (max-width: 768px) {
    .t2-color-swatch {
        width: 50px;
        height: 50px;
    }
}

/* ===============================
   T2 Color Tabs
================================ */

.t2-color-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 24px;
}

.t2-color-tabs .nav-link {
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.t2-color-tabs .nav-link.active {
    color: #1f2a3d;
}

.t2-color-tabs .nav-link.active span {
    font-weight: 700;
}


.t2-color-tabs .nav-link.active .t2-color-swatch {
    border-color: #9bb483;
    box-shadow: 0 0 0 3px rgba(155, 180, 131, 0.25);
}



@media (max-width: 768px) {
    .t2-color-tabs {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* ===============================
   WhatsApp Floating Button
=============================== */

.wa-floating-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all .3s ease;
    text-decoration: none;
}

.wa-floating-btn:hover {
    background-color: #1ebe5d;
    transform: scale(1.08);
    color: #fff;
}

/* Responsive for mobile */
@media (max-width: 576px) {
    .wa-floating-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
        right: 16px;
        bottom: 16px;
    }
}