/* Hero Video Block Styles */

.hero-video {
    position: relative;
}

.hero-video__video {
    object-fit: cover;
}

.hero-video__overlay {
    pointer-events: none;
}

.hero-video__content {
    position: relative;
}

/* Button Wrapper Styles */
.hero-video__booking-wrapper .reddy-booking-button-wrapper {
    display: inline-flex;
}

/* CTA Link Button - inherits btn-cta styles from booking plugin */
.hero-video__cta-btn.btn-cta {
    text-decoration: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-video h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        padding: 0 1rem;
    }
}

/* ==========================================================================
   Slideshow Styles
   ========================================================================== */

/* Slides Container */
.hero-video__slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Individual Slide */
.hero-video__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.hero-video__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Media Elements */
.hero-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video__image {
    object-fit: cover;
}

/* ==========================================================================
   Dots Navigation
   ========================================================================== */

.hero-video__dots {
    display: flex;
    gap: 10px;
    padding: 0 20px;
}

.hero-video__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-video__dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero-video__dot.is-active {
    background-color: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Sand/Light theme dots (when text is sand colored) */
.hero-video--light-dots .hero-video__dot {
    background-color: rgba(218, 218, 212, 0.4);
}

.hero-video--light-dots .hero-video__dot:hover {
    background-color: rgba(218, 218, 212, 0.7);
}

.hero-video--light-dots .hero-video__dot.is-active {
    background-color: rgba(218, 218, 212, 1);
}

/* Pause on hover indicator */
.hero-video--slideshow:hover .hero-video__dot.is-active {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1.4);
    }
}

/* Mobile dots adjustments */
@media (max-width: 768px) {
    .hero-video__dots {
        gap: 8px;
        bottom: 20px;
    }

    .hero-video__dot {
        width: 8px;
        height: 8px;
    }
}
