:root {
    --primary-color: #007bff;
    --secondary-color: #1a1a1a;
    --accent-color: #00d2ff;
    --text-color: #333;
    --light-text: #f4f4f4;
    --dark-bg: #0f0f0f;
    --card-bg: #1e1e1e;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 24px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-primary {
    background: var(--accent-color);
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
}

.btn-primary:hover {
    background: #00b8e6;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(rgba(15, 15, 15, 0.5), rgba(15, 15, 15, 0.7)),
                url('../img/bannerweb.webp');
    background-size: cover;
    background-position: center;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Models Showcase */
.models-showcase {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-top: 2rem;
}

.model-tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    font-weight: 500;
    transition: 0.3s;
    font-family: var(--font-main);
}

.tab-btn.active,
.tab-btn:hover {
    color: #000;
    font-weight: 700;
}

.model-display {
    display: none;
    text-align: center;
    position: relative;
    animation: fadeIn 0.5s ease;
}

.model-display.active {
    display: block;
}

.watermark {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    z-index: 0;
    pointer-events: none;
}

.car-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    z-index: 1;
}

.car-image {
    max-width: 80%;
    height: auto;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 2rem;
    color: #ccc;
    cursor: pointer;
    padding: 1rem;
    transition: 0.3s;
}

.nav-arrow:hover {
    color: #000;
}

.model-details h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

.btn-outline-dark {
    border: 1px solid #333;
    color: #333;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    display: inline-block;
    transition: 0.3s;
}

.btn-outline-dark:hover {
    background: #000;
    color: #fff;
}

/* Color Selector */
.color-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.color-swatch.active {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.color-swatch::after {
    content: attr(title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.color-swatch:hover::after {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Us */
.bg-dark {
    background: linear-gradient(rgba(15, 15, 15, 0.9), rgba(15, 15, 15, 0.95)),
        url('../img/bannerweb.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    position: relative;
}

.bg-dark .section-title {
    color: #fff;
    text-align: left;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefits-list i {
    color: var(--accent-color);
    margin-top: 5px;
}

.image-content {
    position: relative;
}

.profile-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.name-tag {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: #fff;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* News */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-img {
    height: 200px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col .footer-logo {
    width: 150px;
    margin-bottom: 1rem;
    display: block;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-col p {
    margin-bottom: 0.8rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--accent-color);
    color: #000;
}

.footer-bottom {
    background: #000;
    padding: 1.5rem 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .navbar .nav-links.active {
        display: flex;
        justify-content: center;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .name-tag {
        right: 0;
        bottom: -20px;
    }

    .image-content {
        margin-bottom: 2rem;
    }

    .watermark {
        font-size: 8rem;
    }

    .color-selector {
        gap: 0.5rem;
    }

    .color-swatch {
        width: 32px;
        height: 32px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Buttons & Highlight */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #00d2ff, #00a3cc);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.4);
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.5);
    background: linear-gradient(135deg, #00e5ff, #00b8e6);
}

.hero-buttons .btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
    transform: translateY(-3px);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #00d2ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-outline {
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.lang-btn i:first-child {
    font-size: 1rem;
}

.lang-btn i:last-child {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-switcher:hover .lang-btn i:last-child {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
}

.lang-dropdown a.active {
    background: rgba(0, 210, 255, 0.15);
    color: var(--accent-color);
}

.lang-dropdown a.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: auto;
    font-size: 0.8rem;
}

.lang-dropdown .flag {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .lang-switcher {
        width: 100%;
        margin: 0.5rem 0;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
    }

    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0.5rem;
        display: none;
    }

    .lang-switcher:hover .lang-dropdown,
    .lang-switcher.active .lang-dropdown {
        display: block;
    }
}


/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Calculator Section */
.calculator-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.calc-form-group {
    margin-bottom: 2rem;
}

.calc-select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    margin-bottom: 1rem;
    cursor: pointer;
}

.calc-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.calc-value-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Custom Range Slider */
.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    margin: 1rem 0;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
}

/* Tenor Buttons */
.tenor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.tenor-btn {
    padding: 0.8rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 500;
    transition: all 0.3s ease;
}

.tenor-btn:hover {
    border-color: #000;
}

.tenor-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* Results */
.calc-results {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.result-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
    color: #000;
}

.btn-calc-submit {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-calc-submit:hover {
    background: #333;
}

@media (max-width: 768px) {
    .tenor-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .calc-select {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* Premium Why Us Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.benefit-icon {
    background: rgba(0, 210, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.benefit-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #fff;
    font-weight: 600;
}

.benefit-text p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: 1.2rem;
    }
}

/* Resize Profile Image */
.image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    max-width: 350px;
    /* Batasi lebar maksimal */
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

@media (max-width: 768px) {
    .profile-img {
        max-width: 280px;
        /* Lebih kecil di mobile */
    }
}

@media (max-width: 768px) {
    .lang-switcher {
        width: 100%;
        margin: 1rem 0;
        flex-direction: column;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 1rem;
        display: none;
        width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .lang-switcher:hover .lang-dropdown,
    .lang-switcher.active .lang-dropdown {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .lang-dropdown a {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        justify-content: center;
        padding: 0.8rem;
    }

    .lang-dropdown a:hover,
    .lang-dropdown a.active {
        background: var(--accent-color);
        color: #000;
        border-color: var(--accent-color);
    }

    /* Ensure Contact Button has spacing */
    .nav-links .btn-primary {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Mobile Hero Fix */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: auto;
    }

    .hero-bg {
        background-image: url('../img/bannerweb.webp');
        background-size: cover;
        background-position: center;
    }

    .hero-bg video {
        display: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content {
        padding: 2rem 0;
    }
}