/* Modern Hero Styles (Extracted from Design) */
:root {
    --hero-primary-color: #bd9c47;
    --hero-text-white: #FFFFFF;
    --swiper-pagination-color: var(--hero-primary-color);
}

.modern-hero {
    display: flex;
    position: relative;
    min-height: 818px;
    background-image: url("../../img/background.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.62;
    z-index: 1;
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 20px;
    flex-wrap: wrap;
}

.hero-column-text {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 50px;
}

.hero-column-slider {
    flex: 0 0 66.666%;
    max-width: 66.666%;
    display: flex; /* Default mobile or small screens where we might want it visible? Or should it be hidden by default and shown on mobile? */
    flex-direction: column;
    justify-content: center;
    padding-top: 50px;
}

/* Hide slider on computer screens */
@media (min-width: 992px) {
    .hero-column-slider {
        display: none !important;
    }
    .hero-column-text {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        align-items: center;
    }
}

.hero-title-new {
    font-family: "Cairo", Sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #FFFFFF;
}

.hero-btn-new {
    background-color: var(--hero-primary-color);
    font-family: "Cairo", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    width: fit-content;
    transition: background-color 0.3s;
}

.hero-btn-new:hover {
    background-color: #a38542;
}

/* Swiper Slider Customizations */
.hero-swiper {
    width: 100%;
    border-radius: 21px;
    overflow: hidden;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--hero-primary-color);
}

/* Responsiveness */
@media (min-width: 1400px) {
    .hero-container {
        max-width: 1400px;
    }
    .hero-title-new {
        font-size: 52px;
    }
}

@media (max-width: 1199px) {
    .hero-container {
        padding: 40px 30px;
    }
    .hero-title-new {
        font-size: 35px;
    }
}

@media (max-width: 991px) {
    /* Tablet / iPad Pro */
    .hero-container {
        padding: 40px 20px;
    }
    .hero-column-text {
        flex: 0 0 45%;
        max-width: 45%;
    }
    .hero-column-slider {
        flex: 0 0 55%;
        max-width: 55%;
    }
    .hero-title-new {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .modern-hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hero-column-text, .hero-column-slider {
        flex: 0 0 100%;
        max-width: 100%;
        padding-top: 20px;
    }
    
    .hero-column-text {
        padding: 0;
        margin: 0;
        order: 1;
    }
    
    .hero-column-slider {
        order: 2;
        width: 100%;
    }
    
    .hero-title-new {
        font-size: 28px;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .hero-btn-new {
        font-size: 15px;
        margin: 0 auto;
        padding: 10px 20px;
    }

    .hero-swiper {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-title-new {
        font-size: 24px;
    }
    .modern-hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }
}
