/* Paleta de Cores Adicional */
:root {
    --brand-dark: #363435;
    --brand-red: #e83038;
    --brand-green: #468678;
    --brand-gray: #202020;
    --brand-yellow: #eca51e;
    --text-footer-main: #ffffff;
    --text-footer-sub: #e0e0e0;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* 1. Top Bar - Info à Esquerda */
.top-info-bar {
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    padding: 12px 0;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
}

.top-info-bar i {
    color: var(--brand-red); /* Mantém o ícone com a cor da federação */
    margin-right: 5px;
}

.top-info-item {
    margin-right: 25px;
    color: #555;
    display: flex;
    align-items: center;
}

.top-info-item i {

    font-size: 16px;
    font-weight: 600;

}

.top-info-item a {
    color: #555;
    text-decoration: none;
}

/* Remove a margem do último item (endereço) para colar na direita */
.top-info-item.me-0 {
    margin-right: 0;
}

/* 2. Logo Section - Logo Esq | Botão Dir */
.logo-section {
    padding: 15px 0;
    background: white;
}

.logo-img {
    display: flex;
}

.logo-img img {
    width: 120px;
}

.btn-action-header:hover {
    background-color: var(--brand-red);
}

.btn-action-header {
    background-color: var(--brand-dark);
    color: white;
    border: none;
    border-radius: 0;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-action-hero {
    background-color: var(--brand-red);
    color: white;
    border: none;
    border-radius: 0;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

/* 3. Navbar - Menu Esq | Redes Sociais Dir */
.main-nav-wrapper .container {
    height: 70px;
    position: relative;
    z-index: 100000;
}

.main-nav-wrapper .wa_menu {

    background-color: var(--brand-red);

}

/* Estilos para Mobile (Telas Menores) */
@media (max-width:991px) {

    .main-nav-wrapper .container {
        
        padding: 0;
        position: relative;
        display: table;
        height: 100px;

    
    }

    .header {

        display: flex;

    }

    .navbar-toggler {

        border: solid 2px #fff;
        position: absolute;
        top: 0;
        right: 0;
        margin: 30px 30px 0 0;        

    }

    .logo-section, .main-nav-wrapper {

        float: left;
        width: 50%;
        position: relative;
        background-color: var(--brand-red);

    }

    .logo-img img {
        width: 72px;
    }

    #navContent {

        margin-top: 102px;
        width: 100vw;
        margin-left: -50vw;

    }

    .dropdown-item {

        padding: 15px !important;
        font-5ize: 13px !important;
        border-bottom: solid 1px #f1f1f1;

    }

    #wa_slides {
        margin-top: 0 !important;
    }

    .carousel-caption {
        bottom: 40% !important;
    }

    .carousel-caption h1 {
        font-size: 2rem !important;
    }

    .carousel-caption {
        right: 5%;
        left: 5%;
    }

    .social-icons {
        margin-bottom: 30px;
        padding-left: 15px;
    }

    .navbar {

        float: right;

    }

    .navbar ul {
        margin-bottom: 30px;
    }

    #wa_noticias, #wa_campeonatos, #wa_galerias, #wa_videos {

        padding-left: 15px;
        padding-right: 15px;

    }

    .wa_noticias_margem {

        margin-bottom: 10px !important;

    }

    #wa_banners {

        padding: 20px !important;

    }

    .wa_banners_box {

        padding: 0 !important;
    }

    .slick-dots li button {

        margin-top: -10px;

    }

    .featured-news-card {

        background-color: var(--brand-red);
        background-position: top center !important;
        background-repeat: no-repeat !important;
        min-height: 600px !important;
        background-size: contain !important;

    }

}

.navbar {
    padding: 0;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    padding: 23px 16px !important;
    font-family: 'Orbitron', sans-serif;
}

.nav-link:hover, .nav-link.active {
    background: rgba(0, 0, 0, 0.1);
}

.dropdown-menu {
    background-color: #fff;
    border-radius: 0;
    margin-top: 0;
}

.dropdown-item {
    font-size: 15px;
    font-weight: bold;
    padding: 10px 20px;
    color: #333;
    font-family: 'Orbitron', sans-serif;
}

.dropdown-item:hover {
    background-color: var(--brand-red);
    color: white;
}

/* Efeito para abrir o dropdown ao passar o mouse (opcional) */
@media (min-width:992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }

}

/* Redes Sociais no Menu */
.social-icons {
    padding-right: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    color: var(--brand-red);
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

/* Ajustes do Slider Hero */
.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay para leitura do texto */
}

.carousel-caption {
    text-align: left;
    bottom: 20%;
    z-index: 2;
}

.carousel-caption h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
}

/* Garante que a altura de 600px seja APENAS para o slider principal */
#heroSlider, #wa_slides {
    margin-top: -35px;
}

#heroSlider .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
}

/* Seção de Patrocinadores */
.partners-section {
    background-color: #ffffff;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

#partnerCarousel .carousel-item {
    height: auto; /* Remove a altura fixa */
    background: none;
}

#partnerCarousel .carousel-item::before {
    display: none; /* Remove o overlay escuro que tinha no Hero */
}

.partner-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* Altura fixa apenas para alinhar as logos horizontalmente */
    padding: 10px;
}

.partner-logo {
    max-height: 120px; /* Limita o tamanho das logos */
    max-width: 100%;
    filter: grayscale(0%);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.news-category {
    font-size: 10px;
    font-weight: 300;
    text-transform: uppercase;
    background-color: var(--brand-red);
    display: inline-block;
    margin-bottom: 5px;
    padding: 2px 8px;
    color: #fff !important;

}

.news-card {
    transition: transform 0.3s ease;
    border-radius: 0; /* Estilo mais quadrado do layout */
}

.news-card:hover {
    transform: translateY(-5px);
}

.badge-date {
    font-size: 11px;
    border-radius: 0;
    font-weight: 300;
}

.btn-news {

    color: var(--brand-red);
    font-size: 11px;
    border: var(--brand-red) solid 1px;
    padding: 5px 10px;

}

/* Notícia em Destaque */
.featured-news-card {
    height: 100%;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    color: white;
    text-decoration: none;
    transition: 0.4s;
}

.featured-news-card:hover {
    transform: scale(1.02);
    color: white;
}

.featured-news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, transparent 70%);
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

/* Grid de Notícias Menores */
.small-news-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.small-news-title {
    font-size: 0.95rem;
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Seção Calendário */
.calendar-row {
    background: #fff;
    border-left: 5px solid var(--brand-red);
    transition: all 0.3s ease;
    border-bottom: 1px solid #eee;
}

.calendar-row:hover {
    background: #fdf2f2;
    transform: translateX(5px);
}

.calendar-date {
    background: #111;
    color: white;
    min-width: 80px;
    text-align: center;
    padding: 10px;
    font-family: 'Orbitron', sans-serif;
}

.calendar-date span {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
}

/* Seção Últimos Eventos */
.event-result-card {
    position: relative;
    overflow: hidden;
    height: 355px;
}

.event-result-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    object-position: top;
}

.event-result-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 1));
    padding: 20px;
    color: white;
}

.event-result-card:hover img {
    transform: scale(1.1);
}

/* Galeria de Fotos e Vídeos */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px; /* Altura fixa para todos os itens */
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 0;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 3rem;
    color: var(--brand-red);
}

/* Footer
/* Estilos Galeria de Fotos */
.photo-album-card {
    position: relative;
    overflow: hidden;
    height: 300px;
    border: none;
    border-radius: 0;
}

.photo-album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-album-overlay small {
    background-color: var(--brand-red);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    border-radius: 0;
    color: #fff;
    padding: 2px 4px;
}

.photo-album-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.photo-album-card:hover img {
    transform: scale(1.1);
}

/* Estilos Vídeos YouTube */
.video-container {
    background-color: #111;
    padding: 60px 0;
    color: white;
}

.video-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
}

.video-container .text-muted {
    color: #ccc !important;
}

.ratio-16x9 {
    border: 1px solid #333;
}

/* Estilização do Footer */
:root {
    --brand-red: #ec1e26;
    --brand-green: #468678;
    --brand-gray: #202020;
    --text-footer-main: #ffffff;
    --text-footer-sub: #e0e0e0;
}

.main-footer .container {

    padding: 0 30px !important;

}

.main-footer {
    
    background-color: var(--brand-gray);
    color: var(--text-footer-main);
    padding: 60px 0 0 0;
    border-top: 5px solid var(--brand-green);
    
}

.footer-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--brand-red);
    text-transform: uppercase;
}

.footer-text {
    color: var(--text-footer-sub);
    line-height: 1.8;
}

/* Menu de duas colunas para Links Rápidos */
.footer-nav-grid {
    display: grid;
    grid-template-columns: none;
    gap: 10px;
}

.footer-nav-grid a {
    color: var(--text-footer-sub);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.footer-nav-grid a:hover {
    color: var(--brand-green);
    padding-left: 5px;
}

.contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    color: var(--text-footer-sub);
}

.contact-list i {
    color: var(--brand-green);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 4px;
}

.social-icons-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons-footer a:hover {
    background: var(--brand-green);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #111;
    padding: 20px 0;
    border-top: 1px solid #333;
}

/* Ajuste no botão do header caso queira usar o verde lá também */
.btn-green {
    background-color: var(--brand-green);
    color: white;
    border: none;
    border-radius: 0;
    padding: 10px 25px;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-green:hover {
    background-color: #386d62;
    color: white;
}

#wa_banners {

  background: #f2f2f2;
  padding: 30px;

}

#wa_paginas, #wa_noticias_pagina {

    background: rgb(230,230,230) !important;
    padding: 100px 0;
    margin-top: -35px;

}

#wa_noticias {

  background: rgb(230,230,230) !important;
  padding: 10px;

}


.wa_banners_box img {

  max-width: 100% !important;

}


.wa_banners_box {

  padding: 10px 15px;
}


.img-banners {

  padding: 0 15px;
  text-align: center;

}

.wa_maps {
    text-decoration: none;
    color: blue;
}

.wa_resultados_etapa {

    font-size: 2rem !important;

}

.wa_noticia_informacoes {

    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;

}

.wa_galerias_imagens {

    max-width: 100% !important;

}

.img-responsive {

    width: 100% !important;

}

.wa_box_imagens {

    padding: 10px;
    border-radius: solid 1px #ccc;
    background: #fff;
}

.wa_noticias_titulos {

    font-family: "Roboto", sans-serif;
    font-weight: 900;
 
}

.margin-bottom-20 {

    margin-bottom: 20px;

}

.margin-bottom-30 {

    margin-bottom: 30px;
    
}