:root {
    --primary: #4f46e5;
    --primary-accent: #d97706;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --section-spacing: 2rem;
    --title-content-spacing: 2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
}

.hamburger svg {
    width: 26px;
    height: 26px;
}

.hero {
    position: relative;
    height: 85vh;
    margin-top: 70px;
    background: url("../img/hero-bg.webp") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    text-align: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.section {
    padding: 4.5rem 5%;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.bg-light {
    background: var(--bg-light);
}

.text-center {
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

#cabanas {
    padding-bottom: 0;
}

.cabin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

.cabin-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 8px;
}

.stay-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.stay-info div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--primary-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-wrapper {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: var(--white);
    padding: 1.5rem 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.service-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--primary-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-item span {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.service-item small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 6px;
}

#entorno {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

#entorno h2 {
    margin-bottom: var(--title-content-spacing);
}

.entorno-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.entorno-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
}

#ubicacion {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

#ubicacion h2 {
    margin-bottom: 1rem;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

#contacto {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

#contacto h2 {
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 0;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-card p,
.contact-card a {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: none;
}

.contact-card a:hover {
    color: var(--primary);
}

footer {
    text-align: center;
    padding: 1.5rem;
    background: #0f172a;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid #e2e8f0;
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .cabin-grid,
    .entorno-grid,
    .contact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    #entorno,
    #ubicacion,
    #contacto {
        padding-top: var(--section-spacing);
        padding-bottom: var(--section-spacing);
    }

    #entorno h2,
    #ubicacion h2,
    #contacto h2 {
        margin-bottom: var(--title-content-spacing);
    }

    .map-container iframe {
        height: 350px;
    }
}