/* Variables de Color (Azul, Blanco y un toque de Amarillo del banner) */
:root {
    --ecc-dark-blue: #052F5F; /* Azul Marino Oscuro, profesional y futurista */
    --ecc-light-blue: #007BFF; /* Azul de acento */
    --ecc-white: #FFFFFF;
    --ecc-light-gray: #f8f9fa; /* Fondo para secciones claras */
    --ecc-yellow-accent: #FFD700; /* Tono Amarillo/Oro para detalles futuristas */
    --ecc-text-dark: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--ecc-text-dark);
    background-color: var(--ecc-white);
}

/* Estilos de Navegación */
.navbar-custom {
    background-color: var(--ecc-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 10px 0;
}

.navbar-logo {
    height: 50px; /* Ajusta el tamaño del logo */
    width: auto;
}

.nav-link {
    color: var(--ecc-dark-blue) !important;
    font-weight: 600;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-link:hover {
    color: var(--ecc-light-blue) !important;
    border-bottom: 3px solid var(--ecc-light-blue);
}

/* Sección Hero/Banner Principal */
.hero-banner {
    height: 70vh; /* Altura de la vista */
    min-height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Efecto de oscurecimiento suave para que el texto resalte */
    background: rgba(0, 0, 0, 0.4); 
}

.hero-content {
    z-index: 10;
}

/* Título de Secciones */
.section-title {
    color: var(--ecc-dark-blue);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--ecc-yellow-accent); /* Acento amarillo futurista */
    margin: 8px auto 0;
    border-radius: 2px;
}

/* Botones Personalizados */
.btn-primary-custom {
    background-color: var(--ecc-light-blue);
    border-color: var(--ecc-light-blue);
    color: var(--ecc-white);
    padding: 12px 30px;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--ecc-dark-blue);
    border-color: var(--ecc-dark-blue);
    transform: translateY(-2px);
    color: var(--ecc-white);
}

.btn-whatsapp-card {
    background-color: #25d366; /* Verde WhatsApp */
    border-color: #25d366;
    color: var(--ecc-white);
    font-size: 0.9rem;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.btn-whatsapp-card:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    color: var(--ecc-white);
}

/* Estilos de Tarjetas de Propiedades */
.card-property {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--ecc-light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.card-property:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-property img {
    object-fit: cover;
    border-bottom: 5px solid var(--ecc-light-blue);
}

.card-title {
    color: var(--ecc-dark-blue);
    font-weight: 600;
}

/* Líneas de Negocio (Servicios) */
.line-of-business i {
    font-size: 3rem;
    color: var(--ecc-yellow-accent);
    margin-bottom: 15px;
    transition: color 0.3s;
}

.line-of-business:hover i {
    color: var(--ecc-light-blue);
}

/* Estilos de la Sección de Contacto */
.bg-light-custom {
    background-color: var(--ecc-light-gray);
}

.contact-form {
    background-color: var(--ecc-white);
    border: 1px solid var(--ecc-light-blue);
}

/* Valores, Misión, Visión */
.value-icon-sm {
    font-size: 1.5rem;
    color: var(--ecc-light-blue);
    margin-right: 15px;
    padding-top: 5px;
}

.mission-vision-card {
    border-left: 5px solid var(--ecc-yellow-accent) !important;
}

/* Pie de Página (Footer) */
.footer-custom {
    background-color: var(--ecc-dark-blue);
    color: var(--ecc-white);
}

.footer-custom h5 {
    color: var(--ecc-light-blue);
}

.footer-custom .slogan {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ecc-yellow-accent);
}

.social-icons a {
    color: var(--ecc-white);
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--ecc-light-blue);
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}