/* Banner Zoom Level Fix - Ensures content is visible at all zoom levels */

/* Default behavior - show full image content without cropping */
.stqc-slide[style*="background-image"] {
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #f8f9fa !important;
}

/* Container height adjustments to accommodate contain sizing */
.stqc-slider {
    min-height: 400px !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .stqc-slider {
        min-height: 500px !important;
        height: 500px !important;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 1024px) {
    .stqc-slider {
        min-height: 500px !important;
        height: 500px !important;
        margin-bottom: 0 !important;
    }
}

/* Remove spacing around hero section */
.stqc-hero-section {
    margin: 0 !important;
    padding: 0 !important;
}

.stqc-slider-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* Fix spacing between menu and hero section */
.stqc-hero-section {
    margin-top: -1px !important; /* Remove gap between menu and banner */
}

/* Ensure slider wrapper maintains aspect ratio */
.stqc-slider-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Override any conflicting styles */
.stqc-slide {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Accessibility - ensure content is always readable */
.stqc-slide-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(transparent, rgba(0,0,0,0.8)) !important;
    color: white !important;
    padding: 2rem !important;
    z-index: 10 !important;
} 