body {
    background-color: #03122c;
    color: #ffffff; 
    font-family: Arial, sans-serif;
    padding-top: 70px; 
}

.navbar {
    background-color: rgba(0, 0, 0, 0.822); 
}



.nav-link {
    color: #fff;
    transition: color 0.3s ease, background-color 0.3s ease;
}


.nav-link:hover {
    color: #ff5733; 
    background-color: rgba(255, 255, 255, 0.2); 
    border-radius: 5px; 
    padding: 0.5rem; 
}


h1, h2 {
    font-weight: bold;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.me-3 {
    margin-right: 1rem;
}

/* Transición de Elevación y Cambio de Color */
a .fab {
    transition: transform 0.3s ease, color 0.3s ease; /* Transición suave */
}

a .fab:hover {
    transform: translateY(-5px); /* Eleva el icono */
}


a .fa-whatsapp:hover {
    color: #25D366; 
}

a .fa-instagram:hover {
    color: #E4405F; 
}

a .fa-facebook:hover {
    color: #1877F2; 
}


@keyframes float {
    0% {
        transform: translateY(0); /* Posición inicial */
    }
    50% {
        transform: translateY(-10px); /* arriba */
    }
    100% {
        transform: translateY(0); /* posición inicial */
    }
}

@keyframes colorShift {
    0% {
        box-shadow: 
            0 5px 15px rgba(0, 162, 255, 0.5), 
            0 -5px 15px rgba(0, 0, 255, 0.5); /* Rojo abajo */
    }
    100% {
        box-shadow: 
            0 5px 15px rgba(0, 0, 255, 0.5), 
            0 -5px 15px rgba(0, 162, 255, 0.5); /* Azul abajo */
    }
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.img-fluid.rounded-shadow {
    animation: float 4s ease-in-out infinite; /* Nombre de la animación, duración, suavidad y repetición infinita */
}

.logo {
    height: 40px; 
}

.rounded-shadow {
    border-radius: 500px; 
    box-shadow: 
        0 5px 15px rgba(255, 0, 0, 0.5), /* roja arriba */
        0 -5px 15px rgba(0, 0, 255, 0.5);   /*  azul abajo */
        background-color: #000;
      
}

/*  pantallas grandes */
@media (min-width: 992px) {
    .container {
        max-width: 960px; /* espacio  lados */
    }

    
}


/* Tarjetas */
.card {
    min-height: 300px;
    border: none; 
    background-color: #000000; 
    color: #fff; 
    border-radius: 10px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(0, 162, 255, 0.5), 
        0 -5px 15px rgba(0, 0, 255, 0.5); /* Sombra de borde */
        
}

.card:hover {
    transform: scale(1.05);
    animation: colorShift 0.6s ease-in-out infinite alternate;
}

.card-body {
    padding: 1.5rem; 
}

.card-title {
    font-size: 1.5rem; 
    margin-bottom: 0.5rem; 
}


.divider {
    width: 75%; 
    border-top: 1px solid #ffffff; 
    margin: 20px auto; 
}


.icon {
    font-size: 1.5rem; 
}

/* Tarjetas  pequeñas */
@media (max-width: 767px) {
    .card {
        margin-bottom: 20px;
    }
}





.portfolio-image {
    overflow: hidden; 
    border-radius: 8px; 
}

.portfolio-image img {
    display: block; 
    width: 100%; 
    height: auto; 
}



.portfolio-image-wrapper {
    position: relative; 
    overflow: hidden;
    border-radius: 8px; 
}


.overlay {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); 
    color: #fff; 
    display: flex; 
    align-items: center;
    justify-content: center;
    opacity: 0; 
    transition: opacity 0.3s ease; /* Transición suave  */
    text-align: center; 
}



.overlay-content {
    max-width: 90%;
}


.btn-light {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 10px 20px; 
    font-size: 16px; 
    text-decoration: none; 
    border-radius: 4px; 
    display: inline-flex;
    align-items: center; 
}


.btn-light i {
    margin-left: 8px; 
    
}


.portfolio-image-wrapper:hover .overlay {
    opacity: 1; 
    
}



footer {
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a:hover {
    text-decoration: underline;
}

footer .fab {
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .fab:hover {
    transform: translateY(-3px);
}



.intro-section {
    padding: 60px 0;
  
}

.intro-title {
    font-size: 2.5rem;
    color: #fff;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
    text-align: justify;
}

.btn-primary {
    background-color: #3a3939; 
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-primary:hover {
    background-color: #cc0000; 
}

.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #000;
    border: 2px solid #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5), 0 -5px 15px rgba(0, 0, 255, 0.5);
}

.btn-custom:hover {
    background-color: #ffdfdf;
    color: #000;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5), 0 -5px 15px rgba(0, 0, 255, 0.5);
    transform: scale(1.05);
}


/* contacto */
.info {
    padding: 20px;
    background-color: #000;
    color: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.5), 0 -5px 15px rgba(0, 0, 255, 0.5);
}

.info:hover {
    transform: scale(1.05);
    animation: colorShift 0.6s ease-in-out infinite alternate;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #313131;
    background-color: #222;
    box-shadow: 0 -5px 15px rgba(109, 106, 106, 0.322);
    color: #fff;
    margin: 15px 0;
}

.form-control::placeholder {
    color: #aaa;
}

@media (max-width: 767.98px) {
    .info {
        margin-bottom: 15px;
    }

    .form-control {
        margin: 10px 0;
    }
}

