@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Super+Senior:wght@700;800;900&display=swap');

/* ========================================
   1. VARIABLES & RESET
   ======================================== */
:root {
    --green:      #3e5715;
    --orange :    #f26820; 
    --beige:      #e0d4be;
    --soft-cream: #f4eee6;
    --dark-green: #2c3f0f;
    --font-primary: 'Super Senior', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --transition: all 0.4s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: var(--font-secondary);
    line-height: 1.7;
    color: #333;
    background: var(--soft-cream);
}

*, *::before, *::after {
    box-sizing: border-box;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 { font-family: var(--font-primary); }
h4, p { font-family: var(--font-secondary); }

/* Lock scroll when mobile menu open */
body.menu-open { overflow: hidden; }

/* Pastikan semua section relative agar pattern absolute diam di dalam section */
section, .box-included-section, .about-section, .menu-section, .packages-section, .corporate, .faq, .contact {
    position: relative;
    overflow: hidden; /* Mencegah pattern keluar layar */
}

/* ========================================
   2. GLOBAL PATTERN DECORATION
   ======================================== */
.pattern-decor {
    position: absolute;
    width: 250px;        /* Ukuran Default Desktop 250px*/ /* New CSSSSSSSSSSSSSSSS */
    opacity: 0.8;      
    z-index: 1;
    pointer-events: none; 
    display: block; /* New CSSSSSSSSSSSSSSSS */
}

/* Posisi-posisi Pattern */
.p-top-left { top: -40px; left: -40px; transform: rotate(135deg); }
.p-top-right { top: -40px; right: -40px; transform: rotate(-135deg); }
.p-bottom-left { bottom: -40px; left: -40px; transform: rotate(45deg); }
.p-bottom-right { bottom: -40px; right: -40px; transform: rotate(-45deg); }

.p-mid-left { 
    top: 50%; left: -80px; 
    transform: translateY(-50%) rotate(90deg); 
}
.p-mid-right { 
    top: 50%; right: -80px; 
    transform: translateY(-50%) rotate(-90deg); 
}



/* ========================================
   3. COMPONENTS (Buttons & Pills)
   ======================================== */
.cta-button, .wa-main-btn {
    background-color: var(--orange);
    color: black;
    padding: 1.1rem 3rem;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(220, 121, 82, 0.4);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    white-space: nowrap;
}

.cta-button:hover, .wa-main-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 121, 82, 0.6);
    background: var(--orange);
}

.wa-main-btn {
    padding: 1.3rem 3.5rem;
    font-size: 1.3rem;
}

.wa-main-btn svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    fill: black;
    display: block;
}

.section-title-pill, .joinUs-title, .faq h2, .contact h2 {
    background-color: var(--green);
    color: white;
    display: block;
    width: fit-content;
    padding: 18px 60px;
    font-size: 2rem;
    border-radius: 25px;
    margin: 0 auto 50px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.joinUs-title, .faq h2, .contact h2 {
    max-width: 350px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 20px;
}

/* ========================================
   4. HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: var(--soft-cream);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img { max-width: 220px; width: 65%; height: auto; }

.nav-menu { display: flex; gap: 2.8rem; align-items: center; }
.nav-menu a { font-weight: 600; color: var(--green); transition: color 0.3s; }
.nav-menu a:hover { color: var(--orange); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px; height: 24px;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block; width: 100%; height: 4px;
    background: var(--green); border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* ========================================
   5. HERO SECTION
   ======================================== */

.mobile-break {
    display: none;
}

.hero {
    position: relative; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    color: var(--dark-green);
    overflow: hidden; 
    background-color: var(--soft-cream); 
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("../images/Baru/bg-hero.PNG");
    background-repeat: repeat;
    background-size: cover;
    background-size: cover;
    background-position: center;
    opacity: 0.6; 
    z-index: 1; 
}

.hero > * { position: relative; z-index: 2; }

.hero h1 {
    font-size: 6rem;
    color: var(--green);
    margin-bottom: 1.6rem;
    line-height: 1.7;

}
.hero p {
    font-size: 2rem;
    max-width: 800px;
    margin: 1.5rem auto 2.5rem;
    opacity: 1;
    color: var(--green);
}

.hero-content a {
    color: black;
}

.hero-platforms { margin-top: 3rem; color: var(--dark-green); }
.hero-platforms p { font-size: 1.5rem; margin-bottom: 1rem; opacity: 1; color: var(--dark-green); }

.platform-links { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; }
.platform-links a {
    display: flex; align-items: center; gap: 8px;
    color: var(--dark-green);
    font-weight: 600; font-size: 1.05rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255,255,255,0.15);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.platform-links a:hover { background: rgba(255,255,255,0.25); transform: translateY(-4px); }
.platform-links img { width: 28px; height: 28px; filter: brightness(0) invert(0); }

/* ========================================
   6. ABOUT SECTION & BOX INCLUDED
   ======================================== */
.about, .services, .faq, .contact {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-section {
    padding: 100px 0;
    background-color: #f9f6f0; 
    /* Pattern background lama dihapus jika ingin pakai <img> pattern baru */
    /* background-image: url('images/pattern-food.png'); */ 
    overflow: hidden;
}

.about-container { max-width: 1200px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 2;}

.about-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
.about-title { color: var(--green); font-size: 2.5rem; font-weight: 800; margin-bottom: 10px; text-align: center; }
.about-text { color: #444; line-height: 1.6; margin-bottom: 30px; font-size: 1.1rem; text-align: center; }

.image-wrapper {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 20px 20px 0 var(--orange);
}
.image-wrapper img { width: 100%; display: block; transition: transform 0.5s ease; }

/* Box Included Styles */
.box-included-section { 
    margin-top: 80px; 
    position: relative; /* Penting untuk pattern */
}

.box-header-row { display: flex; justify-content: flex-end; margin-bottom: 40px; }

/* Pill Label (Desktop) - Rata Kanan */
.pill-label-large {
    background: var(--green);
    color: var(--soft-cream);
    font-size: 2.2rem;
    font-weight: 700;
    padding: 18px 60px 18px 80px;
    border-radius: 50px 0 0 50px; 
    margin-right: calc((100vw - 100%) / -2); 
    position: relative;
    z-index: 2;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.1);
    display: inline-block;
    min-width: 900px;
}

.box-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.box-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.box-gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.box-features-beige {
    background: var(--beige);
    padding: 50px 40px;
    border-radius: 40px;
    display: flex; flex-direction: column; gap: 25px;
}

.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-item .num {
    background: var(--orange); color: white; width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; margin-top: 4px;
}
.feature-text h4 { color: var(--green); margin: 0 0 5px 0; font-size: 1.2rem; }
.feature-text p { margin: 0; font-size: 1rem; color: #444; }

/* Testimonials */
.testimonial-section { margin-top: 60px; padding-bottom: 60px; position: relative; z-index: 2; }
.pill-label-large-testi { background: var(--green); color: var(--soft-cream); padding: 16px 60px; border-radius: 40px; font-size: 2rem; font-weight: 700; text-align: center; }

.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 0 20px; }
.testi-card { background: #e9e4d9; padding: 40px; border-radius: 30px; position: relative; }
.testi-card p { font-style: italic; color: #555; line-height: 1.7; margin-bottom: 20px; }
.author { display: block; text-align: right; font-weight: 700; color: var(--green); }

/* ========================================
   7. MENU & PACKAGES
   ======================================== */
.menu-section, .packages-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.menu-layout {
    display: grid; grid-template-columns: 300px 1fr;
    gap: 40px; align-items: start;
    padding-left: 0; z-index: 1; position: relative;
}
.menu-left { display: flex; flex-direction: column; align-items: flex-start; }

.menu-label {
    background: var(--green);
    color: var(--soft-cream);
    padding: 24px 45px;
    border-radius: 0 30px 30px 0;
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 24px;
    min-width: 280px;
    text-align: center;
    font-family: var(--font-primary);
    margin-left: 0;
}
.btn-view-menu {
    background: var(--orange); color: var(--soft-cream); padding: 12px 30px; border-radius: 4px; 
    font-weight: 700; font-size: 0.9rem; text-decoration: none; margin-left: 45px; transition: 0.3s;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding-right: 30px;

}

.menu-card {
    background: var(--soft-cream);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.menu-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.menu-name {
    display: block;
    padding: 20px;
    font-weight: 800;
    color: var(--green);
    text-align: center;
}
/* Packages */
.packages-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
    max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2;
}
.package-card {
    background: var(--beige); border-radius: 20px; padding: 40px 25px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); display: flex; flex-direction: column; justify-content: center;
}
.package-card h4 {
    color: var(--green); font-family: var(--font-secondary); font-weight: 800;
    font-size: 1.3rem; margin-bottom: 15px; line-height: 1.2;
}
.package-list {
    list-style: none; padding: 0; margin: 20px 0 0;
    display: inline-block; flex-direction: column; align-items: center;
}
.package-list li {
    position: relative; padding-left: 20px; margin-bottom: 12px;
    color: black; font-size: 1rem; line-height: 1.4; text-align: center; display: block;
}
.package-list li::before {
    content: ""; position: absolute; left: 0; top: 8px; 
    width: 6px; height: 6px; background-color: #000; border-radius: 50%; 
}

/* ========================================
   8. CORPORATE SECTION
   ======================================== */
.corporate { text-align: center; padding: 100px 2rem; position: relative; z-index: 1;}
.corporate-title { font-size: 2rem; font-weight: 700; margin-bottom: 40px; color: var(--green); position: relative; z-index: 2;}

.corporate-action {
    display: flex; align-items: center; justify-content: center;
    gap: 36px; max-width: 1100px; margin: 0 auto 48px; position: relative; z-index: 2;
}

.btn-primary-corporate {
    background: var(--orange); color: var(--soft-cream); padding: 30px 60px;
    border-radius: 50px; font-weight: 200; text-decoration: none; white-space: nowrap; transition: 0.3s;
}
.btn-primary-corporate:hover { background: var(--orange); transform: translateY(-2px); }

.corporate-images { display: flex; gap: 20px; }
.corporate-images img {
    width: 220px; height: 240px; object-fit: cover;
    border-radius: 16px; box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.corporate-box {
    background: var(--beige); padding: 32px 40px;
    border-radius: 20px; max-width: 800px; margin: 0 auto;
    position: relative; z-index: 2;
}
.corporate-box p {
    font-size: 1.1rem; line-height: 1.7; color: var(--green);
    margin: 0; font-family: var(--font-secondary);
}

/* ========================================
   9. FAQ ACCORDION
   ======================================== */
.faq { padding-bottom: 1.5rem; margin-bottom: 0; }
.faq-container {
    max-width: 1100px; padding: 0 16px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 0.35rem; position: relative; z-index: 2;
}

.faq-item {
    background: white; border-radius: 10px;
    box-shadow: 0 3px 10px rgba(62,87,21,0.06);
    overflow: hidden; transition: 0.3s;
}
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(62,87,21,0.09); }

.faq-question {
    padding: 1.1rem 1.8rem; background: var(--green); color: white; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-primary); font-weight: 800; font-size: 1.15rem; line-height: 1.4; transition: 0.3s;
}
.faq-question:hover { background: var(--dark-green); }
.faq-question h3 { margin: 0; }

.faq-toggle { font-size: 1.5rem; font-weight: 500; transition: transform 0.35s ease; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-item.active .faq-question { background: var(--orange); }

.faq-answer {
    max-height: 0; overflow: hidden; background: #fefdfa;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p { margin: 0; font-size: 1rem; line-height: 1.65; color: #555; }
.faq-item.active .faq-answer { max-height: 300px; padding: 1rem 1.8rem; }

.faq-footer { margin-top: 20px; text-align: center; }
.faq-footer-title { font-size: 1.6rem; font-weight: 600; color: var(--dark-green); margin-bottom: 5px; }
.faq-footer-text { font-size: 1.2rem; color: var(--dark-green); }

/* ========================================
   10. CONTACT & FOOTER
   ======================================== */
.contact { padding-top: 1.5rem; margin-top: 0; text-align: center; }
.contact-form { max-width: 600px; margin: 2rem auto 0; }

.contact-info-text { margin: 2.5rem auto 2.8rem; text-align: center; position: relative; z-index: 2; }
.contact-label { display: block; font-size: 2.2rem; font-weight: 600; color: #000; }
.contact-subtext {
    display: block; font-size: 1.2rem; font-weight: 300;
    letter-spacing: 1.5px; color: #000; margin-bottom: 0.6rem;
}

.contact-icons { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; position: relative; z-index: 2; }
.contact-icons a { color: var(--dark-green); font-size: 2rem; transition: 0.3s; }
.contact-icons a:hover { color: var(--green); }

.footer { background: var(--green); color: white; text-align: center; padding: 2.5rem; font-size: 0.95rem; }

/* =========================================================================
   11. MEDIA QUERIES (CONSOLIDATED)
   ========================================================================= */



/* --- Tablet / Small Desktop (Max 992px) --- */

/* =========================================================================
   11. MEDIA QUERIES (FULL REFINED - STEP BY STEP)
   ========================================================================= */

/* --- A. LAPTOP & TABLET (Max 1180px) --- */

@media (max-width: 818px) {
    /* Layouts to Single Column */
    .about-row, .box-layout, .testimonial-grid, .menu-grid, .packages-grid {
        grid-template-columns: 1fr;
    }

    /* Hero Text Adjustment */
    .hero h1 {
        font-size: 4.2rem;
        white-space: normal; /* Biar teks tidak meluap */
        line-height: 1.2;
    }

    .mobile-break {
        display: block; /* Aktifkan pindah baris */
    }

    .logo img { width: 160px; }

    /* About Section & Box Included */
    .about-row { text-align: center; }
    .image-wrapper { max-width: 500px; margin: 0 auto; }
    .box-gallery { order: 2; margin-top: 20px; }
    .box-features-beige { order: 1; }
    
    .box-header-row { 
        justify-content: center; 
        width: 100%;
        margin-bottom: 30px;
    }
    
    /* Center Pill Labels */
    .pill-label-large {
        min-width: auto;
        width: auto;
        max-width: 90%;
        margin: 0 auto;
        right: auto;
        font-size: 1.6rem;
        padding: 15px 40px;
        text-align: center;
        border-radius: 50px;
        display: block;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Menu & Packages */
    .menu-layout {
            grid-template-columns: 1fr;
        }
    
    .menu-left {
            align-items: center;
            text-align: center;
        }
    .menu-label { 
        border-radius: 20px; 
        margin-left: 0; 
        min-width: auto; 
        width: 50%;
        padding: 10px;
    }
    .btn-view-menu { margin-left: 0; margin-top: 10px; }
    
    .menu-grid, .packages-grid { 
        max-width: 600px; 
        margin: 0 auto; 
        padding: 0 20px; 
    }

    /* Navigation (Keep horizontal for Tablets) */
        .nav-menu {
            gap: 1.5rem;
        }
    
        .nav-menu a {
            font-size: 1rem;
                
        }
}

/* --- B. MOBILE STANDARD (Max 768px) --- */

@media (max-width: 768px) {
    /* Header & Nav */
    .nav { height: 75px; padding: 0 20px; }
    .logo img { width: 140px; }
    .hamburger { display: flex; }
    
    /* Transform Menu ke Sidebar Mobile */
    .nav-menu {
        position: fixed; 
        top: 75px; 
        left: -100%;
        width: 100%; 
        height: calc(100vh - 75px);
        background: var(--soft-cream); 
        flex-direction: column;
        padding-top: 50px; 
        transition: 0.4s ease-in-out;
        justify-content: flex-start; 
        align-items: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .nav-menu.active { left: 0; }
    .nav-menu a { width: 100%; text-align: center; padding: 1.5rem 0; font-size: 1.4rem; }

    /* Hero Mobile */
    .hero { 

        height: 100vh;       
        min-height: 100vh;   
        padding-top: 80px;  
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 3rem;
    }

    .hero-content {
        margin-top: -40px;   
    
    }
        .hero h1 {
            font-size: 3.2rem;
        }
    
        .hero p {
            font-size: 1.2rem;
            margin: 1rem auto 2rem;
            font-weight: 500;
        }
    
    .wa-main-btn {
        padding: 1.1rem 2.5rem; 
        font-size: 1.1rem;
    }

    /* Pattern Decor Scaling */
    .pattern-decor { width: 220px; opacity: 0.6; }

    /* Sections Adjustment */
    .services, .about, .faq, .contact, .corporate { 
        padding: 60px 20px; 
    }
    .section-title-pill, .joinUs-title, .faq h2, .contact h2 { 
        font-size: 1.8rem; 
        padding: 15px 40px;
        margin-bottom: 30px;
    }

    /* Corporate */
    .corporate-action { flex-direction: column; gap: 20px; }
    .corporate-images { flex-direction: column; align-items: center; }
    .corporate-images img { width: 100%; max-width: 350px; height: auto; }
}

/* --- C. SMALL MOBILE (Max 480px) --- */

@media (max-width: 480px) {
    .logo img {
            width: 120px;
            margin-left:-2.5rem;
        }

    /* Hero Small Mobile */
        .hero h1 {
            font-size: 2.8rem;
        }
    
        .hero p {
            font-size: 1rem;
            font-weight: 500; 
        }
    .hero {
        height: 100vh;       
        min-height: 100vh;   
        padding-top: 80px;  
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 3rem;
    }

    .hero-content {
        margin-top: -40px;   
    }

    
    .platform-links a { font-size: 0.9rem; padding: 0.5rem 1rem; }

    /* About & Labels */
    .about-title { font-size: 1.8rem; }
    .pill-label-large { font-size: 1.3rem; padding: 12px 25px; width: 95%; }

    /* Features Small */
    .box-features-beige { padding: 30px 15px; }
    .feature-item { gap: 10px; }
    .feature-text h4 { font-size: 1.1rem; }
    
    /* FAQ & Testimonials */
    .pill-label-large-testi { font-size: 1.5rem; padding: 12px 30px; }
    .testi-card { padding: 25px; }
    
    .faq-question { padding: 1rem; font-size: 0.95rem; }
    
    /* Footer Scaling */
    .footer { padding: 1.5rem; font-size: 0.85rem; }
    
    /* Pattern Decor Minimalist */
    .pattern-decor { width: 200px; }
}