/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Sep 23, 2025, 1:11:23 PM
    Author     : Baha.Alshurfat
*/

/* Gallery Title */
.gallery-title {
    color: #333;
    font-size: 35px;
    font-weight: normal; /* بدون بولد */
    margin-bottom: 1rem;
    text-align: center;
}

/* Horizontal line */
.tm-hr {
    width: 100%;
    margin-top: 5px;
    border: 1px solid #ccc;
}


/* Carousel wrapper */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;       /* عرض السلايدر */
    height: 550px;     /* ارتفاع السلايدر */
}

/* Carousel images */
#carousel img {
    width: 100%;   /* الصورة لا تتعدى عرض السلايدر */
    height: 100%;  /* الصورة لا تتعدى ارتفاع السلايدر */
    object-fit: cover; /* يمكن تغييره إلى contain إذا تريد الصورة كاملة بدون قص */
    flex-shrink: 0;
    margin: 0 auto;    /* تمركز الصورة داخل السلايدر */
}

/* Carousel images container */
#carousel {
    display: flex;
    transition: transform 0.3s ease;
}

/* Indicators (dots) */
#indicators {
    text-align: center;
    margin: 10px 0;
}

#indicators span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 3px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

/* Thumbnails */
.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ccc;
}
/* ====== Responsive adjustments ====== */

/* Tablets */
@media (max-width: 1024px) {
    .carousel-wrapper {
        height: 300px; /* أصغر شوية */
    }
    .thumbnails img {
        width: 60px;
        height: 45px;
    }
}

/* Mobile phones */
@media (max-width: 768px) {
    .carousel-wrapper {
        height: 250px; /* أصغر للشاشات الصغيرة */
    }
    .thumbnails {
        flex-wrap: wrap; /* يلتف إذا كثرت الصور */
        gap: 5px;
    }
    .thumbnails img {
        width: 50px;
        height: 40px;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .carousel-wrapper {
        height: 200px; /* مناسب جداً للشاشات الصغيرة */
    }
    .thumbnails img {
        width: 40px;
        height: 30px;
    }
}