/*
   VycoCode - CSS desde cero
   Solo propiedades básicas y esenciales
*/

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY Y FONDO */
body {
    font-family: 'Poppins', sans-serif;
    color: #c5c6c7; /* Light grey text */
    line-height: 1.6;
    background: 
        linear-gradient(
            135deg, 
            rgba(0, 25, 61, 0.4) 0%, 
            rgba(11, 12, 16, 0.8) 50%, 
            rgba(0, 0, 0, 0.3) 100%
        ),
        url('../img/gr1.png') center/cover no-repeat fixed;
    background-color: #0b0c10;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

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

/* SECCIONES DE CONTENIDO */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* PARTICLES */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    
}

/* ANIMACIONES DE SCROLL */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Diferentes tipos de animaciones */
.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.scroll-fade-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.scroll-fade-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.scroll-scale.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-rotate {
    opacity: 0;
    transform: rotate(-10deg) scale(0.8);
    transition: all 0.8s ease;
}

.scroll-rotate.animate {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Delays para animaciones escalonadas */
.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-delay-2 { transition-delay: 0.2s; }
.scroll-delay-3 { transition-delay: 0.3s; }
.scroll-delay-4 { transition-delay: 0.4s; }
.scroll-delay-5 { transition-delay: 0.5s; } 

/* === BADGES Y ELEMENTOS DE PRODUCTOS === */
.badge-nuevo {
    background: #10b981;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
    display: inline-block;
}

.badge-stock-bajo {
    background: #f59e0b;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 8px;
    display: inline-block;
}

.product-description {
    color: #cbd5e1;
    font-size: 0.85rem;
    margin-top: 8px;
    line-height: 1.4;
}

/* Modal de compra */
.producto-compra {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #333333;
}

.producto-compra img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.producto-compra h4 {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.producto-compra .precio {
    color: #3b82f6;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.producto-compra .descripcion {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive para productos */
@media (max-width: 768px) {
    .badge-nuevo,
    .badge-stock-bajo {
        font-size: 0.6rem;
        padding: 3px 6px;
    }
    
    .product-description {
        font-size: 0.8rem;
    }
} 