:root {
    --primary-gradient: linear-gradient(90deg, #47120f 0%, #522117 100%);
    --bg-dark: #000000;
    --bg-hover: #200f0f;
    --bg-site: #47120f;
    --text-light: #ffffff;
    --border-color: #333333;
    --panton: 'Panton', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-site) !important;
    color: var(--text-light);
    font-family: var(--panton);
    overflow-x: hidden;
    line-height: 1.6;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo img {
    height: 100px;
    width: auto;
}

.hero-banner img {
    width: 100%;
    height: auto;
    margin-top: 70px;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* HEADER / NAVBAR (FLEXBOX) */

.main-header {
    background: var(--primary-gradient);
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
}

.social-links a:hover {
    color: #000;
}

/* AGENDA (CSS GRID) */
.agenda-section {
    padding: 100px 0 50px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: underline;
    margin-bottom: 40px;
}

.agenda-grid {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color:  #23100f;
}

.agenda-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    background: rgba(161, 88, 56, 0.2);
    padding: 15px 20px;
    font-weight: bold;
    border-bottom: 2px solid #47120f;
    text-align: center;
}

.agenda-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background 0.3s;
    text-align: center;
}

.agenda-row:hover {
    background: var(--bg-hover);
}

.agenda-row .date {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
}

.agenda-row .info strong {
    display: block;
    font-size: 1.1rem;
    text-align: center;
}

.agenda-row .info small {
    color: #aaaaaa;
}

.btn-ticket {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid white;
    color: white;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
}

.btn-ticket:hover {
    background: white;
    color: black;
}

.status-tag {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    display: block;
}

/* GALERIA DE FOTOS (GRID AUTO-FIT) */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.photo-item img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/*   FOOTER */
.main-footer {
    background: var(--primary-gradient);
    padding: 60px 24px 30px;
    margin-top: 50px;
    font-family: var(--panton);
    color: var(--text-light);
}

/* GRID */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    text-align: center;
}

/* COLUNAS */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TITULOS */
.footer-col strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
}

/* LINKS */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-col a,
.footer-col p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: 0.3s ease;
}

/* REMOVE AZUL PADRAO */
.footer-links a:visited,
.footer-links a:link {
    color: var(--text-light);
}

/* HOVER */
.footer-links a:hover,
.footer-col a:hover {
    opacity: 0.6;
}

/* RODAPE FINAL */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    width: 100%;
    font-size: 13px;
    opacity: 0.7;
}

/* MODAL (REGRAS PARA O SCRIPT) */
.custom-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.custom-modal.active {
    display: flex;
}

.modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-container img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 5px;
}

.modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: white;
    border: none;
    width: 35px;
    height: 35px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVIDADE MOBILE */

@media (max-width:768px) {

    /* HEADER */
    .main-header {
        min-height: 60px;
        padding: 8px 0;
    }

    .nav-container {
        justify-content: space-between;
        gap: 12px;
        padding: 0 16px;
    }

    .logo img {
        height: 60px;
    }

    .nav-menu {
        display: none;
    }

    .social-links {
        gap: 10px;
    }

    /* HERO */
    .hero-banner img {
        margin-top: 60px;
    }

    /* TITULOS */
    .section-title {
        font-size: 1.5rem;
    }

    /* AGENDA */
    .agenda-header {
        display: none;
    }

    .agenda-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 12px;
        padding: 24px 16px;
    }

    .agenda-row .info small {
        display: block;
        margin-top: 4px;
    }

    .action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .btn-ticket {
        width: 100%;
        max-width: 240px;
    }

    /* FOOTER MOBILE  */
    .main-footer {
        padding: 40px 16px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-col {
        width: 100%;
        max-width: 320px;
    }

    .footer-links {
        padding: 0;
        list-style: none;
    }

    .footer-bottom {
        margin-top: 24px;
        text-align: center;
    }

}