/* ==========================================================================
   DOZIS - Premium CSS Stylesheet
   ========================================================================== */

:root {
    --primary: #10b981; /* Esmeralda */
    --primary-hover: #059669;
    --secondary: #f59e0b; /* Ámbar */
    --secondary-hover: #d97706;
    --dark: #1f2937;
    --light: #f9fafb;
    --cream: #fffbeb;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --font-family: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-family);
    color: var(--dark);
    background-color: var(--light);
}

body {
    overflow-x: hidden;
}

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

/* ==========================================================================
   Tipografía y Botones
   ========================================================================== */

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.2;
}

p {
    font-weight: 300;
    line-height: 1.6;
    font-size: 1.1rem;
    color: #4b5563;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #059669);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Glassmorphism Utility
   ========================================================================== */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
}

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

.logo h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    padding: 10rem 0 6rem 0;
    background: linear-gradient(135deg, #fef3c7 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    z-index: 2;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.image-wrapper {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-wrapper img {
    width: 100%;
    display: block;
}

/* ==========================================================================
   Beneficios Section
   ========================================================================== */

.beneficios {
    padding: 8rem 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(59, 110, 246, 0.1));
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* ==========================================================================
   Productos Section
   ========================================================================== */

.productos {
    padding: 8rem 0;
    background-color: white;
}

.split-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.product-category {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    height: 100%;
}

.cat-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cat-content p {
    margin-bottom: 1.5rem;
}

.features {
    list-style: none;
    margin-bottom: 2rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.features li i {
    color: var(--primary);
    width: 18px;
}

.cat-image {
    position: relative;
    min-height: 300px;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.juice-grad {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.cream-grad {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e0f2fe 0%, #fffbeb 100%);
}

.cta-box {
    padding: 5rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem 0;
}

footer p {
    color: #9ca3af;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #374151;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.footer-links ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.footer-links ul li a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: white;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        margin: 0 auto 2.5rem auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .image-wrapper {
        transform: rotate(0deg);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .split-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none; /* Sería ideal un menú hamburguesa funcional en JS */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .product-category {
        grid-template-columns: 1fr;
    }
    
    .cat-image {
        min-height: 200px;
        order: -1;
    }
    
    .cta-box {
        padding: 3rem 1.5rem;
    }
    
    .cta-box h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
