/* ==========================================================================
   framework.css  —  v2.0 - Murat Sağlam 2016-2026 
   Sıralama:
     1. CSS Değişkenleri (:root)
     2. Reset & Temel Stiller
     3. Responsive Image Sistemi
     4. Container
     5. Grid Sistemi
     6. Display Utilities
     7. Position Utilities
     8. Width & Height Utilities
     9. Overflow Utilities
    10. Z-Index Utilities
    11. Border Utilities
    12. Border-Radius Utilities
    13. Flexbox Yardımcıları
    14. Order Utilities
    15. Gap Utilities
    16. Auto Margins & Stack
    17. Margin & Padding Utilities
    18. Metin Hizalama
    19. Görünürlük
    20. Responsive Gizleme (hidden-*)
   ========================================================================== */


/* ============================================================
   1. CSS DEĞİŞKENLERİ  —  tüm token'lar başta tanımlı
   ============================================================ */
:root {
  /* Gap ölçeği */
  --gap-0: 0;
  --gap-1: .25rem;
  --gap-2: .5rem;
  --gap-3: 1rem;
  --gap-4: 1.5rem;
  --gap-5: 3rem;
}


/* ============================================================
   2. RESET & TEMEL STİLLER
   ============================================================ */
* { box-sizing: border-box; }

body {
    margin: 0;
    line-height: var(--lh-normal);
    color: var(--dark);
    background-color: var(--light);
}


/* ============================================================
   3. RESPONSİVE IMAGE SİSTEMİ
   ============================================================ */

figure {
    margin: 1em 0;
}

figcaption {
    font-size: var(--text-sm);
    color: var(--muted);
    margin-top: 0.4em;
}

/* 1. Temel responsive — taşmayı önler, oranı korur */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. Kapsayıcıyı tamamen dolduran resimler (slider, kart görseli) */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 3. Thumbnail */
.img-thumbnail {
    padding: 0.25rem;
    background-color: var(--white);
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-width: 100%;
    height: auto;
    display: block;
}

/* 4. Aspect ratio — CLS'i önler */
.ratio-1x1  { aspect-ratio: 1 / 1;   object-fit: cover; }
.ratio-4x3  { aspect-ratio: 4 / 3;   object-fit: cover; }
.ratio-16x9 { aspect-ratio: 16 / 9;  object-fit: cover; }
.ratio-21x9 { aspect-ratio: 21 / 9;  object-fit: cover; }

/* 5. Şekil yardımcıları */
.img-circle  { border-radius: 50%; }
.img-rounded { border-radius: 0.25rem; }


/* ============================================================
   4. CONTAINER
   ============================================================ */
.container {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}


/* ============================================================
   5. GRİD SİSTEMİ
   ============================================================ */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* NOT: col-xs-* kaldırıldı — col-1..12 zaten her ekranda geçerli */
[class*="col-"] {
    padding: 0 15px;
    margin-bottom: 20px !important; /* !important: m-0 gibi utility'lerle override edilebilir */
}

.col-1  { flex: 0 0 8.333333%;   max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%;  max-width: 16.666667%; }
.col-3  { flex: 0 0 25%;         max-width: 25%; }
.col-4  { flex: 0 0 33.333333%;  max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%;  max-width: 41.666667%; }
.col-6  { flex: 0 0 50%;         max-width: 50%; }
.col-7  { flex: 0 0 58.333333%;  max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%;  max-width: 66.666667%; }
.col-9  { flex: 0 0 75%;         max-width: 75%; }
.col-10 { flex: 0 0 83.333333%;  max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%;  max-width: 91.666667%; }
.col-12 { flex: 0 0 100%;        max-width: 100%; }

/* Offset */
.offset-1  { margin-left: 8.333333%; }
.offset-2  { margin-left: 16.666667%; }
.offset-3  { margin-left: 25%; }
.offset-4  { margin-left: 33.333333%; }
.offset-5  { margin-left: 41.666667%; }
.offset-6  { margin-left: 50%; }
.offset-7  { margin-left: 58.333333%; }
.offset-8  { margin-left: 66.666667%; }
.offset-9  { margin-left: 75%; }
.offset-10 { margin-left: 83.333333%; }
.offset-11 { margin-left: 91.666667%; }

/* Responsive kolonlar — sm */
@media (min-width: 576px) {
    .col-sm-1  { flex: 0 0 8.333333%;   max-width: 8.333333%; }
    .col-sm-2  { flex: 0 0 16.666667%;  max-width: 16.666667%; }
    .col-sm-3  { flex: 0 0 25%;         max-width: 25%; }
    .col-sm-4  { flex: 0 0 33.333333%;  max-width: 33.333333%; }
    .col-sm-5  { flex: 0 0 41.666667%;  max-width: 41.666667%; }
    .col-sm-6  { flex: 0 0 50%;         max-width: 50%; }
    .col-sm-7  { flex: 0 0 58.333333%;  max-width: 58.333333%; }
    .col-sm-8  { flex: 0 0 66.666667%;  max-width: 66.666667%; }
    .col-sm-9  { flex: 0 0 75%;         max-width: 75%; }
    .col-sm-10 { flex: 0 0 83.333333%;  max-width: 83.333333%; }
    .col-sm-11 { flex: 0 0 91.666667%;  max-width: 91.666667%; }
    .col-sm-12 { flex: 0 0 100%;        max-width: 100%; }
}

/* Responsive kolonlar — md */
@media (min-width: 768px) {
    .col-md-1  { flex: 0 0 8.333333%;   max-width: 8.333333%; }
    .col-md-2  { flex: 0 0 16.666667%;  max-width: 16.666667%; }
    .col-md-3  { flex: 0 0 25%;         max-width: 25%; }
    .col-md-4  { flex: 0 0 33.333333%;  max-width: 33.333333%; }
    .col-md-5  { flex: 0 0 41.666667%;  max-width: 41.666667%; }
    .col-md-6  { flex: 0 0 50%;         max-width: 50%; }
    .col-md-7  { flex: 0 0 58.333333%;  max-width: 58.333333%; }
    .col-md-8  { flex: 0 0 66.666667%;  max-width: 66.666667%; }
    .col-md-9  { flex: 0 0 75%;         max-width: 75%; }
    .col-md-10 { flex: 0 0 83.333333%;  max-width: 83.333333%; }
    .col-md-11 { flex: 0 0 91.666667%;  max-width: 91.666667%; }
    .col-md-12 { flex: 0 0 100%;        max-width: 100%; }
}

/* Responsive kolonlar — lg */
@media (min-width: 992px) {
    .col-lg-1  { flex: 0 0 8.333333%;   max-width: 8.333333%; }
    .col-lg-2  { flex: 0 0 16.666667%;  max-width: 16.666667%; }
    .col-lg-3  { flex: 0 0 25%;         max-width: 25%; }
    .col-lg-4  { flex: 0 0 33.333333%;  max-width: 33.333333%; }
    .col-lg-5  { flex: 0 0 41.666667%;  max-width: 41.666667%; }
    .col-lg-6  { flex: 0 0 50%;         max-width: 50%; }
    .col-lg-7  { flex: 0 0 58.333333%;  max-width: 58.333333%; }
    .col-lg-8  { flex: 0 0 66.666667%;  max-width: 66.666667%; }
    .col-lg-9  { flex: 0 0 75%;         max-width: 75%; }
    .col-lg-10 { flex: 0 0 83.333333%;  max-width: 83.333333%; }
    .col-lg-11 { flex: 0 0 91.666667%;  max-width: 91.666667%; }
    .col-lg-12 { flex: 0 0 100%;        max-width: 100%; }
}

/* Responsive kolonlar — xl */
@media (min-width: 1200px) {
    .col-xl-1  { flex: 0 0 8.333333%;   max-width: 8.333333%; }
    .col-xl-2  { flex: 0 0 16.666667%;  max-width: 16.666667%; }
    .col-xl-3  { flex: 0 0 25%;         max-width: 25%; }
    .col-xl-4  { flex: 0 0 33.333333%;  max-width: 33.333333%; }
    .col-xl-5  { flex: 0 0 41.666667%;  max-width: 41.666667%; }
    .col-xl-6  { flex: 0 0 50%;         max-width: 50%; }
    .col-xl-7  { flex: 0 0 58.333333%;  max-width: 58.333333%; }
    .col-xl-8  { flex: 0 0 66.666667%;  max-width: 66.666667%; }
    .col-xl-9  { flex: 0 0 75%;         max-width: 75%; }
    .col-xl-10 { flex: 0 0 83.333333%;  max-width: 83.333333%; }
    .col-xl-11 { flex: 0 0 91.666667%;  max-width: 91.666667%; }
    .col-xl-12 { flex: 0 0 100%;        max-width: 100%; }
}


/* ============================================================
   6. DISPLAY UTİLİTİES
   ============================================================ */

.d-none         { display: none !important; }
.d-block        { display: block !important; }
.d-inline       { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex         { display: flex !important; }
.d-inline-flex  { display: inline-flex !important; }
.d-grid         { display: grid !important; }
.d-table        { display: table !important; }
.d-table-cell   { display: table-cell !important; }
.d-table-row    { display: table-row !important; }

/* Responsive display — xs (< 576px) */
@media (max-width: 575.98px) {
    .d-xs-none         { display: none !important; }
    .d-xs-block        { display: block !important; }
    .d-xs-inline       { display: inline !important; }
    .d-xs-inline-block { display: inline-block !important; }
    .d-xs-flex         { display: flex !important; }
    .d-xs-grid         { display: grid !important; }
}

/* Responsive display — sm */
@media (min-width: 576px) {
    .d-sm-none         { display: none !important; }
    .d-sm-block        { display: block !important; }
    .d-sm-inline       { display: inline !important; }
    .d-sm-inline-block { display: inline-block !important; }
    .d-sm-flex         { display: flex !important; }
    .d-sm-grid         { display: grid !important; }
}

/* Responsive display — md */
@media (min-width: 768px) {
    .d-md-none         { display: none !important; }
    .d-md-block        { display: block !important; }
    .d-md-inline       { display: inline !important; }
    .d-md-inline-block { display: inline-block !important; }
    .d-md-flex         { display: flex !important; }
    .d-md-grid         { display: grid !important; }
}

/* Responsive display — lg */
@media (min-width: 992px) {
    .d-lg-none         { display: none !important; }
    .d-lg-block        { display: block !important; }
    .d-lg-inline       { display: inline !important; }
    .d-lg-inline-block { display: inline-block !important; }
    .d-lg-flex         { display: flex !important; }
    .d-lg-grid         { display: grid !important; }
}

/* Responsive display — xl */
@media (min-width: 1200px) {
    .d-xl-none         { display: none !important; }
    .d-xl-block        { display: block !important; }
    .d-xl-inline       { display: inline !important; }
    .d-xl-inline-block { display: inline-block !important; }
    .d-xl-flex         { display: flex !important; }
    .d-xl-grid         { display: grid !important; }
}

/* Print */
@media print {
    .d-print-none         { display: none !important; }
    .d-print-block        { display: block !important; }
    .d-print-inline       { display: inline !important; }
    .d-print-inline-block { display: inline-block !important; }
    .d-print-flex         { display: flex !important; }
}


/* ============================================================
   7. POSİTİON UTİLİTİES
   ============================================================ */

.position-static   { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed    { position: fixed !important; }
.position-sticky   { position: sticky !important; }

.top-0    { top: 0 !important; }
.top-50   { top: 50% !important; }
.top-100  { top: 100% !important; }

.bottom-0   { bottom: 0 !important; }
.bottom-50  { bottom: 50% !important; }
.bottom-100 { bottom: 100% !important; }

.left-0   { left: 0 !important; }
.left-50  { left: 50% !important; }
.left-100 { left: 100% !important; }

.right-0   { right: 0 !important; }
.right-50  { right: 50% !important; }
.right-100 { right: 100% !important; }

.translate-middle   { transform: translate(-50%, -50%) !important; }
.translate-middle-x { transform: translateX(-50%) !important; }
.translate-middle-y { transform: translateY(-50%) !important; }


/* ============================================================
   8. WIDTH & HEIGHT UTİLİTİES
   ============================================================ */

.w-auto { width: auto !important; }
.w-25   { width: 25% !important; }
.w-33   { width: 33.333333% !important; }
.w-50   { width: 50% !important; }
.w-66   { width: 66.666667% !important; }
.w-75   { width: 75% !important; }
.w-100  { width: 100% !important; }
.w-min  { width: min-content !important; }
.w-max  { width: max-content !important; }
.w-fit  { width: fit-content !important; }

.h-auto { height: auto !important; }
.h-25   { height: 25% !important; }
.h-50   { height: 50% !important; }
.h-75   { height: 75% !important; }
.h-100  { height: 100% !important; }
.h-min  { height: min-content !important; }
.h-max  { height: max-content !important; }
.h-fit  { height: fit-content !important; }

.vw-100     { width: 100vw !important; }
.vh-100     { height: 100vh !important; }
.min-vw-100 { min-width: 100vw !important; }
.min-vh-100 { min-height: 100vh !important; }

.mw-100  { max-width: 100% !important; }
.mh-100  { max-height: 100% !important; }
.min-w-0 { min-width: 0 !important; }
.min-h-0 { min-height: 0 !important; }


/* ============================================================
   9. OVERFLOW UTİLİTİES
   ============================================================ */

.overflow-auto    { overflow: auto !important; }
.overflow-hidden  { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.overflow-scroll  { overflow: scroll !important; }
.overflow-clip    { overflow: clip !important; }

.overflow-x-auto   { overflow-x: auto !important; }
.overflow-x-hidden { overflow-x: hidden !important; }
.overflow-x-scroll { overflow-x: scroll !important; }

.overflow-y-auto   { overflow-y: auto !important; }
.overflow-y-hidden { overflow-y: hidden !important; }
.overflow-y-scroll { overflow-y: scroll !important; }


/* ============================================================
   10. Z-INDEX UTİLİTİES
   ============================================================ */

.z-0    { z-index: 0 !important; }
.z-10   { z-index: 10 !important; }
.z-20   { z-index: 20 !important; }
.z-30   { z-index: 30 !important; }
.z-40   { z-index: 40 !important; }
.z-50   { z-index: 50 !important; }
.z-100  { z-index: 100 !important; }
.z-200  { z-index: 200 !important; }
.z-300  { z-index: 300 !important; }
.z-400  { z-index: 400 !important; }
.z-500  { z-index: 500 !important; }
.z-auto { z-index: auto !important; }


/* ============================================================
   11. BORDER UTİLİTİES
   ============================================================ */

.border          { border: 1px solid currentColor !important; }
.border-0        { border: 0 !important; }
.border-top      { border-top: 1px solid currentColor !important; }
.border-top-0    { border-top: 0 !important; }
.border-bottom   { border-bottom: 1px solid currentColor !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-left     { border-left: 1px solid currentColor !important; }
.border-left-0   { border-left: 0 !important; }
.border-right    { border-right: 1px solid currentColor !important; }
.border-right-0  { border-right: 0 !important; }

.border-1 { border-width: 1px !important; }
.border-2 { border-width: 2px !important; }
.border-3 { border-width: 3px !important; }
.border-4 { border-width: 4px !important; }
.border-5 { border-width: 5px !important; }

.border-solid  { border-style: solid !important; }
.border-dashed { border-style: dashed !important; }
.border-dotted { border-style: dotted !important; }
.border-none   { border-style: none !important; }


/* ============================================================
   12. BORDER-RADIUS UTİLİTİES
   ============================================================ */

.rounded-0      { border-radius: 0 !important; }
.rounded-1      { border-radius: 0.25rem !important; }
.rounded-2      { border-radius: 0.5rem !important; }
.rounded-3      { border-radius: 0.75rem !important; }
.rounded-4      { border-radius: 1rem !important; }
.rounded-5      { border-radius: 1.5rem !important; }
.rounded        { border-radius: 0.25rem !important; }
.rounded-pill   { border-radius: 50rem !important; }
.rounded-circle { border-radius: 50% !important; }

.rounded-top    { border-top-left-radius: 0.25rem !important; border-top-right-radius: 0.25rem !important; }
.rounded-bottom { border-bottom-left-radius: 0.25rem !important; border-bottom-right-radius: 0.25rem !important; }
.rounded-left   { border-top-left-radius: 0.25rem !important; border-bottom-left-radius: 0.25rem !important; }
.rounded-right  { border-top-right-radius: 0.25rem !important; border-bottom-right-radius: 0.25rem !important; }


/* ============================================================
   13. FLEXBOX YARDIМCILARI
   ============================================================ */

.flex-row            { flex-direction: row !important; }
.flex-column         { flex-direction: column !important; }
.flex-row-reverse    { flex-direction: row-reverse !important; }
.flex-column-reverse { flex-direction: column-reverse !important; }
.flex-wrap           { flex-wrap: wrap !important; }
.flex-nowrap         { flex-wrap: nowrap !important; }
.flex-wrap-reverse   { flex-wrap: wrap-reverse !important; }

.justify-start   { justify-content: flex-start !important; }
.justify-end     { justify-content: flex-end !important; }
.justify-center  { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.justify-around  { justify-content: space-around !important; }
.justify-evenly  { justify-content: space-evenly !important; }

.align-start    { align-items: flex-start !important; }
.align-end      { align-items: flex-end !important; }
.align-center   { align-items: center !important; }
.align-baseline { align-items: baseline !important; }
.align-stretch  { align-items: stretch !important; }

.align-content-start   { align-content: flex-start !important; }
.align-content-end     { align-content: flex-end !important; }
.align-content-center  { align-content: center !important; }
.align-content-between { align-content: space-between !important; }
.align-content-around  { align-content: space-around !important; }
.align-content-stretch { align-content: stretch !important; }

.align-self-auto     { align-self: auto !important; }
.align-self-start    { align-self: flex-start !important; }
.align-self-end      { align-self: flex-end !important; }
.align-self-center   { align-self: center !important; }
.align-self-baseline { align-self: baseline !important; }
.align-self-stretch  { align-self: stretch !important; }

.flex-fill     { flex: 1 1 auto !important; }
.flex-grow-0   { flex-grow: 0 !important; }
.flex-grow-1   { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-shrink-1 { flex-shrink: 1 !important; }


/* ============================================================
   14. ORDER UTİLİTİES
   NOT: .order-last çift tanım düzeltildi — tek kaynak burada.
   ============================================================ */

.order-first { order: -1 !important; }
.order-last  { order: 9999 !important; }

.order-0  { order: 0 !important; }
.order-1  { order: 1 !important; }
.order-2  { order: 2 !important; }
.order-3  { order: 3 !important; }
.order-4  { order: 4 !important; }
.order-5  { order: 5 !important; }
.order-6  { order: 6 !important; }
.order-7  { order: 7 !important; }
.order-8  { order: 8 !important; }
.order-9  { order: 9 !important; }
.order-10 { order: 10 !important; }
.order-11 { order: 11 !important; }
.order-12 { order: 12 !important; }

@media (min-width: 576px) {
    .order-sm-first { order: -1 !important; }
    .order-sm-last  { order: 9999 !important; }
    .order-sm-0  { order: 0 !important; }  .order-sm-1  { order: 1 !important; }
    .order-sm-2  { order: 2 !important; }  .order-sm-3  { order: 3 !important; }
    .order-sm-4  { order: 4 !important; }  .order-sm-5  { order: 5 !important; }
    .order-sm-6  { order: 6 !important; }  .order-sm-7  { order: 7 !important; }
    .order-sm-8  { order: 8 !important; }  .order-sm-9  { order: 9 !important; }
    .order-sm-10 { order: 10 !important; } .order-sm-11 { order: 11 !important; }
    .order-sm-12 { order: 12 !important; }
}

@media (min-width: 768px) {
    .order-md-first { order: -1 !important; }
    .order-md-last  { order: 9999 !important; }
    .order-md-0  { order: 0 !important; }  .order-md-1  { order: 1 !important; }
    .order-md-2  { order: 2 !important; }  .order-md-3  { order: 3 !important; }
    .order-md-4  { order: 4 !important; }  .order-md-5  { order: 5 !important; }
    .order-md-6  { order: 6 !important; }  .order-md-7  { order: 7 !important; }
    .order-md-8  { order: 8 !important; }  .order-md-9  { order: 9 !important; }
    .order-md-10 { order: 10 !important; } .order-md-11 { order: 11 !important; }
    .order-md-12 { order: 12 !important; }
}

@media (min-width: 992px) {
    .order-lg-first { order: -1 !important; }
    .order-lg-last  { order: 9999 !important; }
    .order-lg-0  { order: 0 !important; }  .order-lg-1  { order: 1 !important; }
    .order-lg-2  { order: 2 !important; }  .order-lg-3  { order: 3 !important; }
    .order-lg-4  { order: 4 !important; }  .order-lg-5  { order: 5 !important; }
    .order-lg-6  { order: 6 !important; }  .order-lg-7  { order: 7 !important; }
    .order-lg-8  { order: 8 !important; }  .order-lg-9  { order: 9 !important; }
    .order-lg-10 { order: 10 !important; } .order-lg-11 { order: 11 !important; }
    .order-lg-12 { order: 12 !important; }
}

@media (min-width: 1200px) {
    .order-xl-first { order: -1 !important; }
    .order-xl-last  { order: 9999 !important; }
    .order-xl-0  { order: 0 !important; }  .order-xl-1  { order: 1 !important; }
    .order-xl-2  { order: 2 !important; }  .order-xl-3  { order: 3 !important; }
    .order-xl-4  { order: 4 !important; }  .order-xl-5  { order: 5 !important; }
    .order-xl-6  { order: 6 !important; }  .order-xl-7  { order: 7 !important; }
    .order-xl-8  { order: 8 !important; }  .order-xl-9  { order: 9 !important; }
    .order-xl-10 { order: 10 !important; } .order-xl-11 { order: 11 !important; }
    .order-xl-12 { order: 12 !important; }
}


/* ============================================================
   15. GAP UTİLİTİES  (--gap-* değişkenleri :root'ta tanımlı)
   ============================================================ */

.gap-0 { gap: var(--gap-0) !important; }
.gap-1 { gap: var(--gap-1) !important; }
.gap-2 { gap: var(--gap-2) !important; }
.gap-3 { gap: var(--gap-3) !important; }
.gap-4 { gap: var(--gap-4) !important; }
.gap-5 { gap: var(--gap-5) !important; }

.gap-x-0 { column-gap: var(--gap-0) !important; }
.gap-x-1 { column-gap: var(--gap-1) !important; }
.gap-x-2 { column-gap: var(--gap-2) !important; }
.gap-x-3 { column-gap: var(--gap-3) !important; }
.gap-x-4 { column-gap: var(--gap-4) !important; }
.gap-x-5 { column-gap: var(--gap-5) !important; }

.gap-y-0 { row-gap: var(--gap-0) !important; }
.gap-y-1 { row-gap: var(--gap-1) !important; }
.gap-y-2 { row-gap: var(--gap-2) !important; }
.gap-y-3 { row-gap: var(--gap-3) !important; }
.gap-y-4 { row-gap: var(--gap-4) !important; }
.gap-y-5 { row-gap: var(--gap-5) !important; }

@media (min-width: 576px) {
    .gap-sm-0 { gap: var(--gap-0) !important; } .gap-sm-1 { gap: var(--gap-1) !important; }
    .gap-sm-2 { gap: var(--gap-2) !important; } .gap-sm-3 { gap: var(--gap-3) !important; }
    .gap-sm-4 { gap: var(--gap-4) !important; } .gap-sm-5 { gap: var(--gap-5) !important; }
    .gap-sm-x-0 { column-gap: var(--gap-0) !important; } .gap-sm-x-1 { column-gap: var(--gap-1) !important; }
    .gap-sm-x-2 { column-gap: var(--gap-2) !important; } .gap-sm-x-3 { column-gap: var(--gap-3) !important; }
    .gap-sm-x-4 { column-gap: var(--gap-4) !important; } .gap-sm-x-5 { column-gap: var(--gap-5) !important; }
    .gap-sm-y-0 { row-gap: var(--gap-0) !important; } .gap-sm-y-1 { row-gap: var(--gap-1) !important; }
    .gap-sm-y-2 { row-gap: var(--gap-2) !important; } .gap-sm-y-3 { row-gap: var(--gap-3) !important; }
    .gap-sm-y-4 { row-gap: var(--gap-4) !important; } .gap-sm-y-5 { row-gap: var(--gap-5) !important; }
}

@media (min-width: 768px) {
    .gap-md-0 { gap: var(--gap-0) !important; } .gap-md-1 { gap: var(--gap-1) !important; }
    .gap-md-2 { gap: var(--gap-2) !important; } .gap-md-3 { gap: var(--gap-3) !important; }
    .gap-md-4 { gap: var(--gap-4) !important; } .gap-md-5 { gap: var(--gap-5) !important; }
    .gap-md-x-0 { column-gap: var(--gap-0) !important; } .gap-md-x-1 { column-gap: var(--gap-1) !important; }
    .gap-md-x-2 { column-gap: var(--gap-2) !important; } .gap-md-x-3 { column-gap: var(--gap-3) !important; }
    .gap-md-x-4 { column-gap: var(--gap-4) !important; } .gap-md-x-5 { column-gap: var(--gap-5) !important; }
    .gap-md-y-0 { row-gap: var(--gap-0) !important; } .gap-md-y-1 { row-gap: var(--gap-1) !important; }
    .gap-md-y-2 { row-gap: var(--gap-2) !important; } .gap-md-y-3 { row-gap: var(--gap-3) !important; }
    .gap-md-y-4 { row-gap: var(--gap-4) !important; } .gap-md-y-5 { row-gap: var(--gap-5) !important; }
}

@media (min-width: 992px) {
    .gap-lg-0 { gap: var(--gap-0) !important; } .gap-lg-1 { gap: var(--gap-1) !important; }
    .gap-lg-2 { gap: var(--gap-2) !important; } .gap-lg-3 { gap: var(--gap-3) !important; }
    .gap-lg-4 { gap: var(--gap-4) !important; } .gap-lg-5 { gap: var(--gap-5) !important; }
    .gap-lg-x-0 { column-gap: var(--gap-0) !important; } .gap-lg-x-1 { column-gap: var(--gap-1) !important; }
    .gap-lg-x-2 { column-gap: var(--gap-2) !important; } .gap-lg-x-3 { column-gap: var(--gap-3) !important; }
    .gap-lg-x-4 { column-gap: var(--gap-4) !important; } .gap-lg-x-5 { column-gap: var(--gap-5) !important; }
    .gap-lg-y-0 { row-gap: var(--gap-0) !important; } .gap-lg-y-1 { row-gap: var(--gap-1) !important; }
    .gap-lg-y-2 { row-gap: var(--gap-2) !important; } .gap-lg-y-3 { row-gap: var(--gap-3) !important; }
    .gap-lg-y-4 { row-gap: var(--gap-4) !important; } .gap-lg-y-5 { row-gap: var(--gap-5) !important; }
}

@media (min-width: 1200px) {
    .gap-xl-0 { gap: var(--gap-0) !important; } .gap-xl-1 { gap: var(--gap-1) !important; }
    .gap-xl-2 { gap: var(--gap-2) !important; } .gap-xl-3 { gap: var(--gap-3) !important; }
    .gap-xl-4 { gap: var(--gap-4) !important; } .gap-xl-5 { gap: var(--gap-5) !important; }
}


/* ============================================================
   16. AUTO MARGINS & STACK
   ============================================================ */

.m-auto  { margin: auto !important; }
.mt-auto { margin-top: auto !important; }
.mr-auto { margin-right: auto !important; }
.mb-auto { margin-bottom: auto !important; }
.ml-auto { margin-left: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }

.stack         { display: flex; flex-direction: column; }
.stack-row     { flex-direction: row; }

@media (min-width: 576px)  { .stack-sm-row { flex-direction: row; } }
@media (min-width: 768px)  { .stack-md-row { flex-direction: row; } }
@media (min-width: 992px)  { .stack-lg-row { flex-direction: row; } }
@media (min-width: 1200px) { .stack-xl-row { flex-direction: row; } }


/* ============================================================
   17. MARGIN & PADDING UTİLİTİES
   ============================================================ */

.m-0 { margin: 0 !important; }
.m-1 { margin: .25rem !important; }
.m-2 { margin: .5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: .25rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: .25rem !important; }
.mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }

.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.mx-1 { margin-left: .25rem !important; margin-right: .25rem !important; }
.mx-2 { margin-left: .5rem !important;  margin-right: .5rem !important; }
.mx-3 { margin-left: 1rem !important;   margin-right: 1rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.mx-5 { margin-left: 3rem !important;   margin-right: 3rem !important; }

.my-0 { margin-top: 0 !important;    margin-bottom: 0 !important; }
.my-1 { margin-top: .25rem !important; margin-bottom: .25rem !important; }
.my-2 { margin-top: .5rem !important;  margin-bottom: .5rem !important; }
.my-3 { margin-top: 1rem !important;   margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important;   margin-bottom: 3rem !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: .25rem !important; }
.p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: .25rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: .25rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: .25rem !important; }
.pl-2 { padding-left: .5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }

.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: .25rem !important; }
.pr-2 { padding-right: .5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }

.px-0 { padding-left: 0 !important;      padding-right: 0 !important; }
.px-1 { padding-left: .25rem !important;  padding-right: .25rem !important; }
.px-2 { padding-left: .5rem !important;   padding-right: .5rem !important; }
.px-3 { padding-left: 1rem !important;    padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important;  padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important;    padding-right: 3rem !important; }

.py-0 { padding-top: 0 !important;    padding-bottom: 0 !important; }
.py-1 { padding-top: .25rem !important; padding-bottom: .25rem !important; }
.py-2 { padding-top: .5rem !important;  padding-bottom: .5rem !important; }
.py-3 { padding-top: 1rem !important;   padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important;   padding-bottom: 3rem !important; }


/* ============================================================
   18. METİN HİZALAMA
   ============================================================ */

.text-left    { text-align: left !important; }
.text-right   { text-align: right !important; }
.text-center  { text-align: center !important; }
.text-justify { text-align: justify !important; }


/* ============================================================
   19. GÖRÜNÜRLÜK
   ============================================================ */

.visible   { visibility: visible !important; }
.invisible { visibility: hidden !important; }


/* ============================================================
   20. RESPONSİVE GİZLEME  (hidden-*)
   NOT: d-none / d-*-block ile çakışma yaşamamak için bu sınıflar
        yalnızca kendi breakpoint aralıklarında çalışır.
        Aynı elemente hem hidden-xs hem d-flex verilmesi durumunda
        d-flex kazanır — bu bilinen ve belgelenmiş bir davranıştır.
   ============================================================ */

@media (max-width: 575.98px)                    { .hidden-xs { display: none !important; } }
@media (min-width: 576px) and (max-width: 767.98px)  { .hidden-sm { display: none !important; } }
@media (min-width: 768px) and (max-width: 991.98px)  { .hidden-md { display: none !important; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .hidden-lg { display: none !important; } }
@media (min-width: 1200px)                      { .hidden-xl { display: none !important; } }


/* ============================================================
   21. SECTION HELPER  (eski .section sınıfı korundu)
   ============================================================ */

.section {
    margin: 40px 0;
    padding: 20px 0;
}
