/* Estilos generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 1px; /* Ajuste para navbar fija */
}

.hero-section {
    background: linear-gradient(rgba(246, 244, 244, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    height: 100vh;
    color: white;
}

.card {
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-10px);
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .hero-section {
        height: auto;
        padding: 100px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem;
    }
}


/*logo*/
/* Estilos para el logo */
.logo-img {
    height: 40px; /* Tamaño para desktop */
    width: auto;
    transition: all 0.3s ease;
}

/* Ajustes para móvil */
@media (max-width: 991.98px) {
    .logo-img {
        height: 35px; /* Tamaño ligeramente menor en móvil */
    }
    
    .navbar-brand {
        margin-right: auto; /* Centra el logo en móvil */
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 575.98px) {
    .logo-img {
        height: 30px; /* Tamaño más pequeño para móviles muy pequeños */
    }
}




/* Estilos del carrusel */
.carousel {
    margin-top: 56px; /* Ajuste para navbar fija */
    width: 100%;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
}

/* Contenedor de imágenes */
.carousel-item {
    height: 50vh; /* Altura base para desktop */
    min-height: 200px;
    position: relative;
}

.carousel-img-container {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 350px;/*100%;*/
    object-fit: cover;
    object-position: center;
}

/* Textos del carrusel */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    padding: 10px 15px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
}

.carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.carousel-caption .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Ajustes para tablets */
@media (max-width: 992px) {
    .carousel-item {
        height: 40vh;
    }
}
/*degrado de fondo */
.degradado {
background: linear-gradient(0deg,rgb(184, 203, 222) 0%, rgba(255, 255, 255, 1) 100%);
}
.degradadoazul {
background-color: rgba(184, 203, 222);
}
/*color para boton y biñetas*/
.text-warning{
         color:#0d6efd  !important;
        }

/* Ajustes para móviles */
@media (max-width: 768px) {
    .carousel-item {
        height: 35vh;
        min-height: 250px;
    }
    
    .carousel-caption {
        bottom: 10px;
        padding: 8px 12px;
        width: 95%;
    }
    
    .carousel-caption h2 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.8rem;
    }
}

/* Ajustes para móviles pequeños */
@media (max-width: 576px) {
    .carousel-item {
        height: 30vh;
        min-height: 200px;
    }
    
    .carousel-caption {
        bottom: 5px;
        padding: 5px 8px;
    }
    
    .carousel-caption h2 {
        font-size: 1rem;
    }
    
    .carousel-caption .btn {
        display: none; /* Opcional: ocultar botón en móviles muy pequeños */
    }
}





/* Estilos para el modal de bienvenida */
#welcomeModal .modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

#welcomeModal .modal-header {
    padding: 15px 20px;
}

#welcomeModal .modal-body {
    padding: 20px;
}

#welcomeModal .modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
}

#welcomeModal .btn-warning {
    font-weight: 500;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal.fade .modal-dialog {
    animation: fadeIn 0.3s ease-out;
}




/* Estilos para la galería */
#galeria .row {
    justify-content: center;
}

#galeria img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 3px solid #fff;
}

#galeria img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    cursor: pointer;
}

/* Ajustes para Lightbox */
.lb-data .lb-caption {
    font-size: 1rem;
    line-height: 1.4;
}

.lb-nav a.lb-next, 
.lb-nav a.lb-prev {
    opacity: 0.9;
}

/* Responsivo */
@media (max-width: 768px) {
    #galeria .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #galeria .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}