/* MASTER STYLE - JavaBali Explorer 
   Author: Gemini AI Project
   Version: 2.0 (Full Integration)
*/

/* ==========================================
   1. GLOBAL & FONTS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #00A693;
    --primary-light: #e0f2f1;
    --primary-hover: #008777;
    --accent: #ff7675;
    --dark: #2d3436;
    --grey-text: #636e72;
    --light-grey: #f1f2f6;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f8fafb;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
header {
    background: var(--white);
    padding: 18px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* ==========================================
   3. HERO & SEARCH SECTION (Halaman Depan)
   ========================================== */
.hero {
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('https://images.unsplash.com/photo-1537996194471-e657df975ab4?q=80&w=2000');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 10px; text-shadow: 2px 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.2rem; opacity: 0.9; font-weight: 300; }

.search-section {
    max-width: 800px;
    width: 90%;
    margin: -40px auto 40px;
    background: var(--white);
    padding: 10px;
    border-radius: 15px;
    display: flex;
    box-shadow: var(--shadow-lg);
}

.search-section input {
    flex: 1;
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
    outline: none;
    border-radius: 10px;
}

.btn-search {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-search:hover { background: var(--primary-hover); }

/* ==========================================
   4. FILTER & CARD GRID
   ========================================== */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-filter {
    padding: 8px 24px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-filter.active, .btn-filter:hover {
    background: var(--primary);
    color: white;
}

#list-paket {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 8% 50px;
}

/* Card Styling */
.card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.img-wisata {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body { padding: 25px; }
.card-body h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--dark); }

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--grey-text);
    margin-bottom: 5px;
}

.price {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 800;
    margin: 15px 0;
}

/* ==========================================
   5. DETAIL PAGE LAYOUT (The Premium Part)
   ========================================== */
.detail-layout {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.content-card {
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.content-padding { padding: 35px; }
.content-padding h1 { font-size: 2.2rem; margin-bottom: 15px; }

/* Booking Card Sticky */
.booking-card {
    background: var(--white);
    padding: 30px;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 100px;
    border: 1px solid #f0f0f0;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-custom {
    width: 100%;
    padding: 14px;
    border: 2px solid #f1f2f6;
    border-radius: 12px;
    margin-bottom: 20px;
    outline: none;
    transition: var(--transition);
}

.input-custom:focus { border-color: var(--primary); background: #fff; }

/* Payment Radio Boxes */
.payment-grid { display: flex; gap: 12px; margin-bottom: 25px; }

.radio-box {
    flex: 1;
    padding: 15px;
    border: 2px solid #f1f2f6;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.radio-box.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}

/* Total Section */
.summary-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 2px dashed #d1d8e0;
    margin-top: 15px;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--dark);
}

/* Buttons */
.btn-primary {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 166, 147, 0.3); }

.btn-wa { background: #25D366; }
.btn-wa:hover { box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }

/* ==========================================
   6. FOOTER SECTION
   ========================================== */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 8% 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 { color: var(--primary); margin-bottom: 25px; font-size: 1.4rem; }
.footer-section p { color: #bdc3c7; font-size: 0.95rem; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3d4e50;
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* ==========================================
   7. ANIMATIONS & RESPONSIVE
   ========================================== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

#list-paket > div { animation: fadeIn 0.6s ease forwards; }

@media (max-width: 992px) {
    .detail-layout { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    header { padding: 15px 5%; }
    .nav-links { display: none; } /* Sembunyikan menu di HP demi kesederhanaan */
    .hero { height: 350px; }
}