/* --- GLOBAL VARIABLES & RESET --- */
:root {
    --brand-green: #8ec31f;
    --deep-space: #0c0d21;
    --text-dark: #333333;
    --white: #ffffff;
    --dark-green: #011418;
    --light-gray: #f4f6f8;
    --border-color: #e0e0e0;
}
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Figtree', sans-serif; background-color: var(--deep-space); color: #ffffff; overflow-x: hidden; }

/* --- HEADER --- */
header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 5%; position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: transparent; border-bottom: 1px solid rgba(255,255,255,0.1); transition: all 0.4s ease; }
header.scrolled { background-color: rgba(1, 20, 24, 0.95); padding: 1rem 5%; border-bottom: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(12px); }
.logo-link { text-decoration: none; position: relative; z-index: 1002; }
.logo-img { height: 35px; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { color: #e0e0e0; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.3s; }
.nav-link:hover { color: var(--brand-green); }
.header-right { display: flex; align-items: center; gap: 3rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1002; }
.bar { width: 25px; height: 2px; background-color: #fff; transition: all 0.3s ease; }
.hamburger.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background-color: var(--dark-green); display: flex; flex-direction: column; justify-content: space-between; padding: 100px 8% 120px; transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1); z-index: 1001; text-align: left; }
.mobile-menu.open { right: 0; }
.mobile-nav-group { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-link { font-size: 2rem; color: white; text-decoration: none; font-weight: 700; letter-spacing: -0.5px; transition: color 0.2s; }
.mobile-link:hover { color: var(--brand-green); }
.mobile-info-group { display: flex; flex-direction: column; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; }
.mobile-contact-item { color: #888; font-size: 0.95rem; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.mobile-contact-item svg { width: 18px; height: 18px; fill: var(--brand-green); }

/* Buttons */
.btn-unified { display: inline-flex; align-items: center; justify-content: center; min-width: 180px; height: 50px; padding: 0 2rem; border-radius: 50px; font-size: 0.95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all 0.3s ease; box-sizing: border-box; line-height: 1; }
.btn-contact { background-color: var(--brand-green); border: 1px solid var(--brand-green); color: white; box-shadow: 0 4px 15px rgba(142, 195, 31, 0.4); }
.btn-contact:hover { opacity: 0.9; transform: translateY(-1px); }

/* Floating WhatsApp */
.fab-whatsapp { display: none; position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; border-radius: 50%; background-color: #25D366; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); align-items: center; justify-content: center; z-index: 2000; text-decoration: none; transition: transform 0.3s; }
.fab-whatsapp svg { width: 32px; height: 32px; fill: white; }
.fab-whatsapp:hover { transform: scale(1.1); }

/* HERO */
.hero { position: relative; width: 100%; height: 100vh; background-color: var(--deep-space); overflow: hidden; }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transform: scale(1.1); transition: opacity 1.5s ease-in-out, transform 8s linear; z-index: 1; }
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.7) 100%); z-index: 3; pointer-events: none; }
.hero-content { position: absolute; top: 50%; left: 5%; transform: translateY(-50%); z-index: 10; max-width: 800px; color: white; }
.hero-title { font-size: 4.5rem; font-weight: 600; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; text-shadow: 0 3px 3px rgba(0,0,0,0.2); }
.hero-subtitle { font-size: 1.50rem; font-weight: 100; color: #f0f0f0; margin-bottom: 2.5rem; text-shadow: 0 1px 1px rgba(0,0,0,0.2); }

/* CATEGORIES */
.category-strip { background-color: #f4f6f8; padding: 5rem 5%; width: 100%; position: relative; z-index: 10; overflow: hidden; }
.category-container { display: flex; justify-content: center; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 4rem; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; cursor: pointer; width: 120px; flex-shrink: 0; }
.cat-circle { width: 110px; height: 110px; border-radius: 50%; background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.08); display: flex; align-items: center; justify-content: center; border: 2px solid rgba(0,0,0,0.05); transition: all 0.3s ease; overflow: hidden; }
.cat-item:hover .cat-circle, .cat-item.active .cat-circle { border-color: var(--brand-green); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(142, 195, 31, 0.2); }
.cat-item.active .cat-circle { transform: scale(1.05); border-width: 3px; }
.cat-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-item:hover .cat-img { transform: scale(1.1); }
.cat-label { color: var(--text-dark); font-size: 1.05rem; font-weight: 600; text-align: center; }

/* PRODUCTS */
.product-section { background-color: #ffffff; padding: 4rem 5% 6rem; text-align: center; }
.section-title { color: var(--text-dark); font-size: 1.8rem; font-weight: 700; margin-bottom: 3.5rem; letter-spacing: -0.5px; }
.filter-bar { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.filter-btn { padding: 8px 25px; border: 1px solid #e0e0e0; background: white; border-radius: 30px; cursor: pointer; color: #666; font-weight: 600; transition: all 0.2s; font-family: inherit; font-size: 0.95rem; }
.filter-btn:hover { background: #f9f9f9; color: var(--text-dark); }
.filter-btn.active { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 3rem 2rem; max-width: 1200px; margin: 0 auto; }
.product-card { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; transition: all 0.4s ease; }
.product-card.hidden { display: none; }
.image-box { position: relative; width: 100%; aspect-ratio: 1 / 1; background-color: #f0f0f0; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); overflow: hidden; padding: 0; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.image-box:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.card-carousel-slide { min-width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 0; position: relative; }
.product-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Visible Arrow Style */
.card-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, 0.9); cursor: pointer; width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,0.15); z-index: 20; opacity: 1 !important; }
.card-arrow:hover { background: var(--brand-green); }
.card-arrow svg { fill: #333; transition: fill 0.2s; }
.card-arrow:hover svg { fill: white; }
.c-left { left: 10px; } 
.c-right { right: 10px; }
.card-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 20; background: rgba(255,255,255,0.4); backdrop-filter: blur(4px); padding: 4px 8px; border-radius: 10px; }
.dot { width: 6px; height: 6px; background-color: rgba(0,0,0,0.5); border-radius: 50%; transition: background-color 0.3s; }
.dot.active { background-color: #000; }
.product-info { text-align: center; display: flex; flex-direction: column; gap: 0.3rem; }
.model-text { color: #999; font-size: 0.85rem; font-weight: 400; }
.product-name { color: var(--text-dark); font-size: 1.05rem; font-weight: 600; }
.load-more-container { margin-top: 5rem; }
.btn-load-more { background-color: transparent; border: 1px solid #ccc; color: var(--text-dark); }
.btn-load-more:hover { background-color: var(--brand-green); border-color: var(--brand-green); color: white; }

/* TESTIMONIALS */
.testimonials-section { background-color: #f9f9f9; padding: 5rem 5%; text-align: center; overflow: visible; }
.section-title-sm { color: #333; font-size: 2rem; font-weight: 600; margin-bottom: 4rem; letter-spacing: -0.5px; }
.testimonial-wrapper { position: relative; max-width: 1300px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.testimonial-viewport { width: 100%; overflow: hidden; padding: 20px 10px; cursor: grab; }
.testimonial-viewport:active { cursor: grabbing; }
.testimonial-track { display: flex; gap: 30px; transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); will-change: transform; user-select: none; }
.review-card { flex: 0 0 calc((100% - 60px) / 3); background: white; border-radius: 12px; padding: 3rem 1.5rem; text-align: center; box-shadow: 0 5px 25px rgba(0,0,0,0.04); display: flex; flex-direction: column; align-items: center; gap: 1rem; border: 1px solid #f0f0f0; user-select: none; }
.stars { color: var(--brand-green); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 0.5rem; }
.user-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-bottom: 0.2rem; background-color: #eee; pointer-events: none; }
.user-name { color: #000; font-weight: 700; font-size: 1.1rem; margin-bottom: 0; }
.review-text { color: #666; font-size: 0.95rem; line-height: 1.6; max-width: 90%; margin-bottom: 1rem; }
.nav-btn { background: transparent; border: none; width: 50px; height: 50px; cursor: pointer; display: flex; align-items: center; justify-content: center; user-select: none; transition: all 0.2s; position: absolute; top: 50%; transform: translateY(-50%); z-index: 30; color: #333; }
.nav-btn svg { width: 40px; height: 40px; stroke-width: 1.5; stroke: currentColor; fill: none; }
.nav-btn:hover { color: var(--brand-green); transform: translateY(-50%) scale(1.1); }
.nav-prev { left: -50px; } .nav-next { right: -50px; }

/* CONTACT */
.contact-section { background-color: #ffffff; padding: 5rem 5%; color: #333; }
.contact-container { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 4rem; justify-content: space-between; }
.contact-form-col { flex: 1; min-width: 300px; }
.contact-title { font-size: 2rem; font-weight: 700; margin-bottom: 2.5rem; color: #222; }
.form-group { margin-bottom: 1.5rem; }
.form-input { width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid #e0e0e0; font-family: 'Figtree', sans-serif; font-size: 1rem; color: #333; outline: none; transition: border-color 0.3s; background: transparent; }
.form-input::placeholder { color: #999; font-weight: 400; }
.form-input:focus { border-bottom-color: var(--brand-green); }
.btn-send { background-color: var(--brand-green); color: #fff; border: 1px solid var(--brand-green); margin-top: 1rem; }
.btn-send:hover { opacity: 0.9; transform: translateY(-2px); }
.contact-info-col { flex: 1; min-width: 300px; }
.info-list { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.info-item { display: flex; align-items: flex-start; gap: 15px; color: #555; font-size: 0.95rem; line-height: 1.6; }
.info-icon { width: 22px; height: 22px; flex-shrink: 0; fill: #000000; margin-top: 2px; }
.map-wrapper { width: 100%; height: 250px; border-radius: 12px; overflow: hidden; position: relative; background-color: #eee; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.map-iframe { width: 100%; height: 100%; border: none; filter: grayscale(0.2); }

/* FOOTER */
footer { background-color: var(--dark-green); color: #fff; padding: 4rem 5% 2rem; text-align: center; }
.footer-content { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-logo-img { height: 40px; width: auto; margin-bottom: 0.5rem; }
.footer-text { color: #888; font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.social-icons { display: flex; gap: 2rem; margin-bottom: 2rem; align-items: center; }
.social-link { color: #fff; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; }
.social-link:hover { transform: translateY(-3px); color: var(--brand-green); }
.social-svg { width: 24px; height: 24px; fill: currentColor; }
.copyright { color: #555; font-size: 0.8rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); width: 100%; padding-top: 2rem; }

/* SPINNER ANIMATION */
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* MEDIA QUERIES */
@media (max-width: 768px) {
    .header-right { display: none; }
    .hamburger { display: flex; }
    .fab-whatsapp { display: flex; } 
    .hero-content { left: 5%; transform: translateY(-50%); text-align: left; width: 90%; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 2rem; }
    .category-container { flex-wrap: nowrap; overflow: visible; justify-content: flex-start; gap: 2rem; width: max-content; animation: mobileScroll 20s linear infinite; cursor: grab; }
    @keyframes mobileScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
    .cat-item { flex-shrink: 0; }
    .product-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1rem; }
    .product-name { font-size: 1.1rem; }
    .btn-unified { min-width: 140px; padding: 0 1.5rem; font-size: 0.85rem; }
    .testimonial-viewport { padding: 0; }
    .review-card { flex: 0 0 100%; aspect-ratio: auto; justify-content: center; margin: 0; }
    .nav-btn { display: none; }
    .testimonial-track { gap: 0; }
    .section-title-sm { font-size: 1.5rem; margin-bottom: 2rem; color: #333 !important; }
    .contact-container { flex-direction: column; gap: 3rem; }
    .category-strip, .product-section, .contact-section, footer { padding: 3rem 5%; }
    .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
    @media (min-width: 769px) { .image-box:hover .card-arrow { opacity: 1; } }
    @media (max-width: 768px) { .card-arrow { opacity: 1; width: 30px; height: 30px; font-size: 1.2rem; } }
}