/* IT44 Hero Element Styles */
.it44-hero-element {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f0f0f0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    will-change: auto;
    z-index: 1;

}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 40px 20px;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .hero-title {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 15px 10px;
    }
    
    .hero-title {
        margin-bottom: 10px;
    }
}

/* Admin styles */
.hero-image-upload {
    margin-bottom: 10px;
}

.image-preview {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 4px;
}

.image-preview img {
    display: block;
    margin: 0 auto;
}

.image-preview p {
    margin: 0;
    text-align: center;
    color: #666;
    font-style: italic;
}

#upload_image_button,
#remove_image_button {
    margin-right: 10px;
}

input[type="range"] {
    width: 200px;
    margin-right: 10px;
}

#opacity_value {
    font-weight: bold;
    color: #0073aa;
}
