/* ============================================
   GenÃ§ Kanatlar - Modern UI Stylesheet
   ============================================ */

:root {
    /* THK GenÃ§ Kanatlar â€” mavi kurumsal palet */
    --primary: #1e3a5f;
    --primary-dark: #0f2744;
    --primary-light: #2d5a8e;
    --accent: #82a8d9;
    --accent-hover: #82a8d9;
    --accent-soft: #dbeafe;
    --accent-2: #82a8d9;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;

    --bg-dark: #f4f6f9;
    --bg-card: #ffffff;
    --bg-elevated: #f8fafc;
    --bg-input: #ffffff;
    --bg-page: #f4f6f9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;

    --border: rgba(15, 23, 42, 0.07);
    --border-hover: rgba(15, 23, 42, 0.14);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow: 0 4px 16px rgba(15, 23, 42, 0.07);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.11);
    --shadow-glow: 0 8px 32px rgba(30, 58, 95, 0.12);

    --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-height: 72px;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body:not(.landing-page) {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

body.landing-page {
    background: #ffffff;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }

/* ========== Hugeicons ========== */
.hi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
    font-style: normal;
}
.hi-xs { font-size: 14px; }
.hi-sm { font-size: 18px; }
.hi-md { font-size: 22px; }
.hi-lg { font-size: 28px; }
.hi-xl { font-size: 36px; }
.hi-2xl { font-size: 48px; }
.hi-3xl { font-size: 64px; }

/* Ä°kon renkleri */
.hi-color-indigo { color: #1e3a5f; }
.hi-color-sky { color: #0ea5e9; }
.hi-color-rose { color: #e11d48; }
.hi-color-teal { color: #0891b2; }
.hi-color-amber { color: #d97706; }
.hi-color-violet { color: #7c3aed; }
.hi-color-emerald { color: #059669; }
.hi-color-orange { color: #ea580c; }
.hi-color-slate { color: #64748b; }
.hi-color-white { color: #ffffff; }

.nav-link .hi { font-size: 20px; transition: color var(--transition); }
.nav-link:not(.active):not(:hover) .hi[class*="hi-color-"] { opacity: 1; color: var(--text-muted) !important; }
.nav-link:hover .hi { transform: none; }
.nav-link.active .hi { transform: none; }
.nav-icon-btn .hi { font-size: 22px; color: #64748b; transition: color var(--transition), transform var(--transition); }
.nav-icon-btn:hover .hi { color: #d97706; transform: scale(1.1); }
.feature-icon .hi { font-size: 2.2rem; }
.ig-action-btn .hi { font-size: 24px; color: var(--text-primary); transition: color var(--transition), transform var(--transition); }
.ig-action-btn:hover .hi { transform: scale(1.12); }
.ig-action-btn.like-btn:not(.liked) .hi.hi-color-rose { color: var(--text-primary); }
.ig-action-btn.like-btn:hover:not(.liked) .hi { color: #f43f5e; }
.ig-action-btn.comment-toggle-btn:hover .hi { color: #0ea5e9; }
.ig-action-btn.liked .hi { color: #e11d48 !important; }
.topic-icon .hi { font-size: 1.2rem; color: var(--primary-dark); }
.feed-empty-icon .hi,
.ig-empty-plane .hi { font-size: 4rem; opacity: 0.85; }
.ig-empty-plane .hi-color-sky { opacity: 0.75; }
.aviation-icon .hi { font-size: 1.8rem; opacity: 0.4; }
.aviation-icon-1 .hi { color: #4f46e5; }
.aviation-icon-2 .hi { color: #0ea5e9; }
.aviation-icon-3 .hi { color: #0891b2; }
.ig-stat-pill .hi { font-size: 0.9rem; margin-right: 4px; }
.ig-stat-pill:nth-child(1) .hi { color: #059669; }
.ig-stat-pill:nth-child(2) .hi { color: #ea580c; }
.ig-upload-placeholder .hi { color: #0891b2; }
.notification-icon .hi { font-size: 1.4rem; }
.admin-section h2 .hi { margin-right: 6px; vertical-align: -2px; color: var(--primary-dark); }
.floating-card .hi { margin-right: 6px; font-size: 1.1rem; }
.pin-badge .hi { font-size: 0.85rem; margin-right: 4px; color: #d97706; }
.event-meta .hi,
.event-participants .hi { font-size: 0.9rem; margin-right: 2px; vertical-align: -1px; }
.event-meta .hi { color: #64748b; }
.event-participants .hi { color: #059669; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(15, 23, 42, 0.04);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}
.btn-outline:hover {
    background: rgba(30, 58, 95, 0.04);
    border-color: var(--primary);
    color: var(--primary-dark);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(99, 102, 241, 0.7), 0 0 60px rgba(99, 102, 241, 0.2); }
}

/* ========== Landing Page ========== */
.landing {
    position: relative;
    overflow-x: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 50%, #e8eef5 100%);
}

.landing-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 8s ease-in-out infinite;
}
.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%; right: -5%;
}
.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 20%; left: -10%;
    animation-delay: -3s;
}
.orb-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    top: 50%; left: 40%;
    animation-delay: -5s;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 70, 229, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Landing Nav */
.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
}

.landing-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.site-logo {
    display: block;
    object-fit: contain;
    width: auto;
}
.site-logo-sm { height: 38px; }
.site-logo-md { height: 48px; }
.site-logo-nav { height: 58px; }
.site-logo-logotayp {
    height: auto;
    background: transparent;
}
.portal-nav-logo .site-logo-logotayp,
.app-logo .site-logo-logotayp {
    height: 60px;
    width: auto;
    max-width: 200px;
}
.auth-header .site-logo-logotayp {
    height: auto;
    width: min(100%, 320px);
    margin: 0 auto 18px;
}
.site-logo-lg { height: 80px; margin: 0 auto 16px; }
.site-logo-xl { height: 100px; }
.site-logo-hero {
    height: min(340px, 42vw);
    max-width: 100%;
    filter: drop-shadow(0 16px 40px rgba(79, 70, 229, 0.18));
    animation: phone-float 6s ease-in-out infinite;
}
.hero-logo-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.logo-text {
    font-size: 1.3rem;
    font-weight: 500;
}
.logo-wing {
    font-size: 1.5rem;
    animation: wing-bob 3s ease-in-out infinite;
}
@keyframes wing-bob {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(-5deg); }
}

.landing-nav-actions { display: flex; gap: 12px; }

/* Hero */
.hero {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 100vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-dark);
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.gradient-text {
    color: var(--accent-2);
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone-mockup {
    width: 280px;
    background: var(--bg-card);
    border-radius: 36px;
    padding: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow), var(--shadow-glow);
    animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.phone-screen {
    background: var(--bg-elevated);
    border-radius: 28px;
    overflow: hidden;
    padding: 16px;
    min-height: 400px;
}

.mock-feed { display: flex; flex-direction: column; gap: 16px; }
.mock-post {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 12px;
    border: 1px solid var(--border);
}
.mock-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin-bottom: 8px;
}
.mock-lines { display: flex; flex-direction: column; gap: 6px; }
.mock-line {
    height: 8px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 4px;
}
.mock-line.w80 { width: 80%; }
.mock-line.w60 { width: 60%; }
.mock-line.w90 { width: 90%; }
.mock-line.w40 { width: 40%; }
.mock-image {
    height: 120px;
    background: linear-gradient(135deg, rgba(79,70,229,0.15), rgba(225,29,72,0.12));
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}
.mock-actions {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    color: var(--text-primary);
    white-space: nowrap;
    animation: card-float 4s ease-in-out infinite;
}
.floating-card span { margin-right: 6px; }
.card-1 { top: 10%; right: -20px; animation-delay: 0s; }
.card-2 { bottom: 30%; left: -30px; animation-delay: -1.5s; }
.card-3 { bottom: 5%; right: 10px; animation-delay: -3s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}
.animate-fade-left {
    opacity: 0;
    transform: translateX(40px);
    animation: fadeLeft 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* Features */
.features {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.feature-card:hover {
    border-color: rgba(79, 70, 229, 0.35);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Branches */
.branches {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 100px;
}

.branches-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.branch-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: var(--transition);
    cursor: default;
}
.branch-chip:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.08);
}
.branch-code {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(79, 70, 229, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
}
.branch-name { font-weight: 500; font-size: 0.9rem; }
.branch-city { font-size: 0.8rem; color: var(--text-muted); }

/* CTA */
.cta {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}
.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(225,29,72,0.05));
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}
.cta-inner h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}
.cta-inner p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* Footer */
.landing-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 32px 24px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.landing-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== Auth Pages ========== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    position: relative;
    z-index: 1;
}

.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .site-logo-lg { margin-bottom: 16px; }
.auth-header h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.auth-header p { color: var(--text-secondary); font-size: 0.9rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.form-label-row label { margin-bottom: 0; }
.auth-forgot-link {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-dark);
    white-space: nowrap;
}
.auth-forgot-link:hover { text-decoration: underline; }
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.form-control::placeholder { color: var(--text-muted); }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    color: #b91c1c;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.form-errors { margin-bottom: 20px; }
.form-errors .form-error { margin-bottom: 8px; }

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.auth-footer a { color: var(--primary-dark); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

.btn-block { width: 100%; }

.success-icon {
    width: 64px; height: 64px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* ========== App Layout ========== */
.app-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.site-topnav.app-navbar {
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.app-navbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    gap: 24px;
}

.app-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-right: 4px;
}

.app-logo .site-logo-nav {
    height: 58px;
    max-height: calc(var(--nav-height) - 14px);
    width: auto;
}

.app-nav-links {
    display: flex;
    gap: 4px;
    flex: 1;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: var(--bg-elevated);
}
.nav-link.active {
    color: var(--primary-dark);
    font-weight: 600;
}

.nav-link .hi { font-size: 18px; color: var(--text-muted) !important; opacity: 1 !important; }
.nav-link:hover .hi, .nav-link.active .hi { color: var(--primary) !important; }
.nav-link:hover .hi { transform: none; }
.nav-link.active .hi { transform: none; }

.app-user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.app-nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

/* ========== Responsive Nav (hamburger + drawer) ========== */
.nav-mobile-only { display: none !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: var(--radius);
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(79, 70, 229, 0.08); }

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.responsive-nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.responsive-nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.responsive-nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 110;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.responsive-nav.is-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}
.responsive-nav.is-open .nav-backdrop[hidden] { display: block; }

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.nav-drawer-header strong { font-size: 1.05rem; }

.nav-drawer-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-secondary, #f1f5f9);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1;
    flex-shrink: 0;
}
.nav-drawer-close:hover { background: var(--border); }

.nav-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.nav-drawer-user strong {
    display: block;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-drawer-user span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.nav-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    flex-shrink: 0;
}

body.nav-open { overflow: hidden; }

.user-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.user-info { display: flex; flex-direction: column; }
.user-name { font-size: 0.85rem; font-weight: 600; }
.user-meta { font-size: 0.75rem; color: var(--text-muted); }

.btn-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    padding: 0;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.btn-logout:hover {
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.3);
}

/* ========== Feed ========== */
.feed-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
}

.feed-compose {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}

.feed-compose textarea {
    width: 100%;
    min-height: 80px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 12px;
    resize: vertical;
    font-size: 0.95rem;
    margin-bottom: 12px;
}
.feed-compose textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.feed-compose-actions {
    display: flex;
    justify-content: flex-end;
}

.feed-post {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.feed-post:hover { border-color: var(--border-hover); }

.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.post-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.post-author { flex: 1; }
.post-author-name { font-weight: 600; font-size: 0.95rem; }
.post-author-role {
    font-size: 0.75rem;
    color: var(--primary-dark);
    background: rgba(79, 70, 229, 0.12);
    padding: 1px 8px;
    border-radius: 4px;
    margin-left: 6px;
}
.post-time { font-size: 0.8rem; color: var(--text-muted); }

.post-content {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
    white-space: pre-wrap;
}

.post-actions {
    display: flex;
    gap: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.post-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}
.post-action-btn:hover { color: var(--accent); background: rgba(244, 63, 94, 0.1); }
.post-action-btn.liked { color: var(--accent); }

.feed-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.feed-empty-icon { font-size: 3rem; margin-bottom: 16px; }

/* ========== Forum (ShiftDelete / XenForo tarzÄ±) ========== */
body.forum-page {
    background: #eef1f5;
}

.xf-forum {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

.xf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.xf-breadcrumb a {
    color: #2563eb;
    font-weight: 500;
}

.xf-breadcrumb a:hover { text-decoration: underline; }

.xf-bc-sep { color: #94a3b8; }

.xf-forum-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.xf-page-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.xf-forum-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid #d1d9e6;
    border-radius: var(--radius);
    padding: 10px 16px;
}

.xf-forum-stats strong {
    color: var(--text-primary);
    font-weight: 700;
}

.xf-block {
    background: var(--bg-card);
    border: 1px solid #d1d9e6;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.xf-block-header {
    background: linear-gradient(180deg, #3d4f5f 0%, #2c3a47 100%);
    color: #fff;
    padding: 10px 16px;
    border-bottom: 1px solid #1e293b;
}

.xf-block-header h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.xf-block-header .hi-color-white,
.xf-block-header .hi { color: #fff !important; opacity: 0.95; }

.xf-block-header-sub {
    background: linear-gradient(180deg, #4a5568 0%, #3d4f5f 100%);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.xf-block-header-sub h2 {
    font-size: 0.88rem;
    text-transform: none;
    letter-spacing: 0;
}

.xf-block-body { padding: 0; }
.xf-block-body-flush { padding: 0; }

.xf-node-table,
.xf-topic-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.xf-node-table thead th,
.xf-topic-table thead th {
    background: #f0f3f7;
    color: #475569;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 10px 12px;
    border-bottom: 1px solid #d1d9e6;
    text-align: left;
}

.xf-node-table tbody tr,
.xf-topic-table tbody tr {
    border-bottom: 1px solid #e8edf3;
    transition: background 0.15s;
}

.xf-node-table tbody tr:hover,
.xf-topic-table tbody tr:hover {
    background: #f8fafc;
}

.xf-node-table tbody tr:last-child,
.xf-topic-table tbody tr:last-child {
    border-bottom: none;
}

.xf-node-table td,
.xf-topic-table td {
    padding: 14px 12px;
    vertical-align: middle;
}

.xf-col-forum { width: 55%; }
.xf-col-topic { width: auto; }
.xf-col-stats { width: 80px; text-align: center; color: #475569; font-weight: 600; }
.xf-col-last { width: 220px; }
.xf-col-icon { width: 36px; text-align: center; }
.xf-col-author { width: 120px; }

.xf-node-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.xf-node-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #eef2ff;
}

.xf-node-icon-genel { background: #eef2ff; }
.xf-node-icon-havacilik { background: #e0f2fe; }
.xf-node-icon-etkinlik { background: #fef3c7; }
.xf-node-icon-teknik { background: #d1fae5; }

.xf-node-icon .hi { font-size: 1.4rem; }

.xf-node-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2563eb;
    display: block;
    margin-bottom: 4px;
}

.xf-node-title:hover { text-decoration: underline; color: #1d4ed8; }

.xf-node-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
}

.xf-last-post {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.xf-last-post-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.xf-last-post-info a {
    font-weight: 600;
    color: #2563eb;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
    display: block;
}

.xf-last-post-info span,
.xf-last-user {
    font-size: 0.75rem;
    color: #64748b;
}

.xf-muted { color: #94a3b8; font-size: 0.85rem; }

.xf-topic-row.xf-topic-sticky {
    background: #fffbeb;
}

.xf-topic-row.xf-topic-sticky:hover {
    background: #fef3c7;
}

.xf-topic-title {
    font-weight: 700;
    color: #2563eb;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 4px;
}

.xf-topic-title:hover { text-decoration: underline; }

.xf-topic-meta {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.xf-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    text-transform: uppercase;
}

.xf-badge-pin { background: #fef3c7; color: #b45309; }
.xf-badge-lock { background: #f1f5f9; color: #64748b; }

.xf-author-cell {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.xf-avatar {
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.xf-avatar-xs { width: 32px; height: 32px; font-size: 0.85rem; }
.xf-avatar-lg { width: 80px; height: 80px; font-size: 1.8rem; margin-bottom: 8px; }

.xf-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-weight: 700;
}

.xf-forum-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid #d1d9e6;
    border-radius: var(--radius);
    padding: 12px 16px;
}

.xf-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.xf-empty .hi { display: block; margin: 0 auto 12px; }
.xf-empty p { margin-bottom: 16px; }

/* Konu detay â€” mesaj kartlarÄ± */
.xf-thread-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.xf-thread-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    flex: 1;
}

.xf-post {
    display: grid;
    grid-template-columns: 160px 1fr;
    background: var(--bg-card);
    border: 1px solid #d1d9e6;
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.xf-post-sticky {
    border-left: 4px solid #f59e0b;
}

.xf-post-user {
    background: #f8fafc;
    border-right: 1px solid #e8edf3;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xf-post-username {
    font-weight: 700;
    font-size: 0.88rem;
    color: #2563eb;
    margin: 6px 0 4px;
    word-break: break-word;
}

.xf-post-username:hover { text-decoration: underline; }

.xf-user-role {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.xf-role-lider { background: #fef3c7; color: #b45309; }
.xf-role-yardimci { background: #e0e7ff; color: #4338ca; }
.xf-role-uye { background: #f1f5f9; color: #64748b; }

.xf-user-stats {
    width: 100%;
    border-top: 1px solid #e8edf3;
    padding-top: 10px;
    margin-top: 4px;
}

.xf-user-stats div {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #64748b;
    padding: 3px 0;
}

.xf-user-stats strong { color: var(--text-primary); }

.xf-post-main {
    padding: 0;
    min-width: 0;
}

.xf-post-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: #f0f3f7;
    border-bottom: 1px solid #e8edf3;
    font-size: 0.78rem;
    color: #64748b;
}

.xf-post-num {
    font-weight: 700;
    color: #475569;
}

.xf-post-content {
    padding: 18px 20px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-primary);
    word-break: break-word;
}

.xf-reply-block {
    background: var(--bg-card);
    border: 1px solid #d1d9e6;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 8px;
}

.xf-reply-form {
    padding: 16px;
}

.xf-reply-textarea {
    min-height: 120px;
    resize: vertical;
    font-size: 0.95rem;
    margin-bottom: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

.xf-reply-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

/* Forum mesaj editÃ¶rÃ¼ â€” emoji araÃ§ Ã§ubuÄŸu */
.gk-forum-composer {
    position: relative;
}

.gk-composer-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #d1d9e6;
    border-bottom: none;
    border-radius: var(--radius) var(--radius) 0 0;
}

.gk-composer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 1.05rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

.gk-composer-btn:hover {
    background: #e2e8f0;
}

.gk-composer-btn:focus-visible {
    outline: 2px solid var(--primary, #2563eb);
    outline-offset: 1px;
}

.gk-composer-sep {
    width: 1px;
    height: 20px;
    background: #cbd5e1;
    margin: 0 4px;
}

.gk-composer-spacer {
    flex: 1;
}

.gk-composer-hint {
    font-size: 0.75rem;
    color: #94a3b8;
    white-space: nowrap;
}

.gk-composer-textarea {
    border-radius: 0 0 var(--radius) var(--radius);
}

.gk-emoji-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    z-index: 50;
    background: var(--bg-card, #fff);
    border: 1px solid #d1d9e6;
    border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.gk-emoji-tabs {
    display: flex;
    gap: 2px;
    padding: 8px 8px 0;
    overflow-x: auto;
    border-bottom: 1px solid #e2e8f0;
}

.gk-emoji-tab {
    flex-shrink: 0;
    padding: 6px 10px;
    border: none;
    border-radius: 6px 6px 0 0;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
}

.gk-emoji-tab:hover {
    color: #334155;
    background: #f1f5f9;
}

.gk-emoji-tab.active {
    color: var(--primary, #2563eb);
    background: #eff6ff;
}

.gk-emoji-body {
    padding: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.gk-emoji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
    gap: 2px;
}

.gk-emoji-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border: none;
    border-radius: 6px;
    background: transparent;
    font-size: 1.35rem;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.12s ease;
}

.gk-emoji-item:hover {
    background: #f1f5f9;
    transform: scale(1.12);
}

@media (max-width: 640px) {
    .gk-composer-hint {
        display: none;
    }
}

.xf-locked-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius);
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .xf-col-last,
    .xf-col-author { display: none; }
    .xf-col-forum { width: auto; }
}

@media (max-width: 640px) {
    .xf-post {
        grid-template-columns: 1fr;
    }
    .xf-post-user {
        flex-direction: row;
        text-align: left;
        gap: 12px;
        border-right: none;
        border-bottom: 1px solid #e8edf3;
    }
    .xf-avatar-lg {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        margin-bottom: 0;
    }
    .xf-user-stats { display: none; }
    .xf-col-stats:nth-child(5) { display: none; }
    .xf-node-table thead,
    .xf-topic-table thead { display: none; }
    .xf-node-table td,
    .xf-topic-table td { display: block; width: 100%; padding: 8px 14px; }
    .xf-node-table tr,
    .xf-topic-table tr { display: block; padding: 8px 0; }
}

/* ========== Admin ========== */
.admin-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

.admin-header { margin-bottom: 32px; }
.admin-header h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.admin-header p { color: var(--text-secondary); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.stat-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.admin-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.member-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.member-row:last-child { border-bottom: none; }

.member-info { flex: 1; }
.member-name { font-weight: 600; font-size: 0.9rem; }
.member-email { font-size: 0.8rem; color: var(--text-muted); }

.admin-log-timeline { display: flex; flex-direction: column; gap: 12px; }
.admin-log-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.admin-log-item:last-child { border-bottom: none; }
.admin-log-time { font-size: 0.8rem; color: var(--text-muted); }
.admin-log-body { font-size: 0.9rem; }
.admin-log-note { margin: 4px 0 0; font-size: 0.9rem; }

.admin-uye-actions {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.admin-activity-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.admin-activity-block h3 {
    font-size: 0.95rem;
    margin: 0 0 12px;
    color: var(--primary-dark);
}
.admin-activity-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.admin-activity-item:last-child { border-bottom: none; }
.admin-activity-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.admin-activity-text {
    font-size: 0.9rem;
    white-space: pre-wrap;
    margin-top: 4px;
}
@media (max-width: 900px) {
    .admin-activity-grid { grid-template-columns: 1fr; }
}

.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-beklemede { background: rgba(217, 119, 6, 0.12); color: var(--warning); }
.badge-aktif { background: rgba(5, 150, 105, 0.12); color: var(--success); }
.badge-lider { background: rgba(79, 70, 229, 0.12); color: var(--primary-dark); }
.badge-yardimci { background: rgba(8, 145, 178, 0.12); color: var(--accent-2); }

.member-actions { display: flex; gap: 8px; }

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.25;
}
.btn.btn-sm {
    gap: 6px;
}
a.btn-sm.btn-primary,
a.btn.btn-primary.btn-sm {
    color: #fff;
}
.btn-success { background: rgba(5, 150, 105, 0.12); color: var(--success); }
.btn-success:hover { background: rgba(5, 150, 105, 0.2); }
.btn-danger { background: rgba(220, 38, 38, 0.1); color: var(--danger); }
.btn-danger:hover { background: rgba(220, 38, 38, 0.18); }

/* ========== Modal ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 100%;
    max-width: 500px;
    transform: scale(0.95);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
}
.modal-overlay.active .modal { transform: scale(1); }

.modal h2 { font-size: 1.2rem; margin-bottom: 20px; }
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

/* ========== Error Pages ========== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}
.error-code {
    font-size: 6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
}
.error-page h1 { font-size: 1.5rem; margin-bottom: 8px; }
.error-page p { color: var(--text-secondary); margin-bottom: 24px; }

/* ========== Page Layout ========== */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px;
}
.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.page-header h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.page-header p { color: var(--text-secondary); font-size: 0.95rem; }
.page-header-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.back-link { margin-bottom: 16px; display: inline-flex; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.month-picker input { width: auto; }

/* ========== Nav Enhancements ========== */
.nav-label { font-size: 0.8rem; }
.nav-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}
.nav-link, .nav-icon-btn { position: relative; }
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-icon-btn:hover { background: rgba(79, 70, 229, 0.08); color: var(--text-primary); }
.user-avatar-link { display: flex; }
.user-avatar-img {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.d-none-mobile { display: inline; }

/* ========== Events ========== */
.events-grid { display: grid; gap: 16px; }
.event-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.event-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}
.event-date {
    width: 56px;
    text-align: center;
    background: rgba(79, 70, 229, 0.1);
    border-radius: var(--radius);
    padding: 10px 8px;
    flex-shrink: 0;
}
.event-date-lg { width: 72px; padding: 14px; }
.event-day { display: block; font-size: 1.5rem; font-weight: 700; line-height: 1; color: var(--primary-dark); }
.event-month { display: block; font-size: 0.75rem; color: var(--primary); text-transform: uppercase; }
.event-info { flex: 1; min-width: 0; }
.event-info h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.event-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 4px; }
.event-footer { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.event-participants { font-size: 0.85rem; color: var(--text-muted); }
.event-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.event-detail-header { display: flex; gap: 24px; margin-bottom: 20px; }
.event-detail-header h1 { font-size: 1.5rem; margin-bottom: 8px; }
.event-description { color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.event-actions-bar { display: flex; align-items: center; gap: 16px; }
.event-capacity { font-size: 0.9rem; color: var(--text-muted); }

/* ========== Announcements ========== */
.announcement-card {
    display: block;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.announcement-card:hover { border-color: var(--primary); }
.announcement-onemli { border-left: 4px solid var(--warning); }
.announcement-acil { border-left: 4px solid var(--danger); background: rgba(220, 38, 38, 0.04); }
.announcement-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.announcement-date { font-size: 0.8rem; color: var(--text-muted); }
.announcement-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.announcement-card p { color: var(--text-secondary); font-size: 0.9rem; }
.announcement-author { font-size: 0.8rem; color: var(--text-muted); margin-top: 10px; display: block; }
.pin-badge { font-size: 0.75rem; color: var(--warning); margin-bottom: 8px; display: block; }
.announcement-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.announcement-detail h1 { font-size: 1.6rem; margin: 16px 0; }
.announcement-content { line-height: 1.8; color: var(--text-secondary); margin-top: 24px; }

/* ========== Profile ========== */
.profile-header {
    display: flex;
    gap: 28px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.profile-avatar {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}
.profile-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    font-size: 2.5rem;
    font-weight: 700;
}
.profile-info h1 { font-size: 1.5rem; margin-bottom: 8px; }
.profile-meta { color: var(--text-muted); font-size: 0.9rem; margin: 8px 0; }
.profile-bio { color: var(--text-secondary); margin-top: 12px; line-height: 1.6; }
.profile-actions { margin-top: 16px; }
.profile-photo-upload { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.profile-photo-upload .profile-avatar { width: 80px; height: 80px; }

/* ========== Notifications ========== */
.notifications-list { display: flex; flex-direction: column; gap: 8px; }
.notification-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}
.notification-item:hover { border-color: var(--border-hover); }
.notification-item.unread {
    background: rgba(79, 70, 229, 0.06);
    border-color: rgba(79, 70, 229, 0.2);
}
.notification-icon { font-size: 1.4rem; flex-shrink: 0; }
.notification-body strong { display: block; margin-bottom: 4px; }
.notification-body p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 4px; }
.notification-time { font-size: 0.75rem; color: var(--text-muted); }

/* ========== Messages ========== */
.messages-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    max-width: 1100px;
    height: calc(100vh - 120px);
    min-height: 500px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow);
}
.messages-sidebar {
    border-right: 1px solid var(--border);
    padding: 20px;
    overflow-y: auto;
}
.messages-sidebar h2 { font-size: 1.1rem; margin-bottom: 16px; }
.chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    transition: var(--transition);
    margin-bottom: 4px;
}
.chat-item:hover, .chat-item.active { background: rgba(79, 70, 229, 0.08); }
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-info strong { font-size: 0.9rem; display: block; }
.chat-item-info p { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.messages-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.chat-window { display: flex; flex-direction: column; height: 100%; }
.chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-bubble {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: var(--radius-lg);
}
.chat-bubble.sent {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-bottom-right-radius: 4px;
}
.chat-bubble.received {
    align-self: flex-start;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-bottom-left-radius: 4px;
    color: var(--text-primary);
}
.bubble-text { font-size: 0.95rem; line-height: 1.5; }
.bubble-time { font-size: 0.7rem; opacity: 0.7; margin-top: 4px; display: block; text-align: right; }
.chat-input-bar {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}
.chat-input-bar .form-control { flex: 1; }

/* ========== Reports ========== */
.stat-card-primary .stat-card-value { color: var(--primary-dark); }
.reports-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.report-bar-row {
    display: grid;
    grid-template-columns: 120px 1fr 40px;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.report-bar-label { font-size: 0.85rem; color: var(--text-secondary); }
.report-bar {
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}
.report-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 0.6s ease;
}
.report-bar-fill.bar-role { background: linear-gradient(90deg, var(--accent-2), var(--primary-light)); }
.report-bar-value { font-weight: 600; font-size: 0.9rem; text-align: right; }
.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 160px;
    padding-top: 20px;
}
.chart-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; }
.chart-bar {
    width: 100%;
    max-width: 48px;
    background: linear-gradient(180deg, var(--primary-light), var(--primary));
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 4px;
    transition: height 0.6s ease;
}
.chart-bar-val { font-size: 0.75rem; font-weight: 700; padding-top: 6px; }
.chart-bar-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 8px; }

.btn-danger-outline {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: var(--danger);
    padding: 10px 22px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.btn-danger-outline:hover { background: rgba(239, 68, 68, 0.1); }

/* ========== Aviation Decorations ========== */
.aviation-deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
    color: var(--primary);
}
.aviation-cloud {
    position: absolute;
    width: 140px;
    height: 70px;
    color: #94a3b8;
    animation: cloud-drift 25s linear infinite;
}
.aviation-cloud-1 { top: 12%; left: -10%; animation-duration: 30s; }
.aviation-cloud-2 { top: 55%; right: -8%; animation-duration: 22s; animation-delay: -8s; opacity: 0.7; }
@keyframes cloud-drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 200px)); }
}
.aviation-plane {
    position: absolute;
    color: var(--primary);
}
.aviation-plane-1 {
    width: 56px; height: 56px;
    top: 18%; right: 15%;
    animation: plane-float 8s ease-in-out infinite;
}
.aviation-plane-2 {
    width: 72px; height: 36px;
    bottom: 25%; left: 8%;
    animation: plane-fly 18s linear infinite;
    opacity: 0.5;
}
@keyframes plane-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes plane-fly {
    0% { transform: translateX(-80px) translateY(0); }
    50% { transform: translateX(40vw) translateY(-30px); }
    100% { transform: translateX(90vw) translateY(10px); }
}
.aviation-icon {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.35;
    animation: icon-bob 5s ease-in-out infinite;
}
.aviation-icon-1 { top: 30%; left: 12%; animation-delay: 0s; }
.aviation-icon-2 { top: 70%; right: 20%; animation-delay: -2s; }
.aviation-icon-3 { bottom: 15%; left: 45%; animation-delay: -4s; font-size: 1.4rem; }
@keyframes icon-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ========== Instagram Feed ========== */
body.feed-page {
    background: linear-gradient(180deg, #e8f4fc 0%, #f1f5f9 30%, #f8fafc 100%);
}
.ig-feed-page {
    position: relative;
    min-height: calc(100vh - 64px);
    padding: 24px 16px 48px;
}
.ig-feed-page .aviation-deco { position: fixed; opacity: 0.6; }
.ig-feed-layout {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}
.ig-sidebar { position: sticky; top: 88px; }
.ig-create-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    margin-bottom: 12px;
}
.ig-create-header { display: flex; align-items: center; gap: 12px; }
.ig-create-trigger {
    flex: 1;
    text-align: left;
    background: var(--bg-elevated);
    border: 1px dashed var(--border-hover);
    border-radius: var(--radius);
    padding: 12px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.ig-create-trigger:hover {
    border-color: var(--primary);
    color: var(--primary-dark);
    background: rgba(79, 70, 229, 0.05);
}
.ig-stats-mini { display: flex; flex-wrap: wrap; gap: 8px; }
.ig-stat-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
}
.ig-feed-stream { max-width: 470px; width: 100%; margin: 0 auto; }

/* Instagram post card */
.ig-post {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.08);
    animation: ig-post-in 0.5s ease backwards;
}
.ig-post:nth-child(1) { animation-delay: 0.05s; }
.ig-post:nth-child(2) { animation-delay: 0.1s; }
.ig-post:nth-child(3) { animation-delay: 0.15s; }
@keyframes ig-post-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}
.ig-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
}
.ig-post-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.ig-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.ig-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent-2));
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}
.ig-role-badge {
    display: block;
    font-size: 0.7rem;
    color: var(--primary-dark);
    font-weight: 500;
}
.ig-post-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #000;
    overflow: hidden;
}
.ig-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.ig-post:hover .ig-post-image { transform: scale(1.02); }
.ig-post-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    font-size: 4rem;
}
.ig-post-body { padding: 10px 14px 14px; }
.ig-post-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}
.ig-action-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.ig-action-svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: fill 0.2s ease, stroke 0.2s ease, transform 0.2s ease;
}

.ig-action-btn:hover { transform: scale(1.1); }
.ig-action-btn.like-btn:hover:not(.liked) { color: #f43f5e; }
.ig-action-btn.comment-toggle-btn:hover { color: #0ea5e9; }
.ig-action-btn.liked { color: #e11d48; }
.ig-action-btn.liked .ig-heart-icon {
    fill: #e11d48;
    stroke: #e11d48;
    animation: heart-pop 0.35s ease;
}
.ig-comment-icon { fill: none; }
@keyframes heart-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.ig-action-spacer { flex: 1; }
.ig-likes-count {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.ig-likes-block {
    margin-bottom: 8px;
}

.ig-likes-summary-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 4px;
}

.ig-liker-name {
    color: var(--text-primary);
    font-weight: 700;
    text-decoration: none;
}

.ig-liker-name:hover {
    text-decoration: underline;
}

.ig-likes-open-btn {
    display: inline-block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.ig-likes-open-btn:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.ig-likers-modal {
    max-width: 420px;
    padding: 0;
    overflow: hidden;
}

.ig-likers-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.ig-likers-modal-head h2 {
    margin: 0;
    font-size: 1.05rem;
}

.ig-likers-close {
    border: none;
    background: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}

.ig-likers-close:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.ig-likers-list {
    max-height: min(60vh, 420px);
    overflow-y: auto;
    padding: 8px 0;
}

.ig-liker-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    color: inherit;
    text-decoration: none;
    transition: background 0.15s ease;
}

.ig-liker-row:hover {
    background: var(--bg-elevated);
}

.ig-liker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ig-liker-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.ig-liker-row-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.ig-likers-loading,
.ig-likers-empty {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.ig-caption {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 6px;
}
.ig-caption strong { margin-right: 6px; }
.ig-view-comments {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 8px;
}
.ig-view-comments:hover { color: var(--text-secondary); }
.ig-comments { margin-bottom: 8px; }
.ig-comment {
    font-size: 0.88rem;
    margin-bottom: 6px;
    line-height: 1.4;
}
.ig-comment strong { margin-right: 6px; }
.ig-comment-form {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: 4px;
}
.ig-comment-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}
.ig-comment-form input::placeholder { color: var(--text-muted); }
.ig-comment-submit {
    background: none;
    border: none;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.7;
}
.ig-comment-form input:valid ~ .ig-comment-submit,
.ig-comment-submit:hover { opacity: 1; }
.ig-post-time {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 8px;
}

/* Create post modal */
.ig-create-modal { max-width: 480px; }
.ig-upload-zone {
    position: relative;
    border: 2px dashed var(--border-hover);
    border-radius: var(--radius);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    overflow: hidden;
    background: var(--bg-elevated);
    transition: var(--transition);
}
.ig-upload-zone.drag-over,
.ig-upload-zone:hover { border-color: var(--primary); background: rgba(79,70,229,0.04); }
.ig-upload-zone.has-image { border-style: solid; min-height: auto; }
.ig-upload-placeholder {
    text-align: center;
    padding: 32px;
    color: var(--text-muted);
}
.ig-upload-placeholder svg { margin: 0 auto 12px; color: var(--primary); opacity: 0.6; }
.ig-upload-link { color: var(--primary-dark); font-weight: 600; cursor: pointer; }
.ig-upload-hint { display: block; font-size: 0.75rem; margin-top: 8px; }
.ig-upload-preview {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
}
.ig-remove-photo {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}
.ig-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.ig-empty-plane {
    font-size: 4rem;
    animation: plane-float 3s ease-in-out infinite;
    margin-bottom: 16px;
}
.ig-empty h3 { margin-bottom: 8px; }
.ig-empty p { color: var(--text-secondary); margin-bottom: 20px; }

.ig-profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
.ig-profile-grid-item {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-elevated);
    border-radius: 4px;
}
.ig-profile-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ig-profile-text-post {
    padding: 12px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e0f2fe, #f1f5f9);
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        min-height: auto;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 40px; }
    .floating-card { display: none; }

    .d-none-mobile { display: none; }
    .messages-layout { grid-template-columns: 1fr; height: auto; }
    .messages-sidebar { border-right: none; border-bottom: 1px solid var(--border); max-height: 200px; }
    .reports-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .profile-header { flex-direction: column; text-align: center; align-items: center; }
    .event-detail-header { flex-direction: column; align-items: flex-start; }
    .ig-feed-layout { grid-template-columns: 1fr; }
    .ig-sidebar { position: static; }
    .ig-feed-stream { max-width: 100%; }
}

body.portal-page-body {
    background: var(--bg-page);
    color: var(--text-primary);
}

/* ========== Portal Ana Sayfa ========== */
.portal-page {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
}

.portal-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.portal-nav-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    gap: 32px;
}

.portal-nav-logo { flex-shrink: 0; }

.portal-nav-logo .site-logo-nav {
    height: 58px;
    max-height: calc(var(--nav-height) - 14px);
    width: auto;
}
.portal-nav-logo .logo-text {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.portal-nav-logo .logo-text strong {
    font-weight: 700;
    color: var(--accent);
}

.portal-nav-menu {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.portal-nav-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.portal-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: -0.01em;
    transition: color var(--transition);
    position: relative;
    background: transparent;
    white-space: nowrap;
}

.portal-nav-link .hi {
    font-size: 17px;
    color: var(--text-muted);
    transition: color var(--transition);
    flex-shrink: 0;
}

.portal-nav-link:hover {
    color: var(--primary-dark);
    background: transparent;
}

.portal-nav-link:hover .hi { color: var(--accent); }

.portal-nav-link.active {
    color: var(--primary-dark);
    font-weight: 600;
    background: transparent;
}

.portal-nav-link.active .hi { color: var(--accent); }

.portal-nav-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}

/* Ãœst menÃ¼ pill butonlarÄ± (referans tasarÄ±m) */
.btn-nav-soft {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--accent-soft);
    color: var(--accent-hover);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.btn-nav-soft:hover {
    background: #bfdbfe;
    color: var(--primary-dark);
}

.btn-nav-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn-nav-primary:hover {
    background: var(--primary);
    box-shadow: var(--shadow-md);
}

/* Site-wide top navigation */
.site-topnav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.site-topnav .portal-nav-inner,
.site-topnav.app-navbar .app-navbar-inner {
    max-width: 1280px;
    gap: 24px;
}

.site-topnav .app-nav-menu {
    flex: 1;
    justify-content: center;
}

.site-topnav .app-nav-links {
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
}

.site-topnav .nav-link.portal-nav-link {
    gap: 8px;
    padding: 10px 12px;
    font-size: 0.875rem;
}

.site-topnav .nav-link.portal-nav-link .hi {
    font-size: 17px;
    color: var(--text-muted) !important;
    opacity: 1 !important;
}

.site-topnav .nav-link.portal-nav-link:hover .hi,
.site-topnav .nav-link.portal-nav-link.active .hi {
    color: var(--accent) !important;
}

.site-topnav .nav-link.portal-nav-link:hover,
.site-topnav .nav-link.portal-nav-link.active {
    background: transparent;
    color: var(--primary-dark);
}

/* MasaÃ¼stÃ¼: yatay menÃ¼ (drawer stilleri sadece mobilde) */
@media (min-width: 992px) {
    .site-topnav .portal-nav-menu,
    .site-topnav .app-nav-menu {
        position: static;
        transform: none;
        width: auto;
        height: auto;
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        overflow: visible;
        box-shadow: none;
        background: transparent;
    }

    .site-topnav .portal-nav-links,
    .site-topnav .app-nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    .site-topnav .portal-nav-link,
    .site-topnav .nav-link.portal-nav-link {
        width: auto;
        flex-shrink: 0;
    }

    .portal-nav-inner {
        flex-wrap: nowrap;
    }
}

.portal-hero {
    position: relative;
    z-index: 1;
    padding: 32px 24px 24px;
}

.portal-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.portal-greeting {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 16px;
}

.portal-hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
}

.portal-hero-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 20px;
}

.portal-hero-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.portal-hero-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    padding: 8px 14px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.portal-featured {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #4f46e5 0%, #0ea5e9 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.portal-featured:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.portal-featured-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-bottom: 10px;
}

.portal-featured h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.portal-featured p {
    opacity: 0.92;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.portal-featured-link {
    font-weight: 600;
    font-size: 0.9rem;
}

.portal-layout {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 24px;
    align-items: start;
}

.portal-layout-two {
    grid-template-columns: 1fr 1fr;
    max-width: var(--container);
    gap: 24px;
}

.portal-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.portal-section-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.portal-col {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.portal-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.portal-more:hover { text-decoration: underline; }

.portal-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

.portal-empty .hi { display: block; margin: 0 auto 12px; }

.portal-news-list,
.portal-announce-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portal-news-card {
    display: flex;
    gap: 16px;
    padding: 16px 18px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.portal-news-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-sm);
}

.portal-news-date {
    flex-shrink: 0;
    width: 48px;
    text-align: center;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 10px 6px;
    line-height: 1.1;
    border: 1px solid var(--border);
}

.portal-news-day {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.portal-news-month {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.portal-news-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.35;
}

.portal-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.portal-branch {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(30, 58, 95, 0.06);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-top: 4px;
}

.portal-feed-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portal-post {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.portal-post:hover { box-shadow: var(--shadow-md); }

.portal-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.portal-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.portal-avatar-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.portal-post-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
}

.portal-post-meta strong { font-size: 0.95rem; }

.portal-post-meta time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.portal-post-media {
    display: block;
    background: #f1f5f9;
}

.portal-post-media img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.portal-post-text {
    padding: 12px 16px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.portal-post-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px 14px;
    border-top: 1px solid var(--border);
}

.portal-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.portal-stat.liked { color: #e11d48; }

.portal-login-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.portal-login-hint a {
    color: var(--primary-dark);
    font-weight: 600;
}

.portal-feed-cta {
    text-align: center;
    margin-top: 8px;
}

.portal-announce-card {
    display: block;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.portal-announce-card:hover {
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: var(--shadow-sm);
}

.portal-announce-onemli { border-left: 4px solid #d97706; }
.btn-nav-primary.btn-block,
.btn-nav-soft.btn-block { width: 100%; }

.portal-announce-acil { border-left: 4px solid var(--accent); background: #eff6ff; }

.portal-announce-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 8px 0 6px;
    line-height: 1.35;
}

.portal-announce-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.portal-announce-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.portal-join-card {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.portal-join-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.portal-join-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.portal-join-card .btn { margin-bottom: 8px; }

.portal-footer {
    position: relative;
    z-index: 1;
    margin-top: 48px;
    padding: 56px 32px 32px;
    border-top: 1px solid var(--border);
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
}

.portal-footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.portal-footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.65);
    max-width: 320px;
}

.portal-footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
}

.portal-footer-col a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    padding: 5px 0;
    transition: color var(--transition);
}

.portal-footer-col a:hover { color: #fff; }

.portal-footer-bottom {
    max-width: var(--container);
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.portal-footer-bottom .logo-wrap { opacity: 0.9; }

/* â€”â€” Hero v2 â€”â€” */
.portal-hero-v2 {
    position: relative;
    z-index: 1;
    background: var(--primary-dark);
    padding: 64px 32px 0;
    overflow: hidden;
}

.portal-hero-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(2, 132, 199, 0.1) 0%, transparent 55%);
    pointer-events: none;
}

.portal-hero-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    mask-image: linear-gradient(180deg, black 0%, transparent 100%);
}

.portal-hero-v2-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    padding-bottom: 64px;
}

.portal-hero-v2-content { color: #fff; }

.portal-hero-v2-content h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.portal-hero-v2-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.0625rem;
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.65;
}

.portal-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portal-hero-chips span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.portal-hero-chips span:first-child { padding-left: 0; }
.portal-hero-chips span:last-child { border-right: none; }

.portal-hero-chips span .hi { display: none; }

.portal-hero-chips span::before {
    content: attr(data-value);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.portal-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.portal-hero-actions .btn-primary {
    background: var(--accent);
    padding: 13px 28px;
    font-size: 0.9375rem;
}
.portal-hero-actions .btn-primary:hover { background: var(--accent-hover); }

.portal-hero-actions .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    padding: 13px 28px;
    font-size: 0.9375rem;
}
.portal-hero-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.portal-hero-featured-mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    max-width: 100%;
    transition: background var(--transition), border-color var(--transition);
}

.portal-hero-featured-mini:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.portal-hero-v2-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.portal-hero-v2-visual .site-logo-hero {
    height: min(280px, 36vw);
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
    animation: none;
}

.portal-hero-wave {
    position: relative;
    height: 1px;
    background: var(--bg-page);
}

/* â€”â€” BÃ¶lÃ¼m baÅŸlÄ±klarÄ± â€”â€” */
.portal-section {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 64px 32px;
}

.portal-content-section {
    padding-top: 32px;
    padding-bottom: 80px;
}

.portal-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.portal-section-title-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portal-section-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 10px;
}

.portal-section-title h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.portal-section-title p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    max-width: 520px;
    line-height: 1.6;
}

.portal-scroll-btns {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.portal-scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.portal-scroll-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--border-hover);
    color: var(--text-primary);
}

/* â€”â€” Åube topluluk kartlarÄ± â€”â€” */
.portal-communities-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 4px 16px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.portal-communities-track::-webkit-scrollbar { height: 6px; }
.portal-communities-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.portal-community-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    transition: box-shadow var(--transition), border-color var(--transition);
    box-shadow: var(--shadow-sm);
}

.portal-community-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.portal-community-mine {
    border-color: rgba(30, 58, 95, 0.25);
    box-shadow: var(--shadow-md);
}

.portal-community-mine::before {
    content: '';
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
}

.portal-community-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.portal-community-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.portal-community-code {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-dark);
    background: var(--bg-elevated);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.portal-community-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-community-icon .hi { color: var(--primary) !important; opacity: 1 !important; }

.portal-community-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1.35;
    padding-right: 60px;
}

.portal-community-mine h3 { padding-right: 80px; }

.portal-community-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.portal-community-type {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.portal-community-stats {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.portal-community-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.portal-footer .logo-text {
    color: rgba(255, 255, 255, 0.9);
}
.portal-footer .logo-text strong {
    color: #fff;
}

.portal-community-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
    transition: color var(--transition);
}
.portal-community-link:hover { color: var(--accent); }

.portal-community-link.muted {
    color: var(--text-muted);
    font-weight: 500;
    cursor: default;
}
.portal-community-link.muted:hover { color: var(--text-muted); text-decoration: none; }

/* â€”â€” Foto galeri â€”â€” */
.portal-gallery-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.portal-gallery-section .portal-section-title,
.portal-gallery,
.portal-gallery-empty,
.portal-gallery-more {
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
}

.portal-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
}

.portal-gallery-item {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    background: var(--bg-elevated);
}

.portal-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.portal-gallery-item:hover img {
    transform: scale(1.06);
}

.portal-gallery-item-1 { grid-row: span 2; }
.portal-gallery-item-3 { grid-column: span 2; }
.portal-gallery-item-6 { grid-row: span 2; }
.portal-gallery-item-8 { grid-column: span 2; }

.portal-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.25s;
}

.portal-gallery-item:hover .portal-gallery-overlay { opacity: 1; }

.portal-gallery-branch {
    font-size: 0.72rem;
    font-weight: 700;
    color: #fde68a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.portal-gallery-user {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.portal-gallery-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border);
}

.portal-gallery-empty .hi { display: block; margin: 0 auto 12px; }
.portal-gallery-empty p { margin-bottom: 16px; }

.portal-gallery-more {
    text-align: center;
    margin-top: 20px;
    padding-bottom: 8px;
}

/* Lightbox */
.portal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.portal-lightbox[hidden] { display: none; }

.portal-lightbox img {
    max-width: min(920px, 100%);
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.portal-lightbox p {
    color: #e2e8f0;
    margin-top: 14px;
    font-size: 0.95rem;
}

.portal-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.portal-gallery-desc {
    font-size: 0.78rem;
    color: #cbd5e1;
    margin-top: 2px;
}

.portal-gallery-full {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px 48px;
}

.galeri-page {
    max-width: 1280px;
    padding-top: 24px;
}

.galeri-admin-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}

.galeri-admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.galeri-admin-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}

.galeri-admin-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.galeri-admin-item-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
}

.admin-back-link {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 0.9rem;
    text-decoration: none;
}
.admin-back-link:hover { text-decoration: underline; }

.admin-settings-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.admin-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.admin-setting-row p {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.admin-sync-result {
    font-size: 0.85rem;
    margin-left: 8px;
}
.admin-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.admin-search {
    max-width: 280px;
    min-width: 180px;
}
.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table th {
    background: var(--surface-alt, #f8fafc);
    font-weight: 600;
    white-space: nowrap;
}
.admin-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.04);
}
.admin-table code {
    font-size: 0.8rem;
}
.admin-sayman-cell {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 140px;
    line-height: 1.35;
}
.admin-sayman-cell strong {
    font-weight: 600;
}
.admin-sayman-cell .text-muted {
    font-size: 0.82rem;
}
.admin-sayman-tel {
    font-size: 0.82rem;
    color: var(--primary, #2563eb);
    text-decoration: none;
}
.admin-sayman-tel:hover {
    text-decoration: underline;
}
.admin-inline-sep {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 8px 0;
}
.admin-table-actions {
    width: 1%;
    white-space: nowrap;
    text-align: right;
}
.admin-table td.admin-table-actions .btn {
    min-width: 72px;
}
.admin-table-sub {
    display: block;
    font-size: 0.78rem;
    margin-bottom: 2px;
}
.admin-toolbar-filters {
    align-items: center;
    gap: 12px;
}
.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.admin-filter-tab {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.admin-filter-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary-dark);
}
.admin-filter-tab.is-active {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--primary-dark);
}
.text-muted { color: var(--text-secondary); }

.portal-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

@media (max-width: 1100px) {
    .portal-layout {
        grid-template-columns: 1fr 1fr;
    }
    .portal-layout-two {
        grid-template-columns: 1fr;
    }
    .portal-col-feed {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 991px) {
    .nav-mobile-only { display: flex !important; }
    .nav-desktop-only { display: none !important; }

    .nav-toggle.nav-mobile-only { display: flex; }

    .app-navbar-inner,
    .portal-nav-inner { gap: 12px; }

    .app-nav-menu,
    .portal-nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: #fff;
        box-shadow: -4px 0 24px rgba(15, 23, 42, 0.12);
        z-index: 120;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        flex: none;
    }

    /* Mobilde menÃ¼ kapalÄ±yken header'da gÃ¶rÃ¼nmesin */
    .responsive-nav:not(.is-open) .portal-nav-menu,
    .responsive-nav:not(.is-open) .app-nav-menu {
        visibility: hidden;
        pointer-events: none;
    }

    .responsive-nav.is-open .portal-nav-menu,
    .responsive-nav.is-open .app-nav-menu {
        visibility: visible;
        pointer-events: auto;
    }

    .app-nav-links,
    .portal-nav-links {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2px;
        padding: 8px 12px;
        overflow-x: visible;
        flex: 1;
    }

    .app-nav-links .nav-label { display: inline; }

    .responsive-nav.is-open .app-nav-menu,
    .responsive-nav.is-open .portal-nav-menu {
        transform: translateX(0);
    }

    .site-topnav .portal-nav-menu .portal-nav-link,
    .site-topnav .app-nav-menu .nav-link {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-link { gap: 12px; }

    .portal-nav-link { font-size: 1rem; }

    .portal-nav .nav-toggle { margin-left: auto; }
}

@media (max-width: 768px) {
    .portal-hero-inner,
    .portal-hero-v2-inner { grid-template-columns: 1fr; }
    .portal-hero-v2 { padding: 48px 20px 0; }
    .portal-hero-v2-visual { order: -1; }
    .portal-hero-v2-visual .site-logo-hero { max-width: 180px; height: auto; }
    .portal-hero-chips span { padding: 0 16px; }
    .portal-hero-chips span::before { font-size: 1.4rem; }
    .portal-section { padding: 48px 20px; }
    .portal-nav-inner { padding: 0 20px; }
    .portal-footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .portal-footer { padding: 40px 20px 24px; }
    .portal-layout { grid-template-columns: 1fr; }
    .portal-col-feed { order: 0; }
    .portal-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .portal-gallery-item-1,
    .portal-gallery-item-6 { grid-row: span 1; }
    .portal-gallery-item-3,
    .portal-gallery-item-8 { grid-column: span 1; }
    .portal-community-card { flex: 0 0 260px; }
}

@media (max-width: 600px) {
    .auth-card { padding: 28px 20px; }
    .landing-nav-actions .btn-ghost { display: none; }
    .features-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Genc Kanat Ana Sayfa
   ============================================ */
.gk-home-body { background: #fff; }

.gk-home {
    font-family: "Quicksand", "Outfit", sans-serif;
    line-height: 1.7;
}

.gk-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.gk-eyebrow,
.gk-section-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 12px;
}

.gk-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.gk-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--text-primary);
}

.gk-section-head-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.gk-section-head-center p {
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: 8px;
    line-height: 1.6;
}

.gk-link-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    transition: color var(--transition);
}
.gk-link-all:hover { color: var(--primary-dark); }

.gk-empty {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    background: var(--bg-elevated);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
}

/* Navbar â€” gk-home overrides */
.gk-nav.site-topnav { border-bottom: 1px solid var(--border); }

/* Hero */
.gk-hero {
    background: #f5f7fa;
    color: var(--text-primary);
    padding: 72px 0 80px;
    position: relative;
    overflow: hidden;
}

.gk-hero::before,
.gk-hero::after {
    content: none;
}

.gk-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.gk-hero-content h1,
.gk-pillar h3,
.gk-about-content h2,
.gk-section-head h2,
.gk-branches .portal-section-title h2,
.gk-slogan h2,
.gk-photo-card strong {
    font-family: "Rubik Dirt", cursive;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.gk-hero-content h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 18px;
    color: var(--primary-dark);
}

.gk-hero-content h1 em {
    font-style: normal;
    color: #2458a6;
    display: block;
    margin-top: 4px;
}

.gk-hero-lead {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 28px;
}

.gk-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.gk-hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    max-width: 540px;
}

.gk-hero-points li {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.1);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--primary-dark);
}

.btn-nav-soft.btn-lg,
.btn-nav-primary.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
}

.gk-hero-actions .btn-nav-primary,
.gk-about-invite .btn-nav-primary,
.gk-closer .btn-nav-primary,
.gk-join-cta .btn-nav-primary,
.portal-community-cta {
    background: var(--primary);
    color: #fff;
}
.gk-hero-actions .btn-nav-primary:hover,
.gk-about-invite .btn-nav-primary:hover,
.gk-closer .btn-nav-primary:hover,
.gk-join-cta .btn-nav-primary:hover,
.portal-community-cta:hover {
    background: var(--primary-light);
    color: #fff;
}

.gk-hero-actions .btn-nav-soft {
    background: var(--accent-soft);
    color: var(--accent-hover);
}
.gk-hero-actions .btn-nav-soft:hover {
    background: #bfdbfe;
    color: var(--primary-dark);
}

.gk-hero-featured {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 100%;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), border-color var(--transition);
}
.gk-hero-featured:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.25);
}

.gk-hero-featured-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.gk-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gk-hero-photo {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 42%;
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 28px 48px -28px rgba(15, 39, 68, 0.55);
}

.gk-hero-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    margin: 0;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(14px);
    color: var(--primary-dark);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.gk-hero-visual .site-logo-hero {
    height: min(260px, 34vw);
    filter: drop-shadow(0 16px 32px rgba(30, 58, 95, 0.12));
}

/* Pillars */
.gk-pillars {
    background: #fff;
    margin-top: -1px;
    padding: 0;
    position: relative;
    z-index: 2;
}

.gk-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.gk-pillar {
    padding: 36px 28px;
    background: #fff;
    border-right: 1px solid var(--border);
    text-align: center;
    transition: background var(--transition);
}

.gk-pillar:last-child { border-right: none; }
.gk-pillar:hover { background: var(--bg-elevated); }

.gk-pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.gk-pillar-svg {
    width: 28px;
    height: 28px;
    display: block;
}

.gk-pillar-icon .hi { font-size: 1.5rem; color: #fff !important; }

.gk-pillar-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.gk-pillar h3 {
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.gk-pillar p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* News */
.gk-news {
    padding: 72px 0;
    background: var(--bg-page);
}

.gk-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gk-news-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    color: inherit;
}

.gk-news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.gk-news-card-media {
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.gk-news-card-media .hi { opacity: 0.25; }

.gk-news-card-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
}

.gk-news-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gk-news-card-branch {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
}

.gk-news-card-body h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.gk-news-card-body p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 12px;
}

.gk-news-card-more {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* About */
.gk-about {
    padding: 72px 0;
    background: #fff;
}

.gk-about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    align-items: start;
}

.gk-about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.gk-about-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}

.gk-about-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gk-about-photo {
    width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center 46%;
    border-radius: 24px;
}

.gk-about-invite {
    background: #f5f7fa;
    color: var(--text-primary);
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 20px;
    padding: 20px;
}

.gk-about-invite p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 16px;
}

.gk-about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gk-about-stat {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
}

.gk-about-stat strong {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.gk-about-stat span {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

#hakkimizda,
#nasil-genc-kanat,
#subeler,
#instagram,
#iletisim {
    scroll-margin-top: calc(var(--nav-height) + 12px);
}

.gk-join {
    padding: 80px 0;
    background: #fff;
}

.gk-join-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gk-join-step {
    background: #f5f7fa;
    border: 1px solid rgba(15, 39, 68, 0.06);
    border-radius: 20px;
    padding: 28px 24px;
}

.gk-join-num {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    color: #2458a6;
    font-weight: 700;
}

.gk-join-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.gk-join-step p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.gk-join-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Values */
.gk-values {
    padding: 72px 0;
    background: var(--bg-page);
}

.gk-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gk-value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.gk-value-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.25);
}

.gk-value-num {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(37, 99, 235, 0.2);
    line-height: 1;
    margin-bottom: 12px;
}

.gk-value-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.gk-value-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* GÃ¶kyÃ¼zÃ¼ sahnesi */
.gk-sky {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #6eaceb 0%, #a9d4f8 46%, #eef6ff 100%);
}

.gk-sky-clouds {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gk-cloud {
    position: absolute;
    left: 0;
    height: auto;
    overflow: visible;
    animation: gk-cloud linear infinite;
}

.gk-cloud-a {
    width: 340px;
    top: 16%;
    animation-duration: 46s;
    animation-delay: -12s;
}

.gk-cloud-b {
    width: 210px;
    top: 48%;
    opacity: 0.78;
    animation-duration: 58s;
    animation-delay: -28s;
}

.gk-cloud-c {
    width: 420px;
    top: 6%;
    opacity: 0.92;
    animation-duration: 52s;
    animation-delay: -36s;
}

.gk-cloud-d {
    width: 160px;
    top: 62%;
    opacity: 0.62;
    animation-duration: 64s;
    animation-delay: -18s;
}

.gk-sky-marquee {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: rgba(15, 39, 68, 0.9);
    color: #fff;
}

.gk-sky-marquee-rev {
    background: rgba(255, 255, 255, 0.55);
    color: #0f2744;
}

.gk-sky-marquee-track {
    display: flex;
    width: max-content;
    animation: gk-marquee 28s linear infinite;
}

.gk-sky-marquee-rev .gk-sky-marquee-track {
    animation-direction: reverse;
    animation-duration: 34s;
}

.gk-sky-marquee-group {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 12px 14px;
}

.gk-sky-marquee-group span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.gk-sky-marquee-group span::after {
    content: 'âœˆ';
    margin-left: 28px;
    font-size: 0.85rem;
    letter-spacing: 0;
}

.gk-sky-stage {
    position: relative;
    z-index: 1;
    height: clamp(380px, 46vw, 500px);
    max-width: 1200px;
    margin: 0 auto;
}

.gk-sky-ghost {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%);
    font-size: clamp(5.5rem, 16vw, 11rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(15, 39, 68, 0.16);
    pointer-events: none;
    user-select: none;
}

.gk-sky-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.gk-sky-stickers {
    list-style: none;
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 0;
}

.gk-sticker {
    --tilt: -8deg;
    position: absolute;
    padding: 16px 22px 18px;
    border-radius: 18px 22px 16px 24px;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    transform: rotate(var(--tilt));
    box-shadow: 0 14px 30px rgba(15, 39, 68, 0.16);
    transition: transform 0.25s ease;
    cursor: default;
}

.gk-sticker::before {
    content: '';
    position: absolute;
    top: -11px;
    left: 50%;
    width: 58px;
    height: 16px;
    transform: translateX(-50%) rotate(3deg);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.gk-sticker:hover {
    transform: rotate(0deg) scale(1.08);
    z-index: 3;
}

.gk-sticker-1 { --tilt: -8deg; left: 5%; top: 20%; background: #fff; color: #0f2744; }
.gk-sticker-2 { --tilt: 6deg; left: 27%; top: 52%; background: #0f2744; color: #fff; font-size: clamp(2rem, 3.4vw, 3rem); }
.gk-sticker-3 { --tilt: -4deg; left: 48%; top: 10%; background: #ffe566; color: #0f2744; }
.gk-sticker-4 { --tilt: 5deg; left: 60%; top: 50%; background: transparent; color: #0f2744; border: 2px solid rgba(15, 39, 68, 0.45); box-shadow: none; }
.gk-sticker-5 { --tilt: -7deg; right: 5%; top: 18%; background: #fff; color: #1e3a5f; }

@keyframes gk-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes gk-cloud {
    from { transform: translateX(-40vw); }
    to { transform: translateX(120vw); }
}

@media (prefers-reduced-motion: reduce) {
    .gk-sky-marquee-track,
    .gk-cloud { animation: none; }
    .gk-cloud-a { transform: translateX(6vw); }
    .gk-cloud-b { transform: translateX(28vw); }
    .gk-cloud-c { transform: translateX(52vw); }
    .gk-cloud-d { transform: translateX(74vw); }
    .gk-sky-route { display: none; }
}

.gk-photo-band {
    padding: 0 0 8px;
    background: #fff;
}

.gk-photo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gk-photo-card {
    position: relative;
    margin: 0;
    min-height: 280px;
    overflow: hidden;
}

.gk-why {
    background: #f5f7fa;
    color: var(--text-primary);
    padding: 72px 0;
}

.gk-why .gk-stats-intro {
    color: var(--text-secondary);
    opacity: 1;
    max-width: 640px;
}

.gk-why .gk-stats-grid {
    gap: 16px;
}

.gk-why .gk-stat-item {
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 20px;
    padding: 24px 22px;
    text-align: left;
}

.gk-why .gk-stat-item strong {
    font-family: var(--font);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.gk-why .gk-stat-item span {
    color: var(--text-secondary);
    opacity: 1;
    font-size: 0.95rem;
}

.gk-photo-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gk-photo-card:hover img { transform: scale(1.05); }

.gk-photo-card figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 48px 18px 16px;
    background: linear-gradient(to top, rgba(12, 28, 48, 0.78), transparent);
    color: #fff;
}

.gk-photo-card strong {
    display: block;
    font-size: 1.25rem;
}

.gk-photo-card span {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Stats band */
.gk-stats-band {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: #fff;
    padding: 56px 0;
}

.gk-stats-intro {
    text-align: center;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 36px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.gk-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.gk-stat-item strong {
    display: block;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
}

.gk-stat-item span {
    font-size: 0.8125rem;
    font-weight: 500;
    opacity: 0.85;
    line-height: 1.4;
}

/* Branches section override */
.gk-branches {
    padding: 72px 0;
    background: #fff;
    max-width: none;
}

.gk-branches .portal-section-title { margin-bottom: 28px; }
.gk-branches .portal-communities-track { padding-left: 0; }

/* Announcements */
.gk-announcements {
    padding: 72px 0;
    background: var(--bg-page);
}

.gk-announce-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gk-announce-card {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    color: inherit;
    transition: box-shadow var(--transition), border-color var(--transition);
}

.gk-announce-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.gk-announce-onemli { border-left: 4px solid var(--warning); }
.gk-announce-acil { border-left: 4px solid var(--accent); background: #eff6ff; }

.gk-announce-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.gk-announce-pin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--warning);
    font-weight: 600;
}

.gk-announce-card h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

.gk-announce-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 10px;
}

.gk-join-panel {
    background: var(--primary-dark);
    color: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gk-join-panel h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gk-join-panel p {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.gk-join-panel .btn-primary { background: var(--accent); }
.gk-join-panel .btn-primary:hover { background: var(--accent-hover); }
.gk-join-panel .btn-ghost {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.3);
}
.gk-join-panel .btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Slogan */
.gk-slogan {
    background: var(--primary-dark);
    color: #fff;
    padding: 48px 0;
    text-align: center;
    border-top: 4px solid var(--accent);
}

.gk-slogan h2 {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    margin-bottom: 8px;
}

.gk-slogan p {
    font-size: 0.875rem;
    opacity: 0.65;
    letter-spacing: 0.04em;
}

/* Ana sayfa gövde metni — Quicksand */
.gk-home .gk-eyebrow,
.gk-home .gk-section-tag {
    font-size: 1.05rem;
}
.gk-home .gk-hero-lead { font-size: 1.2rem; }
.gk-home .gk-hero-points li { font-size: 0.95rem; }
.gk-home .btn,
.gk-home .btn-lg,
.gk-home .btn-nav-soft,
.gk-home .btn-nav-primary,
.gk-home .btn-nav-soft.btn-lg,
.gk-home .btn-nav-primary.btn-lg {
    font-size: 1.35rem;
}
.gk-home .gk-hero-featured { font-size: 1.25rem; }
.gk-home .gk-hero-featured-tag { font-size: 1rem; }
.gk-home .gk-pillar-label { font-size: 1.1rem; }
.gk-home .gk-pillar p { font-size: 1.25rem; }
.gk-home .gk-about-content p { font-size: 1.3rem; }
.gk-home .gk-about-stat span { font-size: 1.15rem; }
.gk-home .gk-join-step h3 { font-size: 1.45rem; }
.gk-home .gk-join-step p { font-size: 1.25rem; }
.gk-home .gk-section-head p,
.gk-home .portal-section-title p { font-size: 1.3rem; }
.gk-home .gk-value-card h3 { font-size: 1.45rem; }
.gk-home .gk-value-card p { font-size: 1.25rem; }
.gk-home .gk-photo-card span { font-size: 1.2rem; }
.gk-home .gk-stats-intro { font-size: 1.4rem; }
.gk-home .gk-stat-item span { font-size: 1.15rem; }
.gk-home .gk-slogan p { font-size: 1.25rem; }
.gk-home .portal-nav-link { font-size: 1.2rem; }
.gk-home .portal-community-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 20px;
    box-shadow: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gk-home .portal-community-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 32px -22px rgba(15, 39, 68, 0.5);
    border-color: rgba(15, 39, 68, 0.08);
}

.gk-home .portal-community-card h3 {
    padding-right: 0;
    font-size: 1.45rem;
}

.gk-home .portal-community-header {
    justify-content: flex-start;
}

.portal-community-cta {
    margin-top: auto;
    align-self: flex-start;
    padding: 9px 14px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.portal-community-cta:hover {
    background: var(--primary-light);
    color: #fff !important;
}

.gk-closer {
    background: #f5f7fa;
    padding: 8px 0 80px;
}

.gk-closer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 32px 36px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(15, 39, 68, 0.08);
    color: var(--text-primary);
}

.gk-closer h2 {
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.gk-closer p {
    max-width: 460px;
    color: var(--text-secondary);
}

.gk-closer .gk-section-tag { color: #2458a6; }
.gk-home .portal-community-loc,
.gk-home .portal-community-stats,
.gk-home .portal-community-link { font-size: 1.15rem; }
.gk-home .portal-community-type,
.gk-home .portal-community-code { font-size: 1.05rem; }
.gk-home .portal-community-badge { font-size: 0.95rem; }
.gk-home .portal-footer-brand p,
.gk-home .portal-footer-col a { font-size: 1.2rem; }
.gk-home .portal-footer-col h4 { font-size: 1rem; }
.gk-home .portal-footer-bottom { font-size: 1.1rem; }

/* GK responsive */
@media (max-width: 1100px) {
    .gk-news-grid { grid-template-columns: repeat(2, 1fr); }
    .gk-values-grid { grid-template-columns: repeat(2, 1fr); }
    .gk-sky-stage { height: 420px; }
    .gk-sticker-2 { left: 18%; }
    .gk-sticker-4 { left: 52%; }
    .gk-announce-grid { grid-template-columns: repeat(2, 1fr); }
    .gk-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .gk-container { padding: 0 20px; }
    .gk-hero { padding: 40px 0 48px; }
    .gk-hero-grid { grid-template-columns: 1fr; }
    .gk-hero-visual { order: -1; }
    .gk-hero-photo { height: 220px; }
    .gk-hero-badge { left: 12px; bottom: 16px; }
    .gk-closer-inner { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
    .gk-photo-grid { grid-template-columns: 1fr 1fr; }
    .gk-pillars-grid { grid-template-columns: 1fr; border-radius: 0; }
    .gk-pillar { border-right: none; border-bottom: 1px solid var(--border); }
    .gk-about-grid { grid-template-columns: 1fr; gap: 32px; }
    .gk-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .gk-sky-stage { height: auto; }
    .gk-sky-ghost,
    .gk-sky-route { display: none; }
    .gk-sky-stickers {
        position: relative;
        inset: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px 14px;
        padding: 36px 16px 40px;
    }
    .gk-sticker { position: relative; left: auto; right: auto; top: auto; }
    .gk-news-grid { grid-template-columns: 1fr; }
    .gk-values-grid { grid-template-columns: 1fr; }
    .gk-join-steps { grid-template-columns: 1fr; }
    .gk-announce-grid { grid-template-columns: 1fr; }
    .gk-section-head { flex-direction: column; align-items: flex-start; }
    .gk-news, .gk-about, .gk-values, .gk-join, .gk-branches, .gk-announcements { padding: 48px 0; }
}

/* â€”â€” BaÅŸvuru formu (Ã§ok adÄ±mlÄ±) â€”â€” */
.register-wizard-page .auth-page {
    align-items: flex-start;
    justify-content: center;
    padding: 24px 20px 48px;
    width: 100%;
}
.register-wizard-page main {
    width: 100%;
}
.reg-wizard-page {
    width: 100%;
    max-width: min(1140px, 96vw);
    margin: 0 auto;
}
.reg-wizard-card {
    width: 100%;
    background: var(--surface);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-lg, 0 12px 40px rgba(15, 23, 42, 0.08));
    padding: 32px 40px 24px;
    border: 1px solid var(--border);
    box-sizing: border-box;
}
.reg-wizard-header { text-align: center; margin-bottom: 20px; }
.reg-wizard-header h1 { font-size: 1.35rem; font-weight: 700; margin: 12px 0 4px; }
.reg-wizard-header p { color: var(--text-secondary); font-size: 0.9rem; }
.reg-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}
.reg-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: background 0.2s, transform 0.2s;
}
.reg-progress-dot.active { background: var(--accent, #2563eb); transform: scale(1.2); }
.reg-progress-dot.done { background: #93c5fd; }
.reg-step { display: none; }
.reg-step.active { display: block; }
.reg-section-bar {
    background: linear-gradient(135deg, var(--accent, #2563eb), #1d4ed8);
    color: #fff;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-md, 10px);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.reg-section-bar--info { margin-top: 20px; background: linear-gradient(135deg, #475569, #334155); }
.reg-field-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md, 10px);
    padding: 14px 16px;
    margin-bottom: 12px;
}
.reg-field-card label, .reg-label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.reg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reg-radio-group, .reg-radio-stack { display: flex; flex-direction: column; gap: 8px; }
.reg-radio-group label, .reg-radio-stack label, .reg-kvkk-check label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.req { color: #dc2626; }
.reg-hint, .reg-file-hint, .reg-kvkk-note { font-size: 0.85rem; color: var(--text-secondary); margin: 0 0 12px; }
.reg-map-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}
.reg-map-stage {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
.reg-map-wrap {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reg-map-svg {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.reg-map-legend {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin: 10px 0 0;
}
.reg-map-wrap .reg-il path { fill: #cbd5e1; stroke: #fff; stroke-width: 0.5; transition: fill 0.15s; }
.reg-map-wrap .reg-il { cursor: pointer; }
.reg-map-wrap .reg-il:hover path { fill: #93c5fd; }
.reg-map-wrap .reg-il.reg-il-has-sube path { fill: #93c5fd; }
.reg-map-wrap .reg-il.reg-il-has-sube:hover path { fill: #60a5fa; }
.reg-map-wrap .reg-il.selected path { fill: var(--accent, #2563eb); }
.reg-map-loading { text-align: center; padding: 40px; color: var(--text-secondary); }

.reg-grup-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.reg-grup-tab {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
    position: relative;
}

.reg-grup-tab input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.reg-grup-tab span {
    display: block;
    text-align: center;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: #fff;
    transition: var(--transition);
}

.reg-grup-tab input:checked + span {
    border-color: var(--accent);
    background: #eff6ff;
    color: var(--primary-dark);
}

.reg-grup-panel[hidden] {
    display: none !important;
}

.reg-sube-panel {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    background: #fff;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}
.reg-selected-il {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.reg-sube-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}
.reg-sube-item {
    text-align: left;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.reg-sube-item:hover { border-color: var(--accent); background: #eff6ff; }
.reg-sube-item.selected { border-color: var(--accent); background: #dbeafe; }
.reg-sube-item strong { display: block; font-size: 0.88rem; }
.reg-sube-item span { font-size: 0.78rem; color: var(--text-secondary); }
.reg-sube-placeholder { font-size: 0.88rem; color: var(--text-secondary); }
.reg-sube-chosen {
    margin-top: 12px;
    padding: 10px;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
    font-size: 0.88rem;
}
.reg-info-box {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
.reg-info-box ul { margin: 0; padding-left: 18px; }
.reg-info-box li { margin-bottom: 6px; }
.reg-wizard-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 5;
}
.reg-nav-hidden { display: none !important; }
.reg-wizard-nav .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}
.reg-btn-clear { margin-left: auto; font-size: 0.85rem; }
.reg-errors-top { margin-bottom: 16px; }

@media (max-width: 768px) {
    .reg-wizard-card { padding: 20px 16px; }
    .reg-field-row { grid-template-columns: 1fr; }
    .reg-sube-list { grid-template-columns: 1fr; }
    .reg-btn-clear { margin-left: 0; width: 100%; }
}

/* BaÅŸvuru detay (admin) */
.basvuru-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.basvuru-detail-wide { grid-column: 1 / -1; }
.basvuru-detail-section h2 {
    font-size: 1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.basvuru-dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 16px;
    margin: 0;
    font-size: 0.9rem;
}
.basvuru-dl dt {
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0;
}
.basvuru-dl dd { margin: 0; }
.basvuru-dl-stack { grid-template-columns: 1fr; }
.basvuru-dl-stack dt { margin-top: 8px; }
.basvuru-dl a { color: var(--accent, #2563eb); }
.basvuru-detail-actions {
    position: sticky;
    bottom: 0;
    background: var(--surface, #fff);
    border: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}
.basvuru-review-note {
    margin: 0 0 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.basvuru-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .basvuru-detail-grid { grid-template-columns: 1fr; }
    .basvuru-dl { grid-template-columns: 1fr; }
}

/* SweetAlert2 â€” GenÃ§ Kanatlar tema */
.gk-swal-popup {
    font-family: 'Outfit', system-ui, sans-serif !important;
    border-radius: 16px !important;
}
.gk-swal-title {
    font-weight: 700 !important;
    color: var(--primary-dark) !important;
}
.gk-swal-confirm,
.gk-swal-cancel {
    font-family: inherit !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
}
.gk-swal-list {
    text-align: left;
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.6;
}

.basvuru-member-card { margin-bottom: 20px; }
.basvuru-member-profile {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}
.basvuru-member-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.basvuru-member-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}
.basvuru-member-meta h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
}
.basvuru-member-meta p {
    margin: 4px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.basvuru-member-bio {
    margin-top: 12px !important;
    color: var(--text-primary) !important;
}
.basvuru-member-stats {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin: 0;
}

/* Instagram Feed Bölümü */
.gk-instagram {
    padding: 72px 0;
    background: #f8fafc;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.gk-instagram-feed-wrap {
    margin-top: 32px;
    width: 100%;
    min-height: 200px;
    position: relative;
}
/* Elfsight Free Rozeti / Filigranı Gizleme */
a[href*="elfsight"],
a[class*="elfsight"],
a[class*="eapps-link"],
[class*="BadgeContainer"],
[class*="WidgetBadge"],
[class*="Badge__BadgeContainer"],
[class*="Badge__Container"],
[class*="Badge__"],
[class*="WidgetTitle__WidgetTitleRoot"],
[class*="FloatingButton"],
[data-testid*="badge"],
div:has(> a[href*="elfsight"]),
div[class*="badge"]:has(a[href*="elfsight"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    clip: rect(0, 0, 0, 0) !important;
    transform: scale(0) !important;
    z-index: -9999 !important;
}
@media (max-width: 768px) {
    .gk-instagram {
        padding: 48px 0;
    }
}


/* Admin — il bazlı üye yoğunluğu haritası */
.admin-map {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
}
.admin-map-stage { position: relative; }
.admin-map-svg svg { width: 100%; height: auto; display: block; }
.admin-map-svg path,
.admin-map-legend i { fill: #eef1f5; background: #eef1f5; }
.admin-map-svg path { stroke: #fff; stroke-width: 0.4; transition: fill .15s ease; }
.admin-map .lvl-1 path, .admin-map-legend .lvl-1 { fill: #c3dbf5; background: #c3dbf5; }
.admin-map .lvl-2 path, .admin-map-legend .lvl-2 { fill: #8bbbe9; background: #8bbbe9; }
.admin-map .lvl-3 path, .admin-map-legend .lvl-3 { fill: #4f93d6; background: #4f93d6; }
.admin-map .lvl-4 path, .admin-map-legend .lvl-4 { fill: #1f6bb5; background: #1f6bb5; }
.admin-map .lvl-5 path, .admin-map-legend .lvl-5 { fill: #084a8c; background: #084a8c; }
.admin-map g.has-data { cursor: pointer; }
.admin-map g.has-data:hover path { fill: #f59e0b; }
.admin-map g.is-selected path { fill: #e11d48; }
.admin-map-tip {
    position: absolute;
    pointer-events: none;
    transform: translate(-50%, -130%);
    background: #0f172a;
    color: #fff;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 2;
}
.admin-map-tip small { display: block; font-size: 12px; opacity: .75; }
.admin-map-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.admin-map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.admin-map-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.admin-map-panel {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-self: start;
}
.admin-map-panel h3 { font-size: 1.15rem; margin: 0 0 4px; }
.admin-map-panel h4 { font-size: 0.85rem; margin: 18px 0 8px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.admin-map-panel > p { font-size: 0.85rem; margin: 0; line-height: 1.5; }
.admin-map-ranking,
.admin-map-list {
    list-style: none;
    padding: 0 4px 0 0;
    margin: 14px 0 0;
    display: grid;
    align-content: start;
    gap: 6px;
    max-height: 300px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.admin-map-list { margin-top: 0; }
.admin-map-ranking button {
    width: 100%;
    display: grid;
    grid-template-columns: 22px 1fr auto;
    align-items: center;
    gap: 4px 8px;
    padding: 8px 10px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 0.9rem;
    text-align: left;
    cursor: pointer;
}
.admin-map-ranking button:hover { background: #eef4fb; }
.admin-map-rank { color: var(--text-secondary); font-size: 0.8rem; }
.admin-map-bar { grid-column: 2 / -1; height: 4px; border-radius: 4px; background: #e2e8f0; overflow: hidden; }
.admin-map-bar i { display: block; height: 100%; background: #1f6bb5; }
.admin-map-back {
    align-self: flex-start;
    border: 0;
    background: none;
    padding: 0;
    margin-bottom: 8px;
    font: inherit;
    font-size: 0.85rem;
    color: var(--primary-light);
    cursor: pointer;
}
.admin-map-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.admin-map-stats div { background: #fff; border-radius: 8px; padding: 10px; text-align: center; }
.admin-map-stats strong { display: block; font-size: 1.3rem; color: var(--primary-dark); }
.admin-map-stats span { font-size: 0.75rem; color: var(--text-secondary); }
.admin-map-roles { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 0.85rem; color: var(--text-secondary); }
.admin-map-roles strong { color: var(--text-primary, #0f172a); }
.admin-map-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.85rem;
}
.admin-map-list li div { display: flex; flex-direction: column; min-width: 0; }
.admin-map-list li span { font-size: 0.8rem; }
.admin-map-list .btn-sm { flex-shrink: 0; }
@media (max-width: 900px) {
    .admin-map { grid-template-columns: 1fr; }
}
.admin-yonetici-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    max-width: 720px;
}
.admin-yonetici-form > div:last-child { grid-column: 1 / -1; }
@media (max-width: 640px) {
    .admin-yonetici-form { grid-template-columns: 1fr; }
}.admin-yonetici-hint {
    grid-column: 1 / -1;
    margin: -4px 0 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.admin-yonetici-form [hidden] { display: none; }