:root {
    --primary-orange: #e67e22; /* Warna dasar Luwes Nganjuk Run */
    --dark-orange: #d35400;    /* Untuk variasi box CP atau tombol hover */
    --dark-text: #ffffff;
    --light-text: rgba(255, 255, 255, 0.9);
    --bg-putih: #ffffff;       /* Tetap sediakan variabel putih untuk layer konten */
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Mencegah layar geser kanan-kiri di ponsel */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-putih); /* Default background putih sesuai permintaanmu */
    color: #111; /* Default teks gelap agar terbaca di background putih */
    line-height: 1.6;
    overflow-x: hidden;
}

/* Supaya semua gambar otomatis menyesuaikan lebar layar ponsel */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container standar agar konten tidak menempel ke pinggir layar */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 20px 0;
}

/* Efek saat scroll (nanti diatur via JS) */
.main-header.scrolled {
    background: rgba(230, 126, 34, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-text {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--light-text);
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-outline {
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-orange);
}

/* Hero Layer */
.hero-layer {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 20px 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.location-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 35px;
    color: var(--light-text);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.btn-yellow {
    background: #f1c40f;
    color: #333;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.btn-yellow:hover {
    transform: scale(1.05);
}

.quota-info {
    font-style: italic;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Image Card Placeholder */
.hero-image-card {
    position: relative;
}

.card-border {
    background: #fff;
    padding: 15px;
    border-radius: 30px;
    transform: rotate(3deg);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.image-placeholder {
    background: #ddd;
    height: 500px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.date-overlay {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(0,0,0,0.05);
}

/* Partner Logos */
.partner-logos {
    display: flex;
    gap: 20px;
}

.mini-logo {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.7rem;
}
/*layer 2*/
/* About Layer Styles */
.about-layer {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 100px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-end;
    margin-bottom: 60px;
}

.badge-blue {
    background: #eef2ff;
    color: #4f46e5;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
}

.about-title h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
}

.about-description p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.about-image-full {
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.main-photo-placeholder {
    width: 100%;
    height: 600px;
    background: #f0f0f0; /* Warna sementara sebelum ada foto */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #2980b9;
}
/* layer 3 */
/* Base Reset */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff; /* Senada dengan Layer 2 */
}

/* Layer 1: Hero Section (Tetap Oranye) */
.hero-layer {
    background-color: #e67e22; 
    color: #ffffff;
    padding: 100px 20px;
}

/* Layer 2: About Section (Putih Bersih) */
.about-layer {
    background-color: #ffffff;
    padding: 80px 20px;
}

/* Layer 3: Experience Section (Sesuai SS 22.57.39) */
.experience-layer {
    background-color: #ffffff; /* Background luar tetap putih */
    padding: 60px 20px;
}

.experience-card {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f0f7ff; /* Biru muda sesuai referensi */
    border-radius: 30px;
    padding: 60px;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Kiri untuk judul, kanan untuk info */
    gap: 40px;
    align-items: center;
}

/* Bagian Kiri Card */
.exp-content-left {
    padding-right: 20px;
}

.badge-outline {
    border: 1px solid #3498db;
    color: #3498db;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    background: #ffffff;
}

.exp-content-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.exp-content-left p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

/* Bagian Kanan Card (Grid Info) */
.exp-info-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.info-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .experience-card {
        grid-template-columns: 1fr;
        padding: 40px;
    }
    .exp-info-right {
        grid-template-columns: 1fr;
    }
}/* Price Layer Styles */
.price-layer {
    background-color: #ffffff;
    padding: 100px 20px;
}

.price-header {
    text-align: center;
    margin-bottom: 60px;
}

.badge-blue {
    background: #ebf5ff;
    color: #3b82f6;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.price-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.price-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Card Styling */
.price-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease; /* Efek Hover */
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #3b82f6;
}

.card-top h3 {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 15px;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
}

/* Button Styles */
.btn-ticket {
    display: block;
    text-align: center;
    background: #111;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-ticket:hover {
    background: #3b82f6;
}

.btn-disabled {
    width: 100%;
    background: #f1f5f9;
    color: #94a3b8;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: not-allowed;
}

/* Benefits List */
.benefits {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
}

.benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #475569;
}

.benefits i {
    width: 18px;
    color: #3b82f6;
}

/* Disabled Card Visual */
.disabled-card {
    opacity: 0.7;
    background: #fafafa;
}

@media (max-width: 768px) {
    /* ... kode responsive lainnya ... */

    /* Membuat navigasi footer mendatar di HP */
    .footer-nav {
        flex-direction: row !important; /* Paksa tetap mendatar */
        flex-wrap: wrap; /* Izinkan pindah baris jika menu terlalu banyak */
        justify-content: center;
        gap: 15px; /* Jarak antar menu */
        font-size: 0.8rem; /* Sedikit dikecilkan agar muat satu baris */
    }

    .footer-nav li {
        margin: 0; /* Menghapus margin yang mungkin membuatnya tumpuk */
    }
}
/* Routes Layer Styles */
.routes-layer {
    background-color: #ffffff;
    padding: 100px 20px;
}

.routes-header {
    text-align: center;
    margin-bottom: 60px;
}

.routes-header h2 {
    font-size: 3rem;
    font-weight: 800;
}

.routes-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Detail di kiri, Peta di kanan */
    gap: 50px;
    align-items: center;
}

/* Info Rute */
.route-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    border-left: 4px solid #3b82f6; /* Garis aksen biru */
    background: #f8fafc;
    border-radius: 0 20px 20px 0;
}

.route-icon i {
    width: 32px;
    height: 32px;
    color: #3b82f6;
}

.route-text h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.route-text p {
    color: #475569;
    line-height: 1.8;
}

/* Container Gambar Peta agar tidak overflow */
.routes-map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.route-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Menjaga ukuran gambar tetap dalam bingkai */
    transition: transform 0.5s ease;
}

.route-image:hover {
    transform: scale(1.05); /* Efek zoom halus saat di-hover */
}

@media (max-width: 992px) {
    .routes-grid {
        grid-template-columns: 1fr;
    }
    .route-item {
        border-radius: 20px;
    }
}
/* FAQ Layer Styles */
.faq-layer {
    background-color: #f8fafc; /* Biru sangat muda agar kontras dengan layer sebelumnya */
    padding: 100px 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question i {
    width: 20px;
    transition: transform 0.3s;
}

/* State Aktif */
.faq-item.active .faq-question {
    color: #3b82f6;
}

.faq-item.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: #ffffff;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Sesuaikan dengan panjang teks */
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #475569;
    line-height: 1.6;
}
/* Layer 7: Jersey & Medal */
.race-pack-layer {
    background-color: #ffffff;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

/* Dekorasi Background Halus */
.race-pack-layer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#e2e8f0 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    opacity: 0.3;
    z-index: 1;
}

.race-pack-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* Styling Teks Sisi Kiri */
.race-pack-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #111;
}

.race-pack-content p {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-primary-dark {
    display: inline-block;
    background-color: #111111;
    color: #ffffff;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-primary-dark:hover {
    background-color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.2);
}

/* Styling Visual Sisi Kanan */
.race-pack-visual .visual-card {
    background: #f8fafc;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.race-pack-visual img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.visual-card:hover img {
    transform: scale(1.03);
}

.visual-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.visual-caption span {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #111;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .race-pack-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .race-pack-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .race-pack-content h2 {
        font-size: 2.5rem;
    }
}
/* Layer 8: Footer */

/* --- BAGIAN UNTUK GANTI WARNA POKOK --- */
:root {
    --warna-utama: #e67e22; /* GANTI WARNA ORANYE DI SINI */
    --warna-gelap: #d35400; /* Warna box CP (sedikit lebih gelap dari warna utama) */
    --warna-putih: #ffffff;
}

/* Footer Section */
.footer-layer {
    background-color: var(--warna-utama); /* Samakan dengan Layer 1 */
    padding: 0 20px 60px;
    color: var(--warna-putih);
    position: relative;
    margin-top: 100px; /* Memberi ruang agar box CP tidak menabrak layer atas */
}

/* Kotak Contact Person */
.contact-card {
    background-color: var(--warna-gelap); /* Warna sesuai SS referensi */
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-50%); /* Membuatnya melayang di tengah perbatasan */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.contact-info i {
    width: 35px;
    height: 35px;
    color: var(--warna-putih);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Content Footer */
.footer-content {
    text-align: center;
    margin-top: 20px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.footer-nav a {
    color: var(--warna-putih);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

/* Link Kembar.in */
.developer-credit a {
    color: var(--warna-putih);
    font-weight: 700;
    text-decoration: underline;
}
/* --- RESPONSIVE ENGINE: OTOMATISASI SEMUA LAYER --- */
@media (max-width: 768px) {
    /* Container global agar konten tidak menempel ke pinggir layar iPhone */
    .container {
        padding: 0 15px;
    }

    /* Layer 1: Beranda Utama (Hero) */
    .hero-container {
        grid-template-columns: 1fr !important; /* Tumpuk gambar ke bawah teks */
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem; /* Ukuran pas untuk layar ponsel */
    }

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

    .hero-actions {
        justify-content: center;
        flex-direction: column; /* Tombol jadi berderet vertikal di ponsel */
    }

    /* Layer 2, 3, 4, 5, 7: Otomatisasi semua Grid menjadi 1 kolom */
    .about-grid, 
    .experience-card, 
    .exp-info-right, 
    .price-grid, 
    .routes-grid, 
    .race-pack-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    /* Layer 3: Perbaikan Card Experience */
    .experience-card {
        padding: 30px 15px;
    }

    /* Layer 8: Perbaikan Footer & Box CP Melayang */
    .contact-card {
        width: 95%;
        padding: 20px;
        transform: translateY(-50%); /* Pas di tengah garis perbatasan */
        margin: 0 auto;
    }

    .contact-info {
        flex-direction: column;
        gap: 10px;
    }

    /* Navigasi Footer tumpuk vertikal agar tidak sempit */
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}
/* Navigasi Desktop (Default) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

/* Sembunyikan Burger di Desktop */
.mobile-menu-btn {
    display: none;
}

/* --- RESPONSIVE ENGINE (UNTUK HP) --- */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex; /* Munculkan burger di ponsel */
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .burger-line {
        width: 25px;
        height: 3px;
        background-color: white;
        border-radius: 5px;
    }

    /* SEMBUNYIKAN menu teks yang berantakan di header ponsel */
    .nav-links {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-orange);
        padding: 20px;
        text-align: center;
    }

    /* Munculkan menu hanya saat class 'active' dipicu JS */
    .nav-links.active {
        display: flex;
    }
}