/* ===========================
   1. GLOBAL VARIABLES & RESET
============================ */
/* IMPORT POPPINS FONT (ALL WEIGHTS) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg-black: #050505;
    --primary-red: #ff3b30;
    --text-white: #ffffff;
    --card-bg: #ffffff;
    --text-black: #333333;
    
    /* BUTTON COLORS */
    --whatsapp-green: #35d366;
    --shopee-orange: #ee4d2d;
    --tiktok-black: #000000;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    /* CHANGED: GLOBAL FONT TO POPPINS */
    font-family: 'Poppins', sans-serif;
}

/* HIDE SCROLLBAR */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* =========================================
   2. MOBILE FIRST STYLES (Default for ALL screens)
========================================= */
body {
    background-color: #f4f4f4;
    color: var(--text-black);
    min-height: 100vh;
}

.main-wrapper {
    background-color: #fff;
    width: 100%;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    padding-top: 70px; 
}

/* STANDARD CONTAINER (For Body Content) */
.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

/* --- NAVIGATION --- */
.site-header {
    background-color: #000;
    padding: 15px 0;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

/* NAV CONTAINER OVERRIDE - Forces Full Width */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important; 
    margin: 0 !important;
    padding: 0 30px !important; 
}

.logo img { 
    height: 60px; /* HEADER LOGO SIZE */
    display: block; 
}

.menu-toggle {
    display: block !important; 
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px; 
    height: 100vh;
    background-color: #1a1a1a;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transform: translateX(100%); 
    transition: transform 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

.mobile-nav-overlay.active { transform: translateX(0); }

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.menu-title { color: #fff; font-weight: bold; font-size: 20px; }
.close-menu { background: none; border: none; color: #fff; font-size: 30px; cursor: pointer; }

.nav-links { display: flex; flex-direction: column; gap: 25px; }
.nav-item { color: #ccc; text-decoration: none; font-size: 18px; transition: 0.3s; }
.nav-item:hover { color: var(--primary-red); }

.menu-socials { margin-top: auto; display: flex; justify-content: center; gap: 25px; padding-bottom: 20px; }
.social-link { color: #fff; font-size: 24px; }

.language-selector {
    padding-top: 20px;
    padding-bottom: 30px;
    border-top: 1px solid #333;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}
.lang-btn { background: none; border: none; color: #888; cursor: pointer; font-weight: bold; }
.lang-btn.active { color: var(--primary-red); }


/* --- SECTIONS --- */
.hero-carousel { 
    width: 100%; 
    overflow: hidden; 
    position: relative; 
    background: #f0f0f0;
    aspect-ratio: 16 / 9; 
}

.carousel-track { 
    display: flex; 
    transition: transform 0.5s ease; 
    height: 100%; 
}

.carousel-slide { 
    min-width: 100%; 
    height: 100%; 
}

.carousel-slide img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
}

.carousel-indicators { display: flex; justify-content: center; gap: 10px; margin-top: -30px; position: relative; z-index: 10; padding-bottom: 15px; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; }
.dot.active { background: var(--primary-red); }

/* --- PRODUCT PREVIEW --- */
.product-preview { 
    padding: 20px 0 40px; 
    text-align: center; 
}
.section-title { font-size: 24px; margin-bottom: 20px; color: #000; }
.text-red { color: var(--primary-red); }

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 500px;
}

.card-viewer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-arrow {
    background: none;
    border: none;
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    padding: 10px;
}

.main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: none;
}
.main-image img.active { display: block; }

.color-picker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.picker-label { font-weight: bold; margin-bottom: 5px; }
.colors { display: flex; gap: 10px; }
.color-dot { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; transition: 0.3s; }
.color-dot.red { background: #cc0000; }
.color-dot.green { background: #1b4d3e; }
.color-dot.blue { background: #0033cc; }
.color-dot.active-color { border-color: #333; }


/* Marquee */
.category-section { padding: 40px 0; text-align: center; overflow: hidden; }
.section-header { margin-bottom: 30px; }
.section-header h2 { font-size: 24px; font-weight: bold; margin-bottom: 10px; }
.section-header p { font-size: 14px; color: #666; }

.marquee-wrapper { width: 100%; overflow: hidden; margin-bottom: 20px; position: relative; }
.marquee-track { 
    display: flex; 
    gap: 20px; 
    width: max-content; 
    padding-left: 0; 
}

.category-card { 
    width: 160px; 
    flex-shrink: 0; 
    border-radius: 10px; 
    overflow: hidden; 
    position: relative;
}

.cat-image img { width: 100%; height: 180px; object-fit: cover; display: block; }
.cat-label { background: #000; color: #fff; padding: 8px; font-size: 12px; font-weight: bold; text-align: center; width: 100%; }

@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.scroll-left { animation: scrollLeft 30s linear infinite; }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }
.scroll-right { animation: scrollRight 30s linear infinite; }


/* --- INFO GRID --- */
.info-section { 
    background: #f4f4f4; 
    padding: 80px 0 150px 0; 
    text-align: center; 
}

.info-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px; 
    justify-content: center; 
}

.info-card { 
    background: #fff; 
    border-radius: 10px; 
    padding: 15px 5px; 
    width: 100%; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    min-height: 120px;
    text-align: center; 
}

.info-card h4 { 
    font-size: 11px; 
    font-weight: bold; 
    margin-bottom: 5px; 
    line-height: 1.2;
}

.info-number { 
    font-size: 20px; 
    font-weight: 900; 
    color: var(--primary-red); 
    margin-bottom: 5px;
}

.small-desc { 
    font-size: 9px; 
    color: #666; 
    text-align: center; 
    line-height: 1.2;
}

/* Counter */
.counter-section { 
    background: radial-gradient(circle at center, #600000 0%, #000000 90%);
    color: #fff; 
    padding: 70px 0; 
    text-align: center;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}
.counter-section h3 { 
    font-family: 'Poppins', sans-serif;
    font-size: 24px; 
    font-weight: 900; 
    text-transform: uppercase; 
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.counter-wrapper { 
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-size: 60px; 
    font-weight: 900; 
    line-height: 1;
    margin: 15px 0;
    color: #ff0000; 
    -webkit-text-stroke: 2.5px #ffffff; 
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.6));
}
.plus { font-family: inherit; -webkit-text-stroke: 2.5px #ffffff; }

/* Clients */
.clients-section { 
    background: #fff; 
    padding: 60px 0; 
    text-align: center; 
}

.clients-section h2 {
    margin-bottom: 50px; 
    font-size: 24px;
    font-weight: bold;
}

.client-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    align-items: center; 
    justify-items: center; 
}
.client-logo img { width: 100%; max-width: 80px; }
.wide-span { grid-column: 1 / -1; margin-top: 10px; }

/* FAQ SECTION */
.faq-section { 
    background-color: #000; 
    color: #fff; 
    padding: 80px 0; 
    text-align: center; 
}
.section-subtitle { color: #ccc; margin-bottom: 40px; }

.faq-list { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    margin: 0 auto; 
    max-width: 800px; 
}

.faq-card { 
    background-color: #ffffff; 
    color: #000000; 
    padding: 30px; 
    border-radius: 15px; 
    text-align: left; 
    border: none;
}
.faq-card h4 { font-size: 18px; font-weight: bold; margin-bottom: 15px; color: #000; }
.faq-card p { font-size: 14px; color: #333; line-height: 1.6; }

/* Others */
.location-section { background: #fff; padding: 50px 0; }
.red-subtitle { color: var(--primary-red); font-weight: bold; text-transform: uppercase; font-size: 14px; margin-bottom: 5px; }
.map-container iframe { width: 100%; height: 300px; border-radius: 10px; }

/* --- FEATURES SECTION --- */
.features-section { 
    background: #f9f9f9; 
    padding: 60px 0; 
    text-align: center;
}
.features-container-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    max-width: 800px; 
    margin: 0 auto;
}
.feature-card { 
    background: #ffffff; 
    padding: 40px; 
    border-radius: 10px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); 
    /* LEFT ALIGN TEXT */
    text-align: left; 
}
.feature-card h3 { 
    font-size: 22px; 
    font-weight: 800; 
    margin-bottom: 15px; 
    color: #000; 
}
.feature-card p { 
    font-size: 16px; 
    line-height: 1.6; 
    color: #444; 
}


/* --- CTA SECTION --- */
.cta-section { background: #fff; padding: 60px 0; text-align: center; }

/* UPDATED FONT STYLES TO MATCH 2ND IMAGE */
.cta-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* Made slightly heavier to look like a heading but smaller */
    font-size: 24px; /* Reduced from default large h2 size */
    color: #333;
    padding-top: 20px;
    margin-bottom: 5px; /* Tighten gap to subtitle */
}

.cta-section p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400; /* Regular weight */
    font-size: 16px; /* Slightly larger for readability */
    color: #555;
    padding-top: 0; /* Remove top padding to sit closer to H2 */
    margin-bottom: 30px;
}

.cta-buttons { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    max-width: 500px; 
    margin: 0 auto; 
}
.btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: 8px; color: #fff; text-decoration: none; font-weight: bold; width: 100%; }
.btn-whatsapp { background-color: var(--whatsapp-green); }
.marketplace-row { display: flex; gap: 10px; }
.btn-shopee { background-color: var(--shopee-orange); flex: 1; }
.btn-tiktok { background-color: var(--tiktok-black); flex: 1; }

/* Footer */
.site-footer { background: #000; color: #fff; padding: 50px 0 0; text-align: center; border-top: 1px solid #222; }
.footer-grid { display: flex; flex-direction: column; gap: 30px; }
.footer-logo img { height: 60px; margin-bottom: 20px; } /* FOOTER LOGO SIZE */
.social-icons { display: flex; justify-content: center; gap: 20px; margin-top: 10px; }
.footer-links a { color: #ccc; text-decoration: none; display: block; margin-bottom: 5px; font-size: 13px;}
.footer-bottom { padding: 20px; border-top: 1px solid #222; margin-top: 20px; font-size: 12px; color: #666; }


/* =========================================
   3. DESKTOP MEDIA QUERIES
========================================= */
@media (min-width: 1024px) {

    .main-wrapper { 
        max-width: 100%; 
        box-shadow: none; 
        padding-top: 70px; 
    }
    
    .container { max-width: 1200px; margin: 0 auto; }

    /* Nav: Full Width */
    .nav-container {
        max-width: 100% !important;
        padding: 0 30px !important;
    }

    /* Navigation */
    .menu-toggle { display: block; }
    .mobile-nav-overlay { width: 350px; }

    /* Product Preview */
    .product-preview { padding: 80px 0 80px; }
    
    .product-card { 
        max-width: 900px; 
        padding: 60px; 
    }
    .main-image img { max-width: 500px; }
    .color-picker { flex-direction: row; margin-top: 20px; }
    .color-dot { width: 40px; height: 40px; }
    .nav-arrow { font-size: 32px; }

    /* Marquee */
    .marquee-track { justify-content: flex-start; flex-wrap: nowrap; }
    .category-card { width: 220px; }
    .cat-image img { height: 250px; }

    /* Info Grid */
    .info-grid { gap: 30px; } 
    .info-card { 
        padding: 40px; 
        min-height: auto; 
    }
    .info-card h4 { font-size: 16px; margin-bottom: 10px; }
    .info-number { font-size: 28px; }
    .small-desc { font-size: 12px; }

    /* Counter */
    .counter-wrapper { font-size: 80px; }

    /* CLIENTS: MAKE LOGOS BIGGER */
    .client-logo img { 
        max-width: 120px; 
    }

    /* FAQ */
    .map-container iframe { height: 500px; }

    /* Features */
    .cta-buttons { max-width: 600px; }

    /* Footer: LEFT ALIGNED TEXT */
    .site-footer { text-align: left; }
    
    .footer-grid { 
        display: grid; 
        /* CHANGED HERE: */
        /* '2fr' gives the first column (About Us) double the space of the others */
        grid-template-columns: 2fr 1fr 1fr 1fr; 
        gap: 40px; 
        align-items: start; 
        justify-items: start; 
        
        max-width: 1200px; 
        margin: 0 auto; 
        /* Reduced left padding slightly to give content more room */
        padding-left: 50px; 
    }
    
    /* Push other columns down slightly to match alignment */
    .footer-column:not(:first-child) {
        padding-top: 80px; 
    }
    
    .footer-bottom { text-align: center; }

    .social-icons { justify-content: flex-start; } 
    .footer-logo img { margin-bottom: 20px; }
}