/* Fuentes premium con más personalidad */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;700;900&family=Oswald:wght@400;600;700&display=swap');

/* Estilos base del diseño */
:root {
    --primary-color: #e62e00;
    --secondary-color: #1a1a1a;
    --light-color: #f5f5f5;
    --dark-color: #121212;
    --accent-color: #ffbb00;
    --primary-rgb: 230, 46, 0;
    --secondary-rgb: 26, 26, 26;
    --transition-all: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg,
        rgba(230, 46, 0, 0.1) 0%,       /* Rojo opaco */
        rgba(230, 46, 0, 0.1) 15%,
        rgba(255, 202, 40, 0.1) 15%,    /* Amarillo opaco */
        rgba(255, 202, 40, 0.1) 30%,
        rgba(230, 46, 0, 0.1) 30%,
        rgba(230, 46, 0, 0.26) 45%,
        rgba(245, 245, 245, 0.5) 45%,  /* Gris claro semi-transparente */
        rgba(245, 245, 245, 0.5) 60%,
        rgba(230, 46, 0, 0.1) 60%,
        rgba(230, 46, 0, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 75%,
        rgba(255, 202, 40, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 90%,
        rgba(230, 46, 0, 0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradientAnimation 8s ease infinite;
    background-attachment: fixed;
    color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Barra de navegación futurista */
.navbar {
    background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-all);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.navbar.scrolled {
      background: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(30,30,30,0.95) 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

.navbar-brand {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: white !important;
    text-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
    transition: var(--transition-all);
}

.navbar-brand img {
    height: 50px;
    margin-right: 10px;
    filter: drop-shadow(0 0 5px var(--primary-color));
}

.nav-link {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: var(--transition-all);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-all);
}

.nav-link:hover::before {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* Hero Section */
.equipment-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%), 
                url('../fotos/bushidotodos.jpg') center/cover no-repeat;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 3rem;
    position: relative;
}

.equipment-hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4.5rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.equipment-hero h1 span {
    color: var(--primary-color);
}

.equipment-hero p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Barra de búsqueda */
.search-container {
    display: flex;
    justify-content: center;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.search-bar {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.search-bar input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.774);
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: rgb(0, 0, 0);
    font-size: 1.1rem;
    transition: var(--transition-all);
    padding-left: 3rem;
}

.search-bar input::placeholder {
    color: rgba(0, 0, 0, 0.7);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.3);
}

.search-bar::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    z-index: 2;
}

/* Grid de productos */
.product-section {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-all);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(var(--primary-rgb), 0.2);
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: whitesmoke;
    position: relative;
    overflow: hidden;
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition-all);
}

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

.product-info {
    padding: 1.5rem;
    position: relative;
}

.product-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
    display: block;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.whatsapp-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition-all);
}

.whatsapp-icon:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

.no-results {
    text-align: center;
    grid-column: 1 / -1;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}
/* Contenedor principal del slider */
.tallas-slider-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
    padding: 0 2rem; /* Espacio para las flechas */
}

/* Carrusel de tallas */
.tallas-slider {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0;
    scrollbar-width: none; /* Firefox */
}

.tallas-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Botones de talla (modificado para slider) */
.talla-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    background-color: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-all);
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.12);
    white-space: nowrap;
}
.talla-btn:hover,
.talla-btn:focus {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.18);
    transform: translateY(-2px) scale(1.06);
}

.talla-btn.selected,
.talla-btn.active {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}
.tallas-slider-container h3{
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem ;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}
/* Flechas de navegación */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Para pantallas pequeñas, ocultar flechas y dejar scroll táctil */
@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
    
    .tallas-slider-container {
        padding: 0;
    }
}
/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 992px) {
    .equipment-hero h1 {
        font-size: 3.8rem;
    }
    
    .product-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .equipment-hero {
        height: 35vh;
    }
    
    .equipment-hero h1 {
        margin-top: 3rem;
        font-size: 3rem;
    }
    
    .equipment-hero p {
        font-size: 1.1rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .product-image {
        height: 200px;
    }
    .imgfot {
        display: none;
    }
}

@media (max-width: 576px) {
    .equipment-hero {
        height: 30vh;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    .equipment-hero h1 {
        font-size: 2.5rem;
    }
    
    .product-section {
        padding: 1rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}