/* INICIO CSS */
:root {
    --primary: #003da5;       /* Azul REMAX */
    --primary-dark: #002a75;  /* Azul oscuro */
    --secondary: #DC1C2E;     /* Rojo corporativo */
    --light: #f8f9fa;
    --dark: #212529;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #f5f5f5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Barra superior promocional */
.promo-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 0.9rem;
}

.promo-text {
    margin-right: 1rem;
    font-weight: 500;
}

.promo-text a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.promo-text a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.promo-social {
    display: flex;
    gap: 1rem;
}

.promo-social a {
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
}

.promo-social a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

/* Header principal */
header {
    background-color: var(--white);
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    font-size: 1rem;
}

nav ul li a:hover {
    color: var(--secondary);
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Botón de WhatsApp */
.whatsapp-btn {
    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: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

.hero {
    min-height: calc(100vh - 120px);
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://remaxincontrastable.com/plazahc.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 2rem 1rem;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(220, 28, 46, 0.4);
}

.btn:hover {
    background-color: #c01020;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 28, 46, 0.6);
}

section {
    padding: 5rem 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary);
    font-weight: 700;
    position: relative;
}

.section-title span {
    color: var(--secondary);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 1rem auto;
}

.about {
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-img:hover img {
    transform: scale(1.05);
}

.contact {
    background-color: var(--white);
    text-align: center;
}

.contact .section-title {
    color: var(--primary);
}

.contact .section-title:after {
    background: var(--secondary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 42, 117, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 3rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 1.5rem;
}

.contact-info {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.social-icons {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Estilos para móviles */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        padding-right: 0;
        order: 2;
        text-align: center;
    }
    
    .about-img {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .promo-bar {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    header {
        padding: 0.5rem 1rem;
        flex-direction: row;
        text-align: center;
    }
    
    .logo img {
        height: 60px;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 2rem 0;
    }
    
    nav ul li {
        margin: 1rem 0;
    }
    
    nav ul li a {
        font-size: 1.2rem;
    }
    
    .hero {
        min-height: calc(100vh - 80px);
        padding-top: 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Botón de menú hamburguesa */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1000;
    }
    
    .menu-toggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary);
        transition: all 0.3s ease;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .promo-text {
        margin-right: 0.5rem;
    }
    
    .promo-social {
        gap: 0.5rem;
    }
    
    .logo img {
        height: 50px;
    }
}
.powered-by {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/*.powered-by img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1); /* Esto hace que el logo sea blanco, quitalo si quieres mantener los colores originales */
}
/* FIN CSS */