/**
 * Seção: Hero Banner
 * 
 * ESPECIFICIDADE: Nível 3 - Classes com namespace específico
 * NAMESPACING: Prefixo .hero-* 
 * PRIORIDADE: Carregamento #5
 * CONTEXTO: Apenas esta seção específica
 */

/* ===== CONTAINER PRINCIPAL ===== */
.hero {
    /* Layout */
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    
    /* Offset mínimo para navbar fixa - ilustração cola no menu */
    padding-top: 60px; /* Altura exata da navbar */
}

/* ===== BACKGROUND ===== */
.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero__background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* ===== OVERLAY ===== */
.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(139, 69, 19, 0.8) 0%,
        rgba(101, 67, 33, 0.6) 100%
    );
    z-index: 1;
}

/* ===== CONTEÚDO ===== */
.hero__content {
    /* Layout */
    z-index: 10;
    color: var(--white);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0; /* Remove espaçamento superior */
    padding-top: 0; /* Remove padding superior */

    /* Garantir legibilidade */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===== CALL TO ACTION ===== */
.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero__cta .btn {
    font-size: 1.125rem;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.hero__cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: var(--white);
}

.hero__cta .btn-primary:hover,
.hero__cta .btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.hero__cta .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.hero__cta .btn-outline-light:hover,
.hero__cta .btn-outline-light:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.hero__cta .btn:active {
    transform: translateY(-1px);
}

/* Responsividade dos botões CTA */
@media (max-width: 576px) {
    .hero__cta {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero__cta .btn {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .hero__cta .btn.ms-3 {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}


/* ===== ELEMENTOS DE TEXTO ===== */
.hero__year {
    /* Tipografia */
    font-family: var(--font-secondary);
    font-size: 6rem;
    font-weight: 700;
    line-height: 0.8;
    margin: 0 0 var(--spacing-md) 0;

    /* Visual */
    opacity: 0.9;
    background: linear-gradient(45deg, var(--secondary-color), var(--secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    margin: 0 0 var(--spacing-xl) 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* ===== INFORMAÇÕES DO EVENTO ===== */
.hero__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin: 0 0 var(--spacing-xl) 0;
}

.hero__info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    font-weight: 500;
}

.hero__info-icon {
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

/* ===== AÇÕES ===== */
.hero__actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    align-items: center;
}

/* ===== IMAGEM LATERAL (DESKTOP) ===== */
.hero__image {
    position: relative;
    z-index: 10;
    margin-top: 50px;
}

.hero__image img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin-top: 0; /* Garante que não há margem superior */

    /* Animação sutil */
    animation: float 6s ease-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0px);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media (min-width: 576px) {
    .hero__year {
        font-size: 8rem;
    }

    .hero__title {
        font-size: var(--font-size-4xl);
    }
    
    .hero__subtitle {
        font-size: var(--font-size-xl);
    }
    
    .hero__info-item {
        font-size: var(--font-size-lg);
    }
}

@media (min-width: 768px) {
    .hero__year {
        font-size: 10rem;
    }
    
    .hero__title {
        font-size: var(--font-size-5xl);
    }
    
    .hero__info {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (min-width: 992px) {
    .hero {
        /* Layout lado a lado */
        justify-content: space-between;
    }

    .hero__image {
        display: block;
    }
    
    .hero__content {
        flex: 1;
        margin-right: var(--spacing-2xl);
    }
}

@media (min-width: 1200px) {
    .hero__year {
        font-size: 12rem;
    }
    
    .hero__image img {
        max-width: 500px;
    }
}


/* ===== CLASSES DE COMPATIBILIDADE (ANTIGAS) ===== */
/* Mantidas para transição suave - duplicadas da versão BEM */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-image,
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.hero-text {
    margin-top: var(--spacing-xl);
}

.hero-data {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: var(--white);
}

.hero-location {
    font-size: var(--font-size-xl);
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
