/* =========================================
   TINTACUSTOM - HOJA DE ESTILOS PRINCIPAL
   Estilo: Dark Theme / CMYK Neón / Minimalista
   ========================================= */

/* --- 1. VARIABLES GLOBALES (El ADN de tu marca) --- */
:root {
    /* Paleta de Colores Base */
    --bg-dark: #0a0a0c;         /* Negro muy profundo, casi OLED */
    --surface-dark: #151518;    /* Gris muy oscuro para las tarjetas de producto */
    --surface-hover: #1e1e24;   /* Gris un poco más claro para cuando pasas el mouse */
    
    /* Colores de Acento (Del Logo) */
    --neon-magenta: #ff007f;    /* Rosa vibrante (Tinta) */
    --neon-cyan: #00f0ff;       /* Azul eléctrico (Gota/Custom) */
    
    /* Textos */
    --text-main: #ffffff;       /* Texto principal blanco puro */
    --text-muted: #a0a0ab;      /* Texto secundario gris claro */
    
    /* Efectos Neón (Sombras) */
    --glow-magenta: 0 0 10px rgba(255, 0, 127, 0.5), 0 0 20px rgba(255, 0, 127, 0.3);
    --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3);
    
    /* Utilidades */
    --border-radius: 8px;       /* Bordes ligeramente redondeados, muy moderno */
    --transition: all 0.3s ease;
}

/* --- 2. RESETEO BÁSICO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    /* Usamos una tipografía del sistema para máxima velocidad de carga */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* Evita scroll horizontal accidental */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- 3. BARRA DE NAVEGACIÓN (HEADER) --- */
.header {
    background-color: rgba(10, 10, 12, 0.95); /* Semi transparente */
    backdrop-filter: blur(10px); /* Efecto cristal borroso (muy Apple) */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px; /* Ajusta según el tamaño de tu logo */
    display: block;
}

/* Carrito en el menú */
.cart-icon {
    position: relative;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--neon-cyan);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--neon-magenta);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
    box-shadow: var(--glow-magenta);
}

/* --- 4. SECCIÓN HERO (El banner principal de impacto) --- */
.hero {
    margin-top: 70px; /* Compensa la barra fija */
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(255,0,127,0.1) 0%, rgba(10,10,12,1) 60%);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Se adapta al tamaño de la pantalla */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Efecto de texto degradado para la palabra clave */
.hero h1 .text-gradient {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

/* --- 5. BOTONES Y LLAMADOS A LA ACCIÓN --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--neon-magenta);
    color: white;
    box-shadow: var(--glow-magenta);
}

.btn-primary:hover {
    background-color: #e60073;
    transform: translateY(-2px); /* Se levanta un poco */
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.6);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-outline:hover {
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* --- 6. GRID DE PRODUCTOS (El Catálogo) --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: left;
    border-left: 4px solid var(--neon-cyan);
    padding-left: 15px;
}

.products-grid {
    display: grid;
    /* Truco de magia de CSS Grid: Hace que las columnas se adapten solas (Celular = 1 col, Tablet = 2, PC = 3 o 4) */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Tarjeta individual de producto */
.product-card {
    background-color: var(--surface-dark);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3); /* Brilla el borde en cyan al pasar el mouse */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Contenedor de la imagen (mantiene proporción cuadrada 1:1) */
.product-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #000;
    overflow: hidden;
    position: relative;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para que la foto llene el cuadro sin deformarse */
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-container img {
    transform: scale(1.05); /* Zoom sutil al pasar el mouse */
}

/* Etiqueta flotante (Ej: "DTF" o "Sublimación") */
.badge-tech {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--neon-cyan);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    border: 1px solid var(--neon-cyan);
    backdrop-filter: blur(4px);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Empuja el botón hacia abajo si el texto es corto */
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-main);
}

.product-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--neon-magenta);
    margin-bottom: 20px;
}

/* Botón de agregar al carrito (Ocupa todo el ancho) */
.btn-add-cart {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    margin-top: auto;
}

.btn-add-cart:hover {
    background-color: var(--neon-cyan);
    color: var(--bg-dark); /* Texto negro para que resalte en el botón claro */
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
}

/* --- 7. BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366; /* Verde oficial de WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

/* --- 8. FOOTER --- */
footer {
    background-color: #050506;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}