/* --- PERSONALIZACIÓN DE BOOTSTRAP --- */
:root {
    --primary-color: #095D75;
    --secondary-color: #1FC5FF;
    --accent-color: #ffca28; 
    --text-color: #333;
    --light-bg: #f4f6f8;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    /* IMPORTANTE: Esto evita que el menú tape el contenido */
    padding-top: 76px; 
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Colores personalizados */
.text-primary-custom { color: var(--primary-color) !important; }
.bg-light-custom { background-color: var(--light-bg) !important; }

/* Botones Personalizados */
.btn-custom {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s;
    border: none;
}

.btn-custom:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #333;
    border-radius: 50px;
    font-weight: bold;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
}

.btn-accent:hover {
    background-color: #ffd54f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 202, 40, 0.4);
    color: #333;
}

/* --- NUEVO: BOTÓN FLOTANTE DE WHATSAPP --- */
.btn-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 80px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-color) !important;
    margin-left: 15px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section (Inicio) */
#inicio {
    position: relative;
    background: url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: calc(100vh - 76px); 
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-top: -1px;
}

#inicio::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0, 114, 152, 0.85), rgba(0, 71, 77, 0.9));
    z-index: 1;
}

#inicio .container {
    position: relative;
    z-index: 2;
}

/* Tarjetas (Cards) */
.card-custom {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    border-top: 5px solid var(--primary-color);
    height: 100%;
    background: white;
}

.card-custom:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Decoración de Títulos */
.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Galería */
.galeria-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: var(--primary-color);
}

.galeria-bg {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.galeria-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(9, 93, 117, 0.95);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.galeria-card:hover .galeria-overlay {
    opacity: 1;
}

/* Utility */
.honey-pot {
    display: none;
}

/* --- NUEVO: CLASE PARA RESALTAR BÚSQUEDA --- */
.highlight {
    background-color: var(--accent-color);
    color: #333;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* Ajustes para móviles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    #inicio {
        min-height: auto;
        padding: 100px 0;
    }
}