/* media-gallery.css - Estilos reutilizáveis para galeria */
.gallery-main-media {
    width: 100%;
    max-width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.miniaturas-wrapper {
    position: relative;
    margin: 15px auto 0;
    width: 100%;
    overflow: hidden;
    background: transparent;
    padding: 0 40px;
}

#miniaturas {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: transparent;
    scroll-snap-type: x mandatory;
}

#miniaturas::-webkit-scrollbar {
    display: none;
}

.thumb {
    cursor: pointer;
    width: 100px;
    height: 75px;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    background: #fff;
    scroll-snap-align: start;
}

.thumb.active, .thumb-video.active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px #007bff;
}

.carousel-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.9);
    color: #333;
    border: none;
    width: 36px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    margin: 0 5px;
}

.carousel-control-btn.left { left: 0; }
.carousel-control-btn.right { right: 0; }

.thumb-video {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 100px;
    height: 75px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    flex-shrink: 0;
    background: #f8f9fa;
}

.thumb-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.thumb-video i.fa-play-circle {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.amenity-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}

.amenity-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.amenity-card i {
    color: #007bff;
    width: 20px;
    text-align: center;
    font-size: 1.2rem;
}

.amenity-card-grid {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.2s ease;
}

.amenity-card-grid:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.amenity-card-grid i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .miniaturas-wrapper { padding: 0 35px; }
    .thumb, .thumb-video { width: 80px; height: 60px; }
    .carousel-control-btn { width: 30px; height: 60px; margin: 0 2px; }
    .carousel-control-btn i { font-size: 1.1rem; }
    .gallery-main-media { height: 400px; }
}

@media (max-width: 480px) {
    .miniaturas-wrapper { padding: 0 30px; }
    .thumb, .thumb-video { width: 70px; height: 52px; }
    .carousel-control-btn { width: 26px; height: 52px; }
    .gallery-main-media { height: 300px; }
}