/* =========================================
   FUENTES Y RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0f0f0f; /* Modo Oscuro */
    color: #fff;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   NAVEGACIÓN STICKY
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(15, 15, 15, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
    backdrop-filter: blur(5px);
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: white;
}

.logo span {
    color: #ffcc00; /* Acento Amarillo Urbano */
}

.menu {
    list-style: none;
    display: flex;
    gap: 30px;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.menu a {
    text-decoration: none;
    color: #ccc;
    font-weight: bold;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.menu a:hover {
    color: #ffcc00;
}

/* =========================================
   PORTADA HERO
   ========================================= */
.hero {
    height: 85vh; 
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.subtitle {
    letter-spacing: 6px;
    color: #ffcc00;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-principal {
    display: inline-block;
    padding: 15px 40px;
    background-color: #ffcc00;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    margin-top: 25px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: transform 0.3s, background 0.3s;
}

.btn-principal:hover {
    transform: scale(1.05);
    background-color: #e6b800;
}

/* =========================================
   SECCIÓN PRODUCTOS (4 ARRIBA, 2 CENTRADOS)
   ========================================= */
.productos-section {
    padding: 80px 5%;
}

.titulo-seccion {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin-bottom: 60px;
    text-transform: uppercase;
    color: #fff;
}

/* 1. MÓVIL (Por defecto): Grid de 1 columna */
.grid-productos {
    display: grid;
    grid-template-columns: 1fr; /* Una encima de otra */
    gap: 40px;
    justify-content: center;
}

/* 2. TABLET (Mediana): Grid de 2 columnas */
@media (min-width: 768px) {
    .grid-productos {
        grid-template-columns: repeat(2, 1fr); 
    }
}

/* 3. PC (Grande): Flexbox para centrar los sobrantes */
@media (min-width: 1200px) {
    .grid-productos {
        display: flex;         
        flex-wrap: wrap;       
        justify-content: center; 
        gap: 40px;
    }

    /* Ajustamos el ancho para que entren 4 exactos */
    .card-producto {
        width: calc(25% - 30px); 
    }
}


/* ESTILOS DE LA TARJETA (CARD) */
.card-producto {
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden; 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #252525;
}

.card-producto:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: #333;
}

/* ESTILOS DEL CARRUSEL (VERSIÓN PC POR DEFECTO) */
.card-producto .carousel-item {
    height: 450px; /* ALTURA PARA PC */
    width: 100%;
    background-color: #202020;
}

/* HABILITAR CLIC EN IMAGEN */
.card-producto .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top center;
    cursor: zoom-in;      /* Muestra la lupa */
    pointer-events: auto; /* IMPORTANTE: Permite hacer clic */
}

/* =========================================
   ESTILOS DE LOS PUNTITOS (INDICADORES)
   ========================================= */
.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
    width: 8px !important;       
    height: 8px !important;      
    border-radius: 50%;          
    background-color: #fff;
    opacity: 0.5;
    border: none;
    margin: 0 5px;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);       
    background-color: #ffcc00;   
}

/* Resto de estilos de producto... */
.info-producto {
    padding: 25px;
}

.info-producto h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: #fff;
}

.desc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.tallas {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 20px;
    border: 1px solid #444;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 4px;
}

.precio-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.precio {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffcc00;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: #0a0a0a;
    padding: 80px 20px 40px;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 80px;
}

footer h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

footer p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.social-btn {
    text-decoration: none;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.2);
}

.social-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.copyright p {
    font-size: 0.8rem;
    color: #444;
    margin: 0;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* =========================================
   VERSIÓN MÓVIL (RESPONSIVE)
   ========================================= */
@media (max-width: 768px) {
    
    .card-producto .carousel-item {
        height: 500px !important; 
        min-height: 500px !important;
    }

    .card-producto .carousel-item img {
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: top center !important; 
    }
    
    body, html {
        overflow-x: hidden;
        width: 100%;
    }

    nav {
        flex-direction: column;
        padding: 15px 0;
        background-color: #0f0f0f; 
        position: relative;
    }

    .logo {
        font-size: 1.5rem; 
        margin-bottom: 15px;
    }

    .menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        background-color: #151515;
    }

    .menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #222;
    }

    .menu a {
        display: block;
        padding: 15px 0;
        font-size: 1rem;
    }

    .hero {
        height: 100vh;
        background-attachment: scroll;
    }
    
    .hero-bg {
        height: 100vh;
        object-position: center;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .productos-section {
        padding: 60px 0;
    }
    
    .grid-productos {
        padding: 0 15px;
    }
}

/* =========================================
   OPTIMIZACIÓN TÁCTIL (CARRUSEL)
   ========================================= */
.carousel {
    touch-action: pan-y !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    user-select: none;
}

.carousel-control-prev, .carousel-control-next {
    width: 15%;
}

/* =========================================
   ESTILOS DEL VISOR (LIGHTBOX)
   ========================================= */
.visor-modal {
    display: none; 
    position: fixed; 
    z-index: 99999; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.visor-contenido {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px; 
    max-height: 90vh; 
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoom 0.3s;
}

/* Botón de cerrar (X) */
.cerrar-visor {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 100000;
}

.cerrar-visor:hover,
.cerrar-visor:focus {
    color: #ffcc00;
    text-decoration: none;
    cursor: pointer;
}

/* Animación de Zoom */
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* Ajuste para celular */
@media only screen and (max-width: 700px){
    .visor-contenido {
        width: 100%;
    }
}

/* =========================================
   ¡NUEVO! ESTILOS PARA LAS FLECHAS DEL VISOR
   ========================================= */
.visor-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 100001; /* Encima de la imagen */
}

/* Posición Derecha e Izquierda */
.visor-btn.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.visor-btn.prev {
    left: 0;
    border-radius: 3px 3px 3px 0;
}

/* Efecto Hover (Amarillo) */
.visor-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #ffcc00;
}

/* Ajuste de flechas para celular */
@media only screen and (max-width: 700px) {
    .visor-btn {
        font-size: 30px;
        padding: 10px;
    }
}