/* =========================================
   1. ESTRUCTURA PRINCIPAL (INFO-STRIP)
   ========================================= */
.info-strip {
    width: 100%;
    height: auto; 
    min-height: 380px; 
    background-color: lab(11.59% -12.22 2.48); /* Verde muy oscuro */
    border-top: 3.55px solid #000;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    overflow: hidden; /* Oculta las tarjetas que salen de la pantalla */
}

/* =========================================
   2. CONTENEDOR ANIMADO (CAROUSEL)
   ========================================= */
.carousel-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espacio entre tarjetas */
    padding: 35px 0; /* Padding vertical */
    
    /* Configuración del Loop Infinito */
    width: max-content;
    animation: scroll 40s linear infinite; 
}

/* Pausar animación al pasar el mouse */
.carousel-container:hover {
    animation-play-state: paused;
}

/* =========================================
   3. ESTILOS DE TARJETA (BASE)
   ========================================= */
.card {
    flex: 0 0 auto; 
    width: 300px; 
    height: 305px;
    border-radius: 9.28px;
    border: 2.48px solid #ffffff;
    padding: 30px; /* Padding general para todas las tarjetas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
    
    /* Mejora de renderizado */
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
}

/* Textos */
.card-header {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 22px;
    text-align: center;
    color: #f9f8f4;
    line-height: 1.1;
    margin-bottom: 5px;
    z-index: 2; /* Para que el texto quede encima de fondos si fuera necesario */
}

.card-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.1;
    color: #0a231b; 
    z-index: 2;
}

.card-body {
    font-family: 'Oswald', sans-serif;
    font-weight: 100;
    font-size: 16px;
    text-align: center;
    line-height: 1.2;
    color: #ffffff;
    z-index: 2;
}

.icon-small {
    width: 40px;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

/* =========================================
   4. IMÁGENES GENÉRICAS
   ========================================= */
/* Estilo base para imágenes principales (como la Taza) */
.img-main {
    width: 110%; 
    max-width: 190px; 
    height: auto;
    position: relative;
}

/* =========================================
   5. MODIFICACIÓN ESPECÍFICA: CAMISETA
   ========================================= */
/* Aquí está la magia: Sobrescribimos estilos SOLO para .card-camiseta 
   para que la imagen se pegue arriba y sea más grande.
*/

.card-camiseta {
    background-color: #fe121c;
    overflow: hidden; /* IMPORTANTE: Recorta la imagen para respetar bordes redondeados */
    padding: 0; /* Quitamos padding para que no estorbe (opcional, ya que usaremos absolute) */
}

/* Atacamos la imagen que esté DENTRO de .card-camiseta */
.card-camiseta .img-main {
    position: absolute;      /* La sacamos del flujo normal */
    top: 0;                  /* Pegada al borde superior */
    left: 50%;               /* Centrada horizontalmente */
    transform: translateX(-50%); /* Ajuste del centro */
    
    width: 100%;             /* MÁS GRANDE: Ajusta este % si la quieres aún mayor */
    max-width: none;         /* Quitamos el límite de 190px */
    height: auto;            /* Mantiene proporción */
    margin: 0;
    z-index: 1;
}

/* =========================================
   6. OTRAS VARIANTES DE COLOR
   ========================================= */

.card-camiseta-1 {
    background-color: #ff5e02;
}

.brand-mark {
    position: absolute; bottom: 60px; left: 40px;
    font-size: 40px; font-weight: bold; color: black;
    transform: rotate(-10deg);
}

/* Pueblo (Rosa) */
.card-pueblo {
    background-color: #ff6ba9;
}
.card-pueblo .card-title { color: #7a1237; } 

/* Trabajo (Verde) */
.card-trabajo {
    background-color: #008a3c;
}
.card-trabajo .card-title { color: #7a1237; }

/* Aeropuertos (Naranja) */
.card-aeropuertos {
    background-color: #ff5e02;
}

/* Taza (Azul) */
.card-taza {
    background-color: #029eff;
}
.brand-mark-taza {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -40%);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 18px;
}

/* Playas (Amarillo) */
.card-playas {
    background-color: #f8e58e;
}
.text-dark { color: #0A231B !important; } 
.vector-wave {
    width: 100%; position: absolute; bottom: 0; left: 0;
    z-index: 1;
}

/* =========================================
   7. RESPONSIVE
   ========================================= */

/* TABLET (< 992px) */
@media screen and (max-width: 992px) {
    .info-strip {
        min-height: 310px;
    }
    
    .card {
        width: 260px; 
        height: 270px;
        padding: 20px;
    }
}

/* MÓVIL (< 600px) */
@media screen and (max-width: 600px) {
    
    .info-strip {
        min-height: 380px; 
    }
    
    .carousel-container {
        gap: 15px; 
        animation-duration: 35s; 
    }

    .card {
        width: 280px; 
        height: 305px; 
        padding: 25px; 
        margin: 0;
    }

    .card-header { font-size: 20px; }
    .card-title { font-size: 16px; }
    
    .card-body { 
        display: block !important; 
        font-size: 14px; 
        margin-top: 5px;
    }
}