:root {
    --primary: #1a5f7a;
    --primary-light: #2d9cdb;
    --primary-dark: #0f3f52;
    --accent: #e8b44f;
    --accent-light: #f5d880;
    --secondary: #2d5f4f;
    --light: #f5f7fa;
    --gray: #6b7280;
    --gray-light: #e5e7eb;
    --white: #ffffff;
    --dark: #1f2937;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.navbar-logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 70px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05) 0%, rgba(45, 156, 219, 0.05) 100%);
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.02);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--light);
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
    text-align: center;
}

.about > .container > p {
    font-size: 16px;
    color: var(--gray);
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature p {
    font-size: 14px;
    color: var(--gray);
}

/* Cabanas Section */
.cabanas {
    padding: 100px 20px;
    background: white;
}

.cabanas h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

.cabanas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.cabaña-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.cabaña-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.cabaña-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light);
}

.cabaña-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.cabaña-card:hover .cabaña-image img {
    transform: scale(1.05);
}

/* Estilos para el carrusel de fotos */
.cabaña-slider {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
}

.slide.fade {
    animation: fade 0.5s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.slide.active {
    display: block;
}

.slide.active img {
    transform: scale(1);
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    padding: 12px 18px;
    cursor: pointer;
    background: rgba(26, 95, 122, 0.8);
    color: white;
    border: none;
    border-radius: 5px;
    transition: var(--transition);
    z-index: 10;
    user-select: none;
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background: var(--accent);
    border-color: white;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cabaña-content {
    padding: 30px;
}

.cabaña-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.price {
    font-size: 24px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 20px;
}

.amenities-list, .price span {
    list-style: none;
    margin-bottom: 25px;
}

.amenities-list li, .price span {
    font-size: 14px;
    color: var(--gray);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
}

.amenities-list li:last-child {
    border-bottom: none;
}
.price span{
    font-weight: 100;
    border-bottom: none;
    line-height: 15px;
    margin: 0;
    padding: 0;
}
.price span strong{
    font-weight: 700;
}

.book-button {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    text-align: center;
    
}

.book-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Amenities Section */
.amenities {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(26, 95, 122, 0.05) 0%, rgba(45, 156, 219, 0.05) 100%);
}

.amenities h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

/* Nuevos estilos para el carrusel de amenities */
.amenities-carousel-wrapper {
    margin-bottom: 80px;
}

.amenities-carousel-wrapper h3 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
}

.amenities-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.carousel-slide.fade {
    animation: fade 0.5s;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.carousel-slide.active {
    display: block;
}

.carousel-slide.active img {
    transform: scale(1);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    padding: 15px 20px;
    cursor: pointer;
    background: rgba(26, 95, 122, 0.85);
    color: white;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 20;
    user-select: none;
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

.carousel-arrow:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.15);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: var(--accent);
    border-color: white;
    transform: scale(1.3);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.9);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.amenity-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.amenity-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent);
}

.amenity-icon {
    font-size: 56px;
    margin-bottom: 15px;
    display: block;
}

.amenity-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.amenity-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--light);
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-info h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-info p {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 14px;
}

.detail a, .detail p {
    font-size: 16px;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.detail a:hover {
    color: var(--accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.submit-button {
    padding: 14px 30px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.map-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

.map-container h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .about h2,
    .cabanas h2,
    .amenities h2,
    .contact h2 {
        font-size: 36px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }

    .cabanas-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .navbar-logo h1 {
        font-size: 18px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .about h2,
    .cabanas h2,
    .amenities h2,
    .contact h2 {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .cabaña-card {
        padding: 20px;
    }

    .contact-wrapper {
        padding: 20px;
    }
}
