/* style.css untuk BetawAI Website - Disempurnakan */

/* -------------------------------------- */
/* I. GLOBAL VARIABLES & RESET */
/* -------------------------------------- */

:root {
    /* Palet Warna Khas Betawi yang Disepakati */
    --color-primary: #C0392B;     /* Merah Betawi - Utama/Aksi */
    --color-secondary: #F1C40F;   /* Kuning Emas - Aksen/Highlight */
    --color-tertiary: #27AE60;    /* Hijau Adat - CTA/Sukses */
    --color-bg-dark: #2C3E50;     /* Dark Grey Blue - Footer */
    --color-bg-light: #FAFAFA;    /* Abu Terang - Background Bersih */
    --color-text-dark: #34495E;   /* Dark Text */
    --color-text-light: #FFFFFF;  /* Putih */
    --font-primary: 'Poppins', sans-serif;
    --border-radius-base: 8px;
    --shadow-base: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden; /* Mencegah scroll horizontal pada mobile */
}

a { text-decoration: none; color: inherit; }

.container { 
    max-width: 1280px; /* Sedikit dilebarkan */
    margin: 0 auto; 
    padding: 0 5%; 
}


/* -------------------------------------- */
/* II. HEADER & NAVIGASI */
/* -------------------------------------- */

.header-betawai {
    background-color: var(--color-text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

.nav-content {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 0; 
    min-height: 80px; /* Tinggi disesuaikan */
}

.logo-brand {
    display: flex;
    align-items: center;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--color-primary);
    gap: 8px;
}
.logo-icon { width: 40px; height: 40px; object-fit: contain; } /* Jika menggunakan ikon SVG */


.nav-menu ul { 
    list-style: none; 
    display: flex; 
}

.nav-menu ul li { margin-left: 30px; }

.nav-menu ul li a { 
    color: var(--color-text-dark); 
    font-weight: 600; 
    transition: color 0.3s; 
    padding: 5px 0;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active { 
    color: var(--color-primary); 
    border-bottom: 2px solid var(--color-primary);
}

.btn-masuk {
    padding: 8px 20px; 
    background-color: var(--color-secondary); 
    color: var(--color-text-dark);
    border-radius: 25px; 
    font-weight: 700; 
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-masuk:hover { background-color: #E7B000; } /* Sedikit lebih gelap */

/* Hamburger Icon (Hanya tampil di mobile) */
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--color-text-dark); transition: all 0.3s ease-in-out; }


/* -------------------------------------- */
/* III. HERO SECTION */
/* -------------------------------------- */

.hero-betawai {
    /* Mengganti gradien agar sesuai palet dan lebih elegan */
    background: linear-gradient(135deg, var(--color-primary), #FF5722); 
    color: var(--color-text-light); 
    padding: 100px 0; 
}

.hero-content {
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px;
}

.hero-text { max-width: 55%; }

.hero-text h1 { 
    font-size: 3.8em; 
    margin-bottom: 20px; 
    line-height: 1.1; 
}

.hero-text p { 
    font-size: 1.25em; 
    margin-bottom: 40px; 
    font-weight: 300;
}

.btn-cta {
    display: inline-block; 
    padding: 15px 35px; 
    background-color: var(--color-tertiary); /* Hijau Adat */
    color: var(--color-text-light); 
    border-radius: 30px; 
    font-weight: 700; 
    font-size: 1.1em;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); 
    transition: transform 0.3s, background-color 0.3s;
}
.btn-cta:hover { 
    transform: translateY(-3px); 
    background-color: #21904E; /* Hijau lebih gelap */
}

.hero-image { flex-shrink: 0; }
.hero-image img { 
    max-width: 100%; 
    height: auto; 
    width: 450px; /* Ukuran dilebarkan */
    border-radius: var(--border-radius-base); 
    object-fit: contain;
}


/* -------------------------------------- */
/* IV. MAIN CONTENT SECTIONS (3 PILAR) */
/* -------------------------------------- */

.main-section { 
    padding: 100px 0; 
    border-bottom: 1px solid #E0E0E0; 
}

h2 { 
    font-size: 2.8em; 
    margin-bottom: 50px; 
    text-align: center; 
    color: var(--color-primary); 
    font-weight: 800; 
}

.section-content { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 80px; /* Gap diperlebar */
}

.section-text { flex: 1; }

.section-text h3 { /* Mengubah h2 ke h3 di dalam section-text */
    font-size: 2em; 
    text-align: left; 
    margin-bottom: 15px; 
    color: var(--color-text-dark);
}

.section-text p { 
    margin-top: 15px; 
    font-size: 1.1em; 
    line-height: 1.8;
}

.section-image { flex: 1; }

.section-image img { 
    width: 100%; 
    border-radius: var(--border-radius-base); 
    box-shadow: var(--shadow-base); 
}

.kebudayaan-bg { 
    background-color: #F0F4F7; /* Sedikit lebih gelap dari bg-light */
}

.reverse-layout { 
    flex-direction: row-reverse; 
}


/* -------------------------------------- */
/* V. FOOTER */
/* -------------------------------------- */

footer {
    background-color: var(--color-bg-dark); 
    color: var(--color-text-light);
    text-align: center; 
    padding: 40px 0;
    font-size: 0.9em;
}
.footer-text { margin-bottom: 15px; }


/* -------------------------------------- */
/* VI. RESPONSIVITAS (Mobile First) */
/* -------------------------------------- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-content { gap: 20px; }
    .hero-text h1 { font-size: 3em; }
    .section-content { gap: 40px; }
    .section-text h3 { font-size: 1.8em; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Navigasi Mobile (Hamburger Menu) */
    .nav-menu {
        position: fixed;
        top: 80px; /* Di bawah header */
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-light);
        flex-direction: column;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 30px;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }
    .nav-menu ul li {
        margin: 15px 0;
    }

    .hamburger { display: block; }
    .btn-masuk { margin-left: 20px; }


    /* Hero Section Mobile */
    .hero-betawai { padding: 60px 0; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { max-width: 100%; margin-bottom: 30px; }
    .hero-text h1 { font-size: 2.5em; }
    .hero-image { order: -1; margin-bottom: 20px; }
    .hero-image img { width: 90%; }
    
    /* Main Content Mobile */
    .main-section { padding: 60px 0; }
    h2 { font-size: 2em; margin-bottom: 30px; }
    .section-content, .reverse-layout { flex-direction: column; }
    .section-text, .section-image { max-width: 100%; }
    .section-text h3 { text-align: center; }
}

/* Tambahkan sedikit JavaScript (untuk class active pada nav-menu) agar hamburger berfungsi */


/* Styling Dasar */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

header {
    background: #007bff; /* Warna biru untuk Jakarta */
    color: #fff;
    padding-top: 10px;
    min-height: 70px;
    border-bottom: #0056b3 3px solid;
}

header h1 {
    float: left;
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

header ul {
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

/* Bagian Hero */
.hero-section {
    background: #e7e7e7;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 20px;
}

/* Card Grid */
.card-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    padding: 20px;
    margin-top: 20px;
    color: #ffffff;
    background-color: #333;
    text-align: center;
}

/* Di dalam file style.css */


