/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: sans-serif;
    background-color: #000;
}

/* === ESTRUCTURA PRINCIPAL Y VIDEO === */
.video-background {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
}

#video-fondo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    width: 90%;
}

/* === LOGO PRINCIPAL === */
.logo {
    max-width: 450px;
    width: 100%;
    height: auto;
}

/* === CONTENEDOR PRINCIPAL CON IMAGEN DE FONDO === */
.main-content {
    background-image: url('imagen/fondo2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


/* === SECCIÓN DEL CARRUSEL === */
.carousel-section {
    background-color: rgba(0, 0, 0, 0.75);
    padding: 40px 0;
    text-align: center;
    overflow: hidden;
}

.carousel-title {
    font-size: 2.2em;
    color: white;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 
        -1.5px -1.5px 0 #000,  
         1.5px -1.5px 0 #000,
        -1.5px  1.5px 0 #000,
         1.5px  1.5px 0 #000;
}

.carousel-container {
    width: 100%;
    display: flex;
}

.carousel-slide {
    display: flex;
    /* VELOCIDAD AJUSTADA AQUÍ: Reducido de 30s a 22s */
    animation: scroll 22s linear infinite;
}

/* === ESTILOS PARA LOS ITEMS DEL CARRUSEL === */
.carousel-item {
    position: relative;
    margin: 0 20px;
    flex-shrink: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.carousel-item img {
    height: 180px;
    width: auto;
    display: block;
}

.item-name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    text-align: center;
    padding: 8px 0;
}

.item-name h4 {
    margin: 0;
    font-size: 1.1em;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === SECCIÓN DE BOTONES DE ACCIÓN === */
.action-buttons-section {
    background-color: transparent; 
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.action-button {
    width: 100%;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.action-button:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.7);
}

.action-button i {
    font-size: 1.3em;
}

.action-button.whatsapp { background-color: #25D366; }
.action-button.llamada { background-color: #34B7F1; }
.action-button.ubicacion { background-color: #E64A45; }