/* --- ESTILOS ESPECÍFICOS PARA EL HEADER Y LOGO --- */

.logoname {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase; /* Uniformidad total en mayúsculas */
    font-weight: 700;
    letter-spacing: 2px;       /* Espaciado moderno entre letras */
    margin: 0;
    font-size: 1.5rem;         /* Tamaño equilibrado */
    line-height: 1;
}

.logoname a {
    color: #333;               /* Color sólido y profesional */
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.logoname a:hover {
    color: #ff6600;            /* Color de acento (naranja publicitario) al pasar el mouse */
}

/* --- ESTILOS ESPECÍFICOS PARA EL CARRUSEL (FULL WIDTH) --- */

.slideshow-container {
    width: 100%;             /* Ocupa el 100% del ancho disponible */
    max-width: 100%;        /* Elimina cualquier restricción de ancho previo */
    position: relative;
    margin: 0;               /* Elimina márgenes para que pegue a los bordes */
    border-radius: 0;        /* Quita bordes redondeados para un look de pantalla completa */
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: #000;
}

.mySlides {
    display: none; 
    text-align: center;
    position: relative;
    width: 100%;
}

.mySlides img {
    width: 100%;            /* La imagen se expande al ancho total */
    height: auto;
    max-height: 80vh;       /* Ajusta la altura al 80% de la pantalla para no perder el scroll */
    object-fit: cover;      /* 'cover' llena el espacio (puede recortar un poco), 'contain' muestra todo */
    vertical-align: middle;
}

/* --- EFECTO 1: ZOOM + FADE (Recomendado) --- */
.fade-anim {
    animation: zoomFade 1.8s ease-in-out;
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(1.05); /* Un zoom más sutil para pantallas grandes */
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- EFECTO 2: SLIDE LATERAL --- */
.slide-lateral {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Título informativo sobre la imagen */
.caption-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 25px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    font-family: 'Inter', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Ajustes para móviles */
@media screen and (max-width: 600px) {
    .caption-text {
        font-size: 14px;
        padding: 15px 0;
        letter-spacing: 1px;
    }
    .mySlides img {
        max-height: 50vh; /* Más pequeño en móviles para mejor navegación */
    }
}