/**
 * Hero Banner Multi-Slide Styles
 * Styles for multi-slide banner navigation and animations
 */

/* Multi-Slide Container */
.hb-banner-multislide {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}

.hb-slides-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Slide Styles */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 600ms ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide Content */
.slide-image,
.slide-video,
.slide-html5 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-img,
.slide-vid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Slide Overlay */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
    padding: 2rem 15px;
    color: white;
}

.slide-overlay-content {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

.overlay-heading {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-subheading {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay-body {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.overlay-cta {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #dc3545;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 300ms ease;
}

.overlay-cta:hover {
    background: #b02a37;
    color: white;
}

/* Slide Controls */
.hb-slide-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 3;
    pointer-events: none;
}

.hb-slide-prev,
.hb-slide-next {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: background 300ms ease;
}

.hb-slide-prev:hover,
.hb-slide-next:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Pagination */
.hb-slide-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.hb-pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 300ms ease;
}

.hb-pagination-dot.active {
    background: white;
}

.hb-pagination-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .overlay-heading {
        font-size: 2rem;
    }

    .overlay-subheading {
        font-size: 1.2rem;
    }

    .overlay-body {
        font-size: 1rem;
    }

    .hb-slide-prev,
    .hb-slide-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .overlay-heading {
        font-size: 1.5rem;
    }

    .overlay-subheading {
        font-size: 1rem;
    }

    .overlay-body {
        font-size: 0.9rem;
    }

    .hb-slide-prev,
    .hb-slide-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}