.fotogallery-carousel-wrapper { position: relative; }
.fotogallery-swiper { width: 100%; padding: 50px 0 80px 0; }
.fotogallery-swiper .swiper-slide { width: 380px; transition: all 0.4s ease; }
.fotogallery-swiper .swiper-slide-active .foto-carousel-card {
    transform: scale(1.18) translateY(-15px);
    box-shadow: 0 35px 90px rgba(91,44,111,0.45);
}
.fotogallery-swiper .swiper-slide-active .foto-carousel-card:hover {
    transform: scale(1.25) translateY(-20px);
    box-shadow: 0 40px 100px rgba(91,44,111,0.5);
}
.fotogallery-swiper .swiper-slide:not(.swiper-slide-active) .foto-carousel-card {
    opacity: 0.5; filter: brightness(0.7);
}
.fotogallery-swiper .swiper-slide:not(.swiper-slide-active) .foto-carousel-card:hover {
    opacity: 0.8; filter: brightness(0.9); transform: scale(1.02);
}
.fotogallery-prev, .fotogallery-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 60px; height: 60px; background: rgba(91,44,111,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2); color: white;
}
.fotogallery-prev { left: 0; }
.fotogallery-next { right: 0; }
.fotogallery-prev:hover, .fotogallery-next:hover {
    background: linear-gradient(135deg, #5B2C6F 0%, #462456 100%);
    border-color: rgba(212,175,55,0.6);
    transform: translateY(-50%) scale(1.1);
}
.modal-prev:hover, .modal-next:hover {
    background: rgba(91,44,111,1);
    transform: translateY(-50%) scale(1.1);
}
.modal-gallery-swiper { height: 100% !important; }
.modal-gallery-swiper .swiper-slide {
    display: flex !important; align-items: center !important;
    justify-content: center !important; height: 100% !important;
}
.modal-gallery-swiper .swiper-slide img {
    max-width: 100%; max-height: 100%; width: auto; height: auto;
    object-fit: contain; border-radius: 0;
}
.swiper-pagination { bottom: 1rem !important; color: white !important; font-size: 1.1rem !important; font-weight: 600 !important; }

@media (max-width: 768px) {
    .fotogallery-carousel-wrapper { padding: 0 60px; perspective: none !important; }
    .fotogallery-swiper, .fotogallery-swiper .swiper-wrapper { transform-style: flat !important; perspective: none !important; }
    .fotogallery-swiper .swiper-slide { width: 300px !important; transform: none !important; }
    .fotogallery-swiper { padding: 30px 0 60px 0; }
    .fotogallery-prev { left: 10px !important; width: 50px !important; height: 50px !important; }
    .fotogallery-next { right: 10px !important; width: 50px !important; height: 50px !important; }
    .fotogallery-carousel-section h2 { font-size: 1.8rem !important; }
    .modal-prev { left: 0.5rem !important; width: 45px !important; height: 45px !important; }
    .modal-next { right: 0.5rem !important; width: 45px !important; height: 45px !important; }
    #modalPhotoTitle { font-size: 1.3rem !important; }
    .modal-gallery-swiper { width: calc(100% - 120px) !important; }
    #fotoGalleryModal > div { padding: 5rem 1rem 2rem 1rem !important; }
}
@media (max-width: 480px) {
    .fotogallery-carousel-wrapper { padding: 0 50px; }
    .fotogallery-swiper .swiper-slide { width: 260px !important; }
}
