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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

[data-lucide] {
    width: 1em;
    height: 1em;
    display: inline-block;
}

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

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* HEADER */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #2c5f2d;
    font-size: 24px;
    margin-bottom: 2px;
}

.logo p {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

nav a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    transition: color 0.3s;
}

nav a:hover {
    color: #2c5f2d;
}

.contact-info {
    color: #666;
    font-size: 14px;
}

/* HERO SECTION */
.hero {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('images/mobile-hero-bg.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

@media (min-width: 769px) {
    .hero {
        background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('images/desktop-hero-bg.webp') center/cover;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
}

/* FEATURES SECTION */
.features {
    background: #f5f5dc;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #2c5f2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 32px;
    color: white;
}

.feature-item h3 {
    font-size: 18px;
    color: #333;
}

/* ABOUT SECTION */
.about {
    padding: 80px 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c5f2d;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f0f0;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.info-box {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #2c5f2d;
}

.info-box h3 {
    color: #2c5f2d;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* PÁGINA LA CASA */
.casa-page {
    padding: 80px 0;
    background: white;
}

.page-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: #333;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.instalaciones {
    margin-bottom: 50px;
}

.instalaciones h3,
.servicios h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.instalaciones p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.instalaciones strong {
    color: #2c5f2d;
    font-weight: 600;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 700px;
}

.servicio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

.check {
    color: #2c5f2d;
    font-size: 20px;
    display: flex;
    align-items: center;
}

/* PÁGINA ENTORNO */
.entorno-page {
    padding: 80px 0;
    background: white;
}

.entorno-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 50px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background: #f0f0f0;
}

.entorno-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.naturaleza-section {
    margin-bottom: 60px;
}

.naturaleza-section h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.naturaleza-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.lugares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.lugar-card {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.lugar-card:hover {
    transform: translateY(-5px);
}

.lugar-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.lugar-card:hover img {
    transform: scale(1.1);
}

.lugar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.lugar-card h4 {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    z-index: 1;
    font-size: 18px;
}

.actividades-section h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

.actividades-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.actividad-card {
    background: #fffef0;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #2c5f2d;
}

.actividad-card h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.actividad-icon {
    font-size: 24px;
    color: #2c5f2d;
    display: inline-flex;
    align-items: center;
}

.actividad-card p {
    color: #666;
    line-height: 1.6;
}

/* PÁGINA CONTACTO */
.contacto-page {
    padding: 80px 0;
    background: #f9f9f9;
}

.contacto-intro {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 16px;
}

.contacto-info {
    max-width: 800px;
    margin: 0 auto;
}

.contacto-info h3 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.contacto-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacto-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contacto-icon {
    width: 60px;
    height: 60px;
    background: #2c5f2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.contacto-details h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.contacto-details p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.contacto-details a {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: 600;
}

.contacto-details a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background: #2a2a2a;
    color: white;
    padding: 50px 0 30px;
}

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

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    color: white;
    font-size: 32px;
}

.footer-item p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    font-size: 12px;
    color: #999;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .logo {
        text-align: center;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 200px;
    }

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

    .lugares-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contacto-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }

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