/* =========================================
   1. GENEL AYARLAR, RESET & DEĞİŞKENLER
   ========================================= */
:root {
  /* Renk Paleti */
  --primary-color: #e65100;
  --text-color: #2c3e50;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #eeeeee;
  
  /* Hız İçin Sistem Fontu Tanımlaması */
  --font-default: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Geçiş Efektleri */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Ekstra Renkler (Diğer sayfalardan gelenler) */
  --ana-turuncu: #ff9800;
  --koyu-fume: #263238;
  --beyaz-saf: #ffffff;
  --beyaz-kirli: #f9f9f9;
  --primary: #1e293b;
  --accent-orange: #f1a918;
  --accent-gradient: linear-gradient(135deg, #f1a918 0%, #e65100 100%);
  --text-dark: #0f172a;
  --text-gray: #475569;
}

* { box-sizing: border-box; }

/* DİKKAT: PADDING-TOP KALDIRILDI! HEADER İÇERİĞİ AŞAĞI İTMEZ */
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-color);
  overflow-x: hidden;
  /* Performans için Google Font yerine Sistem Fontu */
  font-family: var(--font-default) !important;
}

/* Tüm elementlere fontu zorla (Hız için) */
h1, h2, h3, h4, h5, h6, p, a, span, input, button, select, textarea, li {
    font-family: inherit;
}

/* =========================================
   5. FOOTER (ALT KISIM) - KORUNDU
   ========================================= */
.main-footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px 0;
  margin-top: 50px;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.footer-left { flex: 1; min-width: 300px; }
.footer-logo { height: 50px; width: auto; }
.footer-brand-text { display: flex; flex-direction: column; margin-left: 15px; }
.brand-title { font-size: 18px; font-weight: 800; color: var(--primary-color); }
.brand-year { font-size: 12px; color: #999; }

.footer-right {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  gap: 80px;
  flex-wrap: wrap;
}

.footer-links-group { min-width: 150px; text-align: left; }

.footer-links-group h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.footer-links-group h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.footer-links-group ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links-group ul li { margin-bottom: 10px; }

.footer-links-group ul li a {
  text-decoration: none !important;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links-group ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: #aaa;
}

/* Mobil Footer Düzeni */
@media (max-width: 768px) {
  .main-footer {
    padding: 40px 0 20px 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-left {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-box {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
    width: 100%;
    gap: 40px;
  }

  .footer-links-group {
    min-width: 140px;
  }
}

/* =========================================
   6. GLOBAL WIDGETLAR (Sabit Menü & Yukarı Çık) - KORUNDU
   ========================================= */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  border: none;
  outline: none;
  background-color: var(--accent-orange);
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(241, 169, 24, 0.4);
  transition: 0.3s;
}

#scrollTopBtn:hover {
  transform: translateY(-3px);
  background-color: var(--primary);
}

/* Hızlı Erişim Menüsü */
.fixed-quick-menu {
  position: fixed;
  right: -240px;
  top: 50%;
  transform: translateY(-50%);
  width: 290px;
  background: #ffffff;
  border-radius: 35px 0 0 35px;
  box-shadow: -15px 0 50px rgba(0,0,0,0.12);
  z-index: 10000;
  display: flex;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border: 1px solid rgba(0,0,0,0.05);
}

.fixed-quick-menu:hover { right: 0; }

.quick-access-trigger {
  width: 50px;
  background: #232d3b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 35px 0 0 35px;
  cursor: pointer;
}

.fixed-quick-menu:hover .quick-access-trigger span { transform: rotate(180deg); }

.quick-menu-inner { flex: 1; padding: 25px 0; }
.q-menu-header { font-size: 11px; font-weight: 800; color: #94a3b8; letter-spacing: 1px; padding: 0 20px 10px; }

.q-nav-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 20px;
  text-decoration: none;
  transition: 0.3s;
}

.q-nav-link:hover { background: #f8fafc; }
.q-icon { color: #f97316; font-size: 22px; }
.q-text { color: #1e293b; font-weight: 700; font-size: 14px; }

.q-tab-wrapper { display: flex; padding: 0 15px; margin: 15px 0; gap: 5px; }
.q-tab-btn { flex: 1; border: 1px solid #e2e8f0; background: #fff; padding: 7px; font-size: 11px; font-weight: 800; border-radius: 8px; cursor: pointer; }
.q-tab-btn.active { background: #f1f5f9; color: #1e293b; border-color: #cbd5e1; }

.q-tab-content { display: none; }
.q-tab-content.active { display: block; }

.q-counter-card {
  background: #1e293b;
  margin: 5px 15px;
  padding: 10px;
  border-radius: 12px;
  color: white;
  text-align: center;
}

.q-counter-card small { font-size: 9px; opacity: 0.6; text-transform: uppercase; }
.q-counter-card div { font-weight: 800; color: #fbbf24; font-size: 15px; }

/* =========================================================
   MOBİL GİZLEME (HIZLI ERİŞİM & ANA KONTEYNER) - KORUNDU
   ========================================================= */

@media screen and (max-width: 1024px) {
    
    /* Sağdaki sabit menüleri hedefle ve gizle */
    .fixed-quick-menu, 
    .sag-sabit-menu,
    .sticky-sidebar,
    .quick-menu-container {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    /* Ana içerik alanını mobilde tam ekran yap (Kenar boşluğunu al) */
    .container, 
    .main-content,
    .portal-konteyner {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 10px auto !important;
        box-sizing: border-box !important;
    }
}