/* Estilos do Site Público - Quero Feriado */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f9fa;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Cards de Feriados */
.holiday-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
}

.holiday-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.holiday-card .card-title {
    color: #333;
    font-weight: 600;
}

/* Card com Emenda - Destaque Especial */
.holiday-card-emenda {
    border: 2px solid #ffc107 !important;
    background: linear-gradient(to bottom, #fff9e6 0%, #ffffff 100%);
}

.holiday-card-emenda:hover {
    transform: translateY(-8px);
    box-shadow: 0 0.75rem 1.5rem rgba(255, 193, 7, 0.3) !important;
    border-color: #ffb300 !important;
}

.holiday-card-emenda .card-header {
    border-bottom: 2px solid #ffc107;
    font-weight: 700;
}

/* Card do Próximo Feriado */
.next-holiday-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Padding do conteúdo para não sobrepor as setas */
.next-holiday-card .holiday-card-content {
    padding-left: 90px !important;
    padding-right: 90px !important;
}

.next-holiday-card .emenda-destaque {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid #ffc107;
}

.next-holiday-card .emenda-destaque strong {
    color: #856404;
}

/* Setas de Navegação do Feriado Principal */
.holiday-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 10;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.holiday-nav-arrow:focus {
    outline: none;
    box-shadow: 0 2px 12px rgba(255, 255, 255, 0.4);
}

.holiday-nav-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    color: white;
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.holiday-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.holiday-nav-arrow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#holiday-card-content {
    transition: opacity 0.3s ease-in-out;
}

.holiday-nav-arrow-left {
    left: 10px;
}

.holiday-nav-arrow-right {
    right: 10px;
}

.holiday-nav-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .holiday-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .holiday-nav-arrow-left {
        left: 10px;
    }
    
    .holiday-nav-arrow-right {
        right: 10px;
    }
    
    .holiday-nav-indicator {
        top: 10px;
        right: 10px;
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* Seção de Feriados por Ano */
.feriados-ano {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 2rem;
}

.feriados-ano:last-child {
    border-bottom: none;
}

/* Ícone de Informação Legal */
.law-icon {
    cursor: pointer;
    position: relative;
}

.law-icon i {
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.law-icon:hover i {
    transform: scale(1.2);
}

/* Badges */
.badge.bg-info {
    background-color: #0dcaf0 !important;
}

/* Countdown Circle */
.countdown-circle {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

/* Badges */
.badge {
    padding: 6px 12px;
    font-weight: 500;
}

/* Anúncios AdSense */
.adsense-container {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-container .adsbygoogle {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    transition: color 0.2s;
}

footer a:hover {
    color: #fff !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        min-height: 180px;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .countdown-circle {
        width: 120px;
        height: 120px;
        margin-top: 1rem;
    }
    
    .countdown-circle .display-1 {
        font-size: 2.5rem;
    }
    
    .next-holiday-card .holiday-card-content {
        padding: 1.5rem !important;
        padding-left: 70px !important;
        padding-right: 70px !important;
    }
    
    .holiday-nav-arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .holiday-nav-arrow-left {
        left: 5px !important;
    }
    
    .holiday-nav-arrow-right {
        right: 5px !important;
    }
    
    .next-holiday-card h2 {
        font-size: 1.5rem;
    }
    
    .feriados-ano h3 {
        font-size: 1.25rem;
    }
    
    .holiday-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .holiday-nav-arrow-left {
        left: 5px;
    }
    
    .holiday-nav-arrow-right {
        right: 5px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* Utilitários */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Loading Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

