/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #8B6B4A; /* Tono tierra */
    --color-dark: #2C2C2C;
    --color-light: #F5F1EB;
    --color-white: #FFFFFF;
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    display: block;
}

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

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--color-light); }
.bg-dark { background-color: var(--color-dark); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; max-width: 800px; margin: 0 auto 40px auto; }

h1, h2, h3 {
    font-weight: 400;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

/* HERO */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('img/casa-exterior.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* INTRO */
.intro {
    text-align: center;
    max-width: 800px;
}

.intro p {
    font-size: 1.1rem;
    color: #555;
}

/* GALERÍA */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-light);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.caption {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ESPECIFICACIONES */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.spec-card {
    background: var(--color-white);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.spec-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.big-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-dark);
}

.spec-detail {
    font-size: 0.85rem;
    color: #777;
    margin-top: 5px;
}

/* AMENIDADES */
.amenities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.amenity-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.amenity-card h3 {
    text-align: center;
}

/* UBICACIÓN */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.location-list {
    list-style: none;
}

.location-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.location-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.map-container img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* FOOTER */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer strong {
    color: var(--color-white);
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .section { padding: 50px 0; }
    
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .amenity-card img {
        height: 250px;
    }
}