:root {
    --primary-color: #00d26a; /* Vibrant Santec Green */
    --primary-dark: #008a44;
    --primary-glow: rgba(0, 210, 106, 0.4);
    --bg-dark: #0a0f18; /* Deep rich dark background */
    --bg-card: #343756;
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Gradients */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 30%, rgba(0, 138, 68, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(0, 210, 106, 0.1) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 90, 45, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
}

.logo img {
    height: 95px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 210, 106, 0.3));
    transition: var(--transition);
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    color: var(--text-light);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-contato {
    background: var(--bg-dark);
    color: white !important;
    padding: 12px 28px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-contato::after {
    display: none;
}

.btn-contato:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    background: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 110px;
    overflow: hidden;
}

/* The actual banner image */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
    transition: transform 10s ease;
}

.hero:hover .hero-bg img {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 15, 24, 0.7) 0%, rgba(10, 15, 24, 0.2) 100%);
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 3;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 650px;
    animation: fadeInUp 1s ease forwards;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(to right, #ffffff, #a8b2c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-text h1 span {
    color: var(--primary-color);
    -webkit-text-fill-color: var(--primary-color);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Slider for the products */
.hero-slider-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: fadeInRight 1s ease forwards;
}

.hero-carousel {
    width: 600px;
    height: 600px;
    position: relative;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 70%);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.carousel-slide img {
    max-width: 95%;
    max-height: 85%;
    width: 450px;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid rgba(0, 210, 106, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 30px rgba(0, 210, 106, 0.2);
}

.carousel-title {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px var(--primary-glow);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* Accessories Section */
.accessories-section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.section-title h2 span {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 0 20px var(--primary-glow);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

.product-subtitle {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-top: 5px;
    position: relative;
    z-index: 2;
}

/* ── Line Toggle Links ── */
.line-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.linha-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-light);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 8px 24px;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.linha-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.linha-badge.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 210, 106, 0.3);
}

.linha-badge.eco {
    background: #dce5d5;
    color: #162619; 
    border-color: #dce5d5;
}

.linha-badge.eco:hover {
    background: #cddbbf;
    color: #0b140d;
    box-shadow: 0 4px 15px rgba(220, 229, 213, 0.3);
}

/* ── Linha Eco Modern Header ── */
.eco-header {
    margin: 100px 0 50px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 210, 106, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 210, 106, 0.2);
}

.eco-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.eco-header h2 span {
    color: var(--primary-color);
}

.eco-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* ── Eco grid background ── */
.grid--eco {
    background: rgba(10, 25, 10, 0.3);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0, 210, 106, 0.1);
    margin-bottom: 20px;
}

/* ── Eco product cards: Soft Sage/Earthy Palette ── */
.product-card--eco {
    background: #dce5d5; /* Soft sage green */
    border: 1px solid #c4d4be;
}

.product-card--eco .product-title {
    color: #162619; /* Deep forest green */
}

.product-card--eco .product-subtitle {
    color: #3b6b47; /* Muted green */
}

.product-card--eco:hover {
    border-color: #9cb593;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    /* Background remains exactly the same on hover */
    background: #dce5d5; 
}

.product-card--eco::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
}

/* ── Eco image: remove dark drop shadow that hides dark products ── */
.product-image--eco img {
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));
}


.contact-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.social-links-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.social-icon svg {
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,210,106,0.3);
}

.social-icon:hover svg {
    color: #fff;
    transform: scale(1.1);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 210, 106, 0.1);
    background: rgba(0, 210, 106, 0.05);
}

.feature-icon {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.feature-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: rgba(0, 90, 45, 0.65);
    color: #fff;
    text-align: center;
    padding: 40px 0;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 60px;
    }
    
    .hero-text h1 {
        font-size: 3.2rem;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(10, 15, 24, 0.9) 0%, rgba(10, 15, 24, 0.7) 100%);
    }

    .hero-slider-wrapper {
        justify-content: center;
    }
    
    .contact-box {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-carousel { width: 300px; height: 300px; }
    .contact-info, .contact-form-container { padding: 40px 20px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 55px; height: 55px; }
}



/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: #343756;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    margin: auto;
    padding: 40px;
    border: 1px solid var(--border-glass);
    width: 90%;
    max-width: 550px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5), 0 0 20px rgba(0, 210, 106, 0.15);
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--text-light);
    text-decoration: none;
}

.modal-body {
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

.modal-body h3 {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-body p {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1rem;
    font-weight: 500;
}

.modal-buttons .btn {
    display: inline-block;
    padding: 12px 30px;
    font-weight: 600;
}


.modal-content.eco {
    background: rgba(220, 229, 213, 0.95); /* Salvia with slight transparency */
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 50px rgba(0,0,0,0.3), 0 0 20px rgba(22, 38, 25, 0.15);
}

.modal-content.eco h3 {
    color: #162619;
}

.modal-content.eco p {
    color: #2a472f; 
}

.modal-content.eco .close-modal {
    color: #6a7c6d;
}

.modal-content.eco .close-modal:hover {
    color: #162619;
}


/* Hamburger Menu Styles */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px auto;
    background-color: var(--text-light);
    transition: all 0.3s ease-in-out;
}


@media (max-width: 768px) {
    /* Navbar fixes */
    .nav-container {
        height: 80px;
    }
    
    .hamburger {
        display: block;
    }
    
    /* Hero section fixes */
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-top: 20px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* Grid fixes - force 2 columns on mobile */
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        padding: 15px 10px;
        border-radius: 12px;
    }
    
    .product-image {
        height: 120px;
        margin-bottom: 15px;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
    
    .product-subtitle {
        font-size: 0.75rem;
    }
    
    /* Fix section padding */
    .py-100 {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
}

/* Extra small devices (phones, less than 380px) */
@media (max-width: 380px) {
    .grid {
        grid-template-columns: 1fr;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }
}
