@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;700&display=swap');
/* Variables CSS */
:root {
    --primary-color: #1a73e8;
    --primary-dark: #0d47a1;
    --primary-light: #bbdefb;
    --dark-color: #212121;
    --dark-gray: #424242;
    --medium-gray: #757575;
    --light-gray: #bdbdbd;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.05);
}
.header-content h1 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Estilos base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    padding-top: 76px;
    background-color: white;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-color);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Secciones */
.section {
    padding: 3rem 0;
}

.bg-light {
    background-color: var(--light-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

/* Contenedor de imagen - Versión completa */
.artwork-image-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: auto;
    min-height: 300px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.artwork-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.artwork-image-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Ajuste de espaciado entre columnas */
@media (min-width: 992px) {
    .section .row.align-items-center > .col-lg-6 {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section .row.align-items-center > .col-lg-6.order-lg-1 {
        padding-right: 20px;
    }
    
    .section .row.align-items-center > .col-lg-6.order-lg-2 {
        padding-left: 20px;
    }
}

/* Para dispositivos móviles */
@media (max-width: 991.98px) {
    .artwork-image-container {
        height: 280px;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 2rem 0;
    }
}
@media (max-width: 767.98px) {
    .artwork-image-container {
        height: 220px;
    }
    
    .h1 {
        font-size: 1.8rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 0.75rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(0, 0, 0, 0.98) !important;
    box-shadow: var(--shadow-md);
}

.nav-link {
    color: var(--white);
    font-weight: 400;
    padding: 0.5rem 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width 0.3s;
    position: absolute;
    bottom: 0;
    left: 1rem;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 2rem);
}

.cta-button {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 0.5rem;
    transition: var(--transition);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button::after {
    display: none !important;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Video Header */
.video-header {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)), 
                url('assets/images/poster-index.jpg') no-repeat center center;
    background-size: cover;
}

.video-header video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.header-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.header-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Estilo para el botón de reproducción manual */
.video-play-button {
    position: absolute;
    z-index: 3;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.video-play-button:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Header de Contacto */
.contact-header {
    position: relative;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), 
                url('../assets/images/contact-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    margin-top: 76px; /* Para compensar el navbar fijo */
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.contact-header .header-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    width: 100%;
}

.contact-header .header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-header .header-content .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sección de Contacto */
.contact-info, .contact-form {
    background-color: white;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    background-color: var(--primary-color);
}

.contact-text h5 {
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.contact-text p, .contact-text a {
    margin-bottom: 0;
    color: var(--medium-gray);
    text-decoration: none;
}

.contact-text a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    margin-right: 0.8rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Formulario */
.contact-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-form .form-control, 
.contact-form .form-select {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.contact-form .form-control:focus, 
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(26, 115, 232, 0.25);
}

/* Mapa */
.map-section {
    margin-top: 3rem;
}

.map-section iframe {
    border: none;
    filter: grayscale(20%);
}

/* Animaciones */
.fade-in {
    animation: fadeIn 1s ease-in forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tarjetas */
.card {
    border: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    background-color: #f8f9fa;
}

.card-img-top, .img-fluid.rounded-start {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease, opacity 0.3s ease;
    background-color: white;
}

.card:hover .card-img-top, 
.card:hover .img-fluid.rounded-start {
    transform: scale(1.08);
    opacity: 0.95;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    flex-grow: 1;
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Tarjetas de obras */
.artwork-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Botón Ver Imagen */
.view-image-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    z-index: 3;
    background-color: rgba(26, 115, 232, 0.9) !important;
    color: white !important;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.view-image-btn:hover {
    background-color: rgba(13, 71, 161, 0.9) !important;
    transform: translateY(0) scale(1.05);
}

.card:hover .view-image-btn {
    opacity: 1;
    transform: translateY(0);
}

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.card-img-container:hover::after {
    opacity: 1;
}

/* Botón Ver Video */
.view-video-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    z-index: 3;
    background-color: rgba(26, 115, 232, 0.9) !important;
    color: white !important;
    border: none;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.view-video-btn:hover {
    background-color: rgba(13, 71, 161, 0.9) !important;
    transform: translateY(0) scale(1.05);
}

.card:hover .view-video-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para el contenedor de video en las tarjetas */
.card-img-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

/* Estilos para el video en el lightbox */
.lightbox-video {
    max-width: 90vw;
    max-height: 80vh;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Botones */
.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Filtros */
.filter-bar {
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filter-btn {
    transition: all 0.25s ease-out;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
    box-shadow: 0 4px 6px rgba(26, 115, 232, 0.25);
}

/* Transiciones para el filtrado de obras */
#obras-grid {
    transition: all 0.3s ease;
}

.obra-item {
    transition: all 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.obra-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    display: none;
}

/* Lightbox personalizado */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.lightbox-close:hover {
    color: var(--primary-light);
    transform: scale(1.2);
}

.lightbox-overlay .image-title {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 1.2rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sección de Próximo Evento combinado */
.event-combined {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.event-combined:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.event-combined img {
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.event-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.event-details h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.event-details ul {
    margin-bottom: 1.5rem;
}

.event-details p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.event-details i {
    width: 20px;
    text-align: center;
    margin-right: 8px;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 3rem 0;
}

.footer-links h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .header-content h1 {
        font-size: 3rem;
    }
    
    .header-content p {
        font-size: 1.25rem;
    }
    
    .video-header {
        min-height: 500px;
    }
    
    .contact-header {
        height: 350px;
    }
    
    .contact-header .header-content h1 {
        font-size: 3rem;
    }
    
    .contact-header .header-content .lead {
        font-size: 1.3rem;
    }
    
    .event-combined img {
        min-height: 350px;
    }
    
    .event-details {
        padding: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
    
    .video-header {
        height: 80vh;
        min-height: 400px;
    }
    
    .navbar-collapse {
        padding: 1rem;
        background-color: rgba(0,0,0,0.95);
        margin-top: 0.5rem;
        border-radius: 8px;
    }
    
    .cta-button {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        text-align: center;
    }
    
    .view-image-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .card-img-container {
        height: 200px;
    }
    
    .horizontal-layout .col-md-5 {
        height: 200px;
    }
    
    .horizontal-layout .col-md-7 {
        padding-top: 1rem;
    }
    
    .contact-header {
        height: 300px;
        margin-top: 66px;
    }
    
    .contact-header .header-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-header .header-content .lead {
        font-size: 1.1rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 0.5rem;
    }
    
    .event-combined img {
        min-height: 300px;
    }
    
    .event-details h3 {
        font-size: 1.5rem;
    }
    
    .event-details h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-content p {
        font-size: 1rem;
    }
    
    .video-header {
        height: 70vh;
        min-height: 400px;
    }
    
    .btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    
    .contact-header {
        height: 250px;
    }
    
    .contact-header .header-content h1 {
        font-size: 2rem;
    }
    
    .contact-header .header-content .lead {
        font-size: 1rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem !important;
    }
    
    .event-combined img {
        min-height: 250px;
    }
    
    .event-details {
        padding: 1.5rem !important;
    }
}

/* Asegurar que todas las imágenes mantengan su relación de aspecto */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.navbar-brand h1 {
    color: white !important;
    margin: 0;
}
/* Estilos para el formulario centrado */
.contact-form {
    background-color: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin: 0 auto;
}

.contact-form:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Ajustes responsivos para el formulario */
@media (max-width: 767.98px) {
    .contact-form {
        padding: 1.5rem !important;
    }
    
    .header-content h1 {
        font-size: 2.2rem;
    }
    
    .header-content p {
        font-size: 1.1rem;
    }
}

/* Mejora para los inputs del formulario */
.form-control, .form-select {
    border-radius: 4px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

/* Estilo para el botón de enviar */
.btn-submit {
    background-color: var(--primary-color);
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}
/* Estilo para el botón "Descubre más" */
.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    transform: translateY(-2px);
}

/* Asegurar que el enlace lleve a la sección correcta */
#filosofia {
    scroll-margin-top: 100px; /* Compensa el navbar fijo */
}
/* Lightbox con flechas externas */
.lightbox-overlay .carousel {
    width: auto;
    max-width: 85vw;
    position: relative;
    padding: 0 50px; /* Espacio para las flechas */
}

.lightbox-overlay .carousel-inner {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.lightbox-overlay .carousel-control-prev,
.lightbox-overlay .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(26, 115, 232, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    transition: all 0.3s ease;
    border: 2px solid white;
    position: absolute;
    z-index: 10;
}

.lightbox-overlay .carousel-control-prev {
    left: -25px; /* Mover fuera del contenedor */
}

.lightbox-overlay .carousel-control-next {
    right: -25px; /* Mover fuera del contenedor */
}

.lightbox-overlay .carousel-control-prev:hover,
.lightbox-overlay .carousel-control-next:hover {
    background-color: rgba(13, 71, 161, 0.9);
    transform: translateY(-50%) scale(1.1);
}

/* Iconos de flecha más grandes */
.lightbox-overlay .carousel-control-prev-icon,
.lightbox-overlay .carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-size: 100% 100%;
}

/* Ajustar imagen para que no toque los bordes */
.lightbox-overlay .carousel-item img {
    max-width: 80vw;
    max-height: 80vh;
    margin: 0 auto;
    display: block;
}

/* Responsive para móviles */
@media (max-width: 767.98px) {
    .lightbox-overlay .carousel {
        padding: 0 30px;
    }
    
    .lightbox-overlay .carousel-control-prev {
        left: -15px;
    }
    
    .lightbox-overlay .carousel-control-next {
        right: -15px;
    }
    
    .lightbox-overlay .carousel-control-prev,
    .lightbox-overlay .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .lightbox-overlay .carousel-control-prev-icon,
    .lightbox-overlay .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }
}
/* Animaciones para las cartas de colaboraciones */
.colaboracion-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.colaboracion-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto cascada para las cartas */
.colaboracion-item:nth-child(1) { transition-delay: 0.1s; }
.colaboracion-item:nth-child(2) { transition-delay: 0.2s; }
.colaboracion-item:nth-child(3) { transition-delay: 0.3s; }
.colaboracion-item:nth-child(4) { transition-delay: 0.4s; }
.colaboracion-item:nth-child(5) { transition-delay: 0.5s; }
.colaboracion-item:nth-child(6) { transition-delay: 0.6s; }

/* Estilos para la sección de Otras Obras */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.card-img-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.35em 0.65em;
}

/* Efecto de hover para las tarjetas */
.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(26, 115, 232, 0.1), rgba(26, 115, 232, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 30px;
    margin-left: -1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 15px;
    left: -40px;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

@media (max-width: 767.98px) {
    .timeline::after {
        left: 15px;
    }
    
    .timeline-item::after {
        left: -25px;
    }
    
    .timeline-content {
        padding: 15px;
    }
}/* [Todos los estilos anteriores permanecen igual...] */

/* Galería destacada obras */
.artwork-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.artwork-gallery-grid .gallery-item {
    transition: all 0.5s ease;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.artwork-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artwork-gallery-grid .gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
    transform: rotate(-3deg);
    height: 100%;
}

.artwork-gallery-grid .gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    transform: rotate(2deg);
    height: 220px;
}

.artwork-gallery-grid .gallery-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    transform: rotate(-1deg);
    height: 220px;
}

.artwork-gallery-grid .gallery-item:hover {
    transform: rotate(0deg) scale(1.03);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

.artwork-gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Elementos flotantes decorativos */
.floating-circle-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(26, 115, 232, 0.08);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
}

.floating-circle-2 {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(26, 115, 232, 0.05);
    border-radius: 50%;
    bottom: 20px;
    left: -30px;
    z-index: 0;
}

/* Botón con icono animado */
.btn.with-icon i {
    transition: transform 0.3s ease;
}

.btn.with-icon:hover i {
    transform: translateX(5px);
}

/* Efecto de iluminación */
@keyframes subtleGlow {
    0% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.1); }
    50% { box-shadow: 0 0 20px 5px rgba(26, 115, 232, 0.15); }
    100% { box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.1); }
}

.artwork-gallery-grid .gallery-item {
    animation: subtleGlow 6s infinite;
}

.artwork-gallery-grid .gallery-item:nth-child(2) {
    animation-delay: 1s;
}

.artwork-gallery-grid .gallery-item:nth-child(3) {
    animation-delay: 2s;
}

/* Responsive para móviles */
@media (max-width: 991.98px) {
    .artwork-gallery-grid {
        margin-bottom: 2rem;
    }
    
    .artwork-gallery-grid .gallery-item:nth-child(1),
    .artwork-gallery-grid .gallery-item:nth-child(2),
    .artwork-gallery-grid .gallery-item:nth-child(3) {
        transform: none;
        height: auto;
    }
    
    .floating-circle-1,
    .floating-circle-2 {
        display: none;
    }
}
/* Añade esto al final de styles.css */
#filosofia {
    background-color: white !important;
    color: black !important;
    padding: 4rem 0;
}

#filosofia h2,
#filosofia .h1,
#filosofia .lead,
#filosofia p {
    color: black !important;
    font-family: 'Playfair Display', serif !important;
}

#filosofia .btn-outline-primary {
    border-color: black !important;
    color: black !important;
}

#filosofia .btn-outline-primary:hover {
    background-color: black !important;
    color: white !important;
}
