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

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

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

.evento-header{
    display: flex;
    flex-direction: row;
    align-items: center;
}

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

.h1-evento {
    margin-top: 1rem;
    margin-bottom: .8rem;
    font-weight: 400;
}

.voltar-btn {
    display: inline-flex;
    align-items: center;
    color: #9B9B9B;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 1rem;
    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 {
    margin-bottom: 30px;
    position: relative;
}

.evento-imagem-principal {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
    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;
}

.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;
}

.compartilhar-btn {
    background-color: #f3803f;
    color: white;
}

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

.like-btn {
    background-color: #f5f5f5;
}

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

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

/* Detalhes do evento */
.evento-detalhes {
    margin-bottom: 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 {
    display: flex;
    gap: 15px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.info-item h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #333;
}

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

.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-redes-sociais 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;
    gap: 15px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 30px;
}

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

.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;
        text-align: center;
    }
    
    .eventos-lista {
        grid-template-columns: 1fr;
    }
}
/* Estilos do carrossel */
.eventos-carrossel {
    position: relative;
    margin: 20px 0;
}

.carrossel-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.carrossel-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.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: #f5f5f5;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    color: var(--cor-primaria);
    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: flex;
    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: -145px;
}

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

#carrossel-proximo {
    right: 0;
}

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

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

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