/* ==========================================================================
   KURDISH STORIES & FOLKLORE (ÇÎROK Û FOLKLORA KURDÎ) STYLESHEET
   ========================================================================== */

/* Hero Banner */
.stories-hero {
    background: radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.35) 0%, rgba(15, 23, 42, 0.95) 70%),
                radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.25) 0%, rgba(15, 23, 42, 0.95) 70%),
                linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 1) 100%),
                url("../images/kurdish_folklore.jpg") center/cover no-repeat;
    color: #ffffff;
    padding: calc(var(--nav-h, 70px) + 3.5rem) 1.5rem 4.5rem;
    text-align: center;
    position: relative;
    border-bottom: 2px solid rgba(251, 191, 36, 0.3);
}

.stories-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.4rem;
    background: rgba(251, 191, 36, 0.15);
    border: 1.5px solid #fbbf24;
    color: #fbbf24;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

.stories-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.stories-hero-title span {
    background: linear-gradient(135deg, #fbbf24 0%, #f87171 50%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stories-kurdish-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 1.25rem;
    direction: rtl;
}

.stories-hero-desc {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 860px;
    margin: 0 auto 2.5rem;
    color: #cbd5e1;
    line-height: 1.8;
}

/* Category Jump Navigation Bar */
.stories-nav-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stories-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.stories-nav-btn:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    color: #fbbf24;
    transform: translateY(-2px);
}

.stories-nav-btn.active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Main Section Styling */
.stories-main-content {
    background: #0b0f19;
    color: #e2e8f0;
    padding: 4rem 0;
}

.stories-category-block {
    margin-bottom: 5.5rem;
    scroll-margin-top: 100px;
}

.stories-section-header {
    margin-bottom: 2.75rem;
    position: relative;
}

.stories-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.stories-section-badge.gold {
    background: rgba(251, 191, 36, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

.stories-section-badge.red {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.stories-section-badge.green {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.stories-section-badge.blue {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}

.stories-section-badge.purple {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.stories-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.35rem;
}

.stories-section-title span {
    color: #fbbf24;
}

.stories-section-kurdish {
    font-size: 1.15rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 0.85rem;
    direction: rtl;
}

.stories-section-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 800px;
    line-height: 1.75;
}

/* Comprehensive Story Feature Card */
.story-feature-card {
    background: rgba(18, 24, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    display: grid;
    grid-template-columns: 420px 1fr;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.story-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.story-feature-card.reverse {
    grid-template-columns: 1fr 420px;
}

@media (max-width: 1024px) {
    .story-feature-card,
    .story-feature-card.reverse {
        grid-template-columns: 1fr;
    }
}

.story-feature-media {
    position: relative;
    width: 100%;
    min-height: 340px;
    overflow: hidden;
}

.story-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-feature-card:hover .story-feature-media img {
    transform: scale(1.06);
}

.story-media-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.story-feature-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.story-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.story-kurdish-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1.25rem;
    direction: rtl;
}

.story-narrative-text {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.85;
    margin-bottom: 1.75rem;
}

.story-narrative-text p {
    margin-bottom: 0.85rem;
}

.story-narrative-text p:last-child {
    margin-bottom: 0;
}

/* Metadata Box Grid */
.story-meta-grid {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .story-meta-grid {
        grid-template-columns: 1fr;
    }
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.meta-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-label i {
    color: #fbbf24;
}

.meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f1f5f9;
}

.meta-value.meaning {
    color: #34d399;
    font-weight: 600;
    line-height: 1.5;
}

.meta-value.context {
    color: #cbd5e1;
    font-size: 0.86rem;
    line-height: 1.6;
}

/* Proverbs Specialized Grid */
.proverbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.proverb-card {
    background: rgba(18, 24, 38, 0.85);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 18px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.proverb-card:hover {
    transform: translateY(-5px);
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.5);
}

.proverb-kurdish {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
    direction: rtl;
    line-height: 1.5;
}

.proverb-latin {
    font-size: 1rem;
    font-weight: 600;
    color: #38bdf8;
    font-style: italic;
    margin-bottom: 1rem;
}

.proverb-english {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proverb-meaning {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.proverb-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #94a3b8;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Poems & Verses Card */
.poem-box {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
}

.poem-kurdish-verse {
    font-size: 1.25rem;
    font-weight: 700;
    color: #c084fc;
    line-height: 2;
    direction: rtl;
    margin-bottom: 1rem;
}

.poem-english-trans {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-style: italic;
    line-height: 1.7;
}

/* Dengbêj Oral History Spotlight Banner */
.dengbej-spotlight {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-top: 4rem;
}

@media (max-width: 900px) {
    .dengbej-spotlight {
        grid-template-columns: 1fr;
    }
}

.dengbej-img-box {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.dengbej-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dengbej-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.dengbej-content h3 span {
    color: #fbbf24;
}

.dengbej-kurdish {
    font-size: 1.2rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 1rem;
    direction: rtl;
}

.dengbej-desc {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
