/* Estilos específicos para o Prêmio 2025 */

/* Hero Section - Padrão para index.html */
.hero-container {
    background: url('../images/banner_hero.png') center center no-repeat;
    background-size: cover;
    height: 600px;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Hero específico para página de inscrição - imagem completa em todas as resoluções */
.hero-container.inscricao-hero {
    background: url('../images/banner_hero_novo.png') center center no-repeat;
    background-size: cover;
    background-color: var(--cor-branco, #ffffff);
    height: 600px;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Fallback para navegadores que não suportam :has() */
@media (max-width: 768px) {
    .hero-container {
        background-size: contain;
        background-color: var(--cor-branco, #ffffff);
        min-height: 250px;
        height: auto;
    }
}

/* Garantir que a imagem seja visível em todas as resoluções */
@media (max-width: 576px) {
    .hero-container {
        background-size: contain;
        background-color: var(--cor-branco, #ffffff);
        min-height: 200px;
        height: auto;
        padding: 20px 0;
    }
}

/* Classe específica para página de inscrição - compatibilidade universal */
.hero-container.inscricao-hero {
    background: url('../images/banner_hero_novo.png') center center no-repeat;
    background-size: cover;
    background-color: var(--cor-branco, #ffffff);
    height: 600px;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Responsividade específica para inscrição */
@media (max-width: 768px) {
    .hero-container.inscricao-hero {
        height: 500px;
    }
}

@media (max-width: 576px) {
    .hero-container.inscricao-hero {
        height: 400px;
    }
}

/* Alternativa: fundo mais claro se a imagem estiver muito escura */
.hero-container.alternative-bg {
    background: linear-gradient(135deg, var(--cor-principal) 0%, var(--cor-secundaria) 100%);
}

/* Seção de Conteúdo do Hero */
#hero-content {
    background: var(--cor-branco);
    color: var(--cor-principal);
}

#hero-content h1 {
    color: var(--cor-principal);
    text-shadow: none;
}

#hero-content h2 {
    color: var(--cor-secundaria);
    text-shadow: none;
}

#hero-content p {
    color: var(--cor-texto);
    text-shadow: none;
}

/* Overlay/sombra para o hero do index.html */
.hero-container:not(.inscricao-hero)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-container .container {
    position: relative;
    z-index: 2; /* Restaurado z-index para conteúdo ficar acima da imagem */
}

/* Garantir que o conteúdo do hero no index.html tenha posicionamento correto */
.hero-container:not(.inscricao-hero) .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container:not(.inscricao-hero) .container .row {
    width: 100%;
    margin: 0;
}

.hero-container:not(.inscricao-hero) .container .row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Tipografia do Hero */
.hero-container h1 {
    text-shadow: none;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-container h2 {
    text-shadow: none;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.hero-container p {
    text-shadow: none;
    font-weight: 500;
    line-height: 1.6;
}

/* Garantir que o texto no index.html tenha sombra para legibilidade */
.hero-container:not(.inscricao-hero) h1,
.hero-container:not(.inscricao-hero) h2,
.hero-container:not(.inscricao-hero) p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: var(--cor-branco, #ffffff);
}

.hero-container:not(.inscricao-hero) h2 {
    color: var(--cor-branco, #ffffff);
}

.hero-container:not(.inscricao-hero) p {
    color: var(--cor-branco, #ffffff);
}

.hero-image {
    display: none; /* Removendo a imagem inline pois agora é background */
}

/* Cronograma */
.cronograma-item {
    background: var(--cor-branco);
    border: 2px solid var(--cor-secundaria);
    transition: all 0.3s ease;
    height: 100%;
}

.cronograma-item:hover {
    border-color: var(--cor-destaque);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cronograma-item i {
    color: var(--cor-destaque);
}

/* Patrocinadores e Apoiadores */
.patrocinador-item,
.apoiador-item {
    background: var(--cor-branco);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.patrocinador-item:hover,
.apoiador-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.patrocinador-item img,
.apoiador-item img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

/* Formulário de Contato */
.form-control {
    border: 2px solid var(--cor-secundaria);
    border-radius: 8px;
    padding: 12px 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--cor-destaque);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--cor-principal);
}

/* Botões */
.botao-principal {
    background: var(--cor-destaque);
    color: var(--cor-branco);
    padding: 15px 35px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.botao-principal:hover {
    background: var(--cor-destaque-hover);
    color: var(--cor-branco);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.botao-secundario {
    background: rgba(255, 255, 255, 0.9);
    color: var(--cor-principal);
    padding: 15px 35px;
    border: 2px solid var(--cor-principal);
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.botao-secundario:hover {
    background: var(--cor-principal);
    color: var(--cor-branco);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Seções */
.py-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-container {
        height: 600px;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .cronograma-item {
        margin-bottom: 1rem;
    }
    
    .patrocinador-item,
    .apoiador-item {
        height: 120px;
        margin-bottom: 1rem;
    }
    
    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Menu sticky mobile */
    header.sticky {
        padding: 0;
    }
    
    header.sticky .navbar-brand img {
        height: 30px !important;
    }
    
    header.sticky .nav-link-header {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem !important;
    }
    
    body.has-sticky-header {
        padding-top: 50px;
    }
}

@media (max-width: 576px) {
    .hero-container {
        height: 600px;
    }
    
    .hero-container .container .col-lg-8 h1 {
        font-size: 2.5rem;
    }
    
    .hero-container .container .col-lg-8 h2 {
        font-size: 1.8rem;
    }
    
    .hero-container .container .col-lg-8 .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-container .container .col-lg-8 .d-flex .botao-principal,
    .hero-container .container .col-lg-8 .d-flex .botao-secundario {
        margin-bottom: 1rem;
        width: 100%;
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Navegação ativa */
.nav-link-header.active {
    color: var(--cor-principal) !important;
    font-weight: 700;
}

/* Menu Sticky - mais compacto */
header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0;
}

header.sticky .navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* Sobrescrever .py-4 apenas no menu sticky - com máxima especificidade */
header.sticky.py-4,
header.sticky .w-100.py-4,
header.sticky .container .py-4,
header.sticky .navbar .py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Regra com especificidade máxima para sobrescrever Bootstrap */
body header.sticky.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Transição suave para o logo */
.navbar-brand img {
    transition: height 0.3s ease;
}

header.sticky .navbar-brand img {
    height: 35px !important;
    transition: height 0.3s ease;
}

header.sticky .nav-link-header {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem !important;
    transition: all 0.3s ease;
}

/* Ajuste do conteúdo principal quando menu fica sticky */
body.has-sticky-header {
    padding-top: 55px;
}

/* Footer */
footer {
    background: var(--cor-preto);
}

footer a:hover {
    color: var(--cor-destaque) !important;
}

/* Logo branco no footer */
footer .navbar-brand img,
footer img[src*="logo_abcic"] {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Contato Info */
.contato-info {
    background: var(--cor-branco);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contato-info i {
    color: var(--cor-destaque);
    width: 20px;
}

/* Logo branco na seção Realização */
#realizacao img[src*="logo_abcic"] {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Proteger o logo do header dos filtros */
.logo-header {
    filter: none !important;
}

/* Regra final com especificidade máxima para .py-4 no sticky */
html body header.sticky.py-4 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Estilos para Modal de Envio Rápido */
.upload-area {
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--cor-destaque) !important;
    background-color: rgba(76, 175, 80, 0.05) !important;
}

/* Estilos para Página de Obrigado */
.hero-obrigado {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
}

.success-icon {
    animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-marker {
    position: absolute;
    left: -22px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #dee2e6;
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #28a745;
}

.step-icon {
    transition: transform 0.3s ease;
}

.step-icon:hover {
    transform: scale(1.1);
}

.card.border-success {
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.1);
}

.badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000 !important;
}

.badge.bg-primary {
    background-color: #0d6efd !important;
}

.upload-area.border-success {
    border-color: var(--cor-destaque) !important;
    background-color: rgba(76, 175, 80, 0.1) !important;
}

/* Modal de envio rápido */
#modalEnvioRapido .modal-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

#modalEnvioRapido .modal-title {
    font-weight: 700;
}

/* Validação do formulário rápido */
#formEnvioRapido .form-control:invalid {
    border-color: #dc3545;
}

#formEnvioRapido .form-control:valid {
    border-color: #28a745;
}

/* Botão de envio rápido */
#btnEnviarMemorial {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#btnEnvioMemorial:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Card de envio rápido na página principal */
.card.border-success {
    border-width: 2px !important;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1);
}

.card.border-success:hover {
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.2);
    transform: translateY(-2px);
}

/* Responsividade para o modal */
@media (max-width: 768px) {
    #modalEnvioRapido .modal-dialog {
        margin: 1rem;
    }
    
    .upload-area {
        padding: 2rem 1rem !important;
    }
    
    .upload-area i {
        font-size: 2rem !important;
    }
}

/* Estilos para Obras Premiadas 2025 */
/* Navegação Rápida */
.navegacao-rapida-btn {
    padding: 0.75rem 1rem;
    font-weight: 600;
    border: 2px solid var(--cor-principal);
    color: var(--cor-principal);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
}

.navegacao-rapida-btn:hover {
    background-color: var(--cor-principal);
    color: var(--cor-branco);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 94, 37, 0.3);
    border-color: var(--cor-principal);
}

.navegacao-rapida-btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(18, 94, 37, 0.25);
}

.navegacao-rapida-btn i {
    font-size: 1rem;
}

/* Ícones da navegação rápida */
.nav-icon {
    max-height: 30px;
    width: auto;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

/* Scroll suave para navegação */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Ajuste de posicionamento para IDs */
[id] {
    scroll-margin-top: 100px;
}

/* Botão Voltar ao Topo */
.btn-voltar-topo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--cor-destaque);
    color: var(--cor-branco);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.btn-voltar-topo.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-voltar-topo:hover {
    background-color: var(--cor-destaque-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-voltar-topo:active {
    transform: translateY(-1px);
}

.btn-voltar-topo i {
    font-size: 1.2rem;
}

/* Responsividade para botão voltar ao topo */
@media (max-width: 768px) {
    .btn-voltar-topo {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .btn-voltar-topo i {
        font-size: 1rem;
    }
}

.obra-premiada-card {
    border: 2px solid var(--cor-secundaria) !important;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.obra-premiada-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-3px);
}

/* Imagem do homenageado - lado direito */
.homenagem-imagem {
    width: 100%;
    text-align: center;
}

.homenagem-imagem img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Box de informações da obra - mais destaque */
.obra-info-box {
    background: var(--cor-fundo);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--cor-destaque);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.obra-info-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--cor-texto);
    margin-bottom: 0.75rem;
}

.obra-info-box strong {
    color: var(--cor-principal);
    font-weight: 700;
}

/* Carrossel maior e mais destacado */
.obra-carousel {
    min-height: 450px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.obra-carousel .carousel-inner {
    height: 450px;
}

.obra-carousel .carousel-item img {
    height: 450px;
    object-fit: cover;
    width: 100%;
    transition: opacity 0.3s ease;
}

/* Lazy loading para imagens do carrossel */
.obra-carousel .carousel-item img.lazy-image {
    opacity: 0.3;
    filter: blur(5px);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.obra-carousel .carousel-item img:not(.lazy-image) {
    opacity: 1;
    filter: none;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Otimização de renderização */
.obra-carousel .carousel-item {
    will-change: transform;
}

.obra-carousel img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Imagens clicáveis do carrossel */
.carousel-image-clickable {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.carousel-image-clickable:hover {
    transform: scale(1.02);
}

/* Lightbox Modal */
#lightboxModal .modal-content {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

#lightboxModal .modal-body {
    position: relative;
    min-height: 100vh;
}

.lightbox-image-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightboxImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: white;
    text-align: center;
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 8px;
    font-size: 1rem;
}

.lightbox-counter {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav i {
    font-size: 1.5rem;
}

/* Responsividade do lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    #lightboxImage {
        max-height: 75vh;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

.obra-carousel .carousel-control-prev,
.obra-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.obra-carousel .carousel-control-prev:hover,
.obra-carousel .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

.obra-carousel .carousel-control-prev {
    left: 20px;
}

.obra-carousel .carousel-control-next {
    right: 20px;
}

/* Badges melhorados */
/* Estilos para ícones de badge */
.badge-icon {
    max-height: 80px;
    width: auto;
    height: auto;
    display: inline-block;
    object-fit: contain;
    flex-shrink: 0;
}

.badge-text {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--cor-principal);
    line-height: 1.2;
}

.obra-premiada-card .badge {
    font-size: 1rem;
    padding: 0.5rem 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Títulos das categorias */
#obras-premiadas h3 {
    border-bottom: 3px solid var(--cor-destaque);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem !important;
}

/* Responsividade para obras premiadas */
@media (max-width: 992px) {
    .obra-carousel {
        min-height: 350px;
    }
    
    .obra-carousel .carousel-inner {
        height: 350px;
    }
    
    .obra-carousel .carousel-item img {
        height: 350px;
    }
    
    .homenagem-imagem img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .obra-carousel {
        min-height: 300px;
    }
    
    .obra-carousel .carousel-inner {
        height: 300px;
    }
    
    .obra-carousel .carousel-item img {
        height: 300px;
    }
    
    .obra-info-box {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .homenagem-imagem img {
        max-height: 250px;
    }
    
    .obra-carousel .carousel-control-prev,
    .obra-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .obra-carousel .carousel-control-prev {
        left: 10px;
    }
    
    .obra-carousel .carousel-control-next {
        right: 10px;
    }
}

/* Carrossel de Fotos do Evento - 4 fotos por vez */
.carousel-fotos-evento {
    min-height: 220px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.carousel-fotos-evento .carousel-inner {
    height: auto;
    min-height: 220px;
    padding: 10px;
}

.carousel-fotos-evento .carousel-item {
    padding: 0;
}

.carousel-fotos-evento .carousel-item .row {
    margin: 0;
}

.carousel-fotos-evento .carousel-item img {
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.carousel-fotos-evento .carousel-item img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.carousel-fotos-evento .carousel-item img.lazy-image {
    opacity: 0.3;
    filter: blur(5px);
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.carousel-fotos-evento .carousel-item img:not(.lazy-image) {
    opacity: 1;
    filter: none;
}

.carousel-fotos-evento .carousel-control-prev,
.carousel-fotos-evento .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-fotos-evento .carousel-control-prev:hover,
.carousel-fotos-evento .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-fotos-evento .carousel-control-prev {
    left: 10px;
}

.carousel-fotos-evento .carousel-control-next {
    right: 10px;
}

@media (max-width: 768px) {
    .carousel-fotos-evento .carousel-item img {
        height: 150px !important;
    }
}
