/* --- ESTILOS GENERALES --- */
body {
    font-family: 'Montserrat', sans-serif;
}
section {
    overflow: hidden;
}

/* --- BARRA DE NAVEGÁCIÓn --- */
/* Se eliminaron las reglas de transparencia y scroll. El color se controla desde header.php */
.navbar-brand img {
    height: 40px;
}
.nav-link {
    font-weight: bold;
    text-transform: uppercase;
}

/* --- SECCIÓN HERO --- */
/* Añadimos un padding-top para que el contenido no quede oculto debajo de la navbar fija */
#hero {
    height: 100vh;
    background: url('../img/hero.png') no-repeat center center;
    background-size: cover;
    position: relative;
    color: #fff;
    padding-top: 70px; /* Ajuste para la navbar fija */
}
#hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}
#hero .container {
    position: relative;
    z-index: 2;
}

/* --- SECCIÓN NOSOTROS --- */
#nosotros {
    background-color: #f8f9fa;
}
.icon-circle {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#nosotros .card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#nosotros .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* --- SECCIÓN SERVICIOS --- */
.icon-circle-alt {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    transition: background-color 0.3s ease, color 0.3s ease;
}
#servicios .card:hover .icon-circle-alt {
    background-color: #010ECE;
    border-color: #010ECE !important;
    color: #fff !important;
}

/* --- SECCIÓN PORTAFOLIO --- */
.portfolio-item {
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.portfolio-item img {
    transition: transform 0.4s ease;
    height: 250px;
    object-fit: cover;
}
.portfolio-item:hover img {
    transform: scale(1.1);
}
.portfolio-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translateY(20px);
    color: #fff;
}
.portfolio-item:hover .portfolio-info {
    opacity: 1;
    transform: translateY(0);
}
.portfolio-info h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.portfolio-info a {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 5px;
    transition: color 0.3s;
}
.portfolio-info a:hover {
    color: #010ECE;
}

/* --- BURBUJA DE WHATSAPP --- */
.whatsapp-bubble {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366; /* Color oficial de WhatsApp */
    color: #FFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.2s ease-in-out;
}

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