/* Variables CSS para colores y tipografías */
:root {
    /* Colores del Mood Board */
    --azul-rio: #2c5aa0;
    --verde-naturaleza: #7fb069;
    --madera-calida: #d4a574;
    --crema-natural: #f8f4e6;
    --gris-piedra: #5a5a5a;
    
    /* Tipografías */
    --font-display: 'Playfair Display', serif;
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--azul-rio) 0%, var(--verde-naturaleza) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--verde-naturaleza) 0%, var(--madera-calida) 100%);
    --gradient-background: linear-gradient(135deg, var(--crema-natural) 0%, #ffffff 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gris-piedra);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(44, 90, 160, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(44, 90, 160, 0.95);
    box-shadow: 0 2px 20px rgba(44, 90, 160, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--crema-natural);
    text-decoration: none;
    position: absolute;
    left: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.logo.visible {
    opacity: 1;
    transform: translateX(0);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-headings);
    color: var(--crema-natural);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    animation: pulse 2s infinite;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.whatsapp-float.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp tooltip */
.whatsapp-float::before {
    content: "¡Consultanos por WhatsApp!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    outline: none;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--crema-natural);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    padding: 2rem 1rem;
    min-height: 100vh;
    height: auto;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.6), rgba(90, 90, 90, 0.4)), 
                url('img/background.webp') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: start;
    color: var(--crema-natural);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(127, 176, 105, 0.1), rgba(212, 165, 116, 0.1));
    animation: shimmer 3s ease-in-out infinite alternate;
}

@keyframes shimmer {
    0% { opacity: 0.1; }
    100% { opacity: 0.3; }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
    padding: 0 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-actions {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    padding: 0 1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.1;
    font-weight: 400;
}

.hero .tagline {
    font-family: var(--font-headings);
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 0.5rem;
    background-color: #2c5aa0a3;
    color: var(--crema-natural);
    font-weight: 500;
    width: fit-content;
    padding: 2px 10px;
    border-radius: 5px;
    margin-right: 50px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    display: inline;
}

.cta-button {
    display: inline-block;
    background: var(--madera-calida);
    color: var(--azul-rio);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(127, 176, 105, 0.6);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

/* Section Styles */
section {
    padding: 3rem 0;
    position: relative;
    scroll-margin-top: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--azul-rio);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--verde-naturaleza);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--gradient-background);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 100px;
    height: 100px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--madera-calida), var(--verde-naturaleza));
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.about-content {
    display: grid;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--gris-piedra);
}

/* Services Section */
.services {
    background: #fff;
}

/* Highlighted Features */
.highlight-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight-card {
    background: var(--gradient-background);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--verde-naturaleza);
}

.highlight-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(44, 90, 160, 0.2);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon {
    transform: scale(1.1) rotate(5deg);
}

.highlight-icon i {
    font-size: 2.5rem;
    color: white;
}

.highlight-card h3 {
    font-family: var(--font-headings);
    color: var(--azul-rio);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.highlight-card p {
    color: var(--gris-piedra);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Amenities Section */
.amenities-section {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--crema-natural);
    border-radius: 20px;
}

.amenities-title {
    text-align: center;
    font-family: var(--font-headings);
    color: var(--azul-rio);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.08);
    transition: all 0.3s ease;
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 90, 160, 0.15);
}

.amenity-item i {
    font-size: 1.5rem;
    color: var(--verde-naturaleza);
    width: 30px;
    text-align: center;
}

.amenity-item span {
    font-family: var(--font-headings);
    color: var(--gris-piedra);
    font-weight: 600;
}

/* Rooms Section */
.rooms-section {
    margin: 4rem 0 2rem;
}

.rooms-title {
    text-align: center;
    font-family: var(--font-headings);
    color: var(--azul-rio);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.room-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(127, 176, 105, 0.1);
    position: relative;
    overflow: hidden;
}

.room-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--verde-naturaleza);
}

.room-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(44, 90, 160, 0.15);
}

.room-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.room-card h4 {
    font-family: var(--font-headings);
    color: var(--azul-rio);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.room-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.room-details span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gris-piedra);
    font-weight: 500;
}

.room-details i {
    color: var(--verde-naturaleza);
    font-size: 1.1rem;
    width: 20px;
}

/* Gallery Section */
.gallery {
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 0.9;
}

.gallery-overlay h3 {
    font-family: var(--font-headings);
    color: var(--crema-natural);
    font-size: 1.5rem;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay h3 {
    transform: translateY(0);
}

/* Botón Ver Más Fotos */
.gallery-more-container {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem 0;
}

.gallery-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--gradient-primary);
    color: var(--crema-natural);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
}

.gallery-more-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.4);
}

.gallery-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.gallery-more-btn:hover::before {
    left: 100%;
}

.gallery-more-btn i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.gallery-more-btn:hover i {
    transform: scale(1.2) rotate(360deg);
}

.gallery-more-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.gallery-more-text .main-text {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.gallery-more-text .sub-text {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    width: auto;
    height: auto;
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
}

.modal-image[data-orientation="landscape"] {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 150px);
}

.modal-image[data-orientation="portrait"] {
    height: calc(100vh - 150px);
    width: auto;
    max-width: calc(100vw - 150px);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: var(--crema-natural);
    color: var(--azul-rio);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: var(--madera-calida);
    transform: scale(1.1) rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(248, 244, 230, 0.9);
    color: var(--azul-rio);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0.8;
}

.modal-nav:hover {
    opacity: 1;
    background: var(--madera-calida);
    transform: translateY(-50%) scale(1.1);
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

/* Promotions Section */
.promotions {
    background: var(--gradient-background);
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.promotion-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(44, 90, 160, 0.15);
}

.promotion-btn {
    background: var(--madera-calida);
    color: var(--gris-piedra);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 16px;
    font-family: var(--font-headings);
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promotion-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 176, 105, 0.3);
}

/* Testimonials Section */
.testimonials {
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--crema-natural);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 90, 160, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(44, 90, 160, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
}

.stars i {
    color: var(--madera-calida);
    font-size: 1.1rem;
}

.testimonial-content p {
    color: var(--gris-piedra);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    font-family: var(--font-headings);
    color: var(--azul-rio);
    margin-bottom: 0.2rem;
}

/* Map Section */
.map-section {
    background: var(--gradient-background);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
    height: 400px;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(127, 176, 105, 0.1), rgba(212, 165, 116, 0.1));
    z-index: 1;
    pointer-events: none;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: all 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

/* Reservation Form */
.reservation {
    background: var(--gradient-primary);
    color: var(--crema-natural);
    position: relative;
    overflow: hidden;
}

.reservation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.reservation .section-title {
    color: var(--crema-natural);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--crema-natural);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    background: rgba(248, 244, 230, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    color: var(--gris-piedra);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    background: var(--crema-natural);
    border-color: var(--verde-naturaleza);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.submit-btn {
    background: var(--madera-calida);
    color: var(--azul-rio);
    border: none;
    padding: 1rem 3rem;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(44, 90, 160, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--azul-rio) 0%, var(--gris-piedra) 100%);
    color: var(--crema-natural);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--verde-naturaleza);
    font-family: var(--font-headings);
    font-size: 1.3rem;
}

.footer-section p,
.footer-section li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--crema-natural);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--verde-naturaleza);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    width: 40px;
    height: 40px;
    background: rgba(248, 244, 230, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: rotate(360deg);
    padding-left: 0;
}

.about-info {
    text-align: left;
}

.enlaces {
    display: none !important;
}

.contact-info {
    text-align: right;
}

.teo {
    text-decoration: none;
    color: var(--crema-natural);
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 244, 230, 0.2);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1.5rem;
        justify-content: space-between;
    }

    .logo {
        left: 1.5rem;
        font-size: 1.4rem;
        position: static;
        opacity: 1;
        transform: none;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-right: 0.5rem;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(44, 90, 160, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem 0;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .hero {
        background-attachment: scroll;
        padding: 1.5rem;
        height: 100vh;
        min-height: 100vh;
        justify-content: flex-end;
        align-items: flex-start;
        text-align: left;
        flex-direction: column;
    }

    .hero-content {
        text-align: left;
        max-width: 100%;
        padding: 0;
        margin-bottom: 2rem;
        width: 100%;
    }

    .hero-actions {
        justify-content: flex-start;
        padding: 0;
        margin-bottom: 3rem;
        flex-shrink: 0;
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 1rem;
    }

    .hero .tagline {
        font-size: clamp(0.9rem, 5vw, 1.2rem);
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .highlight-features {
        grid-template-columns: 1fr;
    }

    .highlight-card {
        padding: 2rem 1.5rem;
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .amenity-item {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .room-card {
        padding: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: calc(100vw - 80px);
        max-height: calc(100vh - 80px);
        margin: 40px;
    }

    .modal-nav {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }

    .modal-prev {
        left: -60px;
    }

    .modal-next {
        right: -60px;
    }

    .modal-image[data-orientation="landscape"] {
        max-height: calc(100vh - 160px);
    }

    .modal-image[data-orientation="portrait"] {
        height: calc(100vh - 160px);
        max-width: calc(100vw - 160px);
    }

    .modal-close {
        top: -50px;
        right: 0;
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .promotions-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 25px;
    }

    .whatsapp-float::before,
    .whatsapp-float::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        left: 1rem;
        font-size: 1.2rem;
    }

    .mobile-menu-toggle {
        margin-right: 0.25rem;
    }

    .hero {
        padding: 1rem;
        height: 100vh;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 12vw, 2.5rem);
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-more-btn {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 1.5rem;
    }

    .gallery-more-text {
        align-items: center;
    }

    .modal-content {
        max-width: calc(100vw - 60px);
        max-height: calc(100vh - 60px);
        margin: 30px;
    }

    .modal-image[data-orientation="landscape"] {
        max-height: calc(100vh - 140px);
    }

    .modal-image[data-orientation="portrait"] {
        height: calc(100vh - 140px);
        max-width: calc(100vw - 140px);
    }

    .modal-close {
        top: -45px;
        right: 0;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .modal-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .modal-prev {
        left: -50px;
    }

    .modal-next {
        right: -50px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }

    .hero {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        text-align: left;
    }

    .hero-content {
        text-align: left;
        padding: 0 2rem;
    }

    .hero-actions {
        justify-content: flex-end;
        padding: 0 2rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* CSS adicional para mejorar la experiencia de lazy loading */
img[data-src] {
    min-height: 200px; /* Evita layout shift */
    background-color: #f5f5f5;
}

/* Mejorar la experiencia visual durante la carga */
.gallery-item img[data-src] {
    height: 250px; /* Mantiene el tamaño del contenedor */
    object-fit: cover;
}

.room-img[data-src] {
    height: 300px; /* Mantiene el tamaño del contenedor */
    object-fit: cover;
}