/* Variables de Color */
:root {
    --primary-color: #1b43b3;
    --secondary-color: #003366;
    --accent-color: #ffc107; /* Amarillo construcción */
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --whatsapp-color: #25d366;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 0px; /* Espacio para el navbar fijo */
}

/* Navbar */
.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(19, 74, 158, 0.3);
}

.navbar-brand {
    font-weight: bold;
    letter-spacing: 1px;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

/* Botón WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
}

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

/* Footer */
footer {
    background-color: #0a2661 !important;
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-color) !important;
}

/* Efecto de Brillo para el Título */
@keyframes glow {
    from { text-shadow: 0 0 5px rgba(255,255,255,0.3); }
    to { text-shadow: 0 0 20px rgba(255,255,255,0.8); }
}

.glow-text {
    animation: glow 2s infinite alternate;
}

/* Cards de Servicios e Inicio */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
}

.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}

/* Estilos para el Carousel */
.carousel-item {
    height: 60vh;
    min-height: 400px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}
