/* ========================================
   NexoGourmet - Estilos Principales
   ======================================== */

/* Base */
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html {
    transition: background-color 0.3s, color 0.3s;
}

/* Patrón de fondo sutil para Hero */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.03) 1px, transparent 0);
    background-size: 24px 24px;
}

.dark .hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
}

/* Sombras premium para tarjetas */
.card-shadow {
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.04);
}

.card-shadow-hover {
    box-shadow: 0 20px 40px rgb(0 0 0 / 0.08);
}

.dark .card-shadow {
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.2);
}

/* Form focus animations */
.form-input:focus {
    transform: translateY(-2px);
}

/* Smooth reveal for testimonials */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Infinite scroll marquee for clients */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.clients-marquee {
    animation: scroll-left 40s linear infinite;
}

.clients-marquee:hover {
    animation-play-state: paused;
}

.client-logo {
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Header mobile - fondo completamente sólido */
@media (max-width: 767px) {
    header {
        background-color: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .dark header {
        background-color: #111827 !important;
    }
}

/* ========================================
   WhatsApp Floating Button
   ======================================== */
.whatsapp-fixed-btn {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 2147483647 !important;
    width: 60px !important;
    height: 60px !important;
    background-color: #25D366 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    /* Oculto por defecto */
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease !important;
}

/* Clase para mostrar el botón */
.whatsapp-visible {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.whatsapp-fixed-btn svg {
    width: 32px !important;
    height: 32px !important;
    fill: white !important;
}

@media (max-width: 768px) {
    .whatsapp-fixed-btn {
        bottom: 15px !important;
        right: 15px !important;
        width: 55px !important;
        height: 55px !important;
    }
    .whatsapp-fixed-btn svg {
        width: 28px !important;
        height: 28px !important;
    }
}
