/* agenda.css - Estilos específicos para a página de agenda */

/* Hero Section */
.agenda-hero {
    background: 
        linear-gradient(rgba(0, 30, 80, 0.85), rgba(0, 50, 120, 0.75)),
        url('https://plus.unsplash.com/premium_photo-1681487919231-8519fa8a94ca?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    height: 470px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-hero-agenda {
    background-color: #002b80;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 43, 128, 0.4);
}

.btn-hero-agenda:hover {
    background-color: #0044b3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 43, 128, 0.5);
}

/* Card do Bar Semanal */
.bar-semanal-card {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.2);
}

.bar-semanal-card .card-title {
    color: #1976d2;
    font-weight: 700;
}

.bar-semanal-card .card-text {
    color: #424242;
    font-size: 1.1rem;
}

.publico-livre-grande {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
}

/* Cores dos anos */
.ano-2025 {
    background: #0e34b1;
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.3);
}

.ano-2026 {
    background: #ff9900;
    box-shadow: 0 4px 12px rgba(212, 185, 185, 0.3);
}

.ano-2027 {
    background: #d32f2f;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.ano-default {
    background: #455a64;
    box-shadow: 0 4px 12px rgba(69, 90, 100, 0.3);
}

.ano-separador {
    color: white;
    padding: 25px;
    text-align: center;
    margin: 50px 0 30px 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.ano-separador::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.ano-separador h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 700;
}

/* Cores dos meses */
.mes-azul .card-header {
    background: #2196f3;
}

.mes-cinza .card-header {
    background: #607d8b;
}

.mes-card {
    margin-bottom: 25px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.mes-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 0 !important;
    padding: 18px 25px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.evento-item {
    padding: 18px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: #f8f9fa;
    display: flex;
    transition: all 0.3s ease;
    border-left: 6px solid transparent;
}

.evento-item:hover {
    background: #e9ecef;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilos específicos para eventos do bar */
.bar_semanal {
    background: #e8f4f8;
    border-left-color: #17a2b8;
}

.bar_semanal:hover {
    background: #d1ecf1;
}

.bar_semanal .evento-titulo {
    color: #138496;
}

.evento-pendente {
    opacity: 0.9;
    border-left-color: #ff9800;
    background: #fff3e0;
}

.evento-confirmado {
    border-left-color: #4caf50;
    background: #e8f5e8;
}

.evento-realizado {
    border-left-color: #9c27b0;
    opacity: 0.85;
    background: #f3e5f5;
}

.evento-cancelado {
    border-left-color: #f44336;
    opacity: 0.7;
    background: #ffebee;
}

.evento-cancelado:hover {
    background: #ffcdd2;
}

.evento-imagem {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 18px;
    flex-shrink: 0;
}

.evento-dia {
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.evento-info {
    flex-grow: 1;
}

.evento-titulo {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.evento-horario, .evento-local {
    color: #5d6d7e;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

/* Botões de ingresso */
.btn-ingresso {
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-ingresso:hover {
    background-color: #45a049;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-ingresso-em-breve {
    background-color: #ff9800;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
}

.btn-ingresso-indisponivel {
    background-color: #9e9e9e;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Badges de status */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 8px;
}

.status-confirmado {
    background-color: #4caf50;
    color: white;
}

.status-pendente {
    background-color: #ff9800;
    color: white;
}

.status-realizado {
    background-color: #9c27b0;
    color: white;
}

.status-cancelado {
    background-color: #f44336;
    color: white;
}

.status-publico-livre {
    background-color: #2196f3;
    color: white;
}

.publico-livre-badge {
    background-color: #2196f3;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.sem-eventos {
    text-align: center;
    padding: 40px 30px;
    color: #7f8c8d;
    font-style: italic;
}

.sem-eventos i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    color: #bdc3c7;
}

.evento-cancelado .evento-titulo,
.evento-cancelado .evento-dia,
.evento-cancelado .evento-horario,
.evento-cancelado .evento-local {
    text-decoration: line-through;
    color: #95a5a6;
}

/* Responsividade */
@media (max-width: 768px) {
    .agenda-hero {
        height: 400px;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .bar-semanal-card .row {
        text-align: center;
    }
    
    .bar-semanal-card .col-md-2 {
        margin-bottom: 15px;
    }
    
    .evento-item {
        flex-direction: column;
    }
    
    .evento-imagem {
        width: 100%;
        height: 160px;
        margin-right: 0;
        margin-bottom: 12px;
    }
    
    .card-header {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    
    .ano-separador {
        margin: 40px 0 25px 0;
        padding: 20px;
    }
    
    .ano-separador h3 {
        font-size: 1.6rem;
    }
    
    .btn-ingresso,
    .btn-ingresso-em-breve,
    .btn-ingresso-indisponivel {
        width: 100%;
        text-align: center;
    }
    
    .btn-hero-agenda {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
    
    .status-badge {
        margin-left: 5px;
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}

/* Melhorias para acessibilidade */
.evento-item:focus-within {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.btn-ingresso:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.5);
}

.btn-hero-agenda:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Animações suaves */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mes-card {
    animation: fadeInUp 0.6s ease-out;
}

.ano-separador {
    animation: fadeInUp 0.8s ease-out;
}