/*
Theme Name: RealtyCorrea
Author: [Helberth Correa]
Description: Tema especializado para directorio inmobiliario en Costa Rica.
Version: 1.0
Text Domain: realtycorrea
*/

/* 1. Reset Básico y Variables Globales */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: #f9f9f9; 
}

/* 2. Estructura General */
.site-header { background: #2d3436; color: #fff; padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.site-footer { background: #2d3436; color: #fff; padding: 40px 20px; margin-top: 50px; text-align: center; }

/* 3. Rejilla de Propiedades (Grid) */
.grid-propiedades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarjeta-propiedad {
    background: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.tarjeta-propiedad:hover { transform: scale(1.02); }

/* 4. Menú Lateral (Responsive) */
.nav-menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #2d3436;
    transition: 0.3s;
    z-index: 1000;
    padding: 20px;
}

.nav-menu.active { left: 0; }

/* 5. Utilidades */
.precio { color: #0984e3; font-weight: bold; font-size: 1.2em; }
.buscador-propiedades {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.buscador-propiedades input, .buscador-propiedades select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}