/* ===========================================================================
   Inter — SELF-HOST.  KANONIK KOPYA: css/style.css (dosyanin basi).
   Bu sayfa style.css YUKLEMEDIGI icin tanimlar burada tekrarlaniyor.
   style.css'teki blogu degistirirsen BURAYI DA degistir.
   Neden ayri bir fonts.css yok: her sayfaya +1 render-bloklayan istek eklerdi.
   =========================================================================== */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/static/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/static/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Yedek font metrikleri — KANONIK KOPYA: css/style.css. Gerekcesi ve degerlerin
   nasil olculdugu orada yazili. */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('Helvetica'), local('Roboto');
    size-adjust: 105.5%;
    ascent-override: 91.85%;
    descent-override: 22.84%;
    line-gap-override: 0%;
}

/* Navbar yer ayirma — KANONIK KOPYA: css/style.css (gerekce orada).
   Bu sayfa style.css yuklemedigi icin oradaki kural buraya ULASMIYORDU.

   Basamaklar bu sayfada 1px cozunurlukle ayrica olculdu; style.css'tekinden
   biraz farkli (795/940 vs 799/944), o yuzden kopyala-yapistir degil.
   Menu linklerini veya logo boyutunu degistirirsen yeniden olc. */
#navbar-root {
    min-height: 58px;
}

@media (min-width: 769px) {
    #navbar-root { min-height: 196px; }
}

@media (min-width: 795px) {
    #navbar-root { min-height: 160px; }
}

@media (min-width: 940px) {
    #navbar-root { min-height: 116px; }
}

@media (min-width: 1169px) {
    #navbar-root { min-height: 72px; }
}

:root {
    --primary-color: #00746c;
    --primary-dark: #005a54;
    --primary-light: rgba(0, 116, 108, 0.08);
    --accent-color: #ff7500;
    --accent-dark: #e66800;
    --accent-glow: rgba(255, 117, 0, 0.15);
    --secondary-color: #ffffff;
    --text-color: #554a31;
    --text-light: #7a6d50;
    --text-muted: #9a8e75;
    --surface: #faf8f5;
    --surface-warm: rgba(85, 74, 49, 0.04);
    --border-color: rgba(85, 74, 49, 0.12);
    --shadow-sm: 0 2px 8px rgba(85, 74, 49, 0.08);
    --shadow-md: 0 8px 24px rgba(85, 74, 49, 0.1);
    --shadow-lg: 0 16px 40px rgba(85, 74, 49, 0.14);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
}

body {
    background-color: var(--surface);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header Styles */
header {
    background-color: white;
    padding: 0.5rem 1rem;
    /* anasayfa navbar'ı ile aynı yükseklik */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding: 0 2rem;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    margin: 0.5rem 0;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    margin: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.auth-buttons button {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login {
    background-color: transparent;
    color: var(--primary-color);
}

.login:hover {
    background-color: #f5f5f5;
}

.register {
    background-color: var(--primary-color);
    color: white;
}

.register:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}


/* Mentors Page düzenlemeleri */
.mentors-page {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.mentors-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2.5rem 1rem 2rem;
}

.mentors-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    display: inline-block;
}

.mentors-header h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.mentors-header p {
    color: var(--text-light);
    margin-bottom: 2rem;
    margin-top: 1.25rem;
    font-size: 1.05rem;
}

.search-bar {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.search-bar input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 116, 108, 0.1);
}

.filter-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #009688 100%);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    min-width: 120px;
    position: relative;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 116, 108, 0.25);
}

.filter-btn.has-filters::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 116, 108, 0.3);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 2rem 0;
    grid-auto-rows: 1fr;
}

.mentor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem 1.2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 1;
    height: 100%;
}

/* Kontenjan durumuna göre kart stilleri */
.mentor-card.has-quota {
    border-color: #2e7d32;
    background: linear-gradient(to bottom, white, #e8f5e9);
}

.mentor-card.no-quota {
    border-color: #c62828;
    background: linear-gradient(to bottom, white, #ffebee);
}

.mentor-card.has-quota .quota-status {
    color: #2e7d32;
}

.mentor-card.no-quota .quota-status {
    color: #c62828;
}

.quota-status {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quota-status::before {
    content: "•";
    font-size: 1.5rem;
}

.mentor-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    z-index: 10;
}

/* Kart içindeki tüm içeriğin de büyümesini sağlamak için */
.mentor-card>* {
    transition: all 0.3s ease-in-out;
}

.mentor-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    /* Görsel de koç detayına götürüyor */
}

.mentor-image:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.mentor-card:hover .mentor-image {
    transform: scale(1.10);
    /* Fotoğraf da hafifçe büyüsün */
}

.mentor-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    min-height: 1.5em;
}

.mentor-info {
    text-align: center;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.mentor-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c42 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
    box-shadow: 0 4px 12px var(--accent-glow);
    letter-spacing: 0.01em;
}

.detail-btn:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 117, 0, 0.35);
}

/* Responsive düzenleme */
@media (max-width: 1200px) {
    .mentors-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 1fr;
        /* Responsive görünümde de aynı yüksekliği korur */
    }
}

/* Menu Backdrop */
#menuBackdrop {
    display: none;
    /* Hide the backdrop completely */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    /* Reduced from 1.8rem */
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    /* Reduced from 0.7rem */
    z-index: 100;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-dark);
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    nav {
        position: relative;
        flex-wrap: wrap;
        padding: 1rem;
        justify-content: center;
        text-align: center;
    }

    .logo {
        margin: 0 auto 0.5rem;
        width: 100%;
        text-align: center;
        order: 1;
        font-size: 1.8rem;
        padding: 0.5rem 0;
    }

    header {
        position: relative;
        z-index: 1000;
        background-color: white;
    }

    .mobile-menu-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1.2rem;
        z-index: 1001;
    }

    .mobile-menu-toggle.active {
        color: var(--primary-dark);
    }

    .nav-links {
        display: block;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.4s ease-in-out;
        background-color: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 15px 15px;
        order: 3;
    }

    .nav-links.active {
        display: flex;
        padding: 1.5rem 0;
        max-height: 350px;
        opacity: 1;
    }

    .nav-links a {
        margin: 0.7rem 0;
        padding: 0.7rem;
        width: 100%;
        text-align: center;
        transform: translateY(-10px);
        opacity: 0;
        transition: all 0.3s ease;
        transition-delay: calc(0.05s * var(--i, 0));
        font-size: 1.3rem;
        font-weight: 500;
    }

    .nav-links.active a {
        transform: translateY(0);
        opacity: 1;
    }

    .auth-buttons {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 1.5rem;
        order: 2;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        transition-delay: 0.3s;
        gap: 1rem;
    }

    .nav-links.active+.auth-buttons {
        opacity: 1;
        transform: translateY(0);
    }

    .auth-buttons button {
        margin: 0 0.7rem;
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        min-width: 120px;
    }

    .mentors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        justify-items: center;
        grid-auto-rows: 1fr;
        /* Mobil görünümde de aynı yüksekliği korur */
    }

    .mentor-card {
        padding: 0.8rem;
        max-width: 100%;
        width: 100%;
        justify-self: center;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .mentor-image {
        width: 80px;
        height: 80px;
    }

    .mentor-card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        min-height: 1.3em;
    }

    .mentor-info {
        margin-bottom: 1rem;
        flex-grow: 1;
    }

    .mentor-info p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .detail-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
        margin-top: auto;
    }

    .mentor-card:hover {
        transform: scale(1.03);
    }

    .mentor-card:hover .mentor-image {
        transform: scale(1.05);
    }

    .search-bar {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .search-bar input {
        width: 100%;
        min-width: 0;
    }

    .filter-btn,
    .clear-filters-btn {
        width: 100%;
        margin-left: 0;
        padding: 0.8rem 1rem;
    }
}

/* Filtre Overlay Stilleri - Animasyon eklendi */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.filter-container {
    background-color: white;
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.4s ease 0.1s forwards;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }

    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.filter-back {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.back-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
    margin-right: 10px;
}

.filter-clear {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
}

.filter-clear:disabled {
    color: #999;
    cursor: not-allowed;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.filter-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    background: white;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.filter-option input:checked~.checkmark {
    background: linear-gradient(45deg, var(--primary-color), #009688);
    border-color: var(--primary-color);
}

.filter-option:hover {
    background: var(--surface);
    border-color: var(--border-color);
    box-shadow: 0px 3px 8px rgba(85, 74, 49, 0.1);
}

.filter-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 10px;
}

.filter-option:hover input~.checkmark {
    background-color: #f5f5f5;
}

.filter-option input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-option input:checked~.checkmark:after {
    display: block;
}

.filter-option .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-left: 8px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    position: sticky;
    bottom: 0;
    background-color: white;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cancel-filters-btn {
    flex: 1;
    padding: 15px;
    background: #f1f1f1;
    color: #333;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-filters-btn:hover {
    background: #e1e1e1;
}

.apply-filters-btn {
    flex: 2;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-filters-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 116, 108, 0.25);
}

body.filter-active {
    overflow: hidden;
}

@media (max-width: 600px) {
    .filter-options {
        grid-template-columns: 1fr;
    }
}

/* Sonuç bulunamadı mesajı */
.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    font-size: 1.2rem;
    color: var(--text-light);
    background-color: white;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.clear-filters-btn {
    padding: 1rem 2rem;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
    white-space: nowrap;
    min-width: 120px;
}

.clear-filters-btn:hover {
    background: #c82333;
}

/* Modal Improvements for Mobile */
@media (max-width: 576px) {
    .modal {
        padding-top: 20px;
    }

    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .close-modal {
        top: 5px;
        right: 10px;
        font-size: 28px;
    }
}

/* Additional Mobile Fixes */
@media (max-width: 576px) {
    .footer-content {
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .social-links {
        align-items: center;
    }

    .social-links a {
        justify-content: center;
    }

    .footer-section p {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .mentors-grid {
        gap: 0.8rem;
        grid-auto-rows: 1fr;
        /* En küçük ekranlarda da aynı yüksekliği korur */
    }

    .mentor-card {
        padding: 0.6rem;
        height: 100%;
    }

    .mentor-image {
        width: 70px;
        height: 70px;
        margin-bottom: 0.5rem;
    }

    .mentor-card h2 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        min-height: 1.2em;
    }

    .mentor-info {
        margin-bottom: 0.8rem;
    }

    .mentor-info p {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .detail-btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }

    .quota-status {
        font-size: 0.8rem;
        min-height: 1.2em;
    }

    .search-bar {
        gap: 0.6rem;
    }

    .search-bar input {
        padding: 0.8rem;
        /* 16px ALTINA DUSURME: user-scalable=no kaldirildi, iOS Safari 16px alti
           input'a odaklaninca sayfayi otomatik yakinlastirir. */
        font-size: 1rem;
    }

    .filter-btn,
    .clear-filters-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .filter-container {
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        padding: 15px;
    }

    .filter-options {
        grid-template-columns: 1fr;
    }

    .filter-header {
        padding-top: 10px;
    }

    .filter-actions {
        padding-bottom: 20px;
    }

    .search-bar {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .search-bar input {
        width: 100%;
        min-width: 0;
    }

    .filter-btn,
    .clear-filters-btn {
        width: 100%;
        margin-left: 0;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 480px) {
    .filter-container {
        padding: 12px;
    }

    .filter-header {
        padding-bottom: 8px;
        margin-bottom: 15px;
    }

    .filter-section {
        margin-bottom: 15px;
    }

    .filter-section h3 {
        font-size: 14px;
    }

    .filter-option {
        padding: 10px;
    }

    .filter-actions {
        padding-top: 12px;
    }

    .cancel-filters-btn,
    .apply-filters-btn {
        padding: 12px;
        font-size: 14px;
    }

    .search-bar {
        gap: 0.6rem;
    }

    .search-bar input {
        padding: 0.8rem;
        /* 16px ALTINA DUSURME: user-scalable=no kaldirildi, iOS Safari 16px alti
           input'a odaklaninca sayfayi otomatik yakinlastirir. */
        font-size: 1rem;
    }

    .filter-btn,
    .clear-filters-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Debug panel stili */
#debug-info {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    font-family: monospace;
    padding: 10px;
    display: none;
}

/* Yükleme göstergesi */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
}

.loading-spinner {
    border: 5px solid var(--border-color);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 18px;
    color: var(--text-light);
}

/* ==================== BANA KOÇ ÖNER — TETİK BANDI ====================
   Anketin kendisi (modal + sonuç şeridi) artık css/coach-recommendation.css'te;
   burada yalnızca listenin üstündeki tetik bandı kalıyor. Modal stilini buraya
   geri taşıma — kocluk-pazarlama ile ortak dosyada tek kaynak olarak duruyor. */

.coach-recommendation-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 1.75rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 117, 0, 0.08) 0%, rgba(0, 116, 108, 0.08) 100%);
    border-bottom: 1px solid rgba(0, 116, 108, 0.14);
}

/* Buton tek başına ne olacağını söylemiyordu; bu satır beklentiyi kuruyor. */
.coach-recommendation-lead {
    max-width: 46ch;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-light, #7a6d50);
}

.coach-recommendation-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    background: #ff7500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 117, 0, 0.28);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.coach-recommendation-btn:hover {
    background: #e66800;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(255, 117, 0, 0.34);
}

.coach-recommendation-btn:active {
    transform: none;
}

.coach-recommendation-btn:focus-visible {
    outline: 2px solid #00544e;
    outline-offset: 3px;
}

.coach-recommendation-btn i {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .coach-recommendation-section {
        padding: 1.35rem 1rem;
    }

    .coach-recommendation-lead {
        font-size: 0.9rem;
    }

    .coach-recommendation-btn {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
        padding: 0.85rem 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .coach-recommendation-btn,
    .coach-recommendation-btn:hover {
        transition: none;
        transform: none;
    }
}

/* ==================== KONTENJAN FİLTRESİ ==================== */

/* Kontenjan Filtresi Container */
.quota-filter-container {
    max-width: 1200px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Checkbox Label Stilleri */
.quota-filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    width: auto;
    flex-shrink: 0;
}

.quota-filter-checkbox:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    border-color: rgba(0, 116, 108, 0.2);
}

.quota-filter-checkbox input[type="checkbox"] {
    display: none;
}

/* Toggle Slider Stilleri */
.quota-filter-slider {
    position: relative;
    width: 56px;
    height: 32px;
    background: #e0e0e0;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.quota-filter-slider::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: white;
    top: 3px;
    left: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quota-filter-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 14px;
    z-index: 1;
    opacity: 0;
}

.quota-filter-checkbox input[type="checkbox"]:checked+.quota-filter-slider {
    background: linear-gradient(135deg, #00746c 0%, #009688 100%);
    box-shadow: 0 0 0 4px rgba(0, 116, 108, 0.1), inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quota-filter-checkbox input[type="checkbox"]:checked+.quota-filter-slider::before {
    transform: translateX(24px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.quota-filter-checkbox input[type="checkbox"]:checked+.quota-filter-slider .quota-filter-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Label Text Stilleri */
.quota-filter-label {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    transition: color 0.3s ease;
    letter-spacing: 0.01em;
}

.quota-filter-checkbox:hover .quota-filter-label {
    color: #00746c;
}

.quota-filter-checkbox input[type="checkbox"]:checked~.quota-filter-label {
    color: #00746c;
    font-weight: 700;
}

/* Responsive - Kontenjan Filtresi */
@media (max-width: 768px) {
    .quota-filter-container {
        padding: 0 1rem;
        margin-bottom: 1rem;
    }

    .quota-filter-checkbox {
        padding: 0.625rem 1rem;
        gap: 0.875rem;
    }

    .quota-filter-slider {
        width: 50px;
        height: 28px;
    }

    .quota-filter-slider::before {
        width: 22px;
        height: 22px;
        top: 3px;
        left: 3px;
    }

    .quota-filter-checkbox input[type="checkbox"]:checked+.quota-filter-slider::before {
        transform: translateX(22px);
    }

    .quota-filter-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .quota-filter-container {
        padding: 0 0.75rem;
        margin-bottom: 0.75rem;
        gap: 0.75rem;
    }

    .quota-filter-checkbox {
        padding: 0.5rem 0.875rem;
        gap: 0.75rem;
        width: auto;
        max-width: 100%;
    }

    .quota-filter-label {
        font-size: 0.85rem;
    }
}

/* ===== 5 Saniye Pop-up ===== */
.promo-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.promo-popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.promo-popup {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 460px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.35s ease;
}

.promo-popup-overlay.active .promo-popup {
    transform: translateY(0) scale(1);
}

.promo-popup-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
    line-height: 1;
}

.promo-popup-close:hover {
    color: #333;
}

.promo-popup h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}

.promo-popup p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.promo-popup-cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #009688 100%);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 116, 108, 0.25);
}

.promo-popup-cta:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 116, 108, 0.3);
}

.promo-popup-cta#promoPopupCta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8c42 100%);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.promo-popup-cta#promoPopupCta:hover {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent-color) 100%);
    box-shadow: 0 6px 16px rgba(255, 117, 0, 0.35);
}
/* ==================== Bana Koç Öner: Eşleşme Yüzdesi Rozeti ==================== */
.mentor-match-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    background: linear-gradient(135deg, #00897b, #00746c);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 7px 12px;
    border-radius: 999px;
    box-shadow: 0 3px 8px rgba(0, 116, 108, 0.35);
    letter-spacing: 0.2px;
    white-space: nowrap;
    pointer-events: none;
}

/* Footer — KANONIK KOPYA: css/style.css (.footer … .footer-bottom + .footer-nav-icon).
   Bu sayfa style.css YUKLEMEDIGI icin taban stiller buraya ulasmiyordu;
   yalnizca 576px override'lari vardi. Footer HTML/JS geliyor, gorunum bozuluyordu. */
.footer {
    background: var(--text-color);
    color: white;
    padding: 4rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 0 auto;
}

.footer-section {
    flex: 0 1 auto;
    max-width: 250px;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 2;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.social-links a:hover {
    color: white;
    transform: translateX(5px);
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.social-links a:hover img {
    transform: scale(1.2);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.footer .social-links i.footer-nav-icon {
    font-size: 20px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-brand,
    .footer-section {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

    .social-links {
        align-items: center;
    }

    .social-links a {
        justify-content: center;
    }

    .footer-logo {
        justify-content: center;
    }
}
