/* Reseta margens, paddings e box-sizing para todos os elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos para o corpo da página */
body {
    background-color: #272425;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Lato', sans-serif;
}


i {
    font-weight: 50; /* Peso mais leve, 100 a 400 geralmente são mais finos */
    font-size: 0.8rem; /* Opcional, ajusta o tamanho do ícone */
}

.hidden-phone {
    display: none; /* Oculta o elemento */
  }
  
  @media (min-width: 768px) {
    .hidden-phone {
      display: inline; /* Mostra o elemento em telas maiores */
    }
  }

.space{
    margin-top: 50px;
}
  

/* ==============================
    HEADER
============================== */

/* Estilo do header fixo */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #5f727a;
    position: fixed;
    width: 100%;
    top: 0;
    transition: height 0.3s ease, padding 0.3s ease;
    height: 100px; /* Altura original */
    z-index: 1000;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}

/* Estilo do header quando encolhido ao rolar a página */
header.shrink {
    height: 75px; /* Altura ao rolar */
    padding: 10px 20px; /* Reduz apenas o padding */
}

/* Logo do header (Imagem) */
header .logo img {
    height: 80%; /* Altura padrão da imagem */
    width: auto; /* Mantém a proporção da imagem */
    transition: transform 0.3s ease, height 0.3s ease; /* Suaviza a transição do tamanho da imagem */
}

/* Reduz o tamanho da imagem da logo quando o header é encolhido */
header.shrink .logo img {
    transform: scale(0.8); /* Reduz a logo ao encolher o header */
    height: auto; /* Garante que a altura se ajuste à proporção */
}

header .separator {
    border-left: 1px solid #f5f5f5; /* cor da divisória */
    height: 40px; /* altura da divisória, você pode ajustar conforme necessário */
    margin: 0 10px; /* espaço entre os botões e a divisória */
}

/* Navegação no header */
header nav {
    display: flex;
    align-items: center;
}

/* Estilo para os botões no header, ícones de pesquisa e carrinho */
header nav a, .search-icon, .cart-icon, .dropdown-btn {
    background: none;
    border: none;
    color: #f5f5f5;
    cursor: pointer;
    margin: 0 10px;
    font-size: 1rem;
    position: relative;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

/* Efeito de hover nos botões do menu (mudança de cor ao passar o mouse) */
header nav a:hover, .search-icon:hover, .cart-icon:hover, .dropdown-btn:hover {
    color: #75dfff; /* Cor dourada ao passar o mouse */
}

/* Estilo do dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #333;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    z-index: 999;
    border-top: 3px solid #007bff; /* Borda azul da paleta */
}

.dropdown-content a {
    display: block;
    color: #f5f5f5;
    padding: 10px 20px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: #444;
}

/* ==============================
    BARRA DE PESQUISA
============================== */
/* Search Bar */
.search-bar {
    display: none;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    background-color: #2a2e35;
    padding: 10px;
    min-width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
    transition: height 0.3s ease, padding 0.3s ease;
    height: 100px;
}

.search-bar.shrink {
    height: 75px;
    padding: 5px;
}

.search-bar input {
    padding: 8px;
    font-size: 3rem;
    transition: font-size 1s ease;
    color: #fff;
    background-color: #2a2e35;
    border: 0px;
    height: 80%;
    min-width: 1200px;
}

.search-bar.shrink input {
    font-size: 2rem; /* Tamanho da fonte ao rolar */
}

/* Ícone de fechar da barra de pesquisa */
.search-bar .close-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: #ffffff;
    position: absolute; /* Posição absoluta dentro do container da barra de pesquisa */
    right: 20px; /* Alinha à direita */
    top: 50%; /* Centraliza verticalmente */
    transform: translateY(-50%);
}

/* ==============================
    CARRINHO DE COMPRAS
============================== */
.cart-icon {
    position: relative;
}

/* Contador de itens no carrinho */
.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 0.55rem;
}

/* ==============================
    FILTRO
============================== */
.filter {
    padding: 20px 20px;
    margin-bottom: 20px; /* Cria espaço entre o filtro e o próximo elemento */
    overflow: hidden; /* Garante que o conteúdo interno não ultrapasse o contêiner */
}

/* Estilo da lista de filtros */
.filter ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Permite que os itens se quebrem em várias linhas */
}

/* Estilo de cada item da lista de filtros */
.filter ul li {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

/* Efeito de hover nos filtros */
.filter ul li:hover {
    color: #fff;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .filter ul {
        gap: 10px;
        transform: scale(0.8);
    }
    
    .filter ul li {
        font-size: 0.5rem;        
        max-width: 45%; /* Divide os itens em várias linhas no mobile */
    }
    
}


/* ==============================
    BOTOES DE FILTRO
============================== */
/* Estilo do contêiner de filtro */
.filter ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0; /* Remove o espaço entre os itens */
}

/* Estilo base para os itens */
.filter ul li {
    background-color: #2a2e35;
    color: #f5f5f5;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 1px solid #444;
    text-align: center;
    transition: background-color 0.3s;
    user-select: none;
}

/* Cor de fundo ao passar o mouse */
.filter ul li:hover {
    background-color: #444;
}

/* Estilo para o primeiro item */
.filter ul li:first-child {
    border-radius: 20px 0 0 20px; /* Borda arredondada no canto esquerdo */
}

/* Estilo para o último item */
.filter ul li:last-child {
    border-radius: 0 20px 20px 0; /* Borda arredondada no canto direito */
}

/* Remove a borda direita dos itens internos */
.filter ul li:not(:last-child) {
    border-right: none;
}




/* ==============================
    EVENTOS
============================== */
.events {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

/* Estilo de cada evento */
.event {
    opacity: 1;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: scale(1);
}

/* Efeito de desaparecimento dos eventos */
.event.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

/* Ocultar evento temporariamente */
.event.hidden {
    display: none;
}

/* ==============================
    FOOTER
============================== */

/* Footer Principal */
.footer-main {
    background-color: #5f7378; /* Fundo mais claro */
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo img {
    max-width: 250px;
}

/* Estilo para links no footer */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
}

/* Estilo para redes sociais no footer */
.footer-social a {
    margin-right: 15px;
    color: #fff;
    font-size: 24px;
}

/* Efeito de hover nas redes sociais */
.footer-social a:hover {
    color: #75dfff; /* Cor dourada ao passar o mouse */
}

/* Footer Secundário (Escuro) */
.footer-secondary {
    background-color: #5f737819; /* Fundo mais escuro */
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* Links do footer secundário */
.footer-secondary a {
    text-decoration: none;
    color: #ccc;
    margin-left: 5px;
}

/* Efeito de hover no footer secundário */
.footer-secondary a:hover {
    color: #75dfff;
}

/* ==============================
    BOTÃO VOLTAR AO TOPO
============================== */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

/* Efeito de hover no botão voltar ao topo */
.back-to-top:hover {
    background-color: #75dfff;
}

.back-to-top i {
    margin: 0;
}

/* Foco no botão */
.back-to-top:focus {
    outline: none;
}



/* ==============================
    CAROUSEL
============================== */

.carousel {
    position: relative;
    width: 100%; /* Largura do carrossel ocupa 100% da tela */
    height: 500px; /* Altura fixa para telas maiores */
    overflow: hidden; /* Esconde qualquer conteúdo fora da área visível */
}

.carousel-container {
    display: flex; /* Exibe as imagens em linha horizontal */
    transition: transform 0.5s ease; /* Suaviza a transição entre as imagens */
}

.carousel-container .slide {
    flex: 0 0 100%; /* Cada slide ocupa 100% da largura do carrossel */
    height: 100%; /* Altura dos slides é 100% da altura do carrossel */
    display: flex; /* Alinha os itens no centro */
    justify-content: center; /* Centraliza horizontalmente */
    align-items: center; /* Centraliza verticalmente */
}

.carousel-container img {
    width: 100%; /* Largura da imagem ajustada para 100% */
    height: 100%; /* Altura da imagem ocupa toda a altura do carrossel */
    object-fit: cover; /* Garante que a imagem preencha o slide */
    object-position: center; /* Centraliza a imagem dentro do slide */
}

/* Botões de navegação do carrossel */
.carousel button {
    position: absolute;
    top: 50%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    border: none;
    cursor: pointer;
    padding: 10px;
    transform: translateY(-50%);
}

.carousel .prev {
    left: 0;
}

.carousel .next {
    right: 0;
}

.carousel button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
    .carousel {
        width: 100%;
    }

    .carousel-container .slide {
        width: 100%;
        height: 100vh; /* Ajusta para ocupar a altura total da viewport */
    }

    .carousel-container img {
        width: 100%;
        height: 100%;
        object-fit: fill; /* Permite que a imagem se ajuste totalmente ao container */
        object-position: center;
    }

    .carousel button {
        font-size: 24px; /* Reduz o tamanho do botão para mobile */
        padding: 8px;
    }
}


/* ==============================
    PAGINAÇÃO
============================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.page-button {
    background-color: #2a2e35;
    color: #f5f5f5;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-button:hover {
    background-color: #333;
}

.page-button.active {
    background-color: #5f727a;
    color: #272425;
    font-weight: bold;
}

.page-button:disabled {
    background-color: #5f7378;
    cursor: not-allowed;
}


/* ==============================
    BANNERS
============================== */

/* Centraliza os banners na página */
.banners-container {
    width: 90%; /* Ocupa 80% da largura da tela */
    max-width: 1600px;
    margin: 0 auto; /* Centraliza horizontalmente */
    margin-bottom: 25px;
    margin-top: 25px;
    position: relative; /* Necessário para o posicionamento absoluto do vídeo de fundo */
}

/* Configura o layout dos banners */
.banners {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Garante centralização dos banners */
}

.banner {
    flex: 1 1 calc(25% - 20px); /* Ocupa 25% menos o gap */
    max-width: calc(25% - 20px); /* Limita a largura máxima */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: transparent; /* Remover a cor de fundo */
    text-align: center;
    border-radius: 8px;
    position: relative;
    height: 150px; /* Define a altura fixa dos banners */
    overflow: hidden; /* Garante que o conteúdo não ultrapasse os limites */
}

/* Estilo para o vídeo de fundo */
.banner video {
    position: absolute; /* Coloca o vídeo atrás do conteúdo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que o vídeo cubra toda a área do banner sem distorcer */
    z-index: -1; /* Coloca o vídeo atrás do conteúdo do banner */
}

/* Estilo do conteúdo dentro do banner */
.banner h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff; /* Altere para uma cor de texto visível no vídeo */
    z-index: 1; /* Garante que o texto apareça acima do vídeo */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.banner p {
    font-size: 14px;
    color: #fff; /* Altere para uma cor de texto visível no vídeo */
    z-index: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

/* Efeito de hover nos banners */
.banner:hover {
    transform:scale(1.05);
}

.banner:hover video {
    filter: brightness(0.3); /* Escurece o vídeo no hover */
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .banner {
        flex: 1 1 calc(80% - 20px); /* Ocupa 80% da largura no mobile */
        max-width: calc(80% - 20px);
    }
}



/* ==============================
   Galeria de Fotos do Evento
============================== */

.event-container {
    padding-top: 0px; /* Espaçamento suficiente para acomodar a altura do header */
}

/* Estilo geral */
.event-gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    color: #f5f5f5;
    background-color: #272425;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Informações do Evento */
.event-next {   
    margin: 10px;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    color: #5f727a;
}

.event-next i {
    font-size: 24px; /* Define o tamanho do ícone */
    vertical-align: middle; /* Ajusta o alinhamento com o texto */
    margin-right: 5px; /* Espaço entre o ícone e o texto */
    margin-bottom: 5px;
}

/* Informações do Evento */
.event-info {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    border: 1px solid #333;
    padding: 20px;
    background-color: #2a2e35;
    color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.event-details {
    flex: 1 1 60%; /* Ocupa 60% do espaço */
}

.event-details p {
    margin: 5px 0;
    font-size: 1rem;
}

.event-image {
    flex: 1 1 25%; 
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px; /* Limita a largura da imagem */
}

.event-local {
    flex: 1 1 25%; 
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px; /* Limita a largura da imagem */
    background-color: #2a2e35;
    text-align: center;
    border: 1px solid #5f7378;
    min-height: 150px;
    cursor: pointer;
}

.event-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #5f7378;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .event-info {
        flex-direction: column; /* Empilha os elementos no mobile */
        text-align: center;
    }

    .event-details {
        flex: 1 1 100%;
    }

    .event-image {
        flex: 1 1 100%;
        margin-top: 15px;
        min-width: 100%;
    }

    .event-image img {
        max-width: 80%;
    }

    .event-local {
        flex: 1 1 100%;
        margin-top: 15px;
        min-width: 100%;
    }
}

.event-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #5f727a;
}

.event-title a {
    display: block;
    color: #5f727a;
    padding: 10px 20px;
    text-decoration: none;
}

.event-title a:hover {
    color: #d0f1fd;
}

.event-date,
.event-location,
.event-description {
    font-size: 1.1rem;
    margin: 5px 0;
    color: #f5f5f5;
}

/* ==============================
   Patrocinadores
============================== */


.sponsor-container {
    padding-top: 0px; /* Espaçamento suficiente para acomodar a altura do header */
}

/* Estilo geral */
.sponsor-gallery {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    color: #f5f5f5;
}

/* Informações do sponsoro */
.sponsor-next {   
    margin: 10px;
    font-size: 18px;
    font-family: 'Lato', sans-serif;
    color: #5f727a;
}

.sponsor-next i {
    font-size: 24px; /* Define o tamanho do ícone */
    vertical-align: middle; /* Ajusta o alinhamento com o texto */
    margin-right: 5px; /* Espaço entre o ícone e o texto */
    margin-bottom: 5px;
}

/* Informações do sponsoro */
.sponsor-info {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
    justify-content: left;
    gap: 20px;
    margin-bottom: 30px;
    border: 1px solid #333;
    padding: 20px;
    background-color: #2a2e35;
    color: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Ajuste para telas menores */

.sponsor-title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #5f727a;
}

.sponsor-title a {
    display: block;
    color: #5f727a;
    padding: 10px 20px;
    text-decoration: none;
}

.sponsor-title a:hover {
    color: #d0f1fd;
}

.sponsor-date,
.sponsor-location,
.sponsor-description {
    font-size: 1.1rem;
    margin: 5px 0;
    color: #f5f5f5;
}