/* ===========================
   TOUR GALLERY
=========================== */

.main-tour-image {
    width: 100%;
    height: 380px;        /* ← antes era 550px, reducido para la columna */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: opacity 0.15s ease;
}

.gallery-thumbnails{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 15px;
}

.thumbnail-image {
    width: 80px;          /* ← un poco más pequeños también */
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
    border: 2px solid transparent;
}

.thumbnail-image:hover{
    transform: scale(1.05);

    border-color: #2563eb;
}

/* ── Wrapper imagen principal ── */
.main-image-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

/* ── Flechas ── */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(179, 134, 69, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
    background-color: rgb(179, 134, 69);
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

/* ── Contador ── */
.gallery-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ── Thumbnail activo ── */
.thumbnail-image.active {
    outline: 3px solid rgb(179, 134, 69);
    opacity: 1;
}

.thumbnail-image:not(.active) {
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.thumbnail-image:hover {
    opacity: 1;
}

/* ── Responsive ── */

@media (max-width: 992px) {
    .main-tour-image {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-arrow {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }
}