/* Estilos principais para Eventos PT-BR */

/* CARD HORIZONTAL (seu estilo) */
.card-horizontal {
    max-width: 900px;
    margin: 20px auto;
    border-radius: 15px;
    overflow: hidden;
    background-color: #f2f2f2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: none;
    /* height: 350px; */
}

.card-img-left {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.event-date-box {
    position: absolute;
    top:0px;
    left: 15px;
    background-color: #3167b0;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    min-width: 70px;
    z-index: 2; /* Garante que a caixa de data fique acima da imagem */
}

.event-date-box span {
    display: block;
}

.event-date-box span:first-child {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.event-date-box span:last-child {
    font-size: 1.8rem;
    line-height: 1;
}

.event-info i {
    margin-right: 8px;
    color: #3167b0;
}

.event-info p {
    margin-bottom: 5px;
    color: #555;
}

.card-title {
    color: #3167b0;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.btn-outline-square {
    display: block;
    margin: 0 auto;
    border: 2px solid #3167b0;
    color: #3167b0;
    background: transparent;
    border-radius: 0;
    padding: 8px 20px;
    font-weight: bold;
    width: fit-content;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-outline-square:hover {
    background-color: #3167b0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(49, 103, 176, 0.3);
}

/* CARD PARA SLIDER */
.card-horizontal-slider {
    border-radius: 15px;
    overflow: hidden;
    background-color: #f2f2f2;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: none;
    height: 100%;
    transition: transform 0.3s ease;
}

.card-horizontal-slider:hover {
    transform: translateY(-5px);
}

.card-horizontal-slider .card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-horizontal-slider .event-date-box {
    top: 10px;
    left: 10px;
    padding: 8px 12px;
    min-width: 60px;
}

.card-horizontal-slider .event-date-box span:first-child {
    font-size: 0.9rem;
}

.card-horizontal-slider .event-date-box span:last-child {
    font-size: 1.5rem;
}

.card-horizontal-slider .card-title {
    margin-bottom: 0.75rem;
}

.card-horizontal-slider .card-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.card-horizontal-slider .event-info p {
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.card-horizontal-slider .btn-outline-square {
    padding: 6px 15px;
    font-size: 0.9rem;
}

/* Grid de eventos */
.eventos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
}

/* Slider Swiper */
.slider-proximos-eventos {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.eventosSwiper {
    padding: 20px 10px 40px;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.swiper-slide > * {
    width: 100%;
    max-width: 350px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #3167b0;
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Seletor de anos */
.seletor-anos h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: #3167b0;
}

.ano-selecionado {
    font-weight: 600;
    color: #3167b0;
}

.dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
}

.ano-option:hover {
    background-color: #f8f9fa;
    color: #3167b0;
}

/* Menu de meses */
.btn-mes {
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-width: 2px;
    color: #666;
    border-color: #ddd;
}

.btn-mes:hover {
    background-color: #3167b0;
    color: white;
    border-color: #3167b0;
    transform: translateY(-2px);
}

.btn-mes.ativo {
    background-color: #3167b0;
    color: white;
    border-color: #3167b0;
}

/* Container responsivo */
.container {
    max-width: 1200px !important;
    padding-left: 20px;
    padding-right: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .card-horizontal {
        height: auto;
        max-width: 100%;
    }
    
    .card-horizontal .row {
        flex-direction: column !important;
    }
    
    .card-horizontal .col-md-6 {
        width: 100%;
    }
    
    .card-img-left {
        height: 250px;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .seletor-anos h2 {
        font-size: 2rem;
    }
    
    .btn-mes {
        padding: 8px 16px !important;
        font-size: 0.875rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .eventos-grid {
        gap: 20px;
    }
    
    .menu-meses-nav .d-flex {
        gap: 8px !important;
    }
    
    .btn-mes {
        padding: 6px 12px !important;
        font-size: 0.75rem;
    }
    
    .seletor-anos h2 {
        font-size: 1.8rem;
    }
    
    .event-date-box {
        top: 10px;
        left: 10px;
        padding: 8px 12px;
        min-width: 60px;
    }
    
    .event-date-box span:first-child {
        font-size: 0.9rem;
    }
    
    .event-date-box span:last-child {
        font-size: 1.5rem;
    }
}

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

.eventos-grid .col {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}
/* === NOVOS ESTILOS PARA O MENU === */
/* === MENU DE MESES - ESTILO CORRETO === */

/* Container principal */
.menu-meses {
    background-color: #fff;
    padding: 10px 0;
    margin-bottom: 40px;
}

.menu-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

/* Dropdown de anos */
.menu-meses .dropdown-toggle {
    color: #3167b0;
    font-weight: bold;
    padding: 8px 12px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.menu-meses .dropdown-toggle:hover {
    color: #2a5899;
}

.menu-meses .dropdown-toggle i {
    font-size: 0.8rem;
}

.menu-meses .dropdown-menu {
    border: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 5px 0;
}

.menu-meses .dropdown-item {
    color: #3167b0;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
}
.menu-meses{
        justify-content: center;
    display: flex;
}
.menu-meses .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #2a5899;
}

/* Lista de meses */
.menu-meses .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.menu-meses .nav-link {
    font-family: 'Garamond' !important;
    color: #3167b0;
    font-weight: bold;
    padding: 2px 5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    border-radius: 4px;
}

.menu-meses .nav-link:hover {
    background-color: #f8f9fa;
    color: #2a5899;
}

.menu-meses .nav-link.ativo {
    font-weight: bold;
    border-bottom: 2px solid #3167b0;
    background-color: transparent;
    color: #3167b0;
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-container {
        justify-content: center;
    }
    
    .menu-meses .nav-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .menu-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .menu-meses .nav {
        width: 100%;
        justify-content: center;
    }
    
    .menu-meses .nav-link {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
}

.banner-evento-full {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.banner-img {
  width: 100%;
  height: auto;
  display: block;
}
.banner-overlay {
  position: absolute;
  bottom: 20px;
  left: 30px;
  background: rgba(0,0,0,0.6);
  padding: 20px;
  color: white;
}
.titulo-evento-banner {
  font-size: 2.5rem;
  margin: 0;
}
.info-evento p {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
