body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */
    background-color: #000;
    font-family: "Space Grotesk", sans-serif;
    font-style: normal;
}

body {
    top: 0px !important; /* oculta el error del espacio blanco en el top */
}

#talleres {
    margin-top: 30px;
}

#talleres-inf h1,
#talleres-inf p {
    color: white;
}

.card {
    margin-bottom: 20px;
}

/* Navbar Styles */
.navbar {
    background-color: #000;
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 2000;
}

.navbar a {
    color: #ffffff !important;
    text-decoration: none;
    transition: border-bottom 0.3s ease;
    position: relative;
}

.navbar a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.navbar a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    max-height: 50px;
    height: auto;
    width: auto;
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 30px;
    }
}

@media (max-width: 375px) {
    .navbar-brand img {
        max-height: 20px;
    }
}

.swiper-caption {
    position: absolute;
    bottom: 20%;
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 1em;
    text-align: center;
    width: 100%;
}

@media (max-width: 992px) {
    .swiper-caption {
        font-size: 30px;
        bottom: 15%;
        padding: 0.75em;
    }
}

@media (max-width: 768px) {
    .swiper-caption {
        font-size: 25px;
        bottom: 15%;
        padding: 0.75em;
    }
}

@media (max-width: 576px) {
    .swiper-caption {
        font-size: 20px;
        bottom: 25%;
        padding: 0.75em;
    }
}

.swiper-container {
    width: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 800px; /* Altura personalizada para las diapositivas */
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 800px;
    object-position: center;
}

@media (max-width: 767px) {
    .swiper-slide {
        height: 550px;
    }
    
    .swiper-slide img {
        max-height: 550px;
    }
}

.centered-container {
    margin: 0 auto;
    max-width: 960px;
}

/* Estilos para el botón flotante */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-buttons a, .floating-buttons button {
    display: block;
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 10px;
    text-decoration: none;
    font-size: 24px;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.whatsapp-button {
    background-color: #25d366;
}

.scroll-top-button {
    background-color: #007bff;
}

.instagram-button {
    background-color: #e4405f;
}

.facebook-button {
    background-color: #3b5998;
}

.floating-buttons a:hover, .floating-buttons button:hover {
    opacity: 0.8;
}

/* Estilos personalizados para el dropdown */
.dropdown-menu {
    background-color: #ffffff;
}

.dropdown-item {
    color: black !important;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: #ffffff !important;
    color: black !important;
}

.dropdown-menu a {
    color: black !important;
}

.modal {
    z-index: 2001;
}
