/* 
    DC RENTAL BALI - DESIGN SYSTEM 2026
    SXO, AEO, & Performance Optimized
*/

:root {
    /* Color Palette (Dark Theme - Aligned with Gold Logo) */
    --primary: #D4AF37;
    /* Metallic Gold */
    --primary-dark: #B8962E;
    --primary-light: #E5C365;
    --secondary: #000000;
    /* Pure Black */
    --accent: #D4AF37;
    --text-main: #F5F5F5;
    /* Light text */
    --text-muted: #A3A3A3;
    /* Muted light text */
    --bg-light: #0A0A0A;
    /* Main dark background */
    --bg-soft: #121212;
    /* Section dark background */
    --element-bg: #1A1A1A;
    /* Card background */
    --true-white: #FFFFFF;
    --black: #000000;
    --success: #25D366;
    /* WhatsApp Green */

    /* Typography */
    --font-heading: 'ConthraxSb-Regular', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    gap: 10px;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--primary);
    color: var(--true-white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--true-white);
}

.btn-wa {
    background: #25D366;
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-wa:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    color: #fff !important;
}

/* Header Styling */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-toggle {
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}

.dropdown-toggle:hover {
    color: var(--primary);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--element-bg);
    min-width: max-content;
    padding: 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -1px;
    background: linear-gradient(to right, #FFFFFF 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-image {
    position: relative;
    animation: floating 6s ease-in-out infinite;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
    filter: blur(10px);
}

.hero-trust {
    margin-top: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 15px;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vehicle Cards */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.bike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.bike-card {
    background: var(--element-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bike-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.bike-img {
    position: relative;
    overflow: hidden;
    height: 240px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
}

.bike-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.bike-card:hover .bike-img img {
    transform: scale(1.1);
}

.bike-info {
    padding: 24px;
    text-align: center;
}

.bike-info h3 {
    font-size: 18px;
    font-family: var(--font-heading);
    margin-bottom: 20px;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.price-table thead {
    background: var(--primary);
}

.price-table th {
    padding: 12px 15px;
    text-align: left;
    color: var(--secondary);
    font-weight: 700;
    text-transform: capitalize;
}

.price-table td {
    padding: 14px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
}

.price-table th:last-child,
.price-table td:last-child {
    text-align: right;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr.highlight {
    background: rgba(212, 175, 55, 0.08) !important;
}

.price-table tr.highlight td {
    color: var(--primary);
    font-weight: 600;
}

.price-table td:last-child {
    color: var(--true-white);
    font-family: var(--font-heading);
    font-size: 13px;
}

.price-note {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: left;
}

.bike-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--text-muted);
}

.bike-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bike-features i {
    color: var(--primary);
}

/* Footer Styling */
.site-footer {
    background: var(--secondary);
    color: var(--text-main);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    margin-bottom: 25px;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
    max-width: 300px;
}

.footer-heading {
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
    display: inline-block;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.credit-line a {
    color: var(--primary);
    font-weight: 600;
}

.credit-line a:hover {
    text-decoration: underline;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.pay-badge {
    font-size: 20px;
    color: var(--text-muted);
    margin-right: 15px;
    opacity: 0.6;
    transition: var(--transition);
}

.pay-badge:hover {
    opacity: 1;
    color: var(--primary);
}

.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--success);
    color: var(--true-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    z-index: 2000;
    animation: pulse 2s infinite;
}

.float-wa-tooltip {
    position: absolute;
    right: 75px;
    background: var(--element-bg);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

body.nav-open .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
    opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        order: 2;
    }

    .header-wa {
        display: none;
    }

    .header-inner {
        height: 70px;
    }

    .logo-img {
        width: 170px;
        height: auto;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-light);
        padding: 40px 24px;
        transition: var(--transition);
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    body.nav-open .main-nav {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-link {
        font-size: 18px;
        flex: 1;
    }

    .nav-link-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown-toggle {
        padding: 10px;
        margin-right: -10px;
        font-size: 20px;
    }

    .has-dropdown.active .dropdown-toggle {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.02);
        margin-top: 15px;
        display: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        margin: 0 auto 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* FAQ & Process Sections */
.process-grid,
.faq-grid,
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--element-bg);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 20px;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
}

.faq-item {
    background: var(--element-bg);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 200px;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.area-badge {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

@media (max-width: 768px) {
    .hero-trust {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 36px;
    }

    .bike-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .float-wa {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }

    .float-wa-tooltip {
        display: none;
    }

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

    .bike-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}