/* Combinacion de colores Verde
:root {
    --nav-bg: rgba(24, 44, 42, 0.92);
    --nav-border: rgba(255, 255, 255, 0.08);

    --text-main: #f1f5f4;
    --text-muted: #cbd5d1;

    --accent: #cfa96b;     
    --accent-soft: #e6c892;

    --blur: blur(10px);
    --nav-bg-scrolled: rgba(24, 44, 42, 0.92);
}
*/

/* Combinacion de colores Verde Salvia */
:root {
    /* Navegación */
    --nav-bg: rgba(34, 58, 64, 0.88);          /* verde azulado suave */
    --nav-bg-scrolled: rgba(34, 58, 64, 0.92);
    --nav-border: rgba(255, 255, 255, 0.1);

    /* Textos */
    --text-main: #f2f6f5;                     /* blanco cálido */
    --text-muted: #c6d2cf;                    /* gris verdoso suave */

    /* Acentos */
    --accent: #a7c4b5;                        /* verde salvia */
    --accent-soft: #c9ded4;

    /* Extra */
    --blur: blur(10px);
}


/* Scroll suave */
html {
    scroll-behavior: smooth;
}
  

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Barra de Navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;

    background: var(--nav-bg);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);

    border-bottom: 1px solid var(--nav-border);

    padding: 0.9rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.nav-logo h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1.6rem;
    color: #f5f7fa;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2.2rem;
}

.nav-link {
    position: relative;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
  
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:focus,
.nav-link:active {
  color: #f5f7fa;          /* mismo blanco suave */
  outline: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.bar {
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;

    display: flex;
    flex-direction: colum;
    align-items: center;
    justify-content: center;
    text-align: center;

    color: var(--text-main);

    background:
    radial-gradient(
        1200px circle at top,
        rgba(255, 255, 255, 0.22),
        rgba(0, 0, 0, 0.35)
    ),
    linear-gradient(
        135deg,
        #5f8f8b,
        #2f4f55
    );

    background-size: 200% 200%;
    animation: calmGradient 14s ease infinite;
}

.hero {
    background-size: 200% 200%;
    animation: calmGradient 12s ease infinite;
}

@keyframes calmGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.15)
    );
}


/* Estado inicial (invisible pero presente) */
.hero-title,
.hero-text,
.hero-cta {
  opacity: 0;
  transform: translateY(18px);
}

/* Animacion muy suave */
.hero-title {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}
  
.hero-text {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.45s;
}
  
.hero-cta {
    animation: fadeUp 0.8s ease-out forwards;
    animation-delay: 0.65s;
}

/* Animacion una sola vez */
@keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}
  

.hero-content {
    max-width: 720px;
    padding: 0 20px;
}

/* Suaviza el primer impacto */
.hero-content {
    animation: fadeUp 1.2s ease forwards;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.15;
    margin-bottom: 1rem;
}
  
.hero-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto 2rem;
    opacity: 0.85;
  }
  
.scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-cue span {
    display: block;

    width: 22px;
    height: 34px;

    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;

    position: relative;
}

.scroll-cue span::before {
    content: "";

    position: absolute;
    top: 8px;
    left: 50%;

    width: 4px;
    height: 4px;

    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;

    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }
    30% {
        opacity: 1;
    }
    60% {
        opacity: 1;
        transform: translate(-50%, 10px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, 16px);
    }
}


.cta-button {
    display: inline-block;

    padding: 14px 36px;
    border-radius: 999px;

    background: var(--accent);
    color: #243332;

    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;

    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}


/* Secciones */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Cabañas */
.cabins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 3.5rem;
    margin-top: 3rem;
}

.cabin-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 1px 0 rgba(255,255,255,0.8) inset;

    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cabin-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 18px 45px rgba(0,0,0,0.12),
        0 1px 0 rgba(255,255,255,0.8) inset;
}

.cabin-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.cabin-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cabin-card:hover .cabin-image img {
    transform: scale(1.05);
}

.cabin-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.0),
        rgba(0,0,0,0.25)
    );
}

.cabin-info h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
    color: #1f2f2e;
}

.cabin-info p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #5f6f6d;
    margin-bottom: 1.8rem;
}

.cabin-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.2rem;
}

.cabin-features li {
    font-size: 0.9rem;
    color: #4f7d73;
    font-weight: 500;
}

.cabin-info::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    opacity: 0.7;
    margin-bottom: 1.2rem;
}


/* Ubicación */
.location-section {
    background: #f3f7f6;
    padding: 100px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.location-info h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #1f2f2e;
    margin-bottom: 1.2rem;
}

.location-info p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #5f6f6d;
}

.address {
    padding-left: 1.2rem;
    border-left: 2px solid var(--accent);
    margin: 2rem 0;
}

.address h4 {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #2f5e56;
    margin-bottom: 0.4rem;
}

.address p {
    font-size: 0.95rem;
    color: #4f5f5d;
}

.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#map {
    height: 100%;
    width: 100%;
}

/* Estilos para el contenedor del mapa */
.map-container {
    height: 360px;
    border-radius: 18px;
    overflow: hidden;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.12);

    background: #ffffff;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(90%) contrast(95%);
}

.map-container::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    pointer-events: none;
}

.map-link {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.map-link a {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.map-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Botones de acción del mapa */
.map-actions {
    margin-top: 2rem;
}

.larger-map-btn {
    display: inline-block;
    margin-top: 1rem;

    padding: 12px 26px;
    border-radius: 999px;

    background: transparent;
    color: #2f5e56;
    border: 1px solid #2f5e56;

    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;

    transition: all 0.3s ease;
}

.larger-map-btn:hover {
    background: #2f5e56;
    color: white;
    transform: translateY(-2px);
}

/* Contacto */
.contacto {
    padding: 6rem 1.5rem;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.02),
      rgba(255,255,255,0.06)
    );
}
  
.contacto-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
  
.contacto h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.8rem;
}
  
.contacto-subtitle {
    max-width: 520px;
    margin: 0 auto 3rem;
    opacity: 0.8;
    line-height: 1.6;
}

.contacto-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contacto {
    animation: fadeUp 0.8s ease both;
}
  
@keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

.icon-whatsapp {
    width: 22px;
    height: 22px;
    fill: var(--color-whatsapp-soft);
    opacity: 0.85;
  }
  
  :root {
    --color-whatsapp-soft: #3d7551; /* verde natural, calmado */
}

/* --------- Nuevo boton de Wsp ---------- */ 
.whatsapp-cta {
    text-align: center;
    padding: 3.5rem 2rem;
    margin-top: 4rem;
    border-radius: 16px;
    background: linear-gradient(
      135deg,
      rgba(39, 174, 96, 0.12),
      rgba(39, 174, 96, 0.05)
    );
}
  
.whatsapp-cta h3 {
    font-size: 1.8rem;
    color: #1e4d3a;
    margin-bottom: 0.8rem;
}
  
.whatsapp-cta p {
    color: #4f6f64;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}
  
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 16px 34px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.45);
}
  
.whatsapp-icon {
    width: 26px;
    height: 26px;
    fill: white;
}
/* --------- Nuevo boton de Wsp ---------- */  
  
/* Botón base */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(111,143,122,0.35);
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(6px);
    color: var(--color-texto);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
  
  /* Hover */
.btn-whatsapp:hover {
    background: rgba(111,143,122,0.12);
    transform: translateY(-2px);
  }
  
  /* Variantes sutiles */
.btn-whatsapp.secondary {
    opacity: 0.9;
  }
  
.btn-whatsapp.tertiary {
    opacity: 0.8;
}

.btn-whatsapp:hover .icon-whatsapp {
    animation: wspPulse 0.6s ease-out;
  }
  
  @keyframes wspPulse {
    0% {
      transform: scale(1);
    }
    40% {
      transform: scale(1.08);
    }
    100% {
      transform: scale(1);
    }
}

.btn-whatsapp {
    transition: 
      transform 0.25s ease,
      background-color 0.3s ease,
      box-shadow 0.3s ease;
}
  
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contacto-actions a {
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.6s ease forwards;
}
  
.contacto-actions a:nth-child(1) { animation-delay: 0.1s; }
.contacto-actions a:nth-child(2) { animation-delay: 0.2s; }
.contacto-actions a:nth-child(3) { animation-delay: 0.3s; }
  
@keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

.btn-whatsapp::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      circle at top left,
      rgba(255,255,255,0.18),
      transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}
  
.btn-whatsapp:hover::after {
    opacity: 1;
}

/* ------------------------------- */  

/* Llamado a la acción final */
.final-cta {
    padding: 120px 0;
    text-align: center;

    background:
        radial-gradient(
            1000px circle at top,
            rgba(255,255,255,0.18),
            rgba(0,0,0,0.35)
        ),
        linear-gradient(
            135deg,
            #4e7f7a,
            #2b4a50
        );

    color: #f1f5f4;
}

.final-cta h2 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 1.4rem;
}

.final-cta p {
    font-size: 1rem;
    line-height: 1.8;
    color: #d1dad8;
    max-width: 560px;
    margin: 0 auto 2.8rem;
}

.cta-secondary {
    display: inline-block;

    padding: 14px 38px;
    border-radius: 999px;

    background: var(--accent);
    color: #243332;

    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;

    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}


/* Footer */
.footer {
    background: #1f2f2c;
    color: #cfd8d3;
    padding: 2.2rem 0;
    margin-top: 4rem;
}
  
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
  
.footer-credit {
    font-size: 0.9rem;
    color: #8fb3a8;
    text-decoration: none;
    transition: color 0.3s ease;
}
  
.footer-credit:hover {
    color: #25d366; /* verde WhatsApp */
}
  

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.footer p {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    text-align: center;
}

.footer::before {
    content: "";
    display: block;
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    margin: 0 auto 2rem;
}

/* Animaciones de revelado al hacer scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: 
      opacity 0.7s ease,
      transform 0.7s ease;
}
  
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Retrasos específicos para elementos clave */ 
.cabin-card {
    transition-delay: 0.15s;
}
  
.cabin-card:nth-child(2) {
    transition-delay: 0.3s;
}

.cabin-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    height: 360px;
}
  
.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}
  
.carousel-track img,
.carousel-track video {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}
  
  /* Botones */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.3s ease;
}
  
.carousel-btn:hover {
    background: rgba(0,0,0,0.6);
}
  
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
  
/* Responsive celulares */
@media (max-width: 420px) {

    .hero {
        align-items: flex-start;
    }

    .hero-content {
        padding-top: 18vh;  /* Centra el contenido  */
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .map-container {
        height: 300px;
    }
    
    .map-container iframe {
        height: 300px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;

        background: rgba(24, 44, 42, 0.98);
        backdrop-filter: var(--blur);

        flex-direction: column;
        align-items: center;
        gap: 1.8rem;

        padding: 2rem 0;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cabins-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cabin-image {
        height: 240px;
    }

    .cabin-info {
        padding: 1.8rem;
    }
    .location-content {
        grid-template-columns: 1fr;
    }

    .cabin-features {
        grid-template-columns: 1fr;
    }
}

/* Estilo para el párrafo introductorio de las cabañas */
.cabins-intro {
    max-width: 760px;
    margin: -1.5rem auto 3rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5f6f68;
}
  
/* Responsive para tablet */
@media (max-width: 768px) {

    .hero {
        justify-content: flex-start;
        padding-top: 140px;
      }

    .hero-title,
    .hero-text,
    .hero-cta {
        transform: translateY(12px);
    }

    .location-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .map-container {
        height: 300px;
    }
    
    .map-container iframe {
        height: 300px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;

        background: rgba(24, 44, 42, 0.98);
        backdrop-filter: var(--blur);

        flex-direction: column;
        align-items: center;
        gap: 1.8rem;

        padding: 2rem 0;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cabins-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cabin-image {
        height: 240px;
    }

    .cabin-info {
        padding: 1.8rem;
    }
    .location-content {
        grid-template-columns: 1fr;
    }

    .cabin-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .whatsapp-cta h3 {
      font-size: 1.5rem;
    }
  
    .whatsapp-btn {
      width: 100%;
      justify-content: center;
      font-size: 1.05rem;
    }

    .cabins-intro {
        font-size: 1rem;
        padding: 0 1rem;
    }
}
  