

.carrusel-principal {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.contenedor-carrusel {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carrusel-principal .img-carrusel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #11293b;
    display: block;
}


.carrusel-principal .swiper-slide {
    cursor: pointer;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: shine 1.5s linear infinite;
}


.carrusel-principal .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: white !important;
    opacity: 0.7;
}

.carrusel-principal .swiper-pagination-bullet-active {
    background: #197ccc !important;
    opacity: 1;
    width: 25px;
    border-radius: 10px;
}

@keyframes shine {
    to {
        background-position-x: -200%;
    }
}


.carrusel-principal .swiper-button-prev,
.carrusel-principal .swiper-button-next {
    color: white !important;
    background: rgba(0, 0, 0, 0.3);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.3s;
}

.carrusel-principal .swiper-button-prev:hover,
.carrusel-principal .swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carrusel-principal .swiper-button-prev:after,
.carrusel-principal .swiper-button-next:after {
    font-size: 20px !important;
}

@media (max-width: 768px) {
    .contenedor-carrusel {
        height: 300px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .contenedor-carrusel {
        height: 450px;
    }
}

@media (min-width: 1025px) {
    .contenedor-carrusel {
        height: 500px;
    }
}

@media (max-width: 640px) {
    .carrusel-principal .swiper-button-prev,
    .carrusel-principal .swiper-button-next {
        display: none !important;
    }
}



.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgb(28, 100, 21);
    font-size: 40px;
    cursor: pointer;
    font-weight: bold;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ff6b6b;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    z-index: 10000;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #ff6b6b;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    padding: 5px 15px;
    border-radius: 20px;
}