/* Hlavný kontajner - celá šírka */
.customer-gallery {
    width: 100%;
    background: #f5f5f5;
    padding: 30px 0;
    padding-top: 10px;
}

.gallery-title {
    text-align: center;
    h2 {
        font-size: 32px;
        color: #333;
        font-weight: bold;
        margin: 10px 0;
    }
}

/* Carousel wrapper */
.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 70px;
    overflow: hidden;
}

/* Slider track */
.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

/* Jednotlivé fotky */
.carousel-slide {
    flex: 0 0 auto;
    width: 280px;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.carousel-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Hviezdičky overlay */
.slide-stars {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffd700;
    font-size: 18px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
    background: rgba(0,0,0,0.3);
    padding: 4px 12px;
    border-radius: 15px;
}

/* Navigačné šípky */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-arrow:hover {
    background: #f0f0f0;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 10px;
}

.carousel-arrow.next {
    right: 10px;
}

/* Lightbox pre fullscreen */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: all 0.3s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .carousel-slide {
        width: 240px;
    }
    
    .carousel-slide img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 60px;
    }
    
    .carousel-slide {
        width: 200px;
    }
    
    .carousel-slide img {
        height: 180px;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slide-stars {
        font-size: 16px;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 50px;
    }
    
    .carousel-slide {
        width: calc(100vw - 100px);
    }
    
    .carousel-slide img {
        height: 160px;
    }
}
