/* =============================================
   ESTILOS ESPECÍFICOS DA PÁGINA: HOME
============================================= */

/* --- Seção Hero (Mobile First) --- */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 90%;
}

.hero-content .logo {
    max-width: 220px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin: 0;
    color: var(--cor-branco);
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--cor-cinza-texto);
    margin: 20px 0 30px;
}

.hero-content .cta-button {
    margin: 0 5px;
}

/* --- Seção Destaques (Mobile First) --- */
.highlights-section {
    padding: 60px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Uma coluna no mobile */
    gap: 40px;
    text-align: center;
}

.highlight-item h3 {
    font-size: 1.8rem;
    color: var(--cor-dourado);
    margin-bottom: 8px;
}

.highlight-item p {
    color: var(--cor-cinza-texto);
}

/* --- Seção Próximos Eventos (Mobile First) --- */
.events-section {
    padding: 60px 0;
    background-color: #111;
}

.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Uma coluna no mobile */
    gap: 30px;
}

.event-card {
    background-color: var(--cor-preto);
    border: 1px solid #333;
    overflow: hidden;
}

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

.event-content {
    padding: 20px;
}

.event-date {
    font-size: 0.9rem;
    color: var(--cor-vermelho-vibrante);
    font-weight: bold;
}

.event-title {
    font-size: 1.8rem;
    color: var(--cor-dourado);
    margin: 10px 0;
}

.event-description {
    color: var(--cor-cinza-texto);
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* --- Seção Galeria Preview (Mobile First) --- */
.gallery-preview-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Duas colunas no mobile */
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* =============================================
   ESTILOS DA HOME PARA TELAS MAIORES
============================================= */
@media (min-width: 768px) {
    .hero-content .logo {
        max-width: 300px;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .highlights-section,
    .events-section,
    .gallery-preview-section {
        padding: 80px 0;
    }

    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Duas colunas para tablet */
    }

    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 250px);
        gap: 15px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(3) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (min-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(4, 1fr);
        /* Quatro colunas para desktop */
    }
}