@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

/* ======================================================
   1. DEĞİŞKENLER VE RENK PALETİ (DİNAMİK)
====================================================== */
:root {
    /* Varsayılan: Koyu Tema (Dark Mode) */
    --bera-koyu: #0f172a;       /* Derin Arka Plan */
    --bera-panel: #1e293b;      /* Kart ve Panel Arka Planı */
    --bera-mavi: #2563eb;       /* Kurumsal Mavi */
    --bera-mavi-acik: #3b82f6;  /* Hover Mavisi */
    --border-cizgi: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;       /* Beyaz Metin */
    --text-muted: #94a3b8;      /* Gri Metin */
    --kirmizi-uyari: #ef4444;   /* Yumuşak Hata Kırmızısı */
    --yesil-onay: #10b981;      /* Zümrüt Yeşili */
    
    /* Yüzey Renkleri */
    --soft-surface: rgba(255,255,255,0.04);
    --soft-hover: rgba(37, 99, 235, 0.10);
    --panel-opacity: rgba(30, 41, 59, 0.7); /* Cam panel arka planı */

    /* Onaylı rozeti */
    --onay-badge-bg: rgba(16, 185, 129, 0.12);
    --onay-badge-border: rgba(16, 185, 129, 0.45);
    --onay-badge-text: #b7f7d2;
    --onay-badge-icon-bg: rgba(183, 247, 210, 0.16);
    --onay-badge-shadow: 0 8px 18px rgba(16, 185, 129, 0.12);
}

/* 🔥 AÇIK TEMA (LIGHT MODE) DEĞİŞKENLERİ 🔥 */
[data-theme="light"] {
    --bera-koyu: #f1f5f9;       /* Açık gri arka plan */
    --bera-panel: #ffffff;      /* Bembeyaz kartlar */
    --bera-mavi: #2563eb;       /* Mavi aynı kalır */
    --bera-mavi-acik: #3b82f6;  
    --border-cizgi: rgba(15, 23, 42, 0.1); /* Koyu gri ince çizgiler */
    --text-main: #0f172a;       /* Koyu lacivert/siyah yazılar (Kritik!) */
    --text-muted: #475569;      /* Koyu gri yazılar */
    
    /* Açık Yüzey Renkleri */
    --soft-surface: rgba(15, 23, 42, 0.03);
    --soft-hover: rgba(37, 99, 235, 0.08);
    --panel-opacity: rgba(255, 255, 255, 0.85); /* Açık cam panel */

    /* Açık temada onaylı rozeti */
    --onay-badge-bg: linear-gradient(135deg, #dcfce7, #bbf7d0);
    --onay-badge-border: #86efac;
    --onay-badge-text: #166534;
    --onay-badge-icon-bg: rgba(22, 163, 74, 0.12);
    --onay-badge-shadow: 0 8px 18px rgba(22, 101, 52, 0.10);
}

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

/* ======================================================
   2. GENEL YAPI VE ARKA PLAN (AURORA EFEKTİ)
====================================================== */
body {
    background-color: var(--bera-koyu);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: "";
    position: fixed;
    top: 10%;
    left: 20%;
    width: 400px;
    height: 400px;
    background: var(--bera-mavi);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    border-radius: 50%;
    transition: opacity 0.3s ease;
}

[data-theme="light"] body::before {
    opacity: 0.08;
    background: #3b82f6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ======================================================
   3. NAVBAR VE CAM PANELLER (GLOBAL GLASSMORPHISM)
====================================================== */
.glass-panel {
    background: var(--panel-opacity);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-cizgi);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .glass-panel {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.navbar {
    position: sticky; 
    top: 0;
    width: 100%;
    z-index: 1000; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--bera-mavi);
}

.menu-sag {
    display: flex;
    gap: 15px;
}

/* ======================================================
   4. BUTONLAR
====================================================== */
.btn-kurumsal {
    background: var(--bera-mavi);
    color: white !important; 
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: inline-block;
    border: 2px solid var(--bera-mavi);
    cursor: pointer;
}

.btn-kurumsal:hover {
    background: var(--bera-mavi-acik);
    border-color: var(--bera-mavi-acik);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.btn-ilan-ver {
    background: var(--bera-mavi);
    border: none;
    color: white !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ilan-ver:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
    background: var(--bera-mavi-acik);
}

.btn-giris {
    background: transparent;
    border: 1px solid var(--bera-mavi);
    color: var(--text-main) !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-giris:hover {
    background: var(--bera-mavi);
    color: white !important;
}

/* ======================================================
   4.1 ONAYLI ROZETİ
====================================================== */
.onayli-rozet {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--onay-badge-bg);
    border: 1px solid var(--onay-badge-border);
    color: var(--onay-badge-text);
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: var(--onay-badge-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.onayli-rozet i {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--onay-badge-icon-bg);
    color: var(--onay-badge-text);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.onayli-rozet:hover {
    transform: translateY(-1px);
}

/* ======================================================
   5. KURUMSAL SLIDER
====================================================== */
.kurumsal-slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

[data-theme="light"] .kurumsal-slider-container {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.kurumsal-slide {
    display: flex;
    align-items: center;
    padding: 60px;
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.6) 50%, rgba(15,23,42,0.2) 100%);
    z-index: -1;
}

.slide-icerik {
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.swiper-slide-active .slide-icerik {
    transform: translateY(0);
    opacity: 1;
}

.slide-rozet {
    background: var(--bera-mavi);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.slide-icerik h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: white !important; 
}

.slide-icerik p {
    font-size: 1.1rem;
    color: #f1f5f9 !important;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ======================================================
   6. İLAN VER & FORMLAR
====================================================== */
.ilan-form-alani {
    max-width: 900px;
    width: 100%;
    margin: 40px auto;
    background: var(--panel-opacity);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-cizgi);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.kategori-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

input, select, textarea {
    background: var(--bera-koyu);
    color: var(--text-main);
    border: 1px solid var(--border-cizgi);
    transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--bera-mavi) !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* ======================================================
   7. ÜRÜN VİTRİNİ VE KARTLAR
====================================================== */
.urun-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.urun-karti {
    background: var(--bera-panel); 
    border: 1px solid var(--border-cizgi);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.urun-karti:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15), 0 0 40px rgba(37, 99, 235, 0.1);
    border-color: var(--bera-mavi-acik);
}

.resim-kutusu {
    height: 200px;
    position: relative;
}

.resim-kutusu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kart-detay {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kart-detay h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.kart-detay p {
    color: var(--text-muted);
}

.kart-fiyat {
    color: var(--bera-mavi-acik);
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 10px;
}

.favori-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.favori-btn:hover {
    background: var(--kirmizi-uyari);
    transform: scale(1.08);
}

/* ======================================================
   8. POPÜLER ARAMALAR (HIZLI KART) TEMA UYUMU
====================================================== */
.hizli-kart {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--bera-panel); 
    border-radius: 12px;
    border: 1px solid var(--border-cizgi); 
    transition: 0.3s;
    cursor: pointer;
}

.hizli-kart i {
    font-size: 24px;
    color: var(--bera-mavi);
}

.hizli-kart h4 {
    color: var(--text-main);
    margin: 0;
}

.hizli-kart p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.85rem;
}

.hizli-kart:hover {
    transform: translateY(-5px);
    border-color: var(--bera-mavi);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
}

/* ======================================================
   9. MOBİL UYUM (RESPONSIVE)
====================================================== */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .kurumsal-slider-container { height: 300px; }
    .slide-icerik h2 { font-size: 2rem; }
    .slide-icerik p { font-size: 0.9rem; }
    .kurumsal-slide { padding: 30px; text-align: center; }
    .urun-grid { grid-template-columns: 1fr; }
    .ilan-form-alani { padding: 20px; margin: 20px auto; }
}

/* ======================================================
   SAYFALAMA (PAGINATION) BUTONLARI
====================================================== */
.sayfalama-kapsayici {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
    width: 100%;
}

.sayfa-btn {
    background: var(--bera-panel);
    border: 1px solid var(--border-cizgi);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sayfa-btn:hover {
    border-color: var(--bera-mavi);
    color: var(--bera-mavi);
    transform: translateY(-3px);
}

.sayfa-btn.aktif {
    background: var(--bera-mavi);
    color: white !important;
    border-color: var(--bera-mavi);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* ======================================================
   12. FİLTRELEME BUTONU
====================================================== */
.filtrele-btn-ana {
    background: var(--bera-panel);
    color: var(--text-main);
    border: 1px solid var(--border-cizgi);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.filtrele-btn-ana:hover {
    background: var(--soft-surface);
}

/* ======================================================
   13. GLOBAL SAYFA GEÇİŞ EFEKTİ (FADE + SOFT SLIDE)
====================================================== */
@media (prefers-reduced-motion: reduce) {
  .page-enter, .page-leave { animation: none !important; }
}

.page-enter { animation: pageEnter 280ms ease-out both; }
.page-leave { animation: pageLeave 180ms ease-in both; pointer-events: none; }

@keyframes pageEnter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pageLeave {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-6px); }
}

.page-enter, .page-leave { will-change: opacity, transform; }

/* ======================================================
   TAYF AI ASİSTAN
====================================================== */
.bot-kapsayici {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  align-items: center;
  text-decoration: none;
  animation: botFloat 3s ease-in-out infinite;
}

.bot-mesaj-balonu {
  background: var(--bera-panel);
  color: var(--text-main);
  padding: 12px 35px 12px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  margin-right: -30px;
  border: 1px solid #8b5cf6;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
  z-index: 10000;
}

.bot-isikli-kure {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: white;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,0.4), transparent 50%), linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
  position: relative;
  transition: 0.4s ease;
  z-index: 10001;
  flex-shrink: 0;
}

.bot-isikli-kure::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,255,255,0.8), rgba(59,130,246,0), rgba(255,255,255,0.5), rgba(139,92,246,0), rgba(255,255,255,0.8));
  filter: blur(8px);
  opacity: 0.7;
  animation: botSpin 4s linear infinite;
  z-index: -1;
}

.bot-isikli-kure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
  animation: botPulse 2s infinite;
  z-index: -2;
}

.bot-kapsayici:hover .bot-isikli-kure {
  transform: scale(1.1) rotate(-15deg);
  box-shadow: 0 20px 45px rgba(139, 92, 246, 0.6);
}

.bot-kapsayici:hover .bot-isikli-kure::after {
  animation: none;
}

.bot-kapsayici:hover .bot-mesaj-balonu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-35px);
}

@keyframes botFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes botSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes botPulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
  70% { box-shadow: 0 0 0 20px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* ===== Profesyonel Alt Bölüm ===== */
.pro-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.pro-title {
    margin: 0;
    font-weight: 900;
    color: var(--text-main);
    font-size: 1.35rem;
}

.pro-sub {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.pro-link {
    color: var(--bera-mavi);
    font-weight: 900;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.pro-link:hover {
    opacity: 0.85;
}

.pro-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 22px;
}

@media (max-width: 900px) {
    .pro-grid { grid-template-columns: 1fr; }
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-top: 12px;
}

@media (max-width: 520px) {
    .cat-grid { grid-template-columns: 1fr; }
}

.cat-card {
  border: 1px solid var(--border-cizgi);
  background: var(--soft-surface);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: .25s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cat-card:hover {
    transform: translateY(-2px);
    background: var(--soft-hover);
}

.cat-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.1);
  color: var(--bera-mavi);
}

.cat-name {
    font-weight: 900;
    color: var(--text-main);
}

.cat-count {
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.9rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
    margin-top: 12px;
}

.stat {
  border: 1px solid var(--border-cizgi);
  background: var(--soft-surface);
  border-radius: 14px;
  padding: 14px;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 1000;
    color: var(--text-main);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 800;
    margin-top: 4px;
    font-size: 0.9rem;
}

.cta-box {
  margin-top: 14px;
  border: 1px solid rgba(139,92,246,0.3);
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cta-title {
    font-weight: 1000;
    color: var(--text-main);
}

.cta-sub {
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 3px;
}

.cta-btn {
  text-decoration: none;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(139,92,246,0.2);
  transition: .25s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(139,92,246,0.3);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    margin-top: 14px;
}

@media (max-width: 900px) {
    .how-grid { grid-template-columns: 1fr; }
}

.how {
  border: 1px solid var(--border-cizgi);
  background: var(--soft-surface);
  border-radius: 16px;
  padding: 16px;
}

.how-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16,185,129,0.1);
  color: #10b981;
}

.how-title {
    margin-top: 10px;
    font-weight: 1000;
    color: var(--text-main);
}

.how-text {
    margin-top: 6px;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Featured Slider kartları */
.feature-card {
  border: 1px solid var(--border-cizgi);
  background: var(--bera-panel);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: .25s;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--bera-mavi-acik);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feature-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.feature-body {
    padding: 12px 14px;
}

.feature-cat {
    color: var(--bera-mavi);
    font-weight: 900;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.feature-title {
    margin: 6px 0 10px;
    font-weight: 1000;
    color: var(--text-main);
}

.feature-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--border-cizgi);
    padding-top: 10px;
}

.feature-price {
    font-weight: 1000;
    color: var(--text-main);
}

.feature-loc {
    color: var(--text-muted);
    font-weight: 800;
    font-size: 0.9rem;
}

/* ===== Featured swiper pagination daha şık ===== */
.featuredSwiper .swiper-pagination {
    position: relative;
    margin-top: 10px;
}

.featuredSwiper .swiper-pagination-bullet {
    opacity: 0.35;
    background: var(--text-muted);
}

.featuredSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--bera-mavi);
}

/* ===== Pro-bottom bloklarında boşluk ve hizalama ===== */
.pro-bottom {
    padding-bottom: 10px;
}

.pro-block {
    overflow: hidden;
}
/* ========================================= */
/* 📱 TAYF MOBİL OPTİMİZASYON - ÜST MENÜ     */
/* ========================================= */
@media screen and (max-width: 768px) {
    /* 1. Menü elemanları arasındaki genel boşlukları daralt */
    .navbar > div {
        gap: 8px !important;
    }

    /* 2. "İlan Ver" butonundaki yazıyı gizle, sadece artı (+) ikonu kalsın */
    #kullaniciMenusu .btn-ilan-ver {
        font-size: 0 !important; 
        padding: 8px 12px !important;
    }
    #kullaniciMenusu .btn-ilan-ver i {
        font-size: 16px !important;
    }

    /* 3. "Yönetici" butonunu telefona uygun şekilde daralt */
    #kullaniciMenusu .btn-kurumsal {
        padding: 6px 8px !important;
        font-size: 0.7rem !important;
    }

    /* 4. Profilin yanındaki isim yazısını (Örn: "Berfin Karataş") gizle */
    #kullaniciMenusu a span {
        display: none !important;
    }

    /* 5. Profil fotoğrafını mobilde bir tık küçült */
    #kullaniciMenusu img {
        width: 32px !important;
        height: 32px !important;
    }

    /* 6. Çıkış yap butonu ve aradaki dik çizginin boşluklarını kıs */
    #kullaniciMenusu > div > div {
        margin-left: 5px !important;
        padding-left: 5px !important;
    }

    /* 7. Büyütece tıklayınca açılan arama kutusu ekranı taşırmasın */
    .nav-arama.aktif input {
        width: 160px !important;
    }
    /* ============================================================== */
/* 📱 TÜM KULLANICI PANELLERİ İÇİN MOBİL MENÜ DÜZELTMESİ          */
/* ============================================================== */
@media screen and (max-width: 768px) {
    /* Ana yapıyı alt alta diz */
    .profil-grid { grid-template-columns: 1fr !important; margin-top: 10px !important; }
    
    /* Kullanıcı kartını hizala */
    .kullanici-kart { display: flex !important; flex-direction: column !important; align-items: center !important; position: relative !important; top: 0 !important; padding: 20px 15px !important; }
    
    .profil-avatar-kapsayici { width: 70px !important; height: 70px !important; margin: 0 auto 10px auto !important; transform: none !important; }
    #solAdSoyad, #adSoyad { font-size: 1.2rem !important; margin-bottom: 0 !important; text-align: center; }
    #kullaniciRolEtiket { margin-bottom: 10px !important; text-align: center; }

    /* 🌟 SOL MENÜYÜ YATAY STORY GİBİ YAP 🌟 */
    .profil-menu {
        display: flex !important; flex-direction: row !important; overflow-x: auto !important; 
        white-space: nowrap !important; width: 100% !important; border-top: 1px solid var(--border-cizgi);
        padding-top: 15px !important; margin-top: 10px !important; padding-bottom: 10px !important;
        -ms-overflow-style: none; scrollbar-width: none;  
    }
    .profil-menu::-webkit-scrollbar { display: none !important; }

    .menu-link { flex: 0 0 auto !important; margin-bottom: 0 !important; margin-right: 10px !important; padding: 10px 15px !important; font-size: 0.85rem !important; background: var(--soft-surface) !important; justify-content: center; }
    
    /* İçerik Kutuları ve Butonları Daralt */
    .ayarlar-kutu { padding: 20px 15px !important; }
    #destekFormu > div:first-child, #ayarlarFormu > div:first-child, #sifreFormu > div:nth-child(2), .form-ikili-grup { grid-template-columns: 1fr !important; gap: 15px !important; }
    #gonderBtn, #kaydetBtn, #sifreKaydetBtn { width: 100% !important; justify-content: center !important; }
}
}