* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.gallery-header {
    background: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.mySlides {
    display: none;
    position: relative;
    text-align: center;
    background: #000;
}

.mySlides.active {
    display: block;
}

.mySlides img {
    width: 100%;
    height: 500px;
    object-fit: contain;
    background: #000;
}

.numbertext {
    color: #f2f2f2;
    font-size: 14px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0 0 5px 0;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    background: rgba(0, 0, 0, 0.5);
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.dots-container {
    text-align: center;
    padding: 20px;
    background: #333;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #717171;
}

.image-counter {
    text-align: center;
    padding: 10px;
    background: #333;
    font-size: 14px;
    color: #ccc;
}

.no-images {
    text-align: center;
    padding: 50px;
    color: #ccc;
}

.thumbnail-strip {
    display: flex;
    overflow-x: auto;
    padding: 10px;
    background: #333;
    gap: 10px;
}

.thumbnail {
    cursor: pointer;
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.thumbnail:hover {
    border-color: #007bff;
}

.thumbnail.active {
    border-color: #007bff;
}

@media (max-width: 768px) {
    .prev, .next {
        padding: 12px;
        font-size: 16px;
    }
    
    .mySlides img {
        height: 300px;
    }
    
    .thumbnail-strip {
        display: none;
    }
}
