/* assets/css/style.css */
:root {
    --primary-color: #2e7d32; /* Verde Salud */
    --primary-light: #60ad5e;
    --primary-dark: #005005;
    --accent-color: #f57f17; /* Tono terroso/dorado */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #fafafa;
    --bg-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow-soft: 0 8px 30px rgba(0,0,0,0.05);
    --shadow-hover: 0 15px 35px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: shine 4s infinite linear;
}

@keyframes shine {
    0% { filter: brightness(1) drop-shadow(0 0 0 rgba(255,255,255,0)); }
    50% { filter: brightness(1.2) drop-shadow(0 0 15px rgba(96, 173, 94, 0.6)); }
    100% { filter: brightness(1) drop-shadow(0 0 0 rgba(255,255,255,0)); }
}

.logo-text h1 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    line-height: 1.1;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-login {
    background: var(--primary-light);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: none; cursor: pointer;
}
.menu-toggle span {
    width: 25px; height: 3px; background: var(--primary-dark);
    transition: var(--transition);
}

/* Hero Slider */
.hero {
    margin-top: 80px;
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.slider {
    width: 100%; height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.slide-text {
    max-width: 600px;
    color: white;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-text {
    transform: translateY(0);
    opacity: 1;
}

.slide-text h2 { font-size: 3.5rem; margin-bottom: 15px; font-weight: 800; }
.slide-text p { font-size: 1.2rem; margin-bottom: 30px; font-weight: 300; }

.slide-actions { display: flex; gap: 15px; }

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-whatsapp-outline {
    background: transparent;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid white;
    transition: var(--transition);
}

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

.slider-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none; color: white;
    font-size: 2rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}
.slider-arrow:hover { background: var(--primary-color); }
.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* Social Bar */
.social-bar {
    background: var(--primary-dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.social-container a {
    color: #e0e0e0;
    transition: var(--transition);
}
.social-container a:hover { color: var(--accent-color); }

/* Sections */
.section { padding: 80px 0; }
.section-title {
    text-align: center; margin-bottom: 50px;
}
.section-title h2 { font-size: 2.5rem; color: var(--primary-dark); }
.section-title p { color: var(--text-light); }

.glass-section {
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
    margin: 40px auto;
    border-radius: var(--border-radius);
    max-width: 1200px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text ul { margin-top: 20px; }
.about-text li { margin-bottom: 10px; color: var(--primary-color); font-weight: 600; }
.rounded-image { width: 100%; border-radius: var(--border-radius); box-shadow: var(--shadow-hover); }

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

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

.product-img {
    height: 200px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--accent-color); color: white;
    padding: 5px 10px; font-size: 0.8rem; font-weight: 800;
    border-radius: 5px;
}

.product-info { padding: 20px; text-align: center; }
.product-info h3 { font-size: 1.1rem; margin-bottom: 10px; }
.product-info .price { font-size: 1.3rem; font-weight: 800; color: var(--primary-color); margin-bottom: 15px; }

.btn-buy {
    width: 100%;
    background: #25D366; /* WhatsApp Color */
    color: white;
    border: none; padding: 10px;
    border-radius: 8px; font-weight: bold;
    cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-buy i { font-size: 1.2rem; }
.btn-buy:hover { background: #128C7E; }

/* Contact Form */
.contact-wrapper { max-width: 600px; margin: 0 auto; }
.modern-form .form-group { margin-bottom: 20px; }
.modern-form label { display: block; margin-bottom: 5px; font-weight: 600; color: var(--primary-dark); }
.modern-form input, .modern-form textarea {
    width: 100%; padding: 12px;
    border: 1px solid #ccc; border-radius: 8px;
    font-family: inherit; transition: var(--transition);
}
.modern-form input:focus, .modern-form textarea:focus {
    outline: none; border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}
.w-100 { width: 100%; }

.form-response { margin-top: 15px; font-weight: bold; text-align: center; }
.text-success { color: var(--primary-color); }
.text-danger { color: red; }

/* Floating WhatsApp */
.float-whatsapp {
    position: fixed; bottom: 30px; left: 30px;
    background: #25D366; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: var(--shadow-hover);
    z-index: 100; transition: var(--transition);
    text-decoration: none;
}
.float-whatsapp:hover { transform: scale(1.1); }

/* Floating Social Bar (Right) */
.float-social {
    position: fixed; top: 50%; right: 0; transform: translateY(-50%);
    display: flex; flex-direction: column; gap: 5px;
    z-index: 100;
}
.float-social a {
    color: white;
    width: 45px; height: 45px; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; transition: var(--transition);
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
}
.float-social a.bg-facebook { background: #1877F2; }
.float-social a.bg-instagram { background: #E4405F; }
.float-social a.bg-tiktok { background: #000000; }
.float-social a.bg-google { background: #4285f4; }

.float-social a:hover {
    width: 55px;
    filter: brightness(1.2);
}

/* Footer Premium */
.site-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #002700 100%);
    color: white;
    padding: 60px 0 20px;
    margin-top: 50px;
    border-top: 3px solid var(--primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo .logo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-brand img {
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.footer-logo .logo-brand h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #b0cbb0;
    line-height: 1.6;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: var(--primary-light);
    font-weight: 600;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #d0e8d0;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
    color: #d0e8d0;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--accent-color);
    width: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.footer-social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #b0cbb0;
}

/* Filtro de Categorías */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    border-radius: 30px;
    border: 2px solid #ccc;
    background: var(--bg-white);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* Precios */
.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

/* Modales Premium */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none;
    font-size: 1.8rem; cursor: pointer;
    color: #999; transition: var(--transition);
}
.modal-close:hover { color: #333; }
.modal-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}
.modal-tabs .tab-btn {
    flex: 1;
    padding: 10px;
    border: none; background: none;
    font-size: 1.1rem; font-weight: 600;
    cursor: pointer; color: #777;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    font-family: inherit;
}
.modal-tabs .tab-btn.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.auth-form .form-group {
    margin-bottom: 15px;
}
.auth-form label {
    display: block; margin-bottom: 6px;
    font-weight: 600; font-size: 0.9rem;
}
.auth-form input {
    width: 100%; padding: 10px;
    border: 1px solid #ccc; border-radius: 6px;
    box-sizing: border-box; font-family: inherit;
}
.auth-response {
    margin-top: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}
.payment-instructions-box {
    border-left: 4px solid var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

/* Animación de hamburguesa activa */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media(max-width: 768px) {
    .nav-links {
        position: absolute; top: 80px; left: -100%;
        width: 100%; background: var(--bg-white);
        flex-direction: column; padding: 20px 0;
        box-shadow: var(--shadow-soft);
        z-index: 999;
        transition: left 0.3s ease-in-out;
    }
    .nav-links.active { left: 0; }
    .menu-toggle { display: flex; }
    
    .slide-text h2 { font-size: 2.2rem; }
    .about-grid { grid-template-columns: 1fr; }
    
    .glass-section { border-radius: 0; margin: 0; }
}
