@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background-color: #f7f4f2;
}

.evento-container {
    width: 100%;
    padding: 20px;
    color: #333;
    justify-items: center;
}

.evento-container-filho {
    max-width: 900px;
    width: 100%;
}

.cx-config-perfil {
    position: fixed !important;
}

.evento-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    top: 99px;
    background-color: #fff;
    position: absolute;
    border-radius: 30px;
    padding: 8px;
    cursor: pointer;
}

.bx.bx-chevron-left {
    font-size: 30px;
}

.evento-header:hover && {
    background-color: #efefef;
}

.p-voltar {
    display: flex;
    margin: 0 4px;
    font-weight: 400;
    color: #9B9B9B;
}

.h1-evento {
    font-weight: 700;
    font-size: 30px;
    font-family: "Roboto", sans-serif;
    margin-bottom: 20px;
}

.voltar-btn {
    display: inline-flex;
    align-items: center;
    color: #9B9B9B;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
}

.strong-mod-event {
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #373737;
    overflow: hidden;
}

.voltar-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.evento-header h1 {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    color: #222;
}

.cx-loc-i {
    display: flex;
    color: #777;
}

.evento-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: #666;
}

.evento-categoria {
    background-color: #f3803f;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.evento-data {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

/* Galeria de imagens */
.evento-galeria {
    max-width: 1200px;
    margin-top: -23%;
    border-radius: 11px;
    display: flex;
    flex-direction: row;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.evento-separador {
    width: 4px;
    background-image: repeating-linear-gradient(to bottom, rgb(255, 255, 255), rgb(255, 255, 255) 6px, transparent 6px, transparent 19px);
}

.evento-imagem-principal {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.evento-sem-imagem {
    background-color: #f5f5f5;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #777;
}

.evento-sem-imagem i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.evento-acoes {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    position: absolute;
    bottom: 15px;
}

.acao-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.acao-btn i {
    font-size: 1.1rem;
}

.acao-btn:hover {
    background-color: #e0e0e0;
}

.like-btn.liked {
    background-color: #ff6b6b;
    color: #fff;
}

.bxs-heart {
    color: #fff !important;
}

.like-btn.liked:hover {
    background-color: #e05555;
}

/* Detalhes do evento */
.evento-detalhes {
    margin-top: 40px;
}

.evento-descricao h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
}

.evento-descricao p {
    line-height: 1.6;
    color: #444;
    margin: 25px 0;
}

.evento-info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.info-item a {
    color: #555;
}

.info-item i, .evento-galeria i {
    font-size: 1.5rem;
    color: #f3803f;
    margin-top: 3px;
}

.info-item h3, .evento-galeria h3 {
    font-size: 1.1rem;
    color: #9e9e9e;
    font-weight: 400;
}

.info-item p {
    margin: 0;
    color: #555;
    line-height: 1.5;
    font-weight: 500;
}

.evento-galeria-filho1,
.evento-galeria-filho2 {
    padding: 20px;
    background-color: #fff;
}

.evento-galeria-filho1 {
    width: 60%;
    border-radius: 12px 0 0 12px;
}

.evento-galeria-filho2 {
    width: 40%;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.box-data-icon {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.cx-margin {
    margin-bottom: 20px;
}

.box-inicio-encerram {
    display: flex;
    width: 100%;
}

.cx-horario {
    margin-left: 20px;
}

.mapa-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #f3803f;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mapa-btn:hover {
    background-color: #e06f2f;
}

.evento-detalhes h2,
.evento-organizador h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #222;
    font-weight: 400;
}

.redes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rede-social {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.rede-social:hover {
    background-color: #e0e0e0;
}

.rede-social i {
    font-size: 1.2rem;
}

.organizador-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
}

.cx-organizador {
    display: flex;
    align-items: center;
}

.organizador-foto {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #f3803f;
}

.organizador-info {
    margin-left: 8px;
}

.organizador-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #333;
}

.organizador-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.outros-eventos h2 {
    font-size: 1.2rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

.outros-eventos p {
    color: #777;
    margin-bottom: 1.3rem;
    margin-top: 4px;
}

.eventos-lista {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.evento-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 240px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.evento-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.evento-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.sem-imagem {
    width: 100%;
    height: 120px;
    background-color: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #777;
}

.sem-imagem i {
    font-size: 2rem;
}

.evento-card h4 {
    margin: 10px 15px 5px;
    font-size: 1rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #373737;
    overflow: hidden;
    font-weight: 500;
}

.evento-card p {
    margin: 0 15px 15px;
    font-size: 0.85rem;
    color: #666;
}

/* Modal de compartilhamento */
.modal-share {
    position: fixed;
    display: none;
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100dvh;
    align-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    justify-items: center;
}

.modal-content-share {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header-share {
    padding: 15px 20px;
    background-color: #f3803f;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-share h3 {
    margin: 0;
    font-size: 1.2rem;
}

.close-modal-share {
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-body-share {
    padding: 20px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.share-option:hover {
    background-color: #e0e0e0;
}

.share-option i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.share-option span {
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .evento-header h1 {
        font-size: 1.8rem;
    }

    .evento-info-box {
        grid-template-columns: 1fr;
    }

    .share-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .evento-container {
        padding: 15px;
    }

    .evento-header h1 {
        font-size: 1.5rem;
    }

    .evento-meta {
        flex-direction: column;
        gap: 8px;
    }

    .organizador-card {
        flex-direction: column;
    }

    .eventos-lista {
        grid-template-columns: 1fr;
    }
}

/* Estilos do carrossel */
.eventos-carrossel {
    position: relative;
    margin: 20px 0;
}

.carrossel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-color: #d4d4d4 transparent;
}

.carrossel-container::-webkit-scrollbar {
    height: 8px;
}

.carrossel-container::-webkit-scrollbar-track {
    background: #ededed;
}

.carrossel-container::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 4px;
}

.carrossel-item {
    scroll-snap-align: start;
    flex: 0 0 auto;
    width: 250px;
    transition: transform 0.3s;
}

.carrossel-item:hover {
    transform: scale(1.03);
}

.ver-mais-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f3813f;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    color: #fff;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}

.ver-mais-card:hover {
    background: #e0e0e0;
}

.ver-mais-card i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carrossel-navegacao {
    display: none; /* Não quis na estilização final kkk */
    justify-content: space-between;
    margin-top: 10px;
}

.carrossel-btn {
    color: #ffffff;
    background-color: #f3803f;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    position: absolute;
    margin-top: -175px;
}

.carrossel-btn i {
    margin: 0 !important;
    font-size: 32px !important;
}

#carrossel-anterior {
    left: -18px;
}

#carrossel-proximo {
    right: -18px;
}

.carrossel-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.organizador-info h3 {
    font-weight: 500;
}

.strong-mod-event {
    font-weight: 400;
    color: #f3803f;
}

.contatar-organizador-btn {
    background-color: #f3813f;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.contatar-organizador-btn i {
    margin: 0 !important;
}

.contatar-organizador-btn:hover {
    background-color: #e06d2a;
}

/* Estilos para o modal de contato */
.modal-contato {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-conteudo-contato {
    background-color: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.box-x-modal-contato {
    position: absolute;
    top: 10px;
    right: 10px;
}

.fechar-modal-contato {
    font-size: 30px !important;
    color: #666;
}

.fechar-modal-contato:hover {
    color: #333;
}

.modal-header-contato {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header-contato h3 {
    margin: 0;
    color: #333;
}

.modal-header-contato p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.modal-body-contato {
    padding: 20px;
}

.form-group-contato {
    margin-bottom: 15px;
}

.form-group-contato label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group-contato input,
.form-group-contato textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group-contato textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-enviar-mensagem {
    background-color: #f3813f;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.btn-enviar-mensagem:hover {
    background-color: #e06d2a;
}

.display-info {
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.readonly-data {
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
}

.modal-denuncia {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-conteudo-denuncia {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
}

.box-x-modal-denuncia {
    position: absolute;
    top: 15px;
    right: 15px;
}

.fechar-modal-denuncia {
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-header-denuncia {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.modal-header-denuncia h3 {
    margin: 0;
    color: #333;
}

.modal-header-denuncia p {
    margin: 5px 0 0;
    color: #666;
    font-size: 14px;
}

.modal-body-denuncia {
    padding: 20px;
}

.form-group-denuncia {
    margin-bottom: 15px;
}

.form-group-denuncia label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group-denuncia .readonly-data {
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.form-group-denuncia input[type="text"],
.form-group-denuncia input[type="email"],
.form-group-denuncia select,
.form-group-denuncia textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-group-denuncia textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-enviar-denuncia {
    background-color: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background-color 0.3s;
}

.btn-enviar-denuncia:hover {
    background-color: #ff5252;
}

/* Tela de carregamento do modal */
.modal-loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 8px;
}

.modal-loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(243, 129, 63, 0.3);
  border-radius: 50%;
  border-top-color: #f3813f;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 15px;
}

.modal-loading-text {
  color: #333;
  font-size: 16px;
  font-weight: 500;
}

/* Desabilitar fechamento durante carregamento */
.modal-loading .fechar-modal-denuncia,
.modal-loading .fechar-modal-contato {
  display: none;
  pointer-events: none;
}

/* Modal de Login Necessário */
.modal-login-necessario {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-conteudo-login {
  background-color: white;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
}

.box-x-modal-login {
  position: absolute;
  top: 15px;
  right: 15px;
}

.fechar-modal-login {
  font-size: 30px !important;
  cursor: pointer;
  color: #666;
}

.modal-header-login {
  padding: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.modal-header-login h3 {
  margin: 0;
  color: #333;
}

.modal-body-login {
  padding: 20px;
  text-align: center;
}

.login-message p {
  margin: 10px 0 20px;
  color: #555;
  font-size: 16px;
}

.login-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-login, .btn-cadastro {
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-login {
  background-color: #f3813f;
  color: white;
}

.btn-login:hover {
  background-color: #e5722e;
}

.btn-cadastro {
  background-color: white;
  color: #f3813f;
  border: 2px solid #f3813f;
}

.btn-cadastro:hover {
  background-color: #fef5f0;
}