/* =========================================================
   INSTALAVISTA.CSS
   Sticky header (fixed) + koyu tema + filtre sidebar
   ========================================================= */

/* ----- Reset & Değişkenler ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --topbar-h: 64px;             /* Masaüstü varsayılan */
    --color-bg: #000;
    --color-bg-alt: #111;
    --color-bg-elev: #1a1a1a;
    --color-border: #262626;
    --color-text: #fff;
    --color-text-soft: #ddd;
    --color-text-muted: #bbb;
    --color-text-dim: #888;
    --color-accent: #e1306c;
    --color-accent-2: #f77737;
    --gradient-accent: linear-gradient(135deg, #e1306c, #f77737);
}

/* Mobil: navbar genelde daha kısa */
@media (max-width: 767.98px) {
    :root { --topbar-h: 60px; }
}

/* ----- Body ----- */
html {
    scroll-behavior: smooth;
    /* sticky/fixed header için scroll anchor offset */
    scroll-padding-top: var(--topbar-h);
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding-top: var(--topbar-h);      /* SADECE body'de padding */
    overflow-x: clip;                  /* clip: sticky/fixed'i bozmaz */
    -webkit-text-size-adjust: 100%;
}

.main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;                   /* padding-top YOK - body hallediyor */
}

:target .instagram-card {
    border-color: #ffc107 !important; /* Sarı vurgu çerçevesi */
    box-shadow: 0 0 15px rgba(255, 193, 7, 0.4);
    transition: all 0.5s ease;
}
@media (max-width: 767px) {
    .main-container { padding: 0 8px; }
}

/* =========================================================
   ÜST BAR (FIXED NAVBAR)
   ========================================================= */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    background-color: rgba(13, 17, 23, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);

    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    transition: box-shadow .25s ease, background-color .25s ease;

    /* Kritik: transform/filter yok — fixed bozulmasın */
    transform: none;
    filter: none;
    will-change: auto;
}

.top-bar.is-scrolled {
    background-color: rgba(13, 17, 23, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Logo & şehir */
.logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--color-text);
    text-decoration: none;
}

.city {
    color: var(--color-text-muted);
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .logo { font-size: 20px; }
    .city { font-size: 12px; }
    .top-bar { padding: 0.6rem 0.75rem; }
}

/* =========================================================
   POST KARTI
   ========================================================= */
.instagram-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
}

.card-top-info {
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
    height: 170px;
    flex: 0 0 170px;
    overflow-y: auto;
    min-width: 0;
}

.card-bottom-info {
    flex: 0 0 auto;
    min-width: 0;
    overflow: visible;
    overflow-wrap: anywhere;
}
.card-bottom-info .card-sub-info,
.card-bottom-info p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.card-bottom-info .small {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.description {
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description strong { color: var(--color-text); }

.category {
    display: inline-block;
    background: var(--color-border);
    color: #ccc;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    /*margin-top: 8px; */
}

.post-date {
    color: #9aa0a6;                 /* [A11Y-FIX] okunabilir kontrast */
    font-size: 11px;
    margin-top: 6px;
}

/* Instagram embed */
.instagram-wrapper {
    width: 100%;
    background: #000;
    overflow: hidden;
    height: 325px;
    flex: 0 0 325px;
    position: relative;
}

.instagram-wrapper .instagram-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: -55px 0 0 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}

.post-content {
    padding: 6px;
    border-top: 1px solid var(--color-border);
}

.post-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 20px;
}

.post-actions span { cursor: pointer; }

/* =========================================================
   FOOTER
   ========================================================= */
.test-footer {
    border-top: 1px solid var(--color-border);
    padding: 20px 0;
    text-align: center;
    color: #adb5bd;                 /* [A11Y-FIX] kontrast */
    font-size: 13px;
    margin-top: 30px;
}

.test-footer a { color: #ffc107; text-decoration: none; }
.test-footer a:hover { color: #ffdd57; }

/* =========================================================
   SOL FİLTRE MENÜSÜ (SIDEBAR)
   ========================================================= */
.filter-sidebar {
    position: sticky;
    top: calc(var(--topbar-h) + 20px);   /* navbar altında başlasın */
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    max-height: calc(100vh - var(--topbar-h) - 40px);
    overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar { width: 6px; }
.filter-sidebar::-webkit-scrollbar-track { background: #1a1a1a; border-radius: 3px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
.filter-sidebar::-webkit-scrollbar-thumb:hover { background: #444; }

.filter-section-title {
    color: var(--color-text);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--color-border), transparent);
}

.filter-section-title:not(:first-child) { margin-top: 24px; }

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.filter-list li { margin-bottom: 4px; }

.filter-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.filter-list li a:hover {
    color: var(--color-text);
    background: var(--color-bg-elev);
}

.filter-list li a.active {
    color: var(--color-text);
    background: var(--gradient-accent);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.filter-list li a.active:hover {
    background: linear-gradient(135deg, #d12a62, #e86a2a);
}

/* =========================================================
   İL / İLÇE SELECT
   ========================================================= */
.filter-select-wrapper { margin-bottom: 14px; }

.filter-select-label {
    display: block;
    color: var(--color-text-dim);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    padding-left: 2px;
}

.custom-select { position: relative; width: 100%; }

.filter-select {
    width: 100%;
    background: var(--color-bg-elev);
    color: var(--color-text-soft);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 11px 38px 11px 14px;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-select:hover {
    border-color: #3a3a3a;
    background: #1f1f1f;
}

.filter-select:focus {
    border-color: var(--color-accent);
    background: #1f1f1f;
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.15);
}

.filter-select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #141414;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 12px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.filter-select:hover + .select-arrow,
.filter-select:focus + .select-arrow { color: var(--color-accent); }

.filter-select option {
    background: var(--color-bg-elev);
    color: var(--color-text-soft);
}

.filter-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 11px;
    margin-top: 8px;
    background: var(--gradient-accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.25);
}

.filter-apply-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.4);
    color: #fff;
}

.filter-apply-btn:active { transform: translateY(0); }

/* =========================================================
   NAVBAR MENÜ BUTONU
   ========================================================= */
.navbar-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-left: 10px;
}

.navbar-menu-btn:hover,
.navbar-menu-btn:focus {
    background: var(--color-bg-elev);
    border-color: var(--color-accent);
    color: var(--color-accent);
    outline: none;
}

.navbar-menu-btn .menu-icon { font-size: 18px; line-height: 1; }

/* =========================================================
   OFFCANVAS MENÜLER
   ========================================================= */
.nav-menu-canvas {
    width: 300px;
    z-index: 1050 !important;
}

.offcanvas-backdrop { z-index: 1040 !important; }

.nav-menu-list {
    list-style: none;
    padding: 12px;
    margin: 0;
}

.nav-menu-list li { margin-bottom: 4px; }

.nav-menu-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--color-text-soft);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.nav-menu-list li a:hover {
    background: var(--color-bg-elev);
    color: var(--color-text);
    transform: translateX(4px);
}

.nav-menu-list li a.active {
    background: var(--gradient-accent);
    color: #fff;
}

/* Mobil filtre offcanvas */
.offcanvas.bg-dark {
    background: var(--color-bg-alt) !important;
    border-top: 1px solid var(--color-border);
    border-radius: 20px 20px 0 0;
}

.offcanvas-header { padding: 18px 20px; }
.offcanvas-title { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.offcanvas-body { padding: 20px; overflow-y: auto; }

.offcanvas-body .filter-list li a { padding: 12px 16px; font-size: 15px; }
.offcanvas-body .filter-select-wrapper { margin-bottom: 16px; }
.offcanvas-body .filter-select { padding: 13px 40px 13px 16px; font-size: 15px; }
.offcanvas-body .filter-apply-btn { margin-top: 16px; padding: 14px; font-size: 15px; }

.offcanvas-body::-webkit-scrollbar { width: 5px; }
.offcanvas-body::-webkit-scrollbar-track { background: #1a1a1a; }
.offcanvas-body::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* =========================================================
   MOBİL FİLTRE FIXED BUTONU
   ========================================================= */
.mobile-filter-fixed-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 6px 25px rgba(225, 48, 108, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.mobile-filter-fixed-btn:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.6);
}

.mobile-filter-fixed-btn:active {
    transform: translateX(-50%) scale(0.97);
}

/* =========================================================
   MOBİL UYUMLULUK (tek blok)
   ========================================================= */
@media (max-width: 767.98px) {
    .filter-sidebar { display: none; }

    .mobile-filter-fixed-btn {
        bottom: 15px;
        padding: 12px 24px;
        font-size: 14px;
    }

    .offcanvas.offcanvas-bottom { height: 80vh !important; }

    /* Mobilde sadece hamburger ikonu */
    .navbar-menu-btn { padding: 8px 10px; margin-left: 6px; }
    .navbar-menu-btn .menu-text { display: none; }
    .navbar-menu-btn .menu-icon { font-size: 22px; }

    .nav-menu-canvas { width: 280px; }

    .instagram-card { border-radius: 5px; margin-bottom: 15px; }
}

/* =========================================================
   TABLET
   ========================================================= */
@media (min-width: 768px) and (max-width: 991.98px) {
    .filter-sidebar { padding: 16px; }
    .filter-list li a { padding: 9px 12px; font-size: 13px; }
    .filter-section-title { font-size: 12px; }
}

/* =========================================================
   KOYU TEMA text-muted KONTRAST DÜZELTMESİ
   ========================================================= */
.text-muted { color: #adb5bd !important; }
small.text-muted,
.small.text-muted,
p.text-muted { color: #ced4da !important; }

/* =========================================================
   ARAMA BUTONU (header)
   ========================================================= */
.top-search-btn-icon {
    background: transparent;
    border: 1px solid var(--color-border, #262626);
    color: var(--color-text-muted, #bbb);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}

.top-search-btn-icon:hover,
.top-search-btn-icon:focus {
    border-color: var(--color-accent, #e1306c);
    color: var(--color-accent, #e1306c);
    background: var(--color-bg-elev, #1a1a1a);
    outline: none;
}

/* =========================================================
   ARAMA MODAL
   ========================================================= */
#searchModal .modal-content {
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 12px;
}

#searchModal .modal-header {
    padding: 14px 18px;
}

#searchModal .modal-body {
    padding: 20px;
}

.search-modal-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-bg-elev, #1a1a1a);
    border: 1px solid var(--color-border, #262626);
    border-radius: 10px;
    padding: 4px 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-modal-box:focus-within {
    border-color: var(--color-accent, #e1306c);
    box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.15);
}

.search-modal-icon {
    padding: 0 10px;
    color: var(--color-text-dim, #888);
    font-size: 16px;
    line-height: 1;
}

.search-modal-input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--color-text, #fff);
    font-size: 16px;
    padding: 12px 8px;
    font-family: inherit;
}

.search-modal-input::placeholder {
    color: var(--color-text-dim, #888);
}

/* Kategori chip'leri */
.search-modal-suggestions .badge {
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--color-border, #262626);
    transition: all 0.2s ease;
}

.search-modal-suggestions .badge:hover {
    background: var(--color-accent, #e1306c) !important;
    color: #fff;
}

/* Modal backdrop'u biraz daha koyu */
#searchModal.modal .modal-backdrop,
.modal-backdrop.show {
    opacity: 0.7;
}
/* ==========================================================
   OFFCANVAS MENÜ — Grup Başlıkları
   ========================================================== */
.nav-menu-group-title {
    color: var(--color-text-dim, #888);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 18px 20px 8px;
    margin: 0;
    list-style: none;
    border-top: 1px solid var(--color-border, #262626);
    margin-top: 6px;
}

.nav-menu-group-title:first-of-type {
    margin-top: 0;
}

/* Hero */
.hero-section {
    border-radius: 16px;
    padding: 60px 20px !important;
    background: var(--color-bg-alt, #111);
    color: var(--color-text-soft, #ddd);
}

/* Kategori kartı */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    height: 100%;
    text-align: center;
}
.category-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(225, 48, 108, 0.15);
}
.category-icon {
    font-size: 44px;
    margin-bottom: 12px;
    line-height: 1;
}
.category-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}
.category-count {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Şehir kartı */
.city-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    text-align: center;
}
.city-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}
.city-icon {
    font-size: 32px;
    margin-bottom: 8px;
}
.city-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}
.city-count {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* Feature kartı */
.feature-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    height: 100%;
}

/* Step number */
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
}
/* ==========================================================
   SVG İKONLAR
   ========================================================== */
.cat-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    stroke: currentColor;
    fill: none;
}

.cat-icon-inline {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
}

.cat-icon-lg {
    width: 44px;
    height: 44px;
    stroke: var(--color-accent);
    stroke-width: 1.5;
    transition: stroke 0.2s ease;
}

.category-card:hover .cat-icon-lg {
    stroke: var(--color-accent-2);
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin-bottom: 12px;
}
/* ==========================================================
   KATEGORİ KARTI — Yellow/Orange Tema
   ========================================================== */
.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 16px;
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    text-align: center;
    height: 100%;
}

.category-card:hover {
    border-color: #facc15;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(250, 204, 21, 0.2);
}

.category-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(234, 88, 12, 0.08));
    transition: transform 0.25s ease, background 0.25s ease;
}

.category-card:hover .category-icon-badge {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.3), rgba(234, 88, 12, 0.18));
}

.category-icon-badge svg {
    width: 36px;
    height: 36px;
    stroke: #facc15;
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.category-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text, #fff);
    margin-bottom: 4px;
}

.category-count {
    font-size: 12px;
    color: var(--color-text-muted, #888);
}

/* ==========================================================
   SITE FOOTER
   ========================================================== */
.site-footer {
    background: var(--color-bg-alt, #111);
    border-top: 1px solid var(--color-border, #262626);
    margin-top: 60px;
    color: var(--color-text-soft, #ddd);
}

.site-footer h3 {
    color: var(--color-text, #fff);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    color: var(--color-text-muted, #bbb);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-accent, #e1306c);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border, #262626);
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    border-color: var(--color-accent, #e1306c);
    background: var(--color-bg-elev, #1a1a1a);
}

.footer-bottom {
    margin-top: 8px;
}

.footer-to-top {
    color: var(--color-text-muted, #bbb);
    text-decoration: none;
    font-size: 13px;
    padding: 6px 14px;
    border: 1px solid var(--color-border, #262626);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.footer-to-top:hover {
    color: var(--color-accent, #e1306c);
    border-color: var(--color-accent, #e1306c);
}

@media (max-width: 767.98px) {
    .site-footer { margin-top: 40px; }
    .site-footer h3 { font-size: 13px; }
}

/* ==========================================================
   LEGAL SAYFALAR
   ========================================================== */
.legal-content {
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 12px;
    line-height: 1.7;
}

.legal-content h2 {
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--color-text, #fff);
    font-weight: 700;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-muted, #bbb);
    font-size: 14px;
}

.legal-content ul {
    padding-left: 20px;
}

.legal-content a {
    color: var(--color-accent, #e1306c);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* Legal liste kartları */
.legal-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    height: 100%;
}

.legal-card:hover {
    border-color: var(--color-accent, #e1306c);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.12);
}

.legal-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.legal-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text, #fff);
    margin-bottom: 4px;
}

.legal-desc {
    font-size: 13px;
    color: var(--color-text-muted, #bbb);
}
/* ==========================================================
   ÇEREZ ONAY BANNER
   ========================================================== */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1080;
    width: calc(100% - 32px);
    max-width: 640px;
    background: #0f1318;
    border: 1px solid #262626;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    padding: 16px 18px;
    opacity: 1;
    transition: opacity 0.25s ease, transform 0.25s ease;
    animation: cookieSlideIn 0.35s ease;
}

.cookie-banner[hidden] {
    display: none;
}

@keyframes cookieSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.cookie-banner-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.cookie-banner-text {
    flex: 1;
    min-width: 200px;
    color: #bbb;
    font-size: 13px;
    line-height: 1.5;
}

.cookie-banner-link {
    color: #facc15;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 4px;
}

.cookie-banner-link:hover {
    color: #ea580c;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    padding: 8px 18px;
    background: linear-gradient(135deg, #facc15, #ea580c);
    color: #111;
    font-weight: 700;
    font-size: 13px;
    border-radius: 8px;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(250, 204, 21, 0.35);
}

.cookie-btn-close {
    width: 34px;
    height: 34px;
    padding: 0;
    background: transparent;
    color: #888;
    font-size: 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #262626;
}

.cookie-btn-close:hover {
    color: #fff;
    border-color: #444;
    background: #1a1a1a;
}

/* Mobil */
@media (max-width: 575.98px) {
    .cookie-banner {
        bottom: 12px;
        left: 12px;
        right: 12px;
        width: auto;
        transform: none;
        padding: 14px;
    }

    @keyframes cookieSlideIn {
        from { opacity: 0; transform: translateY(20px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .cookie-banner-inner {
        gap: 10px;
    }

    .cookie-banner-icon {
        font-size: 22px;
    }

    .cookie-banner-text {
        font-size: 12px;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ==========================================================
   ALT KATEGORİ ŞERİDİ (esnek grid — satır başına 8)
   ========================================================== */
.subcategory-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 14px;
    padding: 16px 12px;
}

.subcategory-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 0;
}

.subcategory-item:hover {
    background: var(--color-bg-elev, #1a1a1a);
    transform: translateY(-2px);
}

.subcategory-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.15), rgba(234, 88, 12, 0.08));
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.subcategory-icon svg {
    width: 22px;
    height: 22px;
    stroke: #facc15;
    stroke-width: 2;
    fill: none;
}

.subcategory-item:hover .subcategory-icon {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(234, 88, 12, 0.15));
    transform: scale(1.08);
}

.subcategory-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted, #bbb);
    line-height: 1.2;
    transition: color 0.2s ease;
    word-break: break-word;
    hyphens: auto;
}

.subcategory-item:hover .subcategory-name {
    color: #facc15;
}

/* Tablet — 4 sütun */
@media (max-width: 991.98px) {
    .subcategory-strip {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobil — 3 sütun */
@media (max-width: 575.98px) {
    .subcategory-strip {
        grid-template-columns: repeat(3, 1fr);
        padding: 12px 8px;
        gap: 6px;
    }

    .subcategory-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .subcategory-icon svg {
        width: 18px;
        height: 18px;
    }

    .subcategory-name {
        font-size: 11px;
    }
}

/* ==========================================================
   SEO KATEGORİ REHBERİ (index-seo.php)
   ========================================================== */
.seo-category-guide {
    padding: 20px 0;
}

.seo-category-guide .seo-guide-header {
    text-align: center;
    margin-bottom: 40px;
}

.seo-category-guide .seo-guide-badge {
    display: inline-block;
    background: var(--color-bg-elev, #1a1a1a);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.35);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.seo-category-guide .seo-guide-title {
    color: var(--color-text, #fff);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.seo-category-guide .seo-guide-subtitle {
    color: var(--color-text-muted, #bbb);
    font-size: 14px;
    max-width: 700px;
    margin: 0 auto;
}

/* SEO kartı */
.ig-card {
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ig-card:hover {
    transform: translateY(-4px);
    border-color: rgba(250, 204, 21, 0.4);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.ig-card-image-wrapper {
    position: relative;
}

.ig-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.ig-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(13, 17, 23, 0.9);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.5);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ig-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.ig-card-title {
    color: var(--color-text, #fff);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.ig-card-desc {
    color: var(--color-text-soft, #ddd);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.ig-card-details {
    color: var(--color-text-dim, #888);
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 18px;
}

.ig-card-subs-title {
    color: #facc15;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin: 0 0 10px;
    padding-top: 14px;
    border-top: 1px solid var(--color-border, #262626);
}

.ig-card-subs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ig-card-sub-badge {
    background: var(--color-bg-elev, #1a1a1a);
    color: var(--color-text-muted, #bbb);
    border: 1px solid var(--color-border, #262626);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
}

/* SEO bölümü responsive */
@media (max-width: 767.98px) {
    .seo-category-guide .seo-guide-title {
        font-size: 22px;
    }

    .ig-card-image {
        height: 170px;
    }

    .ig-card-body {
        padding: 16px;
    }

    .ig-card-title {
        font-size: 16px;
    }
}

.how-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: var(--color-bg-alt, #111);
    border: 1px solid var(--color-border, #262626);
    border-radius: 16px;
    height: 100%;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.how-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent, #e1306c);
    box-shadow: 0 12px 28px rgba(225, 48, 108, 0.12);
}

.how-step-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--gradient-accent);
    color: #fff;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(225, 48, 108, 0.35);
    margin-bottom: 4px;
}

.how-step-card h3 {
    color: var(--color-text, #fff);
    font-size: 16px;
    font-weight: 700;
}

.how-step-card p {
    color: var(--color-text-muted, #bbb);
    font-size: 13px;
    line-height: 1.5;
}

/* Mobilde adım kartları arasında boşluk */
@media (max-width: 575.98px) {
    .how-step-card {
        padding: 22px 16px;
    }
}

.ig-rounded-outline-btn {
    position: relative;
    background: #161920 !important; /* Koyu arka plan (açık/beyaz değil) */
    color: #ffffff !important;
    border-radius: 0.375rem !important; /* Bootstrap varsayılan yumuşak oval kenar */
    border: 2px solid transparent !important;
    background-clip: padding-box !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Yumuşak köşeli Instagram kenarlık efekti */
.ig-rounded-outline-btn::before {
    content: '';
    position: absolute;
    top: -2px; right: -2px; bottom: -2px; left: -2px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    z-index: -1;
    border-radius: 0.375rem;
}

.ig-rounded-outline-btn:hover {
    background: #1f232d !important;
    color: #ffc107 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.3);
}

/* INSTAGRAM DARK THEME STYLES */
body.bg-dark {
    background-color: #0f1115 !important;
    color: #e4e6eb !important;
}
.ig-hero {
    background: linear-gradient(135deg, #181b22 0%, #222733 100%);
    border-left: 4px solid #ffc107;
}
.ig-card {
    background-color: #161920;
    border-radius: 1rem;
}
.ig-side-card {
    background-color: #161920;
}
.ig-input {
    background-color: #0f1115 !important;
    border: 1px solid #2d323e !important;
    color: #ffffff !important;
}
.ig-input:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.15) !important;
}
.ig-gradient-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none !important;
    color: #ffffff !important;
    transition: transform 0.2s ease;
}
.ig-gradient-btn:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}
.ig-success-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #198754;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
}
.submit-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.instagram-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.instagram-preview {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.instagram-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.instagram-preview-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding-left: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 24px;
    pointer-events: none;
}

.instagram-preview:hover .instagram-preview-play {
    background: rgba(0, 0, 0, 0.85);
}





.instagram-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.instagram-preview {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.instagram-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.instagram-preview-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding-left: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 24px;
    pointer-events: none;
}

.instagram-preview:hover .instagram-preview-play {
    background: rgba(0, 0, 0, 0.85);
}

/* Embed hazır: tıklama görselin altındaki Instagram iframe'ine geçer */
.instagram-wrapper.is-ready .instagram-preview { pointer-events: none; }

/* Kullanıcı iframe'e tıkladı: görseli kaldır */
.instagram-wrapper.is-played .instagram-preview { display: none; }

.instagram-wrapper.is-default-img.is-ready .instagram-preview { display: none; }