/* Villa Gallery Styles */
.villa-gallery-main {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.villa-main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.villa-main-image:hover {
    transform: scale(1.02);
}

/* Thumbnail Gallery */
.villa-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail-item:hover {
    border-color: #d4af37;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
    border-color: #b8941f;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .villa-thumbnails {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
    
    .villa-thumbnails {
        gap: 6px;
    }
}

/* Image counter badge (optional enhancement) */
.image-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}
