/* ============================================================
   LEGENDS-FESTIVALS.CSS — Legend cards, festival cards, rituals
   ============================================================ */

/* ======================== LEGENDS ======================== */
.legends-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.legend-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.legend-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
    transform: translateY(-4px);
}

.legend-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
}

.legend-card h3 {
    color: var(--gold);
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.legend-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.7;
}

.legend-card p:last-child {
    margin-bottom: 0;
}

/* ======================== FESTIVALS ======================== */
.festivals-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 48px;
}

.festival-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.festival-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #fffbf0, #fff5e0);
    border: 2px solid var(--gold);
}

.festival-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--saffron);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.festival-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.festival-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.festival-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.festival-header h3 {
    font-size: 1.2rem;
    color: var(--maroon);
    margin-bottom: 2px;
}

.festival-time {
    font-size: 0.85rem;
    color: var(--saffron);
    font-weight: 500;
}

.festival-card p {
    font-size: 0.92rem;
    color: #555;
    margin-bottom: 10px;
}

.festival-card p:last-child {
    margin-bottom: 0;
}

/* ======================== RITUALS ======================== */
.rituals-box {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.rituals-box h3 {
    font-size: 1.4rem;
    color: var(--maroon);
    text-align: center;
    margin-bottom: 28px;
}

.rituals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ritual-item {
    text-align: center;
    padding: 20px;
}

.ritual-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.ritual-item h4 {
    font-size: 1rem;
    color: var(--maroon);
    margin-bottom: 8px;
}

.ritual-item p {
    font-size: 0.88rem;
    color: #555;
}
