:root {
    --fuenteHeading: 'PT Sans', sans-serif;
    --fuenteParrafos: 'Open Sans', sans-serif;

    --primario: #3a3939;
    --gris: #e1e1e1;
    --blanco: #ffffff;
    --negro: #000000;
}
html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1 rem = 10px */  
    scroll-behavior: smooth;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuenteParrafos);
    font-size: 1.5rem;
    line-height: 2;
    line-height: 1.1;
}

/** Globales **/
.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto;  
    padding-bottom: 3rem; 
}
.contenedor-cont {
    width: min(70%, 120rem);
    margin: 0 auto;  
    padding-bottom: 2rem; 
}
 

a{
    text-decoration: auto;
    color: white;
    
}
h1, h2, h3, h4 {
    font-family: var(--fuenteHeading);
    line-height: 1.2;
}
h1 {
    font-size: 4.8rem;
}
h2 {
    font-size: 4rem;
    
}
h3 {
    font-size: 3.2rem;
}
h4 {
    font-size: 2.8rem;
    color: rgb(51, 50, 50);
}
img {
    max-width: 100%;
    align-self: center;
    border-radius: 24px;
    transition: 300ms;
}
img:hover{
    transform: scale(1.10);
}

.img-tienda{
    border: 1px solid rgb(214, 214, 216);
    border-radius: 24px;
    padding: 10px 20px;
    margin-bottom: 50px;
}

.img-tienda:hover{
    box-shadow: 0 0 12px 10px rgba(46, 48, 48, 0.5);  
}


/** Utilidades **/
.no-margin{
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
    padding-top: 0; 
}
.bg-color1{
    background-color: #d5cfcf;
    padding: 50px 50px;
}
.bg-color2{
    background-color: #efefed;
    padding: 50px 50px;
}
.bg-color3{
    background-color: rgb(249, 247, 247);
    padding: 50px 50px;
}

.margin1{
    margin-top: 10rem;
    margin-bottom: 0;
}


/* ===== HERO CAROUSEL ===== */

.hero-carousel {
    width: 100%;
    height: 70vh;
    max-height: 700px;
    min-height: 380px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease-in-out;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0.90); /* oscurece sutilmente */
}

/* Gradiente oscuro encima */
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.75)
    );
}


/* Contenido centrado */
.hero-content {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
    text-shadow: 0 5px 12px rgba(0,0,0,0.7); /* efecto sombra */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 25px;
}

/* Botón */
.hero-btn {
    background-color: #ff4500;
    color: white;
    padding: 12px 28px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-btn:hover {
    background-color: #d83c00;
}

.producto {
    position: relative;
    overflow: hidden;
}

.boton_compra {
    display: block;
    position: absolute;
    bottom: 10px;
    left: 80%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background-color: #dc1b09;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
}

.producto:hover .boton_compra {
    opacity: 1;
}

.boton_compra:hover {
    background-color: #a31010;
}



/* Flechas */
.hero-btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: white;
    padding: 12px 18px;
    font-size: 28px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
}

.hero-btn-nav:hover {
    background: rgba(0,0,0,0.75);
}

.prev { left: 25px; }
.next { right: 25px; }

/* Indicadores */
.hero-indicators {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.hero-indicators div {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: 0.3s;
}

.hero-indicators .active {
    background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-carousel { height: 55vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .hero-carousel { height: 45vh; }
    .hero-content h1 { font-size: 1.6rem; }
    .hero-content p { font-size: 0.95rem; }
}



/** Header **/

.header-imga{
    background-image: url(../img/inicial/campobeis.jpg);
    opacity: 90%;
}
.header-imgt{
    background-image: url(../img/inicial/tienda.webp);
    background-size:auto;
}
.header-imgc{
    background-color: #080808;
}
.header {
    height: 50rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.header__texto {
   text-align: right;
   color: var(--blanco);
   margin: 0 2rem;
   
}
@media (min-width: 480px) {
    .header__texto {
        margin-top: 19rem;
    }
}
.texto_color{
    color: rgb(5, 57, 52);
}

.logo {
    color: var(--blanco);    
}
.logo__nombre {
    font-weight: 300;
}
.logo__bold {
    font-weight: 600;
}
.barra {
    padding-top: 1rem;
}

@media (min-width: 768px) {
    .barra {
        display: flex;
        justify-content: space-between;
        align-items: center;        
    }
}
@media (min-width: 480px) {
    .navegacion {
        display: flex;
        justify-content: center;
        gap: 4rem;

    }
}
@media (min-width: 390px) {
    .navegacion {
        display: flex;
        justify-content: center;
        gap: 4rem;

    }
}
@media (max-width: 390px) {
    .navegacion {
        display: flex;
        justify-content: center;
        gap: 5rem;
        }
}


.navegacion__enlace {
    display: auto;
    text-align: center;
    font-size: 2rem;
    color: var(--blanco);
    padding: 5rem 5rem;
    
}


nav a:hover{
    background: #580505;
    border-radius: 10px;
}

.boton {
    display: auto;
    font-family: var(--fuenteHeading);
    text-align: center;
    color:white;
    padding: 1rem 1rem;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    
}

@media (min-width: 768px) {
    .boton {
        display:inline-block;
    }
}
.boton:hover {
    cursor: pointer;
    background-color: #681f09;  
}
.boton--primario {
    background-color: rgb(1, 1, 31);
    border-radius: 1rem;
}





/** Articulos**/
.articulo {
    padding: 2rem;
    border-bottom: 1px solid var(--gris);
}
@media (min-width: 768px) {
    .articulo {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }
}
.articulo:last-of-type {
   border: none;
}
.articulo_imagen{
    max-width: 100%;
    padding: 3rem;
}

.articulo__label {
    font-family: var(--fuenteHeading);
    font-weight: bold;
}
.articulo__info {
    font-weight: normal;
}
.articulo__label,
.articulo__info {
    font-size: 2rem;
}


/** Grid**/

.grid{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    padding: 10px 15px; 
}


@media(min-width:480px) {
    .grid{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width:768px) {
    .grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width:1140px) {
    .grid{
        grid-template-columns: repeat(5, 1fr);
    }
}

/**Productos**/

.producto{

    background-color: var(--blanco);
    padding: 1rem;
}
.producto__imagen{
    width: 100%;  
}
.producto:hover{
    transform: scale(1.1);
    transition: all 0.6s ease;
}
.imagenp{
    transition: all 0.8s ease;
}
.imagenp:hover{
    transition: all 0.6s ease;
    filter: brightness(150%);
}
.grid_producto{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 10px 10px;
    opacity: 80%;
}
.producto__nombre{
    font-size: 2 rem;
    color: #000000;
}
.producto__deporte{
    font-size: 2 rem;
    color:#818181;
}
.producto__nombre,
.producto__precio{
    margin: 0 0;
}
.boton_precio{
    font-size: 2.5rem;
    background-color: rgb(67, 181, 99);
    border-radius: .5rem;  
    color: var(--blanco); 
    text-align: center;
    margin-right: 98px;
    margin-bottom: 0;
}


/** Marcas **/
.marcas{
    align-items: center;
    position: relative;   
}
.contenedor-marcas{
    display: grid;
    padding: 50PX 80px;
    margin: 20px;
}

@media(min-width:480px) {
    .contenedor-marcas{
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(min-width:768px) {
    .contenedor-marcas{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(min-width:1140px) {
    .contenedor-marcas{
        grid-template-columns: repeat(5, 1fr);
    }
}

/** INICIA PAGINA CONTACTO**/

.words span:after{
    content: 'Urgente';
    animation: words 6s infinite;
}
@keyframes words{
    0%, 25%{
            content: 'Mandando un Whatsapp!.';
            color: #157e45e1;
    }
    26%, 50%{
            content: 'Llamandonos por teléfono!.';
            color: #faea05;
    }
    51%, 75%{
            content: 'Mediante Facebook!.';
            color: #3859e0;
    }
    76%, 100%{
            content: 'Por el medio que gustes, Pero Contáctanos!';
            color: #b90404;
    }
}

.contacto {
  background-color: #062b52;
  color: white;
  text-align: center;
  padding: 40px 50px;
}
.contenedor_cat {
    margin: 1rem 3rem;  
    padding: 2rem 2rem; 
    background-color:#f3f3f3dc;
    
}

.redes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
  
}

.redes a {
  display: inline-block;
  margin: 20px 2px;
  padding: 12px 20px;
  color: white;
  background-color: #333;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;

}
.redes a.fondoa { background-color: #25d366; }
.redes a.fondob { background-color: #1877f2; }
.redes a.fondoc { background-color: #555; }
.redes a.fondos { background-color: #dc0606; }
.redes a.fondod { background-color: #657802; }
.redes a.fondoe { background-color: #28125c; }
.redes a.fondof { background-color: #e90505; }
.redes a.fondog { background-color: #d48a0a; }
.redes a.fondoh { background-color: #0a4087; }
.redes a:hover {
  opacity: 0.6;
}
section[id]{
    scroll-margin-top: 70px;
}

/* Contenedor sticky */
.sticky-menu {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #ffffff;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: px;
    border-bottom: 2px solid #e8e8e6;
    
}


/* Enlaces */
.sticky-menu a {
    padding: 50px 10px;
    text-decoration: none;
    font-weight: 400;
    border-radius: 5px;
    color: #fff;
    transition: 0.3s;
    font-family: Arial, sans-serif;
}

/* Colores de cada botón */
.fondoa { background: #e53935; }
.fondob { background: #1e88e5; }
.fondos { background: #43a047; }
.fondoc { background: #fbc02d; color: #000; }
.fondod { background: #8e24aa; }
.fondoe { background: #fb8c00; }
.fondog { background: #6d4c41; }
.fondoh { background: #3949ab; }

/* Hover */
.sticky-menu a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 390px) {
    .sticky-menu {
        padding: 1px 1px;
        gap: 1px;
    }
    .sticky-menu a {
        padding: 3px 2px;
        font-size: 13px;
        margin: 1px 1px;

    }
}
@media (min-width: 390px) {
    .sticky-menu {
        padding: 5px 1px;
        gap: 2px;
    }
    .sticky-menu a {
        padding: 5px 3px;
        font-size: 14px;
        margin: 2px 1px;

    }
}

@media (min-width: 768px) {
    .sticky-menu {
        padding: 8px;
        gap: 6px;
    }
    .sticky-menu a {
        padding: 8px 5px;
        font-size: 15px;
        margin: 0 1px;
    }
}
@media (min-width: 1440px) {
    .sticky-menu {
        padding: 10px;
        gap: 10px;
    }
    .sticky-menu a {
        padding: 15px 8px;
        font-size: 18px;
        margin: 0 1px;
    }
}


/* ========================
   FOOTER
======================== */
.footer {
    background-color: #1e3c72;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.footer__texto {
    margin-top: 5px;
    font-size: 2rem;
}


/* CONTENEDOR DE ICONOS */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

/* ICONOS GENERALES */
.social-icons .icon {
    font-size: 28px;   /* Tamaño de iconos */
    color: white;
    padding: 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    transition: 0.3s ease;
}

/* COLORES PERSONALIZADOS */
.icon.whatsapp { background-color: #25D366; }
.icon.facebook { background-color: #1877F2; }
.icon.x        { background-color: #000000; }
.icon.phone    { background-color: #34A853; }

/* HOVER EFECTO */
.social-icons .icon:hover {
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .social-icons .icon {
        font-size: 24px;
        width: 42px;
        height: 42px;
        padding: 10px;
    }
}


.contenedor-video{
        margin: 0;
        background: #05060a;
        font-family: "Poppins", sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 85vh;
        overflow: hidden;
    }
    
    /* CONTENEDOR PRINCIPAL */
    .video-box {
        width: 85%;
        max-width: 900px;
        padding: 25px;
        background: #0c0f21;
        border-radius: 25px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 0 30px #00eaff80;
        animation: pulse 5s infinite alternate;
    }

    @keyframes pulse {
        0% { box-shadow: 0 0 20px #00eaff80; }
        100% { box-shadow: 0 0 40px #00eaff; }
    }

    /* Efectos brillantes internos */
    .video-box::before, .video-box::after {
        content: "";
        position: absolute;
        top: -30%;
        left: -30%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, #00eaff30, transparent, #00eaff20);
        animation: rotate 12s infinite linear;
        z-index: 0;
    }

    .video-box::after {
        animation-duration: 18s;
        mix-blend-mode: overlay;
    }
      @media (min-width: 390px) {
        .video-box {
            height: 60vh;            
        }   
    }

    @keyframes rotate {
        0% { transform: rotate(0deg); }
        50%{transform: rotate(180deg);}
        100% { transform: rotate(360deg); }
    }

    /* TÍTULO */
    .title {
        color: #00eaff;
        font-size: 15px;
        text-align: center;
        letter-spacing: 2px;
        margin-bottom: 15px;
        position: relative;
        z-index: 2;
        text-shadow: 0 0 10px #00eaff;
    }

    /* SLIDER */
    .slider {
        display: flex;
        overflow: hidden;
        border-radius: 20px;
        position: relative;
        z-index: 2;
    }

    .slide {
        min-width: 100%;
        transition: transform 0.7s ease;
    }

    /* VIDEO */
    video {
        width: 100%;
        border-radius: 1px;
    }
    @media (max-width: 800px) {
            .video {
                object-fit: cover;            
            }
    }


    /* CONTROLES PERSONALIZADOS */
    .controls {
        margin-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 2;
        position: relative;
    }

    .btn {
        background: #00eaff20;
        border: 2px solid #00eaff80;
        color: #00eaff;
        padding: 10px 18px;
        border-radius: 12px;
        cursor: pointer;
        font-weight: 400;
        transition: 0.3s;
        text-shadow: 0 0 8px #00eaff;
    }

    .btn:hover {
        background: #00eaff40;
        box-shadow: 0 0 15px #00eaff;
        transform: scale(1.05);
    }

    /* BARRAS */
    input[type="range"] {
        width: 120px;
        cursor: pointer;
    }

    /* BOTONES DEL SLIDER */
    .slider-btns {
        margin-top: 10px;
        display: flex;
        justify-content: center;
        gap: 15px;
        z-index: 4;
    }

