/* =========================================
   8. ORDER FLOW (CARA PEMESANAN)
   ========================================= */
.order-flow-section {
    background-color: #050505; /* Tetap hitam pekat */
    padding: 0 0 100px;
    color: white;
    position: relative;
}

/* Container Timeline */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Garis Vertikal di tengah (seperti referensi) */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px; /* Posisi garis di kiri */
    width: 2px;
    background: #333; /* Warna garis redup */
    border-left: 2px dashed #444; /* Efek garis putus-putus modern */
}

/* Item Timeline */
.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 100px; /* Memberi ruang untuk angka di kiri */
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Lingkaran Angka */
.timeline-marker {
    position: absolute;
    left: 15px; /* Posisi pas di tengah garis */
    top: 0;
    width: 50px;
    height: 50px;
    background-color: #111;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0,0,0,0.8); /* Shadow biar angka "mengambang" */
}

/* Efek Hover pada Marker */
.timeline-item:hover .timeline-marker {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.6);
}

/* Kotak Konten Teks */
.timeline-content {
    background: #111; /* Latar belakang kartu gelap */
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #222; /* Border tipis */
    position: relative;
    transition: 0.3s;
}

/* Segitiga kecil (Arrow) penunjuk ke angka */
.timeline-content::before {
    content: " ";
    position: absolute;
    top: 15px;
    left: -10px; /* Posisi panah di kiri kotak */
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #222 transparent transparent; /* Warna panah mengikuti border */
}

/* Hover Efek Kartu */
.timeline-item:hover .timeline-content {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
    margin: 0;
}

/* CTA Bottom */
.cta-bottom {
    text-align: center;
    margin-top: 80px;
}

.cta-bottom p {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 20px;
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.3);
}

.btn-cta-final:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media screen and (max-width: 600px) {
    .timeline-container::before {
        left: 30px; /* Geser garis sedikit di HP */
    }
    
    .timeline-item {
        padding-left: 80px; /* Kurangi jarak padding */
    }
    
    .timeline-marker {
        left: 5px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        top: 5px;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
}

/* --- TABLET VIEW (iPad / Tablet Portrait) --- */
@media screen and (max-width: 768px) {
    .order-flow-section {
        padding: 0 0 80px;
    }

    .timeline-container {
        padding: 20px 30px; /* Tambah padding samping biar gak mepet layar */
    }

    /* Geser garis sedikit ke kiri biar area teks lebih luas */
    .timeline-container::before {
        left: 30px; 
    }

    .timeline-item {
        padding-left: 80px; /* Jarak antara garis dan kotak teks */
        margin-bottom: 40px;
    }

    /* Marker sedikit mengecil */
    .timeline-marker {
        left: 5px; /* Posisi marker menyesuaikan garis di 30px */
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }
}

/* --- MOBILE VIEW (HP / Smartphone) --- */
@media screen and (max-width: 480px) {
    .timeline-container {
        padding: 20px; /* Padding container lebih rapat */
    }

    /* GARIS: Lebih mepet ke kiri untuk hemat tempat */
    .timeline-container::before {
        left: 19px; 
    }

    .timeline-item {
        padding-left: 65px; /* Konten teks digeser mendekati marker */
        margin-bottom: 30px;
    }

    /* MARKER: Ukuran lebih kecil */
    .timeline-marker {
        left: 0; /* Marker nempel di pinggir kiri container */
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        top: 0;
        border-width: 2px; /* Tebal border dikurangi dikit */
    }

    /* KOTAK KONTEN */
    .timeline-content {
        padding: 15px 20px;
    }

    /* PANAH KECIL (Segitiga): Sesuaikan posisinya */
    .timeline-content::before {
        top: 12px;
        left: -8px; 
        border-width: 8px 8px 8px 0;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    .timeline-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* CTA BOTTOM */
    .cta-bottom {
        margin-top: 50px;
        padding: 0 20px;
    }

    .btn-cta-final {
        width: 100%; /* Tombol jadi full width di HP */
        justify-content: center;
        padding: 12px 0;
        font-size: 1rem;
    }
}