body {
    background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9)),
    url('../../images/patagonia-argentina-background.jpg') no-repeat center center fixed;
    background-size: cover;
    padding-top: 80px
}

footer {
    font-size: 0.9rem;
}
.image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 30rem;
    overflow: hidden;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    display: flex;
    align-items: stretch;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar,
.navbar * {
    font-family: 'Noto Serif', serif;
    font-size: 2rem;
    font-optical-sizing: auto;
}

/* Navbar transparente con efecto frosted glass */
.navbar {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Asegura que el logo se vea sólido */
.navbar .bg-white {
    background-color: rgba(255, 255, 255, 1) !important;
}

#rotating-text {
    font-size: 2rem;
}

@media (max-width: 576px) {
    #rotating-text {
        font-size: 1.2rem;
    }
}

#opiniones h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #2b3e42;
}

#opiniones .swiper-slide {
    height: auto;
}

.opiniones-swiper {
    width: 100%;
    position: relative; /* ✅ Asegura que los botones se posicionen respecto a este contenedor */
    z-index: 1;
    overflow: visible;
}

.opiniones-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* ✅ Asegura que los controles del slider de opiniones siempre estén visibles */
.opiniones-swiper .swiper-button-next,
.opiniones-swiper .swiper-button-prev {
    color: #333;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.opiniones-swiper .swiper-button-next {
    right: 10px !important;
}

.opiniones-swiper .swiper-button-prev {
    left: 10px !important;
}

.opiniones-swiper:hover .swiper-button-next,
.opiniones-swiper:hover .swiper-button-prev {
    opacity: 1;
}

.depto-swiper {
    max-width: 600px;
    height: 600px;          /* altura fija */
    margin: 0 auto 2rem auto;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(160, 196, 228, 0.34);
    display: flex;
    align-items: center;
}

.depto-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 1rem;
}

.depto-swiper .swiper-slide,
.depto-swiper .swiper-slide img {
    height: 100%;
}


.depto-swiper .swiper-slide img {
    width: 100%;
    object-fit: contain;    /* ✅ ajusta la imagen completa, no la recorta */
    display: block;
    margin: 0 auto;
    border-radius: 1rem;
}

.card-depto {
    background: rgba(192, 192, 239, 0.24) !important;
    box-shadow: none;
}

footer img {
    width: 60px;
    height: auto;
    max-height: 32px;
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row !important;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .navbar img {
        height: 50px;
    }

    #rotating-text {
        font-size: 0.75rem;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .navbar .nav-link {
        font-size: 0.8rem;
    }
}

#logo-tooltip {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(255,255,255,0.85);
    justify-content: center;
    align-items: center;
}
#logo-tooltip.active {
    display: flex;
    animation: logo-tooltip-pop .25s;
}
.logo-tooltip-content {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo-tooltip-content img {
    max-width: 320px;
    max-height: 80vh;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}
@media (max-width: 400px) {
    .logo-tooltip-content img {
        max-width: 90vw;
    }
}
@keyframes logo-tooltip-pop {
    0% { transform: scale(0.7);}
    100% { transform: scale(1);}
}


