/* --- 1. FONTS & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* --- FIX SCROLL POSITION --- */
html {
    scroll-behavior: smooth; /* Scroll perlahan, tak melompat */
}

section {
    /* Paksa browser berhenti 120px lebih awal dari garisan atas */
    /* (Tinggi Navbar 80px + Top Gap 20px + Extra ruang 20px) */
    scroll-margin-top: 120px;
}

:root {
    --bg-color: #fffde8;
    --heading-color: #2c3038;
    --primary: #ffc700;
    --secondary: #eb881d;
    --white: #ffffff;
    --border-color: rgba(44, 48, 56, 0.1);
    --radius-l: 32px;
    --radius-m: 24px;
    --shadow-hover: 0 20px 40px -10px rgba(44, 48, 56, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background-color: var(--bg-color); color: var(--heading-color); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 50px 0; }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; } .mb-4 { margin-bottom: 1.5rem; }

/* --- 2. HEADER & NAVBAR --- */
header {
    position: sticky; top: 20px; z-index: 100; margin: 0 20px;
}
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    height: 80px;
    padding: 0 30px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
.logo-container { flex: 1; display: flex; align-items: center; }
.logo-img { height: 45px; width: auto; object-fit: contain; display: block; }

.nav-links { flex: 2; display: flex; justify-content: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--heading-color); }
.nav-links a:hover { color: var(--secondary); }

.nav-btn { flex: 1; display: flex; justify-content: flex-end; }

/* Responsive Mobile Navbar */
/* --- HAMBURGER MENU ICON --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--heading-color);
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* Responsive Mobile Navbar */
@media (max-width: 768px) {
    header { margin: 0; top: 0; }
    .navbar { border-radius: 0; padding: 0 20px; justify-content: space-between; }
    
    .nav-btn { display: none; } /* Sorok butang muat turun di header mobile */
    .hamburger { display: flex; } /* Munculkan burger menu */

    /* Rekaan Dropdown Menu */
    .nav-links {
        position: absolute;
        top: 80px; /* Tergantung bawah navbar */
        left: -100%; /* Sorok ke luar skrin kiri */
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Kelas aktif bila butang ditekan */
    .nav-links.active { left: 0; }

    /* Animasi ikon bertukar jadi X */
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* --- 3. BUTTONS --- */
.btn { display: inline-flex; padding: 14px 28px; border-radius: 100px; font-weight: 700; cursor: pointer; border: none; transition: 0.2s; white-space: nowrap; }
.btn-primary { background-color: var(--primary); color: var(--heading-color); box-shadow: 0 10px 20px -5px rgba(255, 199, 0, 0.4); }
.btn-primary:hover { background-color: var(--secondary); color: var(--white); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--heading-color); background: transparent; }
.btn-outline:hover { background: var(--heading-color); color: var(--primary); transform: translateY(-3px); }
.btn-outline-white { border: 2px solid #fff; color: #fff; margin-left: 10px; }
.btn-outline-white:hover { background: #fff; color: var(--heading-color); }

/* --- 4. HERO SECTION (Slider Fix) --- */
.hero-wrapper { 
    position: relative; width: 100%; height: 700px; 
    display: flex; align-items: center; justify-content: center; 
    text-align: center; overflow: hidden; 
    border-radius: 0 0 var(--radius-l) var(--radius-l); 
}
/* Layer 1: Slider */
.heroSwiper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-slide-item { background-size: cover; background-position: center; width: 100%; height: 100%; }

/* Layer 2: Overlay Gelap */
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.6); z-index: 2; /* Gelapkan 60% */
}

/* Layer 3: Content */
.hero-content { position: relative; z-index: 3; padding-top: 60px; }
.heading { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-content .heading { color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.sub-heading { font-size: 1.2rem; opacity: 0.8; max-width: 600px; margin: 0 auto 30px; }
.hero-content .sub-heading { color: rgba(255, 255, 255, 0.95); }

/* --- 5. BENTO GRID SERVICES --- */
.quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.action-card { background: var(--white); padding: 40px; border-radius: var(--radius-m); border: 1px solid var(--border-color); text-align: left; transition: 0.3s; position: relative; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.action-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--primary); }
.action-icon { font-size: 2.5rem; margin-bottom: 20px; display: inline-block; background: var(--bg-color); padding: 15px; border-radius: 16px; }
.action-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; color: var(--heading-color); }
.action-desc { margin-bottom: 30px; font-size: 0.95rem; }

/* --- 6. FEATURES --- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.feature-item { background: var(--white); padding: 30px; border-radius: var(--radius-m); border: 1px solid var(--border-color); display: flex; flex-direction: column; gap: 15px; }
.feature-number { background: var(--primary); color: var(--heading-color); width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* --- 7. VIDEO CAROUSEL --- */
.videoSwiper { width: 100%; padding-top: 40px; padding-bottom: 60px; }
.videoSwiper .swiper-slide { 
    width: 850px; height: 480px; 
    border-radius: var(--radius-m); overflow: hidden; 
    opacity: 0.3; transform: scale(0.85); transition: 0.4s; 
    border: 1px solid var(--border-color); cursor: grab; 
}
.videoSwiper .swiper-slide-active { 
    opacity: 1; transform: scale(1); 
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.3); 
    border: 4px solid var(--white); z-index: 10; cursor: default; 
}
.videoSwiper iframe { width: 100%; height: 100%; display: block; }
.videoSwiper .swiper-slide:not(.swiper-slide-active) iframe { pointer-events: none; }
.videoSwiper .swiper-slide-active iframe { pointer-events: auto; }
.swiper-pagination-bullet-active { background-color: var(--secondary) !important; }

/* --- 8. FAQ --- */
.faq-item { background: var(--white); margin-bottom: 15px; border-radius: 16px; border: 1px solid var(--border-color); }
summary { padding: 20px 25px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: '+'; font-size: 1.5rem; color: var(--secondary); }
details[open] summary::after { content: '-'; }
.faq-content { padding: 0 25px 25px; color: #555; border-top: 1px solid #f0f0f0; }

/* --- 9. FOOTER --- */
footer { background: var(--heading-color); color: var(--bg-color); padding: 80px 0 40px; border-top-left-radius: var(--radius-l); border-top-right-radius: var(--radius-l); text-align: center; }
.footer-links a { color: var(--primary); font-weight: 600; margin: 0 15px; }

/* Mobile Adjustment */
@media (max-width: 900px) {
    .videoSwiper .swiper-slide { width: 90%; height: 250px; }
    .hero-content .heading { font-size: 2.2rem; }
    .hero-wrapper { height: 600px; }
}

/* --- STYLE VIDEO PLAYLIST --- */
.video-playlist-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-m);
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.3);
    border: 4px solid var(--white);
    background: #000;
}

.video-playlist-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- HIGHLIGHT SECTION (1 Video + 2 Reels) --- */
.highlight-grid {
    display: grid;
    /* Ubah baris ini 👇 */
    grid-template-columns: 3fr 1fr; 
    gap: 100px;
    align-items: center;
}

/* Video Utama (Landscape 16:9) */
.highlight-main {
    position: relative;
    width: 105%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Reels (Portrait 9:16) */
.highlight-reel {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    background: #000;
    border-radius: var(--radius-m);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.highlight-grid iframe { width: 100%; height: 100%; object-fit: cover; }

/* Label Video */
.video-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.7); color: #fff;
    padding: 10px; font-size: 0.85rem; font-weight: 600;
    text-align: center; backdrop-filter: blur(4px);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .highlight-grid {
        grid-template-columns: 1fr; /* Jadi satu baris memanjang ke bawah */
        gap: 30px;
    }
    /* Ubah Reel jadi petak sikit (4:5) supaya tak terlalu panjang */
    .highlight-reel { aspect-ratio: 4 / 5; }
}

/* --- STYLE PAGE BARU (PRIVACY) --- */
.page-header {
    padding-top: 150px; /* Jarak dari atas sebab ada navbar */
    padding-bottom: 50px;
}

.legal-block h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.legal-block p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}