/* Paleta de colores: */
/* Primario: #9C27B0 (Rosa del logo) */
/* Secundario: #424242 (Gris del logo) */
/* Fondo: #F5F5F5 (Gris claro) */
/* Texto: #333333 */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background-color: #F5F5F5;
    color: #333333;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Encabezado */
.header {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
}

.nav ul {
    list-style: none;
    display: flex;
}

.nav ul li {
    margin-left: 2rem;
}

.nav a {
    text-decoration: none;
    color: #424242;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #9C27B0;
}

/* Sección Hero (Inicio) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.pexels.com/photos/106399/pexels-photo-106399.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center/cover;
    color: #ffffff;
    text-align: center;
    padding: 8rem 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

/* Sección Nosotros */
.about {
    padding: 4rem 0;
    background-color: #ffffff;
}

.about h2, .properties h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #424242;
    margin-bottom: 3rem;
}

.about-content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Sección Propiedades */
.properties {
    padding: 4rem 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.property-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.property-card:hover {
    transform: translateY(-10px);
}

.property-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.property-info {
    padding: 1.5rem;
}

.property-info h3 {
    color: #9C27B0;
    margin-bottom: 0.5rem;
}

.whatsapp-link {
    display: inline-block;
    background-color: #9C27B0;
    color: #ffffff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.whatsapp-link:hover {
    background-color: #7B1FA2;
}

/* Pie de página */
.footer {
    background-color: #424242;
    color: #ffffff;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #666666;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 80px;
}

.footer-info h3 {
    margin-bottom: 0.5rem;
    color: #9C27B0;
}

.footer-info p, .footer-info a {
    color: #cccccc;
    text-decoration: none;
}

.footer-social .social-icon {
    display: inline-block;
}

.footer-social .social-icon img {
    width: 40px;
    height: 40px;
}

.copyright {
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 1rem;
    }
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav ul li {
        margin: 0.5rem 1rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .about-content {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-info, .footer-social {
        margin-top: 1.5rem;
    }
}