:root {
    --primary-color: #4A148C; /* Deep Purple (Açaí) */
    --accent-color: #FF6F00; /* Amber (Energetic) */
    --secondary-accent: #D81B60; /* Pink (Fruit) */
    --bg-light: #FFFBF5; /* Creamy White */
    --text-dark: #212121;
    --text-light: #F5F5F5;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, .logo, .hero-title {
    font-family: 'Fredoka One', cursive;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo .dot {
    color: var(--accent-color);
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--text-dark);
}

.nav-links a:hover {
    color: var(--secondary-accent);
}

.mobile-hidden {
    display: inline-block;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-accent));
    color: white;
    box-shadow: 0 4px 15px rgba(216, 27, 96, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(74, 20, 140, 0.7), rgba(74, 20, 140, 0.95));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.highlight {
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 111, 0, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 111, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 111, 0, 0); }
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Products Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-info p {
    font-size: 0.9rem;
    color: #555;
}

/* Differentials */
.differentials {
    background-color: #F8F5FF;
    padding: 6rem 0;
}

.differentials::before {
    display: none;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.diff-item {
    position: relative;
    padding: 3rem 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03); /* Subtle border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bouncy transition */
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Gradient accent line at the top */
.diff-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-accent), var(--accent-color));
    opacity: 0.8;
}

.diff-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(74, 20, 140, 0.15);
}

.diff-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05); /* Soft shadow for icon */
    color: var(--primary-color);
    margin-bottom: 2rem;
    transition: transform 0.4s ease, color 0.4s ease, background 0.4s ease;
}

.diff-item:hover .icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.3);
}

.diff-item h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.diff-item:hover h3 {
    color: var(--primary-color); /* Highlight text on hover */
    transition: color 0.3s ease;
}

.diff-item p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.contact-info address {
    font-style: normal;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    display: inline-block;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-align: center;
    transition: 0.3s;
}

.whatsapp {
    background-color: #25D366;
    color: white;
}

.whatsapp:hover {
    background-color: #128C7E;
}

.phone {
    background-color: var(--primary-color);
    color: white;
}

.map-container {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.social-links a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    /* Mobile Menu Logic */
    .mobile-menu-btn {
        display: flex;
        z-index: 1001; /* Above menu */
    }

    .nav-links {
        position: fixed;
        right: 0;
        top: 0;
        height: 100vh;
        width: 70%; /* Slide out width */
        max-width: 300px;
        background: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding-top: 60px; /* Space for header */
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Ensure it's flex when active */
        transform: translateX(0%);
    }

    /* Mobile Menu Items */
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .mobile-hidden {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }

    /* Reduce grid minimums for creating 2 columns on mobile if possible, or robust 1 column */
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
    
    .diff-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr; /* Stack on very small screens */
    }
}

/* Utility to stop animations during resize */
.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

