:root {
    --color-primary: #2563eb;
    --color-secondary: #1e40af;
    --color-bg: #f9fafb;
    --color-dark: #1f2937;
    --color-gray: #6b7280;
}


/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/*header y menu*/
header {
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

nav {
    display: flex;
    gap: 2rem;
}

h1 {
    color: #233367;
}

nav a {
    font-weight: 500;
    transition: color 0.3s ease;
    color: #0d2d4d;
}

nav a:hover {
    color: var(--color-primary);
}

/* Header y menú */
.navbar {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 50px;
    height: auto;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.desktop-menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgb(20, 20, 20);
    margin: 10px;
}

/* Menú móvil */
.mobile-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: white;
    color: #333;
    flex-direction: column;
    display: none;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: #f0f0f0;
}


/*cuerpo*/

.contact-section {
    padding: 60px 20px;
    background: linear-gradient(rgba(5, 7, 12, 0.5), rgba(5, 7, 12, 0.50)), url(casas/10.jpg) no-repeat center center/cover fixed;

}



.contact-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #eff1f3;
}

.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form,
.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #f7f7f8;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    padding: 12px 20px;
    background-color: #2980b9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #2471a3;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: whitesmoke;
}

.contact-info i {
    margin-right: 10px;
    color: #2980b9;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: #34495e;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links img {
    width: 40px;
    height: 40px;
}

.social-links a:hover {
    color: #2980b9;
}

.map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 0;

}

/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128c7e;
}

/* Footer */
footer {
    display: flex;
    height: 50px;
    background-color: #233367;
    color: white;
    align-items: center;
    width: 100%;
}

footer p {
    margin: auto;
    text-align: center;
    font-size: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .logo img {
        margin: 10px;
    }

    .contact-content {
        flex-direction: column;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        font-weight: bold;
        color: white;
        margin-bottom: 1rem;
    }

    .copyright {
        text-align: center;
        margin-top: 2rem;
        color: #6b7280;
        font-size: 0.875rem;
        border-top: 1px solid #374151;
        padding-top: 1rem;
    }

    .btn-primary {
        margin: 10px;
    }
    iframe{
        max-width: 260px;
    }
}