﻿/* 🔹 HERO SECTION */
.hero-section {
    /*height: 100vh;
    min-height: 500px;*/  
    position: relative;
    overflow: hidden;
}

.carousel-item {
    height: calc(100vh - 120px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: opacity 1.2s ease-in-out;
}

.carousel-caption {
    bottom: 30%;
    z-index: 5;
}

    .carousel-caption h1 {
        font-size: 3rem;
        font-weight: bold;
    }

    .carousel-caption .text-gold {
        color: var(--gold);
    }

    .carousel-caption p {
        font-size: 1.3rem;
        color: #f5f5f5;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.imgSlider01 {
    background-image: url('../images/slide01.jpg')
}
.imgSlider02 {
    background-image: url('../images/slide02.jpg')
}

/* أزرار داخل السلايدر */
.carousel-caption .btn {
    font-size: 1rem;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: var(--gold);
    color: black;
    border-color: var(--gold);
}

.slider-img {
    height: 100%;
    /*object-fit: cover;*/
}

@media (max-width: 768px) {
     .hero-section {
           max-height: 349px;
    }
    .carousel-item {
        background-size: contain; /* يظهر الصورة كاملة */
        background-position: center top;
        height: auto; 
    }
    .slider-img {
        height: auto;
        object-fit: contain; /* يظهر الصورة كاملة */
    }
}
