body {
    background-color: #f8f9fa;
}
/* Estilos para el Navbar en dispositivos móviles */
@media (max-width: 768px) {
    .navbar-collapse {
        text-align: center; /* Centra el contenido del navbar-collapse */
    }

    .navbar-nav {
        display: inline-flex; /* Alinea horizontalmente los elementos del navbar-nav */
        flex-direction: column; /* Disposición vertical para los enlaces */
        width: 100%; /* Asegura que ocupe todo el ancho del contenedor */
        padding-left: 0; /* Elimina el padding izquierdo */
        margin-bottom: 0; /* Elimina el margen inferior */
    }

    .nav-item {
        margin: 10px 0; /* Espacio vertical entre los enlaces del navbar */
    }

    .navbar-brand {
        text-align: center; /* Centra el logo en la pantalla pequeña */
        display: block; /* Asegura que el logo se muestre correctamente */
        margin: 0 auto; /* Centra el logo horizontalmente */
    }
}

/* Navbar */
.navbar-brand {
    margin-left: 30px;
}

.navbar-brand img {
    height: 100px;
    max-width: 100%;
}

/* Hero Section */
.hero-section {
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.hero-section h1 {
    font-size: 4rem;
}

.hero-section p {
    font-size: 1.5rem;
}

/* Carousel */
.carousel-item img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

/* Gallery Carousel */
.gallery-carousel {
    position: relative;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-item img {
    width: 50%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Card Images */
.card img {
    object-fit: cover;
    height: 200px;
}

/* Footer */
.bg-custom {
    background-color: #6849a1;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
    color: #e0e0e0;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .carousel-item img {
        height: 200px;
    }

    .gallery-carousel {
        overflow: hidden;
    }

    .carousel-slide {
        min-width: 100%;
    }

    .carousel-slide img {
        height: 70px;
        margin-right: 5px;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    .carousel-caption {
        font-size: 0.9rem;
        padding: 5px;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn img {
    width: 100px;
    height: 80px;
}
/* Gallery Carousel */
.custom-gallery-carousel {
    position: relative;
    max-width: 80%; /* Ajusta según el ancho deseado */
    margin: auto;
    overflow: hidden;
}

.custom-carousel-images {
    display: flex;
    justify-content: space-between; /* Asegura que las imágenes se distribuyan uniformemente */
}

.custom-carousel-image {
    width: 32%; /* Ajustado para tres imágenes por diapositiva */
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 1%; /* Espacio entre las imágenes */
}

.custom-carousel-image:last-child {
    margin-right: 0; /* Elimina el margen derecho en la última imagen */
}

.custom-carousel-control-prev,
.custom-carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 50px;
    text-align: center;
}

.custom-carousel-control-prev:hover,
.custom-carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.btn-close:hover,
.btn-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.modal-body img {
    max-width: 100%;
    height: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .custom-carousel-image {
        height: 100px;
        width: auto;
    }

    .custom-gallery-carousel {
        overflow: hidden;
    }

    .carousel-slide {
        min-width: 100%;
    }

    .carousel-slide .custom-carousel-image {
        height: 70px;
        margin-right: 5px;
    }

    .social-icons a {
        font-size: 1.2rem;
    }

    .carousel-caption {
        font-size: 0.9rem;
        padding: 5px;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }
}
/* Estilos para la sección About */
#about {
    text-align: center; /* Centra el texto dentro de la sección */
}

#about .row {
    justify-content: center; /* Alinea los elementos en el centro */
}

#about .col-lg-6 {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los elementos dentro de la columna */
    text-align: center; /* Asegura que el texto dentro de la columna esté centrado */
}

#about h2 {
    font-size: 2.5rem; /* Ajusta el tamaño del título si es necesario */
    margin-bottom: 1rem; /* Espacio debajo del título */
}

#about p {
    font-size: 1.0rem; /* Ajusta el tamaño del texto del párrafo */
    line-height: 1.6; /* Mejora la legibilidad del texto */
    margin-bottom: 1rem; /* Espacio debajo de cada párrafo */
}

#about .img-fluid {
    margin-top: 1rem; /* Espacio encima de la imagen */
}
