﻿/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: "Outfit", sans-serif;
    background: #f5f5f5;
}

:root {
    --main-color: #c51423;
    --main-color-rgb: 197, 20, 35;
}

/* ===== OVERLAY HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 48px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    justify-content: space-between;
    transition: height 0.35s ease, background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

    /* Top vignette — sadece en üstteyken görünür, scroll'da kaybolur */
    .site-header:not(.scrolled)::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 70%, transparent 100% );
        pointer-events: none;
        z-index: -1;
        /* header'ın altına taşarak slider'da da görünsün */
        bottom: -180px;
        transition: opacity 0.35s ease;
    }

    .site-header.scrolled::before {
        opacity: 0;
    }

    /* Scrolled state */
    .site-header.scrolled {
        height: 64px;
        background: rgba(255, 255, 255, 0.88);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
    }

    /* Transparent header — white text mode */
    .site-header:not(.scrolled) .nav-links a {
        color: rgba(255, 255, 255, 0.88);
    }

        .site-header:not(.scrolled) .nav-links a:hover {
            background: rgba(255, 255, 255, 0.1);
            color: #fff;
        }

    .site-header:not(.scrolled) .lang-btn {
        color: rgba(255, 255, 255, 0.88);
    }

        .site-header:not(.scrolled) .lang-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

    .site-header:not(.scrolled) .header-divider {
        background: rgba(255, 255, 255, 0.2);
    }

    .site-header:not(.scrolled) .hamburger span {
        background: #fff;
    }

    .site-header:not(.scrolled) .account-btn {
        color: rgba(255, 255, 255, 0.9);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
        box-shadow: none;
    }

        .site-header:not(.scrolled) .account-btn:hover {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            color: #fff;
        }

/* --- Logo --- */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.logo-icon {
    height: 80px;
    width: auto;
    max-width: 200px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: height 0.35s ease, max-width 0.35s ease, opacity 0.2s ease;
}

/* Scroll sonrası logo küçülür */
.site-header.scrolled .logo-icon {
    height: 60px;
    max-width: 140px;
}

.logo-icon:hover {
    opacity: 0.85;
}

.logo-icon img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.4));
}

/* --- Right side --- */
.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Nav links — desktop inline, mobile drawer */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin-right: 8px;
}

    .nav-links a {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        transition: background 0.2s ease, color 0.2s ease;
        white-space: nowrap;
    }

        .nav-links a:hover {
            background: rgba(79, 70, 229, 0.07);
            color: #4f46e5;
        }

/* --- Divider --- */
.header-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 4px;
}

/* --- Language Dropdown --- */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

    .lang-btn:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #111;
    }

    .lang-btn .globe-icon {
        width: 16px;
        height: 16px;
        opacity: 0.6;
        flex-shrink: 0;
    }

    .lang-btn .chevron {
        width: 12px;
        height: 12px;
        opacity: 0.5;
        transition: transform 0.2s ease;
        flex-shrink: 0;
    }

.lang-dropdown.open .lang-btn .chevron {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu .lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: left;
}

    .lang-menu .lang-item:hover {
        background: rgba(79, 70, 229, 0.07);
        color: #4f46e5;
    }

    .lang-menu .lang-item.active {
        background: rgba(79, 70, 229, 0.1);
        color: #4f46e5;
        font-weight: 600;
    }

.lang-flag {
    width: 20px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05);
}

    .lang-flag img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* --- Login Button --- */
.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 10px;
    font-family: "Outfit", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #c51423 0%, #8e2d35 100%);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 10px rgba(var(--main-color-rgb), 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

    .login-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(var(--main-color-rgb), 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }

    .login-btn:active {
        transform: translateY(0);
    }

/* --- Account Button --- */
.account-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    border-radius: 10px;
    font-family: "Outfit", sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #374151;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

    .account-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
        border-color: rgba(79, 70, 229, 0.3);
        color: #4f46e5;
    }

    .account-btn:active {
        transform: translateY(0);
    }

/* --- Hamburger Button (mobile) --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

    .hamburger:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: #374151;
        border-radius: 2px;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform-origin: center;
    }

    .hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .site-header {
        padding: 0 16px;
    }

        /* Integrated Header State when menu is open */
        .site-header.nav-open {
            background: rgba(255, 255, 255, 0.98) !important;
            backdrop-filter: blur(20px) !important;
            -webkit-backdrop-filter: blur(20px) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }

            .site-header.nav-open .hamburger span {
                background: #111 !important;
            }

    /* Nav-links — mobile drawer */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        max-height: 100vh;
        padding: 100px 24px 40px; /* Top padding is header height */
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        gap: 8px;
        z-index: 998;
        transform: translateY(-110%);
        transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
        opacity: 0;
        visibility: hidden;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .site-header.scrolled .nav-links {
        padding-top: 80px;
    }

    /* Open State */
    .site-header.nav-open .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    /* Link Styles in Drawer */
    .nav-links li {
        width: 100%;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
        transition-delay: calc(var(--i, 0) * 0.05s);
    }

    .site-header.nav-open .nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-radius: 14px;
        font-size: 16px;
        font-weight: 600;
        color: #111 !important;
        background: rgba(0, 0, 0, 0.03) !important;
        transition: all 0.2s ease;
    }

        .nav-links a::after {
            content: "→";
            opacity: 0.3;
            font-weight: 400;
        }

        .nav-links a:hover {
            background: rgba(var(--main-color-rgb), 0.08) !important;
            color: var(--main-color) !important;
            transform: translateX(4px);
        }

    /* Hamburger Toggle */
    .hamburger {
        display: flex;
        z-index: 1000;
    }

    /* Hide divider on mobile */
    .header-divider {
        display: none;
    }

    /* Button adjustments */
    .login-btn,
    .account-btn {
        padding: 10px;
        border-radius: 12px;
    }

        .login-btn span,
        .account-btn span {
            display: none;
        }

    /* Scroll Lock & Overlay Styles (Added to body via JS) */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 997;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

        .menu-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }
}

@media (max-width: 480px) {
    .site-header .login-btn,
    .site-header .account-btn {
        display: none;
    }
}

/* ===== CARDS SECTION ===== */
.cards-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px 100px;
}

.cards-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.cards-section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(var(--main-color-rgb), 0.08);
    border: 1px solid rgba(var(--main-color-rgb), 0.18);
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cards-section-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.cards-section-subtitle {
    font-size: 16px;
    color: #64748b;
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--card-accent, linear-gradient(90deg, #4f46e5, #7c3aed));
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
    }

        .card:hover::before {
            opacity: 1;
        }

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--card-icon-bg, rgba(79, 70, 229, 0.1));
    flex-shrink: 0;
}

    .card-icon-wrap svg {
        width: 24px;
        height: 24px;
        stroke: var(--card-icon-color, #4f46e5);
    }

/* Emoji icon variant */
.card-emoji {
    font-size: 26px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--card-icon-bg, rgba(79, 70, 229, 0.1));
    margin-bottom: 20px;
    flex-shrink: 0;
}

.card-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--main-color);
    margin-bottom: 10px;
    opacity: 0.85;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.card-meta {
    font-size: 12.5px;
    color: #94a3b8;
    font-weight: 500;
}

.card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.card:hover .card-arrow {
    background: var(--card-icon-bg, rgba(79, 70, 229, 0.1));
    transform: translateX(3px);
}

.card-arrow svg {
    width: 14px;
    height: 14px;
    stroke: #64748b;
}

.card:hover .card-arrow svg {
    stroke: var(--card-icon-color, #4f46e5);
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .cards-section {
        padding: 56px 20px 72px;
    }
}

/* ===== STATS SECTION ===== */
.stats-section-view {
    background: #fff;
    padding: 80px 32px;
}

    .stats-section-view .stats-inner {
        max-width: 1100px;
        margin: 0 auto;
    }

    .stats-section-view .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
        background: rgba(0, 0, 0, 0.06);
        border-radius: 24px;
        overflow: hidden;
    }

    .stats-section-view .stat-item {
        background: #fff;
        padding: 52px 40px;
        text-align: center;
        position: relative;
        transition: background 0.25s ease;
    }

        .stats-section-view .stat-item:hover {
            background: #f8faff;
        }

    .stats-section-view .stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        background: var(--stat-bg, rgba(79, 70, 229, 0.08));
    }

        .stats-section-view .stat-icon svg {
            width: 22px;
            height: 22px;
            stroke: var(--stat-color, #4f46e5);
        }

    .stats-section-view .stat-number {
        font-size: clamp(36px, 5vw, 56px);
        font-weight: 800;
        color: #0f172a;
        letter-spacing: -0.03em;
        line-height: 1;
        margin-bottom: 10px;
        background: var(--stat-gradient, linear-gradient(135deg, #4f46e5, #7c3aed));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .stats-section-view .stat-label {
        font-size: 14px;
        font-weight: 600;
        color: #64748b;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .stats-section-view .stat-desc {
        font-size: 13px;
        color: #94a3b8;
        margin-top: 6px;
        line-height: 1.5;
    }

@media (max-width: 700px) {
    .stats-section-view .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #f0f9ff 100%);
    padding: 88px 32px;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: "";
        position: absolute;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 300px;
        background: radial-gradient( ellipse, rgba(99, 102, 241, 0.12) 0%, transparent 70% );
        pointer-events: none;
    }

.cta-inner {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(var(--main-color-rgb), 0.08);
    border: 1px solid rgba(var(--main-color-rgb), 0.2);
    font-size: 12px;
    font-weight: 600;
    color: var(--main-color);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cta-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 18px;
}

    .cta-title span {
        background: linear-gradient(135deg, var(--main-color) 0%, #e84257 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.cta-subtitle {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--main-color) 0%, #a01020 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 8px 32px rgba(var(--main-color-rgb), 0.35);
}

    .cta-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 40px rgba(var(--main-color-rgb), 0.45);
        filter: brightness(1.08);
    }

    .cta-btn-primary svg {
        width: 16px;
        height: 16px;
        transition: transform 0.2s ease;
    }

    .cta-btn-primary:hover svg {
        transform: translateX(3px);
    }

.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    background: transparent;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

    .cta-btn-secondary:hover {
        background: #fff;
        color: #0f172a;
        border-color: rgba(0, 0, 0, 0.2);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

.cta-features {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

    .cta-feature svg {
        width: 15px;
        height: 15px;
        stroke: #10b981;
    }

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    padding: 88px 32px;
    position: relative;
    overflow: hidden;
}

    .categories-section::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -120px;
        width: 400px;
        height: 400px;
        background: radial-gradient( circle, rgba(79, 70, 229, 0.15) 0%, transparent 70% );
        pointer-events: none;
    }

    .categories-section::after {
        content: "";
        position: absolute;
        bottom: -80px;
        left: -80px;
        width: 300px;
        height: 300px;
        background: radial-gradient( circle, rgba(14, 165, 233, 0.12) 0%, transparent 70% );
        pointer-events: none;
    }

.categories-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.categories-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 52px;
    gap: 16px;
    flex-wrap: wrap;
}

.categories-header-left .section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.categories-header-left h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.categories-header-left p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 8px;
    line-height: 1.6;
}

.categories-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

    .categories-all-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border-color: rgba(255, 255, 255, 0.3);
    }

    .categories-all-link svg {
        width: 14px;
        height: 14px;
        transition: transform 0.2s ease;
    }

    .categories-all-link:hover svg {
        transform: translateX(3px);
    }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.cat-card {
    position: relative;
    border-radius: 20px;
    padding: 32px 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .cat-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var( --cat-gradient, linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, transparent 60%) );
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: inherit;
    }

    .cat-card:hover {
        transform: translateY(-6px);
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.16);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    }

        .cat-card:hover::before {
            opacity: 1;
        }

.cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--cat-icon-bg, rgba(79, 70, 229, 0.2));
    flex-shrink: 0;
    position: relative;
}

    .cat-icon svg {
        width: 24px;
        height: 24px;
        stroke: var(--cat-color, #818cf8);
    }

.cat-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.cat-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    flex: 1;
}

.cat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.cat-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--cat-color, #818cf8);
    letter-spacing: 0.03em;
}

.cat-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cat-card:hover .cat-arrow {
    background: var(--cat-icon-bg, rgba(79, 70, 229, 0.25));
    transform: translateX(3px);
}

.cat-arrow svg {
    width: 13px;
    height: 13px;
    stroke: rgba(255, 255, 255, 0.5);
}

.cat-card:hover .cat-arrow svg {
    stroke: var(--cat-color, #818cf8);
}

@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .categories-section {
        padding: 64px 20px;
    }

    .categories-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0b1120;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 56px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
}

/* Brand column */
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    text-decoration: none;
}

.footer-logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}

.footer-brand-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 260px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .footer-social-link:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.18);
        transform: translateY(-2px);
    }

    .footer-social-link svg {
        width: 16px;
        height: 16px;
        fill: rgba(255, 255, 255, 0.6);
        transition: fill 0.2s ease;
    }

    .footer-social-link:hover svg {
        fill: #fff;
    }

/* Link columns */
.footer-col h4 {
    font-size: 11.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

    .footer-col a:hover {
        color: #fff;
        padding-left: 4px;
    }

/* Divider */
.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 0;
}

/* Bottom bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

    .footer-bottom-links a {
        font-size: 13px;
        color: rgba(255, 255, 255, 0.3);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .footer-bottom-links a:hover {
            color: rgba(255, 255, 255, 0.7);
        }

@media (max-width: 960px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 52px 20px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
}

/* ===== ALT HERO SECTION ===== */
.alt-hero {
    position: relative;
    padding: 130px 20px 60px;
    background: linear-gradient(135deg, #090f1b 0%, #152238 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

    .alt-hero::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient( ellipse at 50% 0%, rgba(var(--main-color-rgb), 0.25) 0%, transparent 70% );
        top: 0;
        left: 0;
        pointer-events: none;
    }

    .alt-hero::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: linear-gradient(to top, #090f1b 0%, transparent 100%);
        pointer-events: none;
    }

.alt-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: altFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.alt-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

    .alt-hero-badge span {
        display: block;
        width: 5px;
        height: 5px;
        background: var(--main-color);
        border-radius: 50%;
        box-shadow: 0 0 10px var(--main-color);
    }

.alt-hero-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

    .alt-hero-title span {
        background: linear-gradient( 135deg, #ffffff 0%, rgba(255, 255, 255, 0.5) 100% );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.alt-hero-desc {
    font-size: clamp(15px, 2vw, 17px);
    color: #94a3b8;
    line-height: 1.55;
    font-weight: 400;
    max-width: 560px;
    margin: 0 auto;
}

/* ===== ALT HERO PROFILE ===== */
.alt-hero-profile {
    padding: 130px 20px 60px;
}

.profile-layout {
    display: flex;
    align-items: center;
    gap: 32px;
    text-align: left;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.profile-avatar {
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 36px;
    padding: 5px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .profile-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 32px;
        background: #ffffff;
    }

    .profile-avatar svg.fallback-icon {
        width: 60%;
        height: 60%;
        color: rgba(255, 255, 255, 0.4);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.badge-gray {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ===== ALT HERO ABOUT US ===== */
.alt-hero-about {
    padding: 140px 20px 100px;
    text-align: left;
    position: relative;
    overflow: hidden;
    background: #ffffff !important; /* Force white background */
}

    /* Decorative background blobs (Light Optimized) */
    .alt-hero-about::before {
        content: "";
        position: absolute;
        top: -10%;
        right: -5%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(var(--main-color-rgb), 0.05) 0%, transparent 70%);
        filter: blur(80px);
        z-index: 1;
        pointer-events: none;
        animation: blobFloat 20s infinite alternate ease-in-out;
    }

    .alt-hero-about::after {
        content: "";
        position: absolute;
        bottom: -10%;
        left: -5%;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.04) 0%, transparent 70%);
        filter: blur(100px);
        z-index: 1;
        pointer-events: none;
        animation: blobFloat 25s infinite alternate-reverse ease-in-out;
    }

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.1);
    }

    100% {
        transform: translate(-20px, 30px) scale(0.9);
    }
}

.about-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero-header {
    margin-bottom: 60px;
    max-width: 700px;
}

.about-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--main-color-rgb), 0.08); /* Lighter badge */
    border: 1px solid rgba(var(--main-color-rgb), 0.15);
    border-radius: 100px;
    color: var(--main-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.about-hero-title {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 900;
    color: #0f172a; /* Dark headline */
    line-height: 1.1;
    margin-bottom: 24px;
}

    .about-hero-title span {
        color: var(--main-color);
        -webkit-text-fill-color: var(--main-color);
    }

.about-hero-subtitle {
    font-size: 18px;
    color: #64748b; /* Muted dark text */
    line-height: 1.6;
}

.about-vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.about-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 32px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

    .about-card:hover {
        transform: translateY(-8px);
        border-color: rgba(var(--main-color-rgb), 0.2);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    }

.about-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(var(--main-color-rgb), 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

    .about-card-icon svg {
        width: 28px;
        height: 28px;
        color: var(--main-color);
    }

.about-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.about-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.7;
}

.why-us-section {
    text-align: center;
}

.why-us-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 48px;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-item {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 24px;
    padding: 32px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.4s ease;
    height: 100%;
}

    .why-item:hover {
        background: #ffffff;
        border-color: var(--accent);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
        transform: translateY(-5px);
    }

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

    .why-icon svg {
        width: 24px;
        height: 24px;
    }

.why-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.why-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .about-vision-mission {
        grid-template-columns: 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

.badge-green {
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .badge-green svg {
        width: 14px;
        height: 14px;
        stroke-width: 2.5;
    }

.profile-title {
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.profile-desc {
    font-size: 16px;
    color: #e2e8f0;
    margin-bottom: 16px;
    font-weight: 400;
}

.profile-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    padding: 4px 0;
}

    .profile-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        position: relative;
    }

.meta-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px border transparent;
}

    .meta-link:hover {
        color: #ffffff;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

.profile-meta span:not(:last-child)::after {
    content: "";
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-left: 15px;
}

@media (max-width: 600px) {
    .profile-layout {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-info {
        align-items: center;
    }
}

/* ===== SEARCH FILTER SECTION ===== */
.search-filter-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -30px;
    padding: 0 20px;
}

.search-filter-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr auto;
    gap: 15px;
    align-items: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    margin-left: 4px;
}

.filter-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

    .filter-input-wrap svg {
        position: absolute;
        left: 14px;
        color: #94a3b8;
        pointer-events: none;
    }

.filter-input,
.filter-select {
    width: 100%;
    height: 48px;
    padding: 0 14px 0 42px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    appearance: none;
}

.filter-select {
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}



.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-filter,
.btn-clear {
    height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-filter {
    background: var(--main-color);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(var(--main-color-rgb), 0.25);
}

    .btn-filter:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(var(--main-color-rgb), 0.35);
    }

.btn-clear {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

    .btn-clear:hover {
        background: #ffe4e6;
        color: #e11d48;
        border-color: #fecdd3;
        transform: translateY(-2px);
    }

    .btn-filter:active,
    .btn-clear:active {
        transform: translateY(0);
    }

@media (max-width: 991px) {
    .search-filter-container {
        grid-template-columns: 1fr 1fr;
    }

    .filter-group:first-child {
        grid-column: span 2;
    }

    .btn-filter,
    .btn-clear {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .btn-clear {
        width: 48px;
        flex-shrink: 0;
    }

    .btn-filter {
        flex: 1;
    }
}

@media (max-width: 600px) {
    .search-filter-wrapper {
        margin-top: -50px;
    }

    .search-filter-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filter-group:first-child {
        grid-column: span 1;
    }
}

/* ===== ULTRA-PREMIUM DERNEK GRID & CARDS ===== */
.dernek-grid-section {
    padding: 60px 0 100px;
    max-width: 1400px;
    margin: 0 auto;
    padding-inline: 24px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 16px 24px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.results-count {
    font-size: 14px;
    color: #1e293b;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

    .results-count span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(var(--main-color-rgb), 0.1);
        color: var(--main-color);
        padding: 4px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
    }

.results-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
}

.sort-select {
    border: none;
    background: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
}

    .sort-select:hover {
        background: #f1f5f9;
    }

.dernek-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.dernek-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
}

    .dernek-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 28px;
        background: linear-gradient( 135deg, rgba(var(--main-color-rgb), 0.05), transparent );
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
    }

    .dernek-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
        border-color: rgba(var(--main-color-rgb), 0.15);
    }

        .dernek-card:hover::before {
            opacity: 1;
        }

.card-image-wrap {
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-radius: 26px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02), 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden; /* Ensure images don't leak out */
}

    .card-image-wrap svg {
        width: 44px;
        height: 44px;
        color: #334155;
        stroke-width: 1.25;
        transition: all 0.4s ease;
    }

    .card-image-wrap img {
        width: 100%;
        height: 100%;
        padding: 16px; /* Space inside the card wrapper */
        object-fit: contain;
        transition: all 0.4s ease;
    }

.dernek-card:hover .card-image-wrap {
    transform: scale(1.08) rotate(2deg);
    border-color: var(--main-color);
    box-shadow: 0 10px 20px rgba(var(--main-color-rgb), 0.1);
}

    .dernek-card:hover .card-image-wrap img,
    .dernek-card:hover .card-image-wrap svg {
        transform: scale(1.1);
    }

.card-status {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #10b981;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card-name {
    font-size: 19px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.card-meta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

    .card-location svg {
        width: 14px;
        height: 14px;
        color: var(--main-color);
    }

.card-category {
    background: rgba(var(--main-color-rgb), 0.08);
    color: var(--main-color);
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-btn {
    width: 100%;
    height: 48px;
    background: #1e293b;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

    .card-btn::after {
        content: "";
        position: absolute;
        width: 40px;
        height: 100%;
        background: linear-gradient( to right, transparent, rgba(255, 255, 255, 0.2), transparent );
        transform: skewX(-25deg) translateX(-150%);
        transition: transform 0.6s ease;
    }

    .card-btn:hover::after {
        transform: skewX(-25deg) translateX(250%);
    }

    .card-btn:hover {
        background: var(--main-color);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(var(--main-color-rgb), 0.3);
    }

    .card-btn svg {
        transition: transform 0.3s ease;
    }

    .card-btn:hover svg {
        transform: translateX(4px);
    }

/* ===== NO RESULTS SECTION ===== */
.no-results-section {
    padding: 100px 40px;
    text-align: center;
    background: #ffffff;
    border-radius: 40px;
    margin: 40px auto 100px;
    max-width: 1000px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    position: relative;
}

    .no-results-section::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 40px;
        background-image: radial-gradient( at 100% 0%, rgba(var(--main-color-rgb), 0.05) 0px, transparent 50% ), radial-gradient( at 0% 100%, rgba(var(--main-color-rgb), 0.03) 0px, transparent 50% );
        pointer-events: none;
    }

.no-results-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: var(--main-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.no-results-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.no-results-desc {
    color: #64748b;
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--main-color);
    color: #ffffff;
    padding: 16px 36px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(var(--main-color-rgb), 0.25);
}

    .btn-view-all:hover {
        transform: translateY(-5px) scale(1.02);
        box-shadow: 0 20px 40px rgba(var(--main-color-rgb), 0.35);
    }

@media (max-width: 1280px) {
    .dernek-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

@media (max-width: 1100px) {
    .dernek-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 850px) {
    .dernek-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .no-results-section {
        padding: 60px 20px;
        border-radius: 30px;
    }
}

@media (max-width: 550px) {
    .dernek-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dernek-grid-section {
        padding: 40px 0 60px;
        padding-inline: 16px; /* Optimized mobile padding */
    }

    .dernek-card {
        padding: 24px;
    }

    .card-image-wrap {
        width: 80px;
        height: 80px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 16px;
    }

    .results-sort {
        width: 100%;
        justify-content: space-between;
    }
}

@keyframes altFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SWIPER CONTAINER ===== */
.hero-swiper {
    width: 100%;
    height: 40vw;
    position: relative;
    overflow: hidden;
}

    /* ===== SLIDE ===== */
    .hero-swiper .swiper-slide {
        position: relative;
        overflow: hidden;
        height: 100%;
    }

/* BG Image Layer */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

/* Dark gradient şerit — pagination/counter her zaman görünsün */
.slide-bottom-vignette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    pointer-events: none;
}

/* ===== CUSTOM PAGINATION ===== */
.swiper-pagination {
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    margin: 0 !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.swiper-pagination-bullet-active {
    width: 28px;
    background: #ffffff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ===== CUSTOM NAVIGATION ===== */
.swiper-button-prev,
.swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    top: 50% !important;
    margin-top: -20px !important;
    transition: all 0.25s ease !important;
    color: #ffffff !important;
}

.swiper-button-prev {
    left: 16px !important;
}

.swiper-button-next {
    right: 16px !important;
}

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        background: rgba(0, 0, 0, 0.55) !important;
        border-color: rgba(255, 255, 255, 0.45) !important;
        transform: scale(1.08) !important;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .swiper-button-prev svg,
    .swiper-button-next svg {
        height: 20px;
        width: 20px;
    }
