/* ARQUIVO: public/css/style_Agenda.css */
/* Página de Agenda - CAAC Arena Cataratas */

/* ============================================ */
/* FUNDO DINÂMICO */
/* ============================================ */

.agenda-body {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.85)), 
                url('/public/img/fundo.jpg');
    background-size: cover;
    background-position: 50% center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

body.agenda-body.bg-street-focus {
    background-position: 15% center !important;
}

body.agenda-body.bg-offroad-focus {
    background-position: 85% center !important;
}

/* ============================================ */
/* CONTAINER E UTILITÁRIOS */
/* ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 69, 0, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary-color, #ff4500);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.section-header h2 span {
    color: var(--primary-color, #ff4500);
}

.section-header p {
    color: #aaa;
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */

.agenda-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.agenda-hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 69, 0, 0.2);
    border: 1px solid var(--primary-color, #ff4500);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color, #ff4500);
    margin-bottom: 30px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--primary-color, #ff4500), #ffaa00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

/* ============================================ */
/* MÊS ATUAL */
/* ============================================ */

.mes-atual-container {
    padding: 20px 0;
}

.mes-atual-card {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.mes-atual-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
}

.mes-atual-info i {
    color: var(--primary-color, #ff4500);
    font-size: 1.2rem;
}

.mes-navegacao {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-mes {
    background: transparent;
    border: 1px solid #444;
    border-radius: 30px;
    padding: 8px 16px;
    color: #ccc;
    cursor: pointer;
    transition: 0.2s;
}

.btn-mes:hover {
    border-color: var(--primary-color, #ff4500);
    color: var(--primary-color, #ff4500);
}

.mes-atual-texto {
    font-weight: 700;
    color: #fff;
    min-width: 100px;
    text-align: center;
    text-transform: uppercase;
}

/* ============================================ */
/* CALENDÁRIO VISUAL */
/* ============================================ */

.calendario-visual {
    padding: 30px 0;
}

.calendario-grid {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    overflow-x: auto;
}

.calendario-semanas {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.semana-dia {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.calendario-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.cal-dia {
    aspect-ratio: 1;
    background: rgba(30, 30, 30, 0.5);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
    transition: 0.2s;
    position: relative;
}

.cal-dia:hover {
    background: rgba(255,69,0,0.2);
    transform: scale(1.02);
}

.cal-dia.outro-mes {
    opacity: 0.3;
}

.cal-dia.hoje {
    border: 2px solid var(--primary-color, #ff4500);
    background: rgba(255,69,0,0.1);
}

.cal-dia.has-evento {
    background: rgba(255,69,0,0.15);
}

.cal-dia.has-evento.street {
    border-left: 3px solid #00bcd4;
}

.cal-dia.has-evento.offroad {
    border-left: 3px solid #ff5722;
}

.cal-dia.has-evento.mixed {
    border-left: 3px solid var(--primary-color, #ff4500);
}

.dia-numero {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.dia-evento-marker {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.dia-evento-marker.street {
    background: #00bcd4;
    box-shadow: 0 0 5px #00bcd4;
}

.dia-evento-marker.offroad {
    background: #ff5722;
    box-shadow: 0 0 5px #ff5722;
}

.dia-evento-marker.mixed {
    background: var(--primary-color, #ff4500);
    box-shadow: 0 0 5px var(--primary-color, #ff4500);
}

/* ============================================ */
/* LISTA DE EVENTOS */
/* ============================================ */

.eventos-lista-section {
    padding: 60px 0;
}

.eventos-lista {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.evento-agenda-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px 25px;
    transition: 0.2s;
    border-left: 4px solid #444;
}

.evento-agenda-card.street {
    border-left-color: #00bcd4;
}

.evento-agenda-card.offroad {
    border-left-color: #ff5722;
}

.evento-agenda-card.mixed {
    border-left-color: var(--primary-color, #ff4500);
}

.evento-agenda-card:hover {
    transform: translateX(5px);
    background: rgba(30, 30, 30, 0.8);
}

.evento-data {
    text-align: center;
    min-width: 70px;
}

.evento-dia {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color, #ff4500);
    line-height: 1;
}

.evento-mes {
    display: block;
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

.evento-info {
    flex: 1;
}

.evento-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.evento-badge.street {
    background: rgba(0, 188, 212, 0.15);
    border: 1px solid #00bcd4;
    color: #00bcd4;
}

.evento-badge.offroad {
    background: rgba(255, 87, 34, 0.15);
    border: 1px solid #ff5722;
    color: #ff5722;
}

.evento-badge.mixed {
    background: rgba(255, 69, 0, 0.15);
    border: 1px solid var(--primary-color, #ff4500);
    color: var(--primary-color, #ff4500);
}

.evento-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.evento-info p {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
}

.evento-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.7rem;
    color: #888;
}

.evento-meta i {
    margin-right: 4px;
    color: var(--primary-color, #ff4500);
}

.evento-acao {
    min-width: 120px;
    text-align: center;
}

.btn-detalhes {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-color, #ff4500);
    border-radius: 30px;
    color: var(--primary-color, #ff4500);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    transition: 0.2s;
}

.btn-detalhes:hover {
    background: var(--primary-color, #ff4500);
    color: #fff;
}

/* ============================================ */
/* LEGENDA */
/* ============================================ */

.legenda-section {
    padding: 60px 0 80px;
}

.legenda-card {
    background: rgba(20, 20, 20, 0.5);
    border-radius: 16px;
    padding: 20px 30px;
    text-align: center;
}

.legenda-card h4 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: #fff;
}

.legenda-card h4 i {
    color: var(--primary-color, #ff4500);
    margin-right: 8px;
}

.legenda-itens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.legenda-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #aaa;
}

.legenda-cor {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legenda-cor.street {
    background: #00bcd4;
}

.legenda-cor.offroad {
    background: #ff5722;
}

.legenda-cor.mixed {
    background: var(--primary-color, #ff4500);
}

.legenda-cor.hoje {
    background: transparent;
    border: 2px solid var(--primary-color, #ff4500);
    width: 14px;
    height: 14px;
}

/* ============================================ */
/* RESPONSIVO */
/* ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .evento-agenda-card {
        flex-direction: column;
        text-align: center;
    }
    
    .evento-data {
        width: 100%;
    }
    
    .evento-meta {
        justify-content: center;
    }
    
    .legenda-itens {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .mes-atual-card {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .calendario-grid {
        padding: 10px;
    }
    
    .cal-dia {
        padding: 5px;
    }
    
    .dia-numero {
        font-size: 0.7rem;
    }
}