/* =========================================
   home.css - KHUSUS HALAMAN UTAMA
   ========================================= */

header { margin-bottom: 40px; }

/* --- BANNER SLIDER --- */
.slider-container {
    position: relative; max-width: 1200px; margin: auto; border-radius: 15px;
    overflow: hidden; background-color: #ddd; margin-bottom: 40px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.slides { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }
.slide { min-width: 100%; position: relative; }
.banner-clickable { cursor: pointer; transition: opacity 0.3s; }
.banner-clickable:hover { opacity: 0.9; }
.banner-placeholder {
    width: 100%; height: 400px; background-color: #cccccc; 
    display: flex; align-items: center; justify-content: center;
    color: #888; font-size: 5rem; border-bottom: 5px solid var(--accent-yellow);
}
.prev, .next {
    cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px;
    margin-top: -22px; color: white; font-weight: bold; font-size: 18px;
    transition: 0.6s ease; border-radius: 0 3px 3px 0; user-select: none;
    background-color: rgba(0,0,0,0.3); border: none; z-index: 10;
}
.next { right: 0; border-radius: 3px 0 0 3px; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); }

/* --- INFO BAR --- */
.info-bar {
    background: #ffffff; color: var(--dark-text);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); border-radius: 15px;
    padding: 3rem 2rem; margin-bottom: 4rem; max-width: 1200px;
    margin-left: auto; margin-right: auto; width: 90%; 
}
.info-flex { display: flex; align-items: center; gap: 40px; justify-content: center; flex-wrap: wrap; }
.info-img-area { flex: 1; min-width: 250px; max-width: 400px; text-align: center; }
.info-custom-img { width: 100%; height: auto; border-radius: 10px; object-fit: cover; display: block; }
.info-text-area { flex: 1; min-width: 300px; text-align: left; }
.info-text-area h2 { font-size: 2rem; margin: 0 0 15px 0; text-transform: uppercase; color: var(--primary-blue); }
.info-text-area p { font-size: 1.1rem; line-height: 1.6; color: #555; margin-bottom: 25px; }

@media (max-width: 768px) {
    .info-flex { flex-direction: column; text-align: center; }
    .info-text-area { text-align: center; }
    .info-img-area { max-width: 100%; }
}

/* --- KATEGORI SECTION --- */
.section-title { text-align: left; margin-bottom: 0; font-size: 1.8rem; color: var(--primary-blue); padding-bottom: 0; }
.category-section { margin-bottom: 60px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.category-section:last-child { border-bottom: none; }
.section-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; border-left: 5px solid var(--primary-green); padding-left: 15px;
}
.see-all-link {
    text-decoration: none; color: var(--primary-blue); font-weight: bold; font-size: 1rem;
    transition: 0.3s; border: 1px solid var(--primary-blue); padding: 8px 20px; border-radius: 25px;
}
.see-all-link:hover { background-color: var(--primary-blue); color: white; }

@media (max-width: 600px) {
    .section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* --- MODAL POPUP --- */
.modal {
    display: none; position: fixed; z-index: 1000; left: 0; top: 0;
    width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
    margin: auto; display: flex; flex-direction: column; align-items: center;
    justify-content: center; height: 100%; color: white;
}
#modalImageContainer {
    width: 80%; max-width: 900px; height: 50vh; background: #333;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #555; border-radius: 10px;
}
.close-modal {
    position: absolute; top: 20px; right: 35px; color: #f1f1f1;
    font-size: 40px; font-weight: bold; cursor: pointer;
}

/* =========================================
   TAMBAHAN: LOKASI & CARA ORDER
   ========================================= */

/* Header Blok (Kotak Judul) */
.section-block-header {
    background-color: var(--primary-blue); /* Mengikuti tema biru website */
    color: white;
    padding: 15px 25px;
    border-radius: 5px 5px 0 0; /* Sudut atas tumpul */
    margin-top: 40px;
}

.section-block-header h2 {
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Map Container */
.map-container iframe {
    border-radius: 0 0 5px 5px;
    display: block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Grid Cara Order */
.order-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Kolom Jejer */
    gap: 20px;
    background: white;
    padding: 30px 20px;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Card Per Step */
.step-card {
    text-align: left;
    padding: 10px;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-blue); /* Latar belakang icon biru */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
    transition: transform 0.3s;
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--primary-green); /* Berubah hijau saat di-hover */
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin: 0 0 10px 0;
    font-weight: bold;
}

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

/* Responsif untuk Mobile & Tablet */
@media (max-width: 900px) {
    .order-steps-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 Kolom */
    }
}

@media (max-width: 600px) {
    .order-steps-grid {
        grid-template-columns: 1fr; /* HP: 1 Kolom ke bawah */
        text-align: center;
    }
    
    .step-card {
        display: flex;
        flex-direction: column;
        align-items: center; /* Tengah secara horizontal */
    }
}