@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700&display=swap');

:root {
    --green: #1B8A5A;
    --green-dark: #146B46;
    --green-light: #E8F5EE;
    --gold: #F5A623;
    --dark: #0D1B2A;
    --white: #FFFFFF;
    --gray: #6B7280;
    --light: #F8FAFC;
    --border: #E5E7EB;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0 5%; height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    background: transparent;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.navbar.solid { background: var(--white); box-shadow: 0 2px 20px rgba(0,0,0,0.1); }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: white;
}
.logo-brand { font-size: 1.3rem; font-weight: 800; color: var(--green); }
.logo-brand span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--dark); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-links .btn-wa {
    background: #25D366; color: white; padding: 9px 20px;
    border-radius: 50px; font-weight: 600; font-size: 0.85rem;
    display: flex; align-items: center; gap: 6px;
    transition: all 0.3s;
}
.nav-links .btn-wa:hover { background: #1aab52; transform: translateY(-2px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0D1B2A 0%, #1B3A2D 50%, #0D1B2A 100%);
    display: flex; align-items: center;
    padding: 70px 5% 0;
    position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="80" r="1.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: stars 20s linear infinite;
}
@keyframes stars { from { transform: translateY(0); } to { transform: translateY(-100px); } }

.hero-content { position: relative; z-index: 2; flex: 1; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(27,138,90,0.2); border: 1px solid rgba(27,138,90,0.4);
    color: #4ade80; padding: 6px 16px; border-radius: 50px;
    font-size: 0.8rem; font-weight: 600; margin-bottom: 1.5rem;
    text-transform: uppercase; letter-spacing: 1px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900; color: white; line-height: 1.15;
    margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--gold); }
.hero p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 2rem; max-width: 500px; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; transition: all 0.3s; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: white; }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(27,138,90,0.4); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.3); color: white; }
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #E8940E); color: white; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245,166,35,0.4); }
.btn-dark { background: var(--dark); color: white; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.hero-visual { flex: 1; display: flex; justify-content: flex-end; padding: 2rem; position: relative; z-index: 2; }
.hero-card {
    background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
    padding: 2rem; max-width: 340px; width: 100%;
}
.hero-card-title { color: rgba(255,255,255,0.6); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; }
.promo-mini {
    background: rgba(255,255,255,0.1); border-radius: 12px; padding: 1rem;
    margin-bottom: 0.75rem; display: flex; align-items: center; gap: 1rem;
    cursor: pointer; transition: background 0.2s;
}
.promo-mini:hover { background: rgba(255,255,255,0.15); }
.promo-mini-icon { width: 42px; height: 42px; background: var(--green); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.promo-mini-dest { color: white; font-weight: 700; font-size: 0.95rem; }
.promo-mini-price { color: var(--gold); font-size: 0.82rem; font-weight: 600; }
.promo-mini-arrow { color: rgba(255,255,255,0.4); margin-left: auto; }

/* ===== STATS ===== */
.stats { background: var(--green); padding: 40px 5%; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-item .num { font-size: 2rem; font-weight: 800; color: white; }
.stat-item .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 1px; }

/* ===== SECTIONS ===== */
section { padding: 80px 5%; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800; margin-bottom: 0.5rem; }
.section-title h2 span { color: var(--green); }
.section-title p { color: var(--gray); font-size: 0.95rem; }
.green-line { width: 60px; height: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 2px; margin: 0.75rem auto; }

/* ===== PROMO CARDS ===== */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.5rem; max-width: 1200px; margin: 0 auto; }

.promo-card {
    background: white; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.3s ease;
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
}
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.promo-card-img {
    position: relative; height: 180px; overflow: hidden;
    background: linear-gradient(135deg, #1B3A2D, #0D1B2A);
    display: flex; align-items: center; justify-content: center;
}
.promo-card-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-card-img .dest-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 1rem; color: white; font-weight: 800; font-size: 1.1rem;
    text-transform: uppercase; letter-spacing: 2px;
}
.promo-card-img .badge-kelas {
    position: absolute; top: 12px; right: 12px;
    background: var(--gold); color: white; padding: 4px 12px;
    border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
}
.promo-card-img .badge-tipe {
    position: absolute; top: 12px; left: 12px;
    background: var(--green); color: white; padding: 4px 12px;
    border-radius: 50px; font-size: 0.72rem; font-weight: 700;
}
.no-img-placeholder { font-size: 3rem; }

.promo-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.maskapai-row { display: flex; align-items: center; gap: 8px; margin-bottom: 0.75rem; }
.maskapai-name { font-size: 0.82rem; font-weight: 600; color: var(--green); }
.rute { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.25rem; display: flex; align-items: center; gap: 6px; }
.rute .arrow { color: var(--green); }
.periode { font-size: 0.78rem; color: var(--gray); margin-bottom: 1rem; }

.harga-box { margin-top: auto; }
.harga-coret { font-size: 0.8rem; color: #999; text-decoration: line-through; }
.harga-mulai { font-size: 1.4rem; font-weight: 800; color: var(--green); }
.harga-mulai span { font-size: 0.7rem; color: var(--gray); font-weight: 400; }

.fasilitas-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0.75rem 0; }
.tag { background: var(--green-light); color: var(--green); padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }

.promo-card-footer { padding: 1rem 1.25rem; border-top: 1px solid var(--border); display: flex; gap: 0.5rem; }
.promo-card-footer a { flex: 1; text-align: center; padding: 9px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; transition: all 0.2s; }
.btn-detail { background: var(--green-light); color: var(--green); }
.btn-detail:hover { background: var(--green); color: white; }
.btn-pesan { background: var(--green); color: white; }
.btn-pesan:hover { background: var(--green-dark); }

/* ===== MASKAPAI LOGOS ===== */
.maskapai-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.maskapai-item {
    background: white; border: 2px solid var(--border); border-radius: 12px;
    padding: 1rem 1.5rem; font-weight: 700; font-size: 0.9rem;
    color: var(--dark); transition: all 0.3s; cursor: pointer;
    min-width: 140px; text-align: center;
}
.maskapai-item:hover { border-color: var(--green); color: var(--green); transform: translateY(-3px); }

/* ===== FILTER BAR ===== */
.filter-bar {
    background: white; padding: 1.5rem 5%;
    border-bottom: 1px solid var(--border);
    display: flex; gap: 1rem; align-items: center; flex-wrap: wrap;
}
.filter-tab {
    padding: 7px 18px; border-radius: 50px; border: 2px solid var(--border);
    background: white; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; color: var(--dark); text-decoration: none; transition: all 0.2s;
}
.filter-tab:hover, .filter-tab.active { border-color: var(--green); background: var(--green); color: white; }

/* ===== BOOKING FORM ===== */
.booking-form-section { background: var(--light); }
.booking-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.booking-info { background: white; border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); }
.booking-form-wrap { background: white; border-radius: 16px; padding: 2rem; box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.4rem; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 10px 14px; border: 2px solid var(--border);
    border-radius: 8px; font-family: inherit; font-size: 0.9rem; transition: border-color 0.3s;
    background: white;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,138,90,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== ALERTS ===== */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 1.25rem; font-size: 0.9rem; display: flex; align-items: center; gap: 8px; }
.alert-success { background: #d1fae5; border: 1px solid #10b981; color: #065f46; }
.alert-error { background: #fee2e2; border: 1px solid #ef4444; color: #7f1d1d; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, #0D1B2A, #1B3A2D);
    padding: 110px 5% 50px; text-align: center; color: white;
}
.page-header h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.7); }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: white; }
.breadcrumb span:last-child { color: var(--gold); }

/* ===== SUCCESS PAGE ===== */
.success-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--light); padding: 2rem; }
.success-card { background: white; border-radius: 20px; padding: 3rem; max-width: 500px; width: 100%; box-shadow: var(--shadow-lg); text-align: center; }
.success-icon { font-size: 4rem; margin-bottom: 1rem; }
.kode-booking { background: var(--green-light); border: 2px dashed var(--green); border-radius: 10px; padding: 1rem; font-size: 1.4rem; font-weight: 800; color: var(--green); letter-spacing: 3px; margin: 1rem 0; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding: 60px 5% 40px; max-width: 1200px; margin: 0 auto; }
.footer-brand { font-size: 1.3rem; font-weight: 800; color: white; margin-bottom: 1rem; }
.footer-brand span { color: var(--gold); }
.footer h4 { color: white; font-weight: 700; margin-bottom: 1.25rem; font-size: 0.95rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul li a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer ul li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 20px 5%; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== DETAIL PAGE ===== */
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; max-width: 1100px; margin: 0 auto; }
.detail-img { border-radius: 16px; overflow: hidden; height: 350px; background: linear-gradient(135deg, #1B3A2D, #0D1B2A); display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--green); margin: 1rem 0; }
.detail-price .coret { font-size: 1rem; color: #999; text-decoration: line-through; font-weight: 400; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.meta-item { background: var(--green-light); color: var(--green); padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 5px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero { flex-direction: column; text-align: center; padding-top: 90px; }
    .hero-visual { display: none; }
    .hero p { margin: 0 auto 2rem; }
    .hero-actions { justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .booking-container, .detail-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .nav-links {
        display: none; flex-direction: column; position: absolute;
        top: 70px; left: 0; right: 0; background: white;
        padding: 1.5rem; box-shadow: var(--shadow-lg); gap: 1rem;
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-item .num { font-size: 1.5rem; }
}
