/* Sección Eventos R&F (Hotel Savoy) */
.rf-events-section {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.rf-events-desktop {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.rf-events-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
}

.rf-events-desktop .container {
    position: relative;
    z-index: 2;
}

.rf-events-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.rf-events-content .btn {
    margin-left: 0;
}

.rf-events-logo {
    display: block;
    width: 280px;
    max-width: 70%;
    height: auto;
    margin-bottom: 30px;
}

.rf-events-text {
    color: #fff;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Mobile: slideshow de fotos de fondo (oculto por defecto, se muestra en el breakpoint real del tema) */
.rf-events-mobile {
    position: relative;
    display: none;
    min-height: 640px;
    overflow: hidden;
}

.rf-events-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.rf-events-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.rf-events-slide.active {
    opacity: 1;
}

.rf-events-mobile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.35) 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.rf-events-mobile-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 640px;
    padding: 40px 25px;
}

.rf-events-mobile-logo {
    display: block;
    width: 240px;
    max-width: 75%;
    height: auto;
    margin-bottom: 25px;
}

.rf-events-mobile-content .rf-events-text {
    margin-bottom: 25px;
}

/* Toggle desktop / mobile en el breakpoint real del tema (Bootstrap xs = 767px) */
@media (max-width: 767px) {
    .rf-events-desktop {
        display: none;
    }

    .rf-events-mobile {
        display: block;
    }
}
