/* ========================================
   Hero Image Section Styles
   Compatible with theme colors:
   Primary: #023A3C (dark teal)
   Secondary: #EDEED3 (light beige/cream)
======================================== */

/* Responsive Display Control */
/* Show slider on desktop/laptop, hide on mobile/tablet */
.desktop-slider {
    display: block;
}

.mobile-hero {
    display: none;
}

/* Hide slider and show hero image on tablets and mobile */
@media (max-width: 991px) {
    .desktop-slider {
        display: none;
    }
    
    .mobile-hero {
        display: block;
    }
}

.hero-image-section {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Background Image - Fit the box */
.hero-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    z-index: 1;
}

/* Subtle hover effect */
.hero-image-section:hover .hero-image-background {
    transform: scale(1.02);
    transition: transform 0.5s ease;
}

/* Overlay for better text readability */
.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(2, 58, 60, 0.70) 0%,
        rgba(2, 58, 60, 0.50) 50%,
        rgba(2, 58, 60, 0.70) 100%
    );
    z-index: 2;
}

/* Content Wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 100px 0;
}

/* Hero Content */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Title */
.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #EDEED3;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #EDEED3;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
}

/* Hero Button */
.hero-button {
    animation: fadeInUp 1.2s ease-out;
}

.hero-button .os-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 50px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    line-height: 1 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.hero-button .os-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-image-section {
        height: 550px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-button .os-btn {
        padding: 15px 45px !important;
        font-size: 13px !important;
        min-width: 170px;
    }
}

@media (max-width: 991px) {
    .hero-image-section {
        height: 500px;
    }
    
    .hero-content-wrapper {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 35px;
    }
    
    .hero-button .os-btn {
        padding: 14px 40px !important;
        font-size: 13px !important;
        min-width: 160px;
    }
}

@media (max-width: 767px) {
    .hero-image-section {
        height: 450px;
    }
    
    .hero-content-wrapper {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero-button .os-btn {
        padding: 13px 35px !important;
        font-size: 12px !important;
        min-width: 150px;
    }
}

@media (max-width: 575px) {
    .hero-image-section {
        height: 400px;
    }
    
    .hero-content-wrapper {
        padding: 50px 0;
    }
    
    .hero-title {
        font-size: 28px;
        letter-spacing: 0.5px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 25px;
    }
    
    .hero-button .os-btn {
        padding: 12px 30px !important;
        font-size: 11px !important;
        min-width: 140px;
    }
}

/* RTL Support */
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle {
    direction: rtl;
    text-align: center;
}

/* Additional hover effects for better UX */
.hero-image-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(2, 58, 60, 0.9), transparent);
    z-index: 2;
}

/* Decorative elements */
.hero-content::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #EDEED3;
    border-radius: 2px;
    opacity: 0.8;
}

/* Button pulse animation on page load */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-button .os-btn {
    animation: pulse 2s ease-in-out infinite;
}

.hero-button .os-btn:hover {
    animation: none;
}

