/* css/style.css */

:root {
    --primary-color: #55AADD;
    --light-background: #F2F8FC; 
}

body {
    font-family: 'Inter', sans-serif;
}

/* ===== ESTILOS DE LA CABECERA MEJORADA ===== */

.top-bar {
    background-color: #ffffff;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0; 
}

.top-bar a {
    color: #333; 
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.top-bar i {
    color: var(--primary-color);
}

.top-bar-item {
    padding: 0.2rem 0.5rem;
}

.navbar {
    padding: 0.5rem 0;
    transition: padding 0.3s ease;
}

.navbar-logo {
    height: 60px; 
    transition: height 0.3s ease;
}

.brand-text {
    line-height: 1.2;
}

.brand-title {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.brand-subtitle {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .brand-text {
        display: none; 
    }
    .navbar-logo {
        height: 55px;
    }
    .top-bar {
        font-size: 0.8rem;
    }
    /* FIX: Revertido para que el menú esté colapsado por defecto */
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        display: none; /* Oculto por defecto */
    }
    .navbar-collapse.show {
        display: block !important; /* Se muestra al hacer clic */
    }
    .navbar-nav {
        text-align: center;
    }
}

/* ===== ESTILOS GENERALES ===== */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-background_2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    color: #fff;
    background-color: #555; 
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

.service-card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.icon-primary-color {
    color: var(--primary-color);
}

.bg-custom-light {
    background-color: var(--light-background);
}

/* ===== ESTILO PARA EL LOGO EN EL CUERPO ===== */
.logo-in-body {
    max-height: 80px;
    display: block;
}

@media (max-width: 991.98px) {
    .logo-in-body {
        margin-left: auto;
        margin-right: auto;
    }
}
