:root {
    --midnightblue: #191970;
    --navyblue: #000080;
    --aliceblue: #f0f8ff;
    --royalblue: #4169e1;
    --lightblue: #add8e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
    background-color: var(--aliceblue);
}

/* Barra de navegación */
.navbar {
    background-color: var(--midnightblue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

.navbar-brand img {
    height: 40px;
}

.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    margin: 0 10px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    background-color: var(--royalblue);
    color: white;
}

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Carrusel */
.carousel {
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    background-color: rgba(25, 25, 112, 0.7);
    border-radius: 10px;
    padding: 20px;
    bottom: 50px;
}

/* Sección de iconos */
.icon-section {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.icon-box {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-10px);
}

.icon-box i {
    font-size: 3rem;
    color: var(--royalblue);
    margin-bottom: 20px;
}

/* Sección de contacto */
.contact-section {
    background-color: var(--navyblue);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
}

/* Frase motivadora */
.motivational-quote {
    background: linear-gradient(135deg, var(--royalblue), var(--midnightblue));
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 10px;
}

/* Servicios Review */
.services-review {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Marcas */
.brands-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.brand-logo {
    height: 80px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
    margin: 20px;
}

.brand-logo:hover {
    filter: grayscale(0%);
}

/* Clientes */
.clients-section {
    background-color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.client-logo {
    height: 80px;
    margin: 20px;
}

/* Licencias */
.licenses-section {
    background-color: var(--aliceblue);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
}

/* Footer */
footer {
    background-color: var(--midnightblue);
    color: white;
    padding: 60px 0 20px;
}

.footer-links h5 {
    color: var(--lightblue);
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--lightblue);
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--lightblue);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
}

/* Efectos responsive */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--midnightblue);
        padding: 20px;
        border-radius: 0 0 10px 10px;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .carousel-item {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 20px;
        padding: 10px;
    }
    
    .carousel-caption h5 {
        font-size: 1rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
}


/* Estilos para la franja de construcción */
.construction-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: whitesmoke;
    color: black;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 9999;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.construction-message {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Ajuste para el navbar debajo de la franja */
body {
    padding-top: 40px; /* Ajusta según el alto de tu navbar */
}

.navbar.fixed-top {
    top: 40px; /* Altura de la franja de construcción */
}


/* Agrega esto a tu archivo CSS existente */
.navbar-brand {
    color: white !important;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.navbar-brand:hover {
    color: white !important;
}

/* Solo para los enlaces en la sección de contacto */
#contacto a:not(.nav-link):not(.dropdown-item) {
    text-decoration: none;
    color: black;
}