/* =====================================================
   LAYAR KATEKESE KATOLIK
   File: assets/css/liturgi.css
   Fungsi: Styling Kalender Liturgi (Versi Rapi)
   ===================================================== */

/* ============================================
   1. CONTAINER
   ============================================ */
.liturgi-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.liturgi-section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.section-header {
    margin-bottom: 2rem;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-primary);
    color: var(--primary);
    font-size: 1.8rem;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-header h2 i {
    color: var(--secondary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    font-style: italic;
}

/* ============================================
   2. LITURGI HERO CARD (Info Hari Ini)
   ============================================ */
.liturgi-hero-card {
    background: linear-gradient(135deg, #FAF8F5, white);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.liturgi-hero-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.warna-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.liturgi-hero-info {
    flex: 1;
}

.warna-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 5px;
}

.warna-nama {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.warna-desc {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
    margin: 0;
}

.liturgi-hero-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
    border-left: 2px solid var(--border);
}

.perayaan-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.perayaan-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.perayaan-label i {
    color: var(--secondary);
}

.perayaan-nama {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.peringkat-badge {
    display: inline-block;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.minggu-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
}

.minggu-info i {
    color: var(--primary);
}

/* ============================================
   3. BACAAN SECTION
   ============================================ */
.bacaan-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.bacaan-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #FAF8F5, white);
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bacaan-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.bacaan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.bacaan-card.mazmur {
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, #FFF8E1, white);
}

.bacaan-card.injil {
    border-left-color: #C41E3A;
    background: linear-gradient(135deg, #FDE8EC, white);
}

.bacaan-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.bacaan-card.mazmur .bacaan-icon {
    background: var(--secondary);
    color: var(--text-dark);
}

.bacaan-card.injil .bacaan-icon {
    background: #C41E3A;
}

.bacaan-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 6px;
}

.bacaan-card.mazmur .bacaan-label { color: #B8942F; }
.bacaan-card.injil .bacaan-label { color: #C41E3A; }

.bacaan-ref {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 6px;
}

.bacaan-judul {
    font-size: 0.9rem;
    color: var(--text-body);
    font-style: italic;
    line-height: 1.5;
}

.bacaan-note {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #004085;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bacaan-note i {
    color: #0066cc;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   4. KALENDER NAVIGATION
   ============================================ */
.kalender-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #FAF8F5, white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1.5px solid var(--border);
}

.nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

.nav-current {
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border-radius: 8px;
    border: 1.5px solid var(--secondary);
}

.nav-current i {
    color: var(--secondary);
}

/* ============================================
   5. KALENDER GRID
   ============================================ */
.kalender-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 2rem;
}

.kalender-header {
    padding: 12px 8px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kalender-day {
    aspect-ratio: 1;
    padding: 10px;
    background: white;
    border: 1.5px solid var(--border-light);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    min-height: 90px;
}

.kalender-day:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-color: var(--primary);
}

.kalender-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.kalender-day.empty:hover {
    transform: none;
    box-shadow: none;
}

.kalender-day.today {
    background: linear-gradient(135deg, #FFF8E1, #FFF3CD);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.2);
}

.kalender-day.feast {
    background: linear-gradient(135deg, #FDE8EC, white);
}

.day-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.kalender-day.today .day-number {
    color: var(--secondary-dark);
    font-size: 1.5rem;
}

.day-feast {
    color: var(--secondary);
    font-size: 0.9rem;
    text-align: right;
}

.day-color {
    width: 100%;
    height: 5px;
    border-radius: 3px;
    margin-top: auto;
}

/* ============================================
   6. LEGEND
   ============================================ */
.kalender-legend {
    background: linear-gradient(135deg, #FAF8F5, white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.kalender-legend h4 {
    margin: 0 0 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
}

.kalender-legend h4 i {
    color: var(--secondary);
}

.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.legend-item:hover {
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.legend-color {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.legend-name {
    font-size: 0.9rem;
    color: var(--text-body);
    font-weight: 600;
}

/* ============================================
   7. HARI RAYA LIST
   ============================================ */
.hari-raya-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hari-raya-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    align-items: center;
    border: 1px solid var(--border-light);
}

.hari-raya-item:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.hari-raya-tanggal {
    min-width: 90px;
    text-align: center;
    padding: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 10px;
    flex-shrink: 0;
}

.tanggal-hari {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.tanggal-bulan {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    color: var(--secondary-light);
}

.hari-raya-info {
    flex: 1;
}

.hari-raya-info h4 {
    margin: 0 0 10px;
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.3;
    font-family: var(--font-primary);
}

.hari-raya-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.peringkat-tag {
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.warna-tag {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.warna-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* ============================================
   8. PANDUAN WARNA
   ============================================ */
.panduan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.panduan-card {
    padding: 1.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.panduan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.panduan-color {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.panduan-card h4 {
    margin: 0 0 0.8rem;
    font-family: var(--font-primary);
    font-size: 1.2rem;
}

.panduan-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
}

/* ============================================
   9. RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .liturgi-hero-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .liturgi-hero-right {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--border);
        padding-top: 1.5rem;
    }
    
    .bacaan-grid {
        grid-template-columns: 1fr;
    }
    
    .kalender-nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .liturgi-container {
        padding: 1.5rem 1rem;
    }
    
    .liturgi-section {
        padding: 1.5rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.4rem;
    }
    
    .liturgi-hero-card {
        padding: 1.5rem;
    }
    
    .warna-circle {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .warna-nama {
        font-size: 1.6rem;
    }
    
    .kalender-grid {
        gap: 4px;
    }
    
    .kalender-header {
        font-size: 0.7rem;
        padding: 8px 4px;
    }
    
    .kalender-day {
        min-height: 60px;
        padding: 6px;
    }
    
    .day-number {
        font-size: 1rem;
    }
    
    .hari-raya-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.2rem;
    }
    
    .hari-raya-meta {
        justify-content: center;
    }
    
    .panduan-grid {
        grid-template-columns: 1fr;
    }
    
    .legend-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .warna-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .warna-nama {
        font-size: 1.3rem;
    }
    
    .warna-desc {
        font-size: 0.8rem;
    }
    
    .perayaan-nama {
        font-size: 1.1rem;
    }
    
    .kalender-header {
        font-size: 0.6rem;
        padding: 6px 2px;
    }
    
    .kalender-day {
        min-height: 50px;
        padding: 4px;
    }
    
    .day-number {
        font-size: 0.9rem;
    }
    
    .day-feast {
        display: none;
    }
    
    .legend-grid {
        grid-template-columns: 1fr;
    }
}
/* Bacaan Isi & Response */
.bacaan-isi {
    color: var(--text-body);
    line-height: 1.7;
    font-style: italic;
    padding: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    border-left: 3px solid var(--border);
}

.bacaan-response {
    color: var(--primary);
    font-weight: 600;
    padding: 8px 12px;
    background: rgba(201, 168, 76, 0.1);
    border-radius: 6px;
}

.bacaan-card.inactive {
    opacity: 0.6;
}

/* Bacaan Belum Tersedia */
.bacaan-unavailable {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #FAF8F5, white);
    border-radius: 12px;
    border: 2px dashed var(--border);
}

.bacaan-unavailable-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    margin: 0 auto 1rem;
}

.bacaan-unavailable h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.bacaan-unavailable p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}