/* ================================================================
   YOSH OLIMLAR KENGASHI SAHIFASI
   ================================================================ */

:root {
    --primary:   #1566B7;
    --primary-d: #0d47a1;
    --gold:      #FFD54F;
    --text:      #2c3e50;
    --muted:     #5f738c;
    --light-bg:  #f8faff;
    --border:    #e5efff;
    --dark-bg:   #0e1a2b;
}

/* ── HEADER ── */
.yok-header {
    background: linear-gradient(135deg, var(--primary-d) 0%, var(--primary) 100%);
    padding: 64px 0 52px;
    position: relative;
    overflow: hidden;
}
.yok-header-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.yok-orb-1 { width: 320px; height: 320px; left: -80px; bottom: -80px; background: rgba(255,255,255,0.05); }
.yok-orb-2 { width: 440px; height: 440px; right: -120px; top: -120px; background: rgba(255,255,255,0.04); }
.yok-header-inner { position: relative; z-index: 2; }

.yok-header .breadcrumb { background: none; padding: 0; margin-bottom: 20px; }
.yok-header .breadcrumb-item,
.yok-header .breadcrumb-item a { color: rgba(255,255,255,0.65); font-size: 13px; text-decoration: none; font-family: sans-serif; }
.yok-header .breadcrumb-item a:hover { color: var(--gold); }
.yok-header .breadcrumb-item.active { color: #fff; }
.yok-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

.yok-header-tag {
    display: inline-block; font-size: 10px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); background: rgba(255,213,79,0.12);
    border: 1px solid rgba(255,213,79,0.25);
    padding: 5px 16px; border-radius: 20px;
    margin-bottom: 16px; font-family: sans-serif;
}
.yok-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 52px); font-weight: 900;
    color: #fff; line-height: 1.15; margin-bottom: 12px;
}
.yok-header h1 em { font-style: italic; color: var(--gold); }
.yok-header-sub {
    font-size: 15px; font-weight: 300;
    color: rgba(255,255,255,0.6);
    font-family: sans-serif; margin-bottom: 32px;
}
body.dark .yok-header { background: linear-gradient(135deg, #060c18 0%, #0a1628 100%); }

/* ── RAIS KARTASI ── */
.yok-rais-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 16px 24px;
    max-width: 520px;
}

.yok-rais-avatar {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    flex-shrink: 0;
}

.yok-rais-label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--gold); font-family: sans-serif;
    margin-bottom: 4px;
}
.yok-rais-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px; font-weight: 700;
    color: #fff; line-height: 1.3;
    margin-bottom: 3px;
}
.yok-rais-post {
    font-size: 12px; color: rgba(255,255,255,0.7);
    font-family: sans-serif;
}

/* ── SECTION ── */
.yok-section { background: var(--light-bg); padding: 56px 0 88px; }
body.dark .yok-section { background: #0a1525; }

/* ── GRID ── */
.yok-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* About + Maqsad — kichik, directions — to'liq qator */
.yok-directions-card {
    grid-column: 1 / -1;
}

/* ── KARTA ── */
.yok-card {
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(21,102,183,0.07);
    overflow: hidden;
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.yok-card.visible { opacity: 1; transform: translateY(0); }
body.dark .yok-card { background: #1a2740; border-color: rgba(255,255,255,0.07); }

.yok-card-header {
    display: flex; align-items: center; gap: 14px;
    padding: 22px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--light-bg);
    position: relative;
}
.yok-card-header::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
}
body.dark .yok-card-header {
    background: #111e33;
    border-color: rgba(255,255,255,0.07);
}

.yok-card-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary-d), var(--primary));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(21,102,183,0.25);
}

.yok-card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 19px; font-weight: 900;
    color: var(--primary-d); margin: 0;
}
body.dark .yok-card-header h2 { color: #90caf9; }

.yok-card-body { padding: 24px 28px; }

/* ── HAQIDA ── */
.yok-card-body p {
    font-family: 'Source Serif 4', serif;
    font-size: 14.5px; line-height: 1.85;
    color: #4a5568; font-weight: 300;
    margin-bottom: 14px;
}
.yok-card-body p:last-child { margin-bottom: 0; }
body.dark .yok-card-body p { color: #94a3b8; }

.yok-info-box {
    display: flex; align-items: flex-start; gap: 12px;
    background: rgba(21,102,183,0.06);
    border: 1px solid rgba(21,102,183,0.12);
    border-left: 3px solid var(--primary);
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: 16px;
}
.yok-info-box i {
    color: var(--primary); font-size: 16px;
    margin-top: 2px; flex-shrink: 0;
}
.yok-info-box p {
    margin: 0 !important;
    font-size: 13.5px !important;
}
body.dark .yok-info-box {
    background: rgba(21,102,183,0.1);
    border-color: rgba(21,102,183,0.2);
}
body.dark .yok-info-box i { color: #90caf9; }

/* ── MAQSAD ── */
.yok-goal-list { display: flex; flex-direction: column; gap: 12px; }

.yok-goal-item {
    display: flex; align-items: flex-start; gap: 12px;
    opacity: 0; transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.yok-goal-item.visible { opacity: 1; transform: translateX(0); }

.yok-goal-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 7px;
    box-shadow: 0 0 0 3px rgba(21,102,183,0.15);
}

.yok-goal-item p {
    font-family: 'Source Serif 4', serif;
    font-size: 14px; line-height: 1.7;
    color: #4a5568; font-weight: 300;
    margin: 0;
}
body.dark .yok-goal-item p { color: #94a3b8; }

/* ── YO'NALISHLAR ── */
.yok-directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.yok-dir-item {
    display: flex; flex-direction: column; gap: 12px;
    padding: 18px;
    background: var(--light-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: box-shadow 0.25s, transform 0.25s, background 0.25s;
    opacity: 0; transform: translateY(16px);
    /* transition overridden below for animation */
}
.yok-dir-item.visible {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease,
    box-shadow 0.25s, background 0.25s;
}
.yok-dir-item:hover {
    box-shadow: 0 8px 28px rgba(21,102,183,0.12);
    transform: translateY(-3px);
    background: #fff;
}
body.dark .yok-dir-item {
    background: #111e33;
    border-color: rgba(255,255,255,0.06);
}
body.dark .yok-dir-item:hover {
    background: #1a2740;
}

.yok-dir-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary-d), var(--primary));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px;
    box-shadow: 0 4px 12px rgba(21,102,183,0.25);
    flex-shrink: 0;
}

.yok-dir-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px; font-weight: 700;
    color: var(--dark-bg); margin-bottom: 6px;
    line-height: 1.3;
}
body.dark .yok-dir-title { color: #e2e8f0; }

.yok-dir-desc {
    font-family: sans-serif;
    font-size: 13px; line-height: 1.65;
    color: var(--muted); font-weight: 400;
}
body.dark .yok-dir-desc { color: #64748b; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .yok-directions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .yok-grid { grid-template-columns: 1fr; }
    .yok-directions-grid { grid-template-columns: repeat(2, 1fr); }
    .yok-rais-card { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .yok-directions-grid { grid-template-columns: 1fr; }
    .yok-card-body { padding: 18px 16px; }
    .yok-card-header { padding: 18px 16px; }
}