/* VARIABLES & RESET */
:root { 
    --bg-color: #121212; 
    --text-color: #E0E0E0; 
    --primary-color: #FF453A; 
    --font-display: 'Anton', sans-serif; 
    --font-body: 'Poppins', sans-serif; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-color); color: var(--text-color); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: 1.5px; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); text-align: center; margin-bottom: 2rem; color: #fff; }
section { padding: 60px 5%; }

/* NAVBAR */
.navbar { position: absolute; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; z-index: 100; }
.logo { font-weight: 700; font-size: 1.5rem; color: #fff; }
.nav-links { display: flex; align-items: center; }
.nav-links a { color: var(--text-color); text-decoration: none; margin: 0 15px; font-weight: 600; }
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.bar { width: 30px; height: 3px; background: #fff; }

/* TOMBOL UTAMA (BASE STYLE) */
.cta-button { 
    background: var(--primary-color); 
    color: #fff; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: 700; 
    text-decoration: none; 
    border: none; 
    cursor: pointer; 
    transition: 0.3s; 
    display: inline-block;
    text-align: center;
}
.cta-button:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(255, 69, 58, 0.4); }

/* HERO */
.hero-section { min-height: 100vh; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 80px; }
.hero-title { font-size: clamp(2.5rem, 8vw, 5rem); line-height: 1.1; color: #fff; }
.hero-title.sub { color: var(--primary-color); margin: 10px 0 30px; }
.main-cta { font-size: 1.1rem; padding: 15px 35px; }

/* BRAND LOGO (LAYOUT RAPI & TENGAH) */
.brands-logo {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 60px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1100px; /* Batasi lebar */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}
.brands-logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: 0.3s;
    max-width: 180px;
}
.brands-logo img:hover { opacity: 1; transform: scale(1.05); }

.brand-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    transition: 0.3s;
    cursor: default;
    display: inline-flex;
    align-items: center;
    height: 90px;
}
.brand-text:hover { opacity: 1; color: var(--primary-color); transform: scale(1.05); }

/* CATALOG SECTION */
.catalog-section { background: #fff; color: #222; padding-top: 50px; padding-bottom: 50px; }
.catalog-section:nth-of-type(odd) { background: #f9f9f9; }
.catalog-section:nth-of-type(even) { background: #fff; }
.section-header h2 { color: #222; margin-bottom: 30px; }

/* PILL TABS (PERBAIKAN: RAPI & WRAPPING) */
.pill-tab-container { 
    margin-bottom: 30px; 
    text-align: center; 
    padding: 0 15px;
}
.pill-track { 
    display: flex; 
    flex-wrap: wrap;          /* Agar turun ke bawah */
    justify-content: center;  /* Rata tengah */
    gap: 12px;                
    max-width: 900px;         /* Batasi lebar agar kompak */
    margin: 0 auto;           
}
.pill-btn { 
    background: #f3f3f3; 
    border: 1px solid #ddd; 
    padding: 10px 20px; 
    border-radius: 50px; 
    font-family: var(--font-body); 
    font-weight: 600; 
    font-size: 0.9rem;
    cursor: pointer; 
    transition: 0.3s; 
    white-space: nowrap;
}
.pill-btn:hover { background: #ddd; }
.pill-btn.active { background: #000; color: #fff; border-color: #000; transform: scale(1.05); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.tab-pane { display: none; animation: fadeIn 0.5s; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* PRODUCT GRID */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.product-card { text-align: center; text-decoration: none; display: block; color: #000; transition: 0.2s; }
.product-card:hover { transform: translateY(-5px); }

/* PRODUCT IMAGE (TRANSPARAN) */
.product-image { 
    width: 100%; 
    aspect-ratio: 1 / 1; 
    display: flex; align-items: center; justify-content: center; 
    margin-bottom: 10px; 
    background: transparent; 
}
.product-image img { width: 100%; height: 100%; object-fit: contain; transition: 0.3s; }
.product-card:hover img { transform: scale(1.1); }
.product-info h4 { font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; margin-top: 5px; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; border-radius: 8px; background: #333; }
.gallery-caption { text-align: center; margin-top: 5px; font-size: 0.9rem; color: #ccc; }

/* FINAL CTA SECTION */
.final-cta-section { 
    text-align: center; 
    background-attachment: fixed; 
    background-size: cover; 
    color: #fff; 
    padding: 80px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.final-headline { margin-bottom: 10px; }
.final-subheadline { 
    color: #ffffff; 
    font-size: clamp(1.8rem, 4vw, 3rem); 
    font-weight: 800; 
    margin-bottom: 30px; 
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8); 
}
.offer-list { margin-bottom: 40px; text-align: left; display: inline-block; }
.offer-list p { font-size: 1.1rem; margin-bottom: 10px; }
.offer-list p::before { content: '✔'; color: var(--primary-color); margin-right: 10px; font-weight: bold; }

/* TOMBOL FINAL CTA (PERBAIKAN UKURAN) */
.final-button { 
    padding: 15px 45px; 
    font-size: 1.2rem; 
    margin-top: 10px;
    max-width: 100%;
    white-space: normal; 
    line-height: 1.4;
}

.footer { text-align: center; padding: 25px; background: #000; font-size: 0.8rem; opacity: 0.8; }
.whatsapp-float { position: fixed; bottom: 20px; right: 20px; width: 55px; height: 55px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; }
.whatsapp-float img { width: 30px; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 75%; background: rgba(0,0,0,0.95); flex-direction: column; justify-content: center; transition: 0.4s; }
    .nav-links.active { right: 0; }
    .hero-title { font-size: 3rem; }
    
    .brands-logo { gap: 20px 30px; }
    .brands-logo img, .brand-text { height: 50px; font-size: 1.2rem; }
    
    .pill-track { gap: 8px; }
    .pill-btn { padding: 8px 15px; font-size: 0.8rem; }
    
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
    .product-info h4 { font-size: 0.7rem; }
    
    .final-subheadline { font-size: 1.5rem; }
    
    /* Tombol HP tidak terlalu besar */
    .final-button { 
        padding: 12px 20px; 
        font-size: 0.95rem; 
        width: auto;
        max-width: 90%; 
    }
    .offer-list { width: 100%; max-width: 300px; }
}