﻿/* ================== FUENTES ================== */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Nunito:wght@400;500;600;700&display=swap");

/* ================== RESET ================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #000;
    color: #2b1b10;
    font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
/* ================== BOTÓN WHATSAPP FLOTANTE ================== */

.whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 66px;
    height: 66px;

    
    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 999; /* por encima del resto de la UI */
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

    .whatsapp-fab img {
        width: 70%;
        height: 70%;
        object-fit: contain;
        pointer-events: none; /* el click va al <a>, no a la imagen */
    }

    .whatsapp-fab:hover {
        background-color: #1ebe5b;
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
    }

    .whatsapp-fab:active {
        transform: translateY(1px) scale(0.97);
        box-shadow: 0 7px 18px rgba(0, 0, 0, 0.45);
    }

/* Ajuste en pantallas chicas */
@media (max-width: 600px) {
    .whatsapp-fab {
        right: 16px;
        bottom: 16px;
        width: 58px;
        height: 58px;
    }
}

/* ================== FONDO GENERAL ================== */

.page-bg {
    position: fixed;
    inset: 0;
    background: url("Imagenes/Fondo.png") center / cover no-repeat;
    z-index: -2;
}

    .page-bg::after {
        content: "";
        position: absolute;
        inset: 0;
        background: #3e3f31;
        opacity: 0.6; /* overlay 60% */
    }

/* ================= BARRA SUPERIOR FIJA ================= */

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 0;                /* un poco de aire arriba y abajo */
    display: flex;
    justify-content: center;
    z-index: 100;
    background: transparent;       /* dejamos ver el fondo con árboles */
    pointer-events: none;          /* no bloquea el scroll, solo la cápsula interna */
}

/* Cápsula flotante de la barra */
.top-bar-inner {
    position: relative;
    pointer-events: auto;          /* aquí sí se puede hacer clic */
    width: min(1180px, 100% - 32px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, #e7cc8f 0%, #d3a35b 100%);
    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.35) inset;
}

/* Brillo suave en la parte superior de la cápsula */
.top-bar-inner::before {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    top: 4px;
    height: 45%;
    border-radius: 999px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.45),
        transparent
    );
    pointer-events: none;
}

/* Logo un poco más grande para equilibrar la cápsula */
.logo-area img {
    height: 70px;
    width: auto;
    display: block;
}

/* NAV – estos estilos pueden quedar como ya los tenías;
   si querés, reforzamos un poco la presencia de los links. */

.main-nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    position: relative;
    font-family: "Playfair Display", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    color: #3a2611;
    padding-bottom: 6px;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.nav-link:hover {
    color: #1c3c16;
}

/* Subrayado verde cápsula */
.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 56px;
    height: 4px;
    border-radius: 999px;
    background-color: #356b2a;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-link--active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Botón Instagram sigue igual, pero se integra mejor dentro de la cápsula */
.instagram-btn {
    border: none;
    border-radius: 999px;
    padding: 0;
    width: 52px;
    height: 52px;
    background-color: #fbe8c7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}

.instagram-btn__icon {
    width: 28px;
    height: 28px;
    display: block;
}

/* efecto hover */
.instagram-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    background-color: #ffe6bd;
}

/* ================= HEADER – RESPONSIVE ================= */

@media (max-width: 900px) {
    .top-bar {
        padding: 4px 0;
    }

    .top-bar-inner {
        width: calc(100% - 16px);
        padding: 6px 14px;
        border-radius: 26px;
    }

    .logo-area img {
        height: 44px;
    }

    .main-nav {
        gap: 1.4rem;
    }

    .nav-link {
        font-size: 0.95rem;
        padding-bottom: 4px;
    }

        .nav-link::after {
            height: 3px;
            bottom: -3px;
            width: 44px;
        }

    .instagram-btn {
        width: 44px;
        height: 44px;
    }

    .instagram-btn__icon {
        width: 24px;
        height: 24px;
    }

    /* un poco menos espacio para compensar la barra más baja */
    .content-wrapper {
        padding-top: 90px;
    }
}


/* ================== CONTENIDO GENERAL ================== */

.content-wrapper {
    padding-top: 100px; /* espacio para la barra fija */
    padding-bottom: 64px;
}

.section {
    padding: 56px 0;
    scroll-margin-top: 100px; /* para anclas del menú */
}

.section__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.6rem;
    text-align: center;
    margin-bottom: 0.35rem;
    color: #f5e8c5;
}

.section__subtitle {
    text-align: center;
    color: #f8edd1;
    max-width: 640px;
    margin: 0 auto 2.3rem;
    font-size: 0.95rem;
}

/* ================== INICIO ================== */

.main-card {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2.5rem 3rem;
    background: #f3d9a5; /* fondo cremita */
    border-radius: 40px;
    border: 6px solid #305729; /* BORDE VERDE */
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
    column-gap: 2.75rem;
    align-items: center;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
}

.photo-card img {
    width: 100%;
    display: block;
    border-radius: 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Texto de inicio */

.info-card h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.6rem;
    margin-bottom: 1rem;
    color: #3b2413;
}

.info-card p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    max-width: 620px;
}

.services {
    margin-top: 1rem;
    column-count: 2;
    column-gap: 4rem;
    list-style: disc;
    padding-left: 1.2rem;
}

    .services li {
        break-inside: avoid;
        margin-bottom: 0.35rem;
    }

/* Animaciones de entrada en Inicio */

.animate-from-left,
.animate-from-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-from-left {
    transform: translateX(-40px);
}

.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ================== UBICACIÓN ================== */

.location-card {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2.5rem 3rem;
    background: #305729;
    border-radius: 40px;
    border: 6px solid #d8aa3b; /* BORDE AMARILLO */
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: center;
    color: #fbeccd;
}

.location-image img {
    width: 100%;
    display: block;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.location-caption {
    margin-top: 0.85rem;
    font-size: 0.95rem;
}

.location-map img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    display: block;
    border-radius: 26px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.map-hint {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.9;
    animation: bounce 1.6s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* ================== IMÁGENES ================== */

.images-card {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 2.3rem 3rem 2.8rem;
    background: #305729;
    border-radius: 40px;
    border: 6px solid #d8aa3b; /* BORDE AMARILLO */
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55);
    color: #f5e8c5;
}

.images-main {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.images-main-img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 26px;
    display: block;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

/* Botones de navegación de imágenes */

.images-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 2px solid #2e5a2a; /* verde del sitio */
    background-color: #f3d7a3; /* cremita (color de Inicio) */
    color: #2b2115; /* texto oscuro */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    cursor: pointer;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

    .images-nav-btn:hover {
        transform: translateY(-50%) scale(1.06);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
        background-color: #2e5a2a; /* verde al pasar el mouse */
        color: #fbead0; /* texto clarito para que contraste */
    }

.images-nav-btn--prev {
    left: 20px;
}

.images-nav-btn--next {
    right: 20px;
}

.images-counter {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.85;
}


/* ================== RESEÑAS ================== */

.reviews-section {
    padding: 3.5rem 1.5rem 3.75rem;
}

/* Panel verde centrado con borde amarillo */
.reviews-card-wrapper {
    max-width: 1150px;
    margin: 0 auto;
    padding: 3rem 4.5rem 3.25rem;
    position: relative;
    background-color: #305d33; /* verde panel */
    border-radius: 38px;
    border: 6px solid #e0b75c; /* borde amarillo */
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Ventana que recorta el carrusel */
.reviews-window {
    overflow: hidden;
}

/* Pista que se desplaza */
.reviews-track {
    display: flex;
    gap: 24px; /* ¡este gap lo usa el JS! */
    transition: transform 0.35s ease;
}

/* Tarjetas individuales */
.review-card {
    flex: 0 0 calc((100% - 2 * 24px) / 3);
    max-width: 360px;
    background-color: #f8e0b6;
    border-radius: 26px;
    padding: 1.75rem 2rem;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

/* Encabezado de la tarjeta */
.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background-color: #305d33;
    color: #fff9e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.05rem;
}

.review-meta h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #341c10;
}

.review-meta p {
    margin: 0;
    font-size: 0.85rem;
    color: #6c5a43;
}

.review-meta span {
    color: #1a73e8;
    font-weight: 500;
}

/* Estrellas */
.review-rating {
    color: #f5a623;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

/* Texto de la reseña */
.review-text {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #3e2b1b;
}

/* Link "Ver más comentarios en Google" */
.reviews-more {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: #f7e4c0;
}

    .reviews-more a {
        color: #fddf84;
        text-decoration: underline;
    }

        .reviews-more a:hover {
            color: #ffffff;
        }

/* ===== Navegación (flechas) ===== */

.reviews-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1b381d;
    color: #fff9e9;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
    z-index: 2;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.reviews-nav--prev {
    left: -22px;
}

.reviews-nav--next {
    right: -22px;
}

.reviews-nav:hover {
    background-color: #264f29;
    transform: translateY(-50%) translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.reviews-nav:active {
    transform: translateY(-50%) translateY(1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Responsivo: en pantallas chicas mostramos 1 tarjeta */

@media (max-width: 1100px) {
    .reviews-card-wrapper {
        padding-inline: 2.5rem;
        padding-block: 2.25rem;
    }

    .review-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .reviews-nav--prev {
        left: -16px;
    }

    .reviews-nav--next {
        right: -16px;
    }
}

/* ================== RESPONSIVE ================== */

@media (max-width: 1100px) {

    /* ya no tocamos la barra acá, solo contenido */
    .content-wrapper {
        padding-top: 90px;
    }

    .main-card,
    .location-card,
    .images-card,
    .reviews-card-wrapper {
        border-radius: 30px;
        padding: 2.1rem 2.2rem 2.4rem;
    }

    .main-card {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2rem;
    }

    .location-card {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2rem;
    }

    .photo-card {
        order: 1;
    }

    .info-card {
        order: 2;
    }

    .reviews-window {
        margin-inline: 1.8rem;
    }

    .review-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 720px) {

    /* tampoco tocamos la barra acá, solo layout del contenido */
    .section {
        padding: 44px 0;
    }

    .main-card,
    .location-card,
    .images-card,
    .reviews-card-wrapper {
        margin: 0 1.1rem 3rem;
        padding: 1.8rem 1.5rem 2rem;
    }

    .info-card h1 {
        font-size: 2.2rem;
    }

    .services {
        column-count: 1;
    }

    .images-main-img {
        max-height: 380px;
    }

    .reviews-window {
        margin-inline: 1.2rem;
    }

    .reviews-nav--prev {
        left: 0.2rem;
    }

    .reviews-nav--next {
        right: 0.2rem;
    }
}

@media (max-width: 600px) {

    .top-bar {
        padding: 2px 0;
    }

    .top-bar-inner {
        width: calc(100% - 10px);
        padding: 4px 10px; /* menos alto y menos ancho */
        border-radius: 20px;
    }

    .logo-area img {
        height: 32px; /* logo más chico */
    }

    .main-nav {
        gap: 0.9rem; /* menos espacio entre botones */
    }

    .nav-link {
        font-size: 0.85rem; /* texto más compacto */
        padding-bottom: 3px;
        letter-spacing: 0.02em;
    }

        .nav-link::after {
            width: 34px;
            height: 3px;
            bottom: -2px;
        }

    .instagram-btn {
        width: 36px;
        height: 36px;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
    }

    .instagram-btn__icon {
        width: 20px;
        height: 20px;
    }

    /* compensar que la barra ahora es más baja */
    .content-wrapper {
        padding-top: 76px;
    }
}
