@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --pur: #6B21A8;
    --pur2: #7C3AED;
    --pur3: #9333EA;
    --pur-lt: #F5F3FF;
    --pur-mid: #C4B5FD;
    --dark: #1E1030;
    --dark2: #2D1B4E;
    --gray: #6B7280;
    --gray2: #9CA3AF;
    --gray3: #E5E7EB;
    --gray4: #F9FAFB;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(107,33,168,0.08);
    --shadow-md: 0 4px 12px rgba(107,33,168,0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #fff;
    color: #111827;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== NAV ===== */
.nav {
    background: #fff;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
    border-bottom: 1px solid var(--gray3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    text-decoration: none;
    min-width: 0;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
}

.nav-brand {
    min-width: 0;
}

.nav-brand-name {
    font-size: 15px;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: 1px;
    white-space: nowrap;
    line-height: 1.2;
}

    .nav-brand-name em {
        color: var(--pur2);
        font-style: normal;
    }

.nav-brand-sub {
    font-size: 9px;
    color: var(--gray2);
    white-space: nowrap;
}

.nav-sep {
    width: 1px;
    height: 24px;
    background: var(--gray3);
    margin: 0 6px;
    flex-shrink: 0;
}

.nav-school {
    font-size: 11px;
    color: var(--gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.nav-links {
    display: flex;
    gap: 2px;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-link {
    font-size: 12px;
    color: var(--gray);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-weight: 500;
    transition: all .15s;
    white-space: nowrap;
}

    .nav-link:hover {
        background: var(--pur-lt);
        color: var(--pur2);
    }

    .nav-link.active {
        background: var(--pur-lt);
        color: var(--pur2);
        font-weight: 700;
    }

/* ===== HERO ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-bg-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,#0F0720 0%,#1E1030 40%,#2D1B4E 70%,#1E1030 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,rgba(10,4,28,0.6) 0%,rgba(10,4,28,0.75) 50%,rgba(10,4,28,0.9) 100%);
}

.hero-overlay-pattern {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: repeating-linear-gradient(0deg,rgba(124,58,237,0.04) 0,rgba(124,58,237,0.04) 1px,transparent 1px,transparent 44px),repeating-linear-gradient(90deg,rgba(124,58,237,0.04) 0,rgba(124,58,237,0.04) 1px,transparent 1px,transparent 44px);
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle,rgba(124,58,237,0.18) 0%,transparent 65%);
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(124,58,237,0.2);
    border: 1px solid rgba(196,181,253,0.35);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #A78BFA;
    animation: livepulse 1.5s infinite;
    flex-shrink: 0;
}

@keyframes livepulse {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.eyebrow-txt {
    font-size: 11px;
    color: #C4B5FD;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(44px,9vw,88px);
    font-weight: 900;
    color: #fff;
    line-height: .88;
    letter-spacing: 3px;
    margin-bottom: 16px;
    width: 100%;
}

    .hero-title em {
        color: #C4B5FD;
        font-style: normal;
        display: block;
    }

.hero-subtitle {
    font-size: clamp(13px,1.8vw,16px);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 24px;
}

.hero-cd {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    width: 100%;
}

.hero-cd-label {
    font-size: 10px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.hero-cd-block {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    flex: 1;
    max-width: 70px;
}

.hero-cd-num {
    font-size: clamp(18px,3.5vw,28px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.hero-cd-lbl {
    font-size: 8px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 3px;
}

.hero-cd-sep {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.hero-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    width: 100%;
}

.hero-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 7px 16px;
    border-radius: 999px;
}

    .hero-date-pill span {
        font-size: 11px;
        color: rgba(255,255,255,0.55);
        line-height: 1.5;
    }

    .hero-date-pill strong {
        color: #fff;
        font-size: 12px;
    }

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    opacity: .35;
    pointer-events: none;
}

    .hero-scroll span {
        font-size: 9px;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

.hero-scroll-arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    animation: scrollbounce 1.5s infinite;
}

@keyframes scrollbounce {
    0%,100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(4px);
    }
}

/* ===== STATS ===== */
.stats-ribbon {
    background: var(--pur-lt);
    border-top: 1px solid var(--pur-mid);
    border-bottom: 1px solid var(--pur-mid);
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.stat-item {
    padding: 14px 8px;
    text-align: center;
}

    .stat-item + .stat-item {
        border-left: 1px solid var(--pur-mid);
    }

.stat-n {
    font-size: 24px;
    font-weight: 900;
    color: var(--pur2);
    line-height: 1;
}

.stat-l {
    font-size: 10px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 3px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: var(--pur2);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

    .btn-primary:hover {
        background: var(--pur3);
    }

.btn-outline {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
}

    .btn-outline:hover {
        background: rgba(255,255,255,0.16);
    }

/* ===== SECTIONS ===== */
.section {
    padding: 36px 28px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

    .section-title em {
        color: var(--pur2);
        font-style: normal;
    }

.section-link {
    font-size: 13px;
    color: var(--pur2);
    font-weight: 600;
}

    .section-link:hover {
        text-decoration: underline;
    }

/* ===== CAT CARDS ===== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.cat-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all .2s;
    display: block;
    text-decoration: none;
}

    .cat-card:hover {
        border-color: var(--pur-mid);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.cat-card-img {
    width: 100%;
    height: 110px;
    overflow: hidden;
    background: var(--dark2);
}

    .cat-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .3s;
    }

.cat-card:hover .cat-card-img img {
    transform: scale(1.05);
}

.cat-card-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg,var(--dark),var(--dark2));
}

.cat-card-body {
    padding: 10px 12px;
}

.cat-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.cat-count {
    font-size: 11px;
    color: var(--gray2);
    margin-top: 2px;
}

/* ===== FEATURED ===== */
.featured-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
}

.fp-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .2s;
    display: block;
    text-decoration: none;
}

    .fp-card:hover {
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
    }

.fp-thumb {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    overflow: hidden;
    background: var(--dark2);
}

    .fp-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }

.fp-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 10px;
    background: linear-gradient(transparent,rgba(0,0,0,0.65));
    font-size: 11px;
    color: rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-body {
    padding: 12px;
}

.fp-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 4px;
}

.fp-team {
    font-size: 11px;
    color: var(--gray2);
}

.fp-more {
    font-size: 12px;
    color: var(--pur2);
    font-weight: 600;
    padding: 8px 12px;
    border-top: 1px solid var(--gray3);
    display: block;
}

/* ===== CAT BADGES ===== */
.cat-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 3px 8px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 6px;
}

    .cat-badge.robotik-kodlama {
        background: #EFF6FF;
        color: #1D4ED8;
    }

    .cat-badge.tarih-medeniyet {
        background: #FEF3C7;
        color: #92400E;
    }

    .cat-badge.surdurulebilirlik {
        background: #ECFDF5;
        color: #065F46;
    }

    .cat-badge.concept-art {
        background: #FDF4FF;
        color: #86198F;
    }

    .cat-badge.toplum-yazilim {
        background: #EDE9FE;
        color: #6D28D9;
    }

    .cat-badge.strateji-sahasi {
        background: #FFF1F2;
        color: #9F1239;
    }

    .cat-badge.girisimcilik {
        background: #FFF7ED;
        color: #9A3412;
    }

    .cat-badge.yazarlik-podcast {
        background: #F0FDF4;
        color: #166534;
    }

    .cat-badge.mun-club {
        background: #EFF6FF;
        color: #1E40AF;
    }

    .cat-badge.yarisma {
        background: #FFFBEB;
        color: #B45309;
    }

/* ===== PROJECTS PAGE ===== */
.projects-header {
    background: #fff;
    padding: 20px;
    border-bottom: 1px solid var(--gray3);
}

.projects-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

    .projects-title em {
        color: var(--pur2);
        font-style: normal;
    }

.projects-meta {
    font-size: 12px;
    color: var(--gray2);
    margin-top: 4px;
}

.filter-bar {
    background: #fff;
    padding: 10px 20px;
    display: flex;
    gap: 6px;
    align-items: flex-start;
    border-bottom: 1px solid var(--gray3);
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--gray3);
    color: var(--gray);
    font-size: 12px;
    padding: 5px 11px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all .15s;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

    .filter-btn:hover {
        border-color: var(--pur-mid);
        color: var(--pur2);
    }

    .filter-btn.active {
        background: var(--pur2);
        border-color: var(--pur2);
        color: #fff;
        font-weight: 700;
    }

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray4);
    border: 1px solid var(--gray3);
    border-radius: 20px;
    padding: 6px 14px;
    flex: 1;
    min-width: 160px;
}

    .search-box input {
        border: none;
        background: transparent;
        font-size: 13px;
        color: var(--dark);
        outline: none;
        width: 100%;
        font-family: inherit;
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 12px;
    background: var(--gray4);
    padding: 16px 20px;
    min-height: 400px;
}
.project-card {
    background: #fff;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
    display: block;
    text-decoration: none;
    border: 0.5px solid var(--gray3);
    border-radius: 12px;
    overflow: hidden;
}

    .project-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(107,33,168,0.1);
    }
.project-card-thumb {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    position: relative;
    overflow: hidden;
    background: var(--dark2);
}

    .project-card-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        inset: 0;
    }

.project-card-body {
    padding: 12px 14px 10px;
    background: #fff;
}

.project-card-num {
    font-size: 11px;
    color: var(--gray3);
    font-weight: 700;
    float: right;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.project-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 4px;
}

.project-card-title-row {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.project-card-code {
    display: inline-flex;
    align-items: center;
    background: #EDE9FE;
    border: 1px solid #DDD6FE;
    color: #5B21B6;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: .5px;
    margin-right: 6px;
    flex-shrink: 0;
}

.project-card-english {
    font-size: 11px;
    color: var(--gray2);
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card-team {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}
.project-card-thumb-pattern {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg,rgba(255,255,255,0.04) 0,rgba(255,255,255,0.04) 1px,transparent 1px,transparent 12px);
}

.project-card-thumb-code {
    position: absolute;
    top: 8px;
    left: 10px;
    background: rgba(196,181,253,0.18);
    border: 1px solid rgba(196,181,253,0.3);
    color: #C4B5FD;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
    letter-spacing: 1px;
}

.project-card-thumb-num {
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.25);
    font-weight: 700;
}
.team-avatars {
    display: flex;
}

.team-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

    .team-avatar:first-child {
        margin-left: 0;
    }

.av-color-1 {
    background: var(--pur2);
}

.av-color-2 {
    background: #1D4ED8;
}

.av-color-3 {
    background: #065F46;
}

.av-color-4 {
    background: #92400E;
}

.team-names {
    font-size: 11px;
    color: var(--gray2);
}

.project-card-desc {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card-footer {
    padding: 7px 12px;
    border-top: 1px solid var(--gray3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-tags {
    display: flex;
    gap: 3px;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--gray4);
    border: 1px solid var(--gray3);
    font-size: 10px;
    color: var(--dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 600;
}

.card-more {
    font-size: 11px;
    color: var(--pur2);
    font-weight: 600;
    white-space: nowrap;
}

/* ===== PROJE DETAY ===== */
.det-hero {
    background: var(--dark);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
}

.det-hero-deco {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(124,58,237,0.15);
}

.det-hero-inner {
    position: relative;
    z-index: 1;
}

.det-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(124,58,237,0.25);
    border: 1px solid rgba(196,181,253,0.3);
    color: #C4B5FD;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.det-code-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(196,181,253,0.15);
    border: 1px solid rgba(196,181,253,0.2);
    color: rgba(196,181,253,0.8);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 5px;
    margin-left: 8px;
    font-family: monospace;
    letter-spacing: 1px;
    vertical-align: middle;
}

.det-title {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.det-english-title {
    font-size: 15px;
    color: rgba(196,181,253,0.7);
    font-style: italic;
    margin-bottom: 16px;
}

.det-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.det-pill {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 5px 12px;
}

    .det-pill .l {
        font-size: 10px;
        color: rgba(255,255,255,0.4);
    }

    .det-pill .v {
        font-size: 12px;
        color: #fff;
        font-weight: 600;
    }

.det-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 32px;
    background: #fff;
    border-bottom: 1px solid var(--gray3);
}

    .det-breadcrumb a {
        font-size: 12px;
        color: var(--pur2);
        font-weight: 500;
    }

    .det-breadcrumb span {
        font-size: 12px;
        color: var(--gray2);
    }

.det-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: #fff;
}

.det-main {
    padding: 28px 32px;
    border-right: 1px solid var(--gray3);
}

.det-side {
    padding: 28px;
}

.sec-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .sec-title::before {
        content: '';
        width: 3px;
        height: 14px;
        background: var(--pur2);
        border-radius: 2px;
        flex-shrink: 0;
    }

.det-desc {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 28px;
}

/* MEDYA GRİD */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-bottom: 28px;
}

.media-grid-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gray3);
    cursor: pointer;
    aspect-ratio: 16/9;
    background: var(--dark2);
    transition: transform .15s, box-shadow .15s;
}

    .media-grid-item:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    }

    .media-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.media-grid-item-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-play-icon {
    width: 36px;
    height: 36px;
    background: rgba(124,58,237,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.media-grid-item:first-child {
    grid-column: span 3;
    aspect-ratio: 16/7;
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .lightbox.open {
        display: flex;
    }

.lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
}

.lightbox-media {
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

    .lightbox-media img {
        width: 100%;
        max-height: 80vh;
        object-fit: contain;
        display: block;
    }

    .lightbox-media iframe {
        width: 100%;
        aspect-ratio: 16/9;
        border: none;
        display: block;
    }

    .lightbox-media video {
        width: 100%;
        max-height: 80vh;
        display: block;
    }

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .lightbox-close:hover {
        background: rgba(255,255,255,0.3);
    }

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: -52px;
}

.lightbox-next {
    right: -52px;
}

    .lightbox-prev:hover, .lightbox-next:hover {
        background: rgba(255,255,255,0.3);
    }

.lightbox-counter {
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* DET SIDE */
.tech-tag-lg {
    background: var(--gray4);
    border: 1px solid var(--gray3);
    font-size: 12px;
    color: var(--dark);
    padding: 5px 12px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 600;
}

.tech-wrap {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.link-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pur2);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 8px;
    transition: background .15s;
    text-decoration: none;
}

    .link-btn:hover {
        background: var(--pur3);
    }

    .link-btn.outline {
        background: #fff;
        border: 1px solid var(--gray3);
        color: var(--dark);
    }

        .link-btn.outline:hover {
            background: var(--gray4);
        }

.team-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--gray4);
    border: 1px solid var(--gray3);
    border-radius: 8px;
    margin-bottom: 8px;
}

.team-av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.team-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.team-role {
    font-size: 11px;
    color: var(--gray2);
}

.teacher-card {
    background: var(--pur-lt);
    border: 1px solid var(--pur-mid);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.teacher-av {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--pur2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.teacher-lbl {
    font-size: 10px;
    color: var(--pur);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.teacher-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

/* KÜNYE */
.kunye-wrap {
    margin-top: 32px;
    border-top: 2px solid var(--pur-mid);
    padding-top: 28px;
}

.kunye-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.kunye-header-icon {
    font-size: 24px;
}

.kunye-header-title {
    font-size: 18px;
    font-weight: 900;
    color: var(--dark);
}

    .kunye-header-title em {
        color: var(--pur2);
        font-style: normal;
    }

.kunye-header-code {
    background: var(--pur-lt);
    border: 1px solid var(--pur-mid);
    color: var(--pur2);
    font-size: 13px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    margin-left: auto;
    letter-spacing: 1px;
}

.kunye-card {
    background: var(--gray4);
    border: 1px solid var(--gray3);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 12px;
}

.kunye-card-title {
    font-size: 10px;
    font-weight: 800;
    color: var(--pur2);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .kunye-card-title::before {
        content: '';
        width: 3px;
        height: 10px;
        background: var(--pur2);
        border-radius: 2px;
        display: inline-block;
    }

.kunye-card-body {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.8;
    white-space: pre-wrap;
}

.kunye-questions {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .kunye-questions li {
        font-size: 13px;
        color: var(--gray);
        padding: 5px 0;
        border-bottom: 1px solid var(--gray3);
        display: flex;
        align-items: flex-start;
        gap: 8px;
        line-height: 1.6;
    }

        .kunye-questions li:last-child {
            border-bottom: none;
        }

        .kunye-questions li::before {
            content: '?';
            background: var(--pur2);
            color: #fff;
            font-size: 9px;
            font-weight: 800;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 2px;
        }

.kunye-disciplines {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kunye-disc-tag {
    background: #EDE9FE;
    border: 1px solid #DDD6FE;
    color: #5B21B6;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.kunye-human20 {
    background: linear-gradient(135deg, var(--dark) 0%, #2D1B69 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 12px;
}

.kunye-human20-title {
    font-size: 10px;
    font-weight: 800;
    color: rgba(196,181,253,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.kunye-human20-body {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    white-space: pre-wrap;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand {
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    white-space: nowrap;
}

    .footer-brand em {
        color: #C4B5FD;
        font-style: normal;
    }

.footer-info {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-left: auto;
    text-align: right;
    line-height: 1.7;
}

/* ===== LOADING / EMPTY ===== */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    color: var(--gray2);
    font-size: 14px;
    gap: 10px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray3);
    border-top-color: var(--pur2);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray2);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.empty-state-text {
    font-size: 16px;
    font-weight: 600;
}

.empty-state-sub {
    font-size: 13px;
    margin-top: 4px;
}

/* ===== HAKKINDA ===== */
.hakkinda-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--dark);
}

.hakkinda-hero-bg {
    width: 100%;
    line-height: 0;
}

    .hakkinda-hero-bg img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain;
    }

.hakkinda-hero-bg-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg,#0F0720,#2D1B4E);
}

.hakkinda-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(10,4,28,0.0) 0%,rgba(10,4,28,0.1) 60%,rgba(10,4,28,0.7) 100%);
}

.hakkinda-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 24px;
    z-index: 1;
}

.hakkinda-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(124,58,237,0.25);
    border: 1px solid rgba(196,181,253,0.3);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 5px;
}

    .hakkinda-hero-badge span {
        font-size: 10px;
        color: #C4B5FD;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

.hakkinda-hero-title {
    font-size: clamp(18px,3.5vw,34px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}

    .hakkinda-hero-title em {
        color: #C4B5FD;
        font-style: normal;
    }

.hakkinda-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.hakkinda-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    padding: 28px 0;
}

.info-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.info-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-icon {
    width: 34px;
    height: 34px;
    background: var(--pur-lt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.info-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.info-card-body {
    padding: 18px;
}

.info-card-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 2;
    white-space: pre-line;
}


.program-list {
    display: flex;
    flex-direction: column;
}

.program-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray3);
}

    .program-item:last-child {
        border-bottom: none;
    }

.program-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--pur2);
    min-width: 52px;
    flex-shrink: 0;
    padding-top: 2px;
}

.program-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pur2);
    flex-shrink: 0;
    margin-top: 5px;
    position: relative;
}

    .program-dot::after {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: calc(100% + 12px);
        background: var(--pur-mid);
    }

.program-item:last-child .program-dot::after {
    display: none;
}

.program-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.program-desc {
    font-size: 11px;
    color: var(--gray);
    line-height: 1.5;
}

.program-icon {
    font-size: 14px;
    margin-right: 4px;
}

.org-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
}

.org-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    padding: 16px 12px;
}

.org-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 8px;
    object-fit: cover;
    display: block;
    background: var(--pur-lt);
    border: 3px solid var(--pur-mid);
}

.org-photo-fallback {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background: linear-gradient(135deg,var(--pur),var(--pur2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    border: 3px solid var(--pur-mid);
}

.org-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.org-role {
    font-size: 10px;
    color: var(--pur2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.org-dept {
    font-size: 10px;
    color: var(--gray2);
    margin-top: 2px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 14px;
}

.sidebar-card-header {
    padding: 11px 16px;
    background: var(--pur2);
    color: #fff;
}

.sidebar-card-title {
    font-size: 13px;
    font-weight: 700;
}

.sidebar-card-body {
    padding: 14px;
}

.detail-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: flex-start;
}

    .detail-row:last-child {
        margin-bottom: 0;
    }

.detail-row-icon {
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.detail-row-label {
    font-size: 10px;
    color: var(--gray2);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 2px;
}

.detail-row-value {
    font-size: 13px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.4;
}

.map-placeholder {
    width: 100%;
    height: 130px;
    background: var(--dark2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
}

    .map-placeholder span {
        font-size: 24px;
    }

    .map-placeholder p {
        font-size: 11px;
        color: rgba(255,255,255,0.4);
        text-align: center;
        padding: 0 12px;
    }

.map-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--pur2);
    font-weight: 600;
}

.transport-text {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.7;
    white-space: pre-line;
}

.empty-info {
    text-align: center;
    padding: 24px 16px;
    color: var(--gray2);
}

.empty-info-icon {
    font-size: 28px;
    margin-bottom: 6px;
}

.empty-info-text {
    font-size: 13px;
    font-weight: 600;
}

.empty-info-sub {
    font-size: 11px;
    margin-top: 4px;
}

/* ===== ADMİN ===== */
.adm-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}

.adm-sidebar {
    background: var(--dark);
    display: flex;
    flex-direction: column;
}

.adm-sb-logo {
    padding: 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    gap: 10px;
}

.adm-sb-name {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
}

    .adm-sb-name em {
        color: #C4B5FD;
        font-style: normal;
    }

.adm-sb-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    margin-top: 1px;
}

.adm-nav {
    padding: 8px 0;
    flex: 1;
    overflow-y: auto;
}

.adm-nav-group {
    padding: 6px 16px 2px;
    font-size: 9px;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.adm-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all .1s;
    border-left: 3px solid transparent;
}

    .adm-nav-item:hover {
        color: rgba(255,255,255,0.85);
        background: rgba(255,255,255,0.04);
    }

    .adm-nav-item.active {
        color: #fff;
        background: rgba(124,58,237,0.2);
        border-left-color: var(--pur2);
    }

.adm-nav-sep {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 16px;
}

.adm-nav-ic {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.adm-user {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    gap: 10px;
}

.adm-uav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--pur2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
}

.adm-uname {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.adm-urole {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
}

.adm-logout {
    font-size: 11px;
    color: rgba(255,255,255,0.3);
    margin-left: auto;
    cursor: pointer;
}

    .adm-logout:hover {
        color: #ff6b6b;
    }

.adm-main {
    padding: 28px;
    overflow-y: auto;
    background: #F9FAFB;
}

.adm-page {
    display: none;
}

    .adm-page.active {
        display: block;
    }

.adm-page-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

    .adm-page-title em {
        color: var(--pur2);
        font-style: normal;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: 10px;
    padding: 16px;
    border-top: 3px solid var(--pur2);
}

    .stat-card:nth-child(2) {
        border-top-color: #1D4ED8;
    }

    .stat-card:nth-child(3) {
        border-top-color: #065F46;
    }

    .stat-card:nth-child(4) {
        border-top-color: #D97706;
    }

.stat-card-n {
    font-size: 28px;
    font-weight: 900;
    color: var(--dark);
}

.stat-card-l {
    font-size: 11px;
    color: var(--gray2);
    margin-top: 2px;
}

.setting-box {
    background: #fff;
    border: 1px solid var(--pur-mid);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.setting-icon {
    font-size: 28px;
}

.setting-lbl {
    font-size: 11px;
    color: var(--pur);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.setting-val {
    font-size: 14px;
    color: var(--dark);
    font-weight: 700;
    margin-top: 2px;
}

.setting-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.setting-input {
    border: 1px solid var(--gray3);
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    width: 220px;
}

    .setting-input:focus {
        border-color: var(--pur2);
    }

.tbl {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.tbl-head {
    display: grid;
    gap: 8px;
    padding: 10px 16px;
    background: var(--gray4);
    border-bottom: 1px solid var(--gray3);
}

.tbl-hc {
    font-size: 11px;
    color: var(--gray2);
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 700;
}

.tbl-row {
    display: grid;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray4);
    align-items: center;
    transition: background .1s;
}

    .tbl-row:last-child {
        border-bottom: none;
    }

    .tbl-row:hover {
        background: var(--gray4);
    }

.tbl-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.tbl-sub {
    font-size: 11px;
    color: var(--gray2);
}

.tbl-actions {
    display: flex;
    gap: 5px;
}

.tbl-btn {
    background: #fff;
    border: 1px solid var(--gray3);
    color: var(--gray);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: all .1s;
}

    .tbl-btn:hover {
        border-color: var(--pur-mid);
        color: var(--pur2);
    }

    .tbl-btn.danger {
        border-color: #FECACA;
        color: #DC2626;
        background: #FEF2F2;
    }

    .tbl-btn.success {
        border-color: #BBF7D0;
        color: #16A34A;
        background: #F0FDF4;
    }

.ms {
    display: flex;
    gap: 3px;
    align-items: center;
}

.ms-dot {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    border: 1px solid var(--gray3);
    background: var(--gray4);
    color: var(--gray2);
}

    .ms-dot.ok {
        border-color: #BBF7D0;
        background: #F0FDF4;
        color: #16A34A;
    }

    .ms-dot.vid {
        border-color: #DDD6FE;
        background: #F5F3FF;
        color: var(--pur2);
    }

.cat-grid-adm {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.cat-adm-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: 10px;
    overflow: hidden;
}

.cat-adm-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
    background: var(--dark2);
}

.cat-adm-img-fallback {
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg,var(--dark),var(--dark2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.cat-adm-body {
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cat-adm-nm {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    flex: 1;
}

.cat-adm-cn {
    font-size: 11px;
    color: var(--gray2);
}

.cat-adm-acts {
    display: flex;
    gap: 4px;
}

.add-card {
    background: #fff;
    border: 1px dashed var(--pur-mid);
    border-radius: 10px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pur2);
    font-size: 13px;
    font-weight: 600;
    gap: 6px;
    flex-direction: column;
}

    .add-card:hover {
        background: var(--pur-lt);
    }

.add-card-icon {
    font-size: 24px;
}

.org-adm-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.org-adm-card {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.org-adm-photo {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
    background: var(--dark2);
}

.org-adm-photo-fallback {
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg,var(--pur),var(--pur2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
}

.org-adm-body {
    padding: 10px 8px;
}

.org-adm-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.org-adm-role {
    font-size: 10px;
    color: var(--pur2);
    font-weight: 600;
}

.org-adm-acts {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-top: 6px;
    padding-bottom: 8px;
}

.prog-adm-list {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.prog-adm-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray4);
    align-items: center;
}

    .prog-adm-item:last-child {
        border-bottom: none;
    }

.prog-adm-time {
    font-size: 13px;
    font-weight: 700;
    color: var(--pur2);
}

.prog-adm-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.prog-adm-desc {
    font-size: 11px;
    color: var(--gray2);
    margin-top: 2px;
}

.festival-form {
    background: #fff;
    border: 1px solid var(--gray3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.festival-form-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .festival-form-title::before {
        content: '';
        width: 3px;
        height: 16px;
        background: var(--pur2);
        border-radius: 2px;
    }

/* LOGIN */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.login-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 360px;
}

.login-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 4px;
}

    .login-title em {
        color: var(--pur2);
        font-style: normal;
    }

.login-sub {
    font-size: 13px;
    color: var(--gray2);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
    display: block;
}

.form-input {
    width: 100%;
    border: 1px solid var(--gray3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
    transition: border .15s;
    font-family: inherit;
    box-sizing: border-box;
}

    .form-input:focus {
        border-color: var(--pur2);
    }

.form-select {
    width: 100%;
    border: 1px solid var(--gray3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
}

    .form-select:focus {
        border-color: var(--pur2);
    }

.form-textarea {
    width: 100%;
    border: 1px solid var(--gray3);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    outline: none;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    box-sizing: border-box;
}

    .form-textarea:focus {
        border-color: var(--pur2);
    }

.form-error {
    color: #DC2626;
    font-size: 12px;
    margin-top: 8px;
    display: none;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

    .modal-overlay.open {
        opacity: 1;
        pointer-events: all;
    }

.modal {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
}

.modal-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

    .modal-title em {
        color: var(--pur2);
        font-style: normal;
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

    .form-grid .full {
        grid-column: 1/-1;
    }

.modal-footer {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray3);
}

.team-row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

    .team-row input {
        flex: 1;
        border: 1px solid var(--gray3);
        border-radius: 6px;
        padding: 7px 10px;
        font-size: 12px;
        outline: none;
        font-family: inherit;
    }

        .team-row input:focus {
            border-color: var(--pur2);
        }

.team-row-del {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #DC2626;
    border-radius: 6px;
    padding: 0 10px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.add-row-btn {
    background: var(--pur-lt);
    border: 1px dashed var(--pur-mid);
    color: var(--pur2);
    border-radius: 6px;
    padding: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
}

.upload-area {
    border: 2px dashed var(--gray3);
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    transition: all .15s;
}

    .upload-area:hover {
        border-color: var(--pur-mid);
        background: var(--pur-lt);
    }

.upload-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.upload-text {
    font-size: 13px;
    color: var(--gray);
    font-weight: 500;
}

.upload-sub {
    font-size: 11px;
    color: var(--gray2);
    margin-top: 4px;
}

.media-grid-adm {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 8px;
    margin-top: 12px;
}

.media-item-adm {
    border-radius: 8px;
    border: 1px solid var(--gray3);
    overflow: hidden;
    position: relative;
}

    .media-item-adm img, .media-item-adm video {
        width: 100%;
        aspect-ratio: 1;
        object-fit: cover;
        display: block;
    }

.media-item-adm-vid {
    width: 100%;
    aspect-ratio: 1;
    background: var(--dark2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.media-del {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220,38,38,0.9);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 11px;
    cursor: pointer;
}

.media-thumb-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: var(--pur2);
    color: #fff;
    font-size: 9px;
    padding: 2px 6px;
    border-radius: 3px;
}

.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 13px;
    z-index: 2000;
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s;
    pointer-events: none;
}

    .toast.show {
        opacity: 1;
        transform: translateY(0);
    }

    .toast.success {
        background: #16A34A;
    }

    .toast.error {
        background: #DC2626;
    }

.kunye-section {
    border-top: 2px solid var(--pur-mid);
    padding-top: 16px;
    margin-top: 8px;
    grid-column: 1/-1;
}

.kunye-section-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--pur2);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .kunye-section-title::before {
        content: '';
        width: 3px;
        height: 14px;
        background: var(--pur2);
        border-radius: 2px;
        display: inline-block;
    }

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
    .cat-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .featured-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }


        .featured-grid .fp-card:last-child {
            display: none;
        }

    .hakkinda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .org-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width:900px) {
    .det-body {
        grid-template-columns: 1fr;
    }

    .det-main {
        border-right: none;
        border-bottom: 1px solid var(--gray3);
        padding: 20px 16px;
    }

    .det-side {
        padding: 20px 16px;
    }

    .det-hero {
        padding: 20px 16px;
    }

    .det-title {
        font-size: 24px;
    }

    .det-breadcrumb {
        padding: 10px 16px;
    }

    .media-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .media-grid-item:first-child {
        grid-column: span 2;
    }

    .lightbox-prev {
        left: -10px;
    }

    .lightbox-next {
        right: -10px;
    }
}

@media(max-width:768px) {
    .nav {
        padding: 0 12px;
        gap: 6px;
        height: 52px;
    }

    .nav-logo-img {
        width: 30px;
        height: 30px;
    }

    .nav-brand-name {
        font-size: 13px;
    }

    .nav-brand-sub, .nav-sep, .nav-school {
        display: none;
    }

    .nav-link {
        font-size: 11px;
        padding: 5px 7px;
    }

    .hero {
        padding: 40px 16px 56px;
        min-height: calc(100svh - 52px);
    }

    .hero-title {
        font-size: clamp(38px,10vw,60px);
    }

    .hero-eyebrow {
        margin-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .hero-cd {
        gap: 4px;
        margin-bottom: 18px;
    }

    .hero-cd-block {
        padding: 6px 8px;
    }

    .hero-cd-num {
        font-size: 20px;
    }

    .hero-cd-sep {
        font-size: 14px;
    }

    .hero-btns {
        gap: 8px;
        margin-bottom: 16px;
    }

    .btn-primary, .btn-outline {
        font-size: 12px;
        padding: 9px 16px;
    }

    .hero-scroll {
        display: none;
    }

    .stats-ribbon {
        grid-template-columns: repeat(4,1fr);
    }

    .stat-n {
        font-size: 18px;
    }

    .stat-l {
        font-size: 8px;
    }

    .stat-item {
        padding: 10px 4px;
    }

    .cat-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .featured-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }


    .section {
        padding: 22px 14px;
    }

    .projects-header {
        padding: 14px;
    }

    .filter-bar {
        padding: 8px 14px;
        gap: 5px;
    }

    .filter-btn {
        font-size: 11px;
        padding: 4px 9px;
    }

    .search-box {
        min-width: 120px;
    }

    .projects-grid {
        grid-template-columns: repeat(3,1fr);
    }


    .footer {
        padding: 14px 16px;
    }

    .footer-info {
        display: none;
    }

    .hakkinda-container {
        padding: 0 14px;
    }

    .hakkinda-grid {
        padding: 18px 0;
        gap: 14px;
    }

    .hakkinda-hero-content {
        padding: 12px 14px;
    }

    .org-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width:480px) {
    .nav {
        padding: 0 10px;
    }

    .nav-logo-img {
        width: 28px;
        height: 28px;
    }

    .nav-brand-name {
        font-size: 12px;
        letter-spacing: .3px;
    }

    .nav-link {
        font-size: 10px;
        padding: 4px 6px;
    }

    .hero {
        padding: 32px 14px 48px;
    }

    .hero-title {
        font-size: clamp(34px,11vw,52px);
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .hero-cd {
        gap: 3px;
        margin-bottom: 16px;
    }

    .hero-cd-label {
        display: none;
    }

    .hero-cd-block {
        padding: 6px 6px;
        max-width: 60px;
    }

    .hero-cd-num {
        font-size: 18px;
    }

    .hero-cd-sep {
        font-size: 12px;
    }

    .hero-btns {
        margin-bottom: 14px;
    }

    .btn-primary, .btn-outline {
        font-size: 12px;
        padding: 9px 14px;
    }

    .stats-ribbon {
        grid-template-columns: repeat(3,1fr);
    }

    .stat-n {
        font-size: 16px;
    }

    .stat-l {
        font-size: 7px;
        letter-spacing: 0;
    }

    .stat-item {
        padding: 8px 2px;
    }

    .cat-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .cat-card-img {
        height: 90px;
    }

    .cat-name {
        font-size: 11px;
    }

    .projects-grid {
        grid-template-columns: repeat(2,1fr);
    }


    .filter-btn {
        font-size: 10px;
        padding: 4px 8px;
    }

    .hakkinda-hero-title {
        font-size: 16px;
    }

    .org-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 8px;
    }

    .program-time {
        min-width: 44px;
        font-size: 11px;
    }

    .media-grid {
        grid-template-columns: 1fr 1fr;
    }

    .media-grid-item:first-child {
        grid-column: span 2;
    }
}
