 :root {
            --primary: #2c5e3b;
            --secondary: #e8f5e9;
            --accent: #d4a373;
            --text: #333333;
            --bg: #f9f9f6;
            --white: #ffffff;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }

        /* Navbar Sticky Profesional */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* Altura fija y compacta (puedes probar entre 50px y 80px) */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: #ffffff; /* Asegúrate de que tenga fondo para que no se mezcle con el texto */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000; /* Para que siempre esté por encima de todo */
}

        /* Contenedor para alinear logo y título horizontalmente */
        .nav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Estilo y tamaño controlado para la imagen del logo */
        nav .logo {
            height: 80px;
            width: auto;
            object-fit: contain;
        }

        nav h1 {
            font-size: 1.5rem;
            color: var(--primary);
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        nav ul {
            list-style: none;
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        nav a {
            text-decoration: none;
            color: var(--text);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s;
        }

        nav a:hover {
            color: var(--primary);
        }

        /* Ajuste responsive opcional para móviles */
        @media (max-width: 768px) {
            nav {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }
        }
        header {
            background: linear-gradient(rgba(44, 94, 59, 0.75), rgba(44, 94, 59, 0.75)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=1200&q=80') no-repeat center center/cover;
            color: var(--white);
            text-align: center;
            padding: 5rem 1rem;
        }

        header h1 {
            font-size: 2.8rem;
            margin-bottom: 0.5rem;
            font-weight: 800;
        }

        header p {
            font-size: 1.25rem;
            opacity: 0.95;
            max-width: 700px;
            margin: 0 auto;
        }

        main {
            max-width: 1100px;
            margin: 2.5rem auto;
            padding: 0 1rem;
        }

        section {
            background: var(--white);
            margin-bottom: 2.5rem;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.04);
            scroll-margin-top: 90px;
        }

        h2 {
            color: var(--primary);
            margin-bottom: 1.5rem;
            font-size: 1.9rem;
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.5rem;
            font-weight: 700;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2rem;
        }

        .card {
            background: var(--secondary);
            padding: 1.5rem;
            border-radius: 8px;
            border-left: 4px solid var(--primary);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.06);
        }

        .card h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-size: 1.3rem;
        }

        .card ul {
            list-style-type: none;
            margin-top: 0.5rem;
        }

        .card li {
            margin-bottom: 0.75rem;
            position: relative;
            padding-left: 1.2rem;
        }

        .card li::before {
            content: "•";
            color: var(--primary);
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        .card li strong {
            color: var(--primary);
        }
.card-img-container {
            width: 100%;
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .card-img-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            transition: transform 0.5s ease;
        }

        .card:hover .card-img-container img {
            transform: scale(1.05);
        }
        .amenities-list {
            list-style: none;
            margin-top: 0.8rem;
            padding-top: 0.8rem;
            border-top: 1px dashed #c8e6c9;
        }

        .amenities-list li {
            margin-bottom: 0.5rem;
            font-size: 0.92rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding-left: 0 !important;
        }

        .amenities-list li::before {
            content: none !important;
        }

        /* Tarjetas de Pueblos con Imagen de Fondo */
        .town-card {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            height: 300px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            color: var(--white);
            box-shadow: 0 6px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .town-card:hover {
            transform: translateY(-4px);
        }

        .town-card::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
            z-index: 1;
        }

        .town-card img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            transition: transform 0.5s ease;
        }

        .town-card:hover img {
            transform: scale(1.05);
        }

        .town-content {
            position: relative;
            z-index: 2;
            padding: 1.5rem;
        }

        .town-content h3 {
            font-size: 1.5rem;
            margin-bottom: 0.3rem;
            color: var(--white);
        }

        .town-content p {
            font-size: 0.95rem;
            opacity: 0.9;
        }

       /* Footer Profesional */
        footer {
            background-color: var(--primary);
            color: var(--white);
            margin-top: 4rem;
            padding: 3rem 2rem 1.5rem 2rem;
        }

        .footer-content {
            max-width: 1100px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2.5rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        }

        .footer-col h3, 
        .footer-col h4 {
            color: var(--white);
            margin-bottom: 1rem;
            font-size: 1.1rem;
            font-weight: 700;
        }

        .footer-brand {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 1rem;
        }

        .footer-logo {
            height: 35px;
            width: auto;
            object-fit: contain;
        }

        .footer-col p {
            font-size: 0.9rem;
            opacity: 0.9;
            margin-bottom: 0.6rem;
            line-height: 1.5;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
        }

        .footer-col ul li {
            margin-bottom: 0.5rem;
        }

        .footer-col ul li a {
            color: var(--white);
            text-decoration: none;
            opacity: 0.85;
            font-size: 0.9rem;
            transition: opacity 0.3s ease;
        }

        .footer-col ul li a:hover {
            opacity: 1;
            text-decoration: underline;
        }

        .footer-bottom {
            max-width: 1100px;
            margin: 0 auto;
            padding-top: 1.5rem;
            text-align: center;
            font-size: 0.85rem;
            opacity: 0.8;
        }
        @media (max-width: 768px) {
            nav {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }
            nav ul {
                gap: 1rem;
                justify-content: center;
            }
            header h1 {
                font-size: 2.2rem;
            }
        }
        .main-slider-container {
        position: relative;
        width: 100%;
        height: 450px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 6px 20px rgba(0,0,0,0.08);
        background-color: #000;
    }

    .main-slider-track {
        position: relative;
        width: 100%;
        height: 100%;
    }

    .main-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

    .main-slide.active {
        opacity: 1;
        z-index: 2;
    }

    .main-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .main-slide-caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1.2rem 2rem;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        z-index: 3;
    }

    .main-slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(44, 94, 59, 0.7);
        color: white;
        border: none;
        padding: 0.8rem 1rem;
        font-size: 1.2rem;
        cursor: pointer;
        z-index: 10;
        border-radius: 4px;
        transition: background-color 0.3s;
    }

    .main-slider-btn:hover {
        background-color: rgba(44, 94, 59, 1);
    }

    .prev-btn {
        left: 15px;
    }

    .next-btn {
        right: 15px;
    }

    .main-slider-dots {
        position: absolute;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 8px;
        z-index: 10;
    }

    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.5);
        cursor: pointer;
        transition: background-color 0.3s;
    }

    .dot.active {
        background-color: #ffffff;
        transform: scale(1.2);
    }

    @media (max-width: 768px) {
        .main-slider-container {
            height: 300px;
        }
        .main-slide-caption {
            font-size: 0.95rem;
            padding: 0.8rem 1rem;
        }
    }
.button-reserva {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #5b9bcf; /* ¡Aquí faltaba el punto y coma! */
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.button-reserva:hover {
    background-color: #4a82b0; /* Un tono ligeramente más oscuro para el efecto hover */
}
