
/* public/css/components/siteFooter.css */

/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer {
  width: 100%;
  margin: 0 auto;
  max-width:920px;

  padding:30px 0px;



  background:
    var(--var-header);

  box-sizing: border-box;
}

/*
  Home, Login ve Dashboard aynı footer yapısını
  kullandığı için ortak ölçüler korunur.
*/

.site-footer--home,
.site-footer--login,
.site-footer--dashboard {
  width: 100%;
  max-width:1200px;
}



/* =========================================================
   ANA FOOTER YAPISI
   ========================================================= */

.site-footer-main {
  width: 100%;
  max-width: 1280px;

  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 42px;
}

/* =========================================================
   ÜST TANITIM / BRAND ALANI
   ========================================================= */

.site-footer-brand {
  width: 100%;
  min-width: 0;

  padding-bottom: 32px;

    display: flex;
    align-items: center;
    flex-direction: column;

    gap: 15px;

 

  border-bottom:
    1px solid
    var(--border-soft);
}

.site-footer-description {
  max-width: 620px;

  margin: 0;

  color:
    var(--text-secondary);

  font-size: 14px !important;
  line-height: 1.75;
}

.site-footer-badge {
  width: fit-content;
  min-height: 30px;

  padding: 0 13px;
  margin: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  border:
    1px solid
    var(--border-soft);

  border-radius:
    var(--radius-round);

  color:
    var(--text-secondary);

  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  white-space: nowrap;
}

/* =========================================================
   FOOTER SÜTUNLARI GRID
   ========================================================= */

.site-footer-columns-grid {
  width: 100%;

  display: grid;
  grid-template-columns:
    repeat(
      3,
      minmax(0, 1fr)
    );

  align-items: start;

  gap: 32px 48px;
}

.site-footer-column {
  min-width: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 12px;
}

.site-footer-column h2 {
  margin: 0 0 8px;
 width:150px;
  text-align: left;
  color:
    var(--text-main);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer-column a,
.site-footer-column span,
.site-footer-link-button {
  color:
    var(--text-secondary);
  width:150px;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
}



/* =========================================================
   FOOTER BAĞLANTILARI
   ========================================================= */

.site-footer-column a,
.site-footer-link-button {
  transition:
    color var(--transition-fast),
    opacity var(--transition-fast),
    transform var(--transition-fast);
}

.site-footer-column a:hover,
.site-footer-link-button:hover {
  color:
    var(--text-main);

  opacity: 0.9;

  transform:
    translateX(3px);
}

.site-footer-link-button {
  margin: 0;
  padding: 0;

  border: none;
  outline: none;

  background:
    transparent;

  cursor: pointer;
}

.site-footer-column a:focus-visible,
.site-footer-link-button:focus-visible {
  outline:
    2px solid
    var(--text-main);

  outline-offset: 4px;

  border-radius: 4px;
}

/* =========================================================
   KULLANILAN TEKNOLOJİLER
   ========================================================= */

.site-footer-technologies {
  width: 100%;
  max-width: 1280px;

  margin: 48px auto 0;
  padding-top: 32px;

  display: flex;
  flex-direction: column;

  gap: 24px;

  border-top:
    1px solid
    var(--border-soft);

  box-sizing: border-box;
}

/* =========================================================
   TEKNOLOJİ BAŞLIK ALANI
   ========================================================= */

.site-footer-technologies-header {

     width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
}

.site-footer-technologies-header h2 {
  margin: 0;

  color:
    var(--text-main);

  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.site-footer-technologies-header p {
  max-width: 520px;

  margin: 0;

  justify-self: end;

  color:
    var(--text-secondary);

  font-size: 12px;
  line-height: 1.6;
  text-align: right;
}

/* =========================================================
   TEKNOLOJİ KARTLARI
   ========================================================= */

.site-footer-technology-list {
    width: 100%;
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    justify-items: center;
    flex-wrap: wrap;
}

.site-footer-technology-item {
  width: 120px;
  min-width: 0;
  min-height: 33px;

 

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 3px;

  border:
    1px solid
    var(--border-soft);

  border-radius: 12px;



  color:
    var(--text-secondary);

  box-sizing: border-box;

  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    color var(--transition-fast),
    transform var(--transition-fast);
}


.site-footer-technology-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 24px;

  color:
    currentColor;
}

.site-footer-technology-icon svg {
  width: 100%;
  height: 100%;

  display: block;
}

.site-footer-technology-name {
  min-width: 0;

  color:
    inherit;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;

  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================================================
   GÜVENLİK / GÜVEN ALANI
   ========================================================= */

.site-footer-trust-list {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 12px 24px;
}

.site-footer-trust-item {
  min-height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: flex-start;

  gap: 8px;

  color:
    var(--text-secondary);
}

.site-footer-trust-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 18px;

  color:
    currentColor;
}

.site-footer-trust-icon svg {
  width: 100%;
  height: 100%;

  display: block;
}

.site-footer-trust-label {
  color:
    inherit;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;

  white-space: nowrap;
}

/* =========================================================
   FOOTER ALT BİLGİ
   ========================================================= */

.site-footer-bottom {
  width: 100%;
    max-width: 1280px;
    margin: 30px auto 0;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    border-top: 1px solid var(--border-soft);
    flex-direction: column;
}

.site-footer-copyright,
.site-footer-meta {
  color:
    var(--text-secondary);

  font-size: 12px;
  line-height: 1.5;
}

.site-footer-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;

  gap: 8px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width: 980px) {
  .site-footer-main {
    gap: 36px;
  }

  

  .site-footer-description {
    max-width: 560px;
    text-align: center;

  }

  

  .site-footer-technologies {
    margin-top: 42px;
  }

  .site-footer-technologies-header {
    grid-template-columns: 1fr;
    align-items: center;

    gap: 10px;
  }

  .site-footer-technologies-header p {
    max-width: 560px;


  }

  
}

/* =========================================================
   MOBİL
   ========================================================= */

@media screen and (max-width: 640px) {
  .site-footer {
    padding:20px 0px;
  }

  .site-footer-main {
    gap: 32px;
  }

  .site-footer-brand {
    gap: 16px;

    padding-bottom: 26px;
    align-items: center;
    flex-direction: column;
  }

  .site-footer-description {
    max-width: 100%;
    text-align: center;
  }

  .site-footer-columns-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 30px;
  }

   .site-footer-columns-grid h2{
    text-align: center;
   }

    .site-footer-columns-grid a{
    text-align: center;
   }
    .site-footer-columns-grid button{
    text-align: center;
   }

    .site-footer-columns-grid span{
    text-align: center;
   }

   .site-footer-technologies-header{
    justify-items: center;
   }

    .site-footer-technologies-header p{
      text-align: center;
    }

    .site-footer-trust-list{

        gap: 10px;
        display: flex;
        align-items: center;
        flex-direction: column;
        display: flex
    }

    .site-footer-trust-item{
      width:auto
    }




  .site-footer-column {
    padding-top: 4px;
    align-items: flex-start;
  }

  .site-footer-technologies {
    margin-top: 34px;
    padding-top: 26px;

    gap: 40px;
  }

  .site-footer-technologies-header {
    gap: 8px;
  }

  .site-footer-technologies-header p {
    font-size: 12px;
    line-height: 1.55;
  }

  

  .site-footer-technology-item {
    min-height: 52px;
    justify-content: flex-start;
    padding: 10px;
  }

  .site-footer-technology-icon {
    width: 22px;
    height: 22px;
    min-width: 22px;

    flex-basis: 22px;
  }

  .site-footer-technology-name {
    font-size: 11px;
  }




  .site-footer-bottom {
    margin-top: 38px;

    flex-direction: column;
    align-items: center;

    gap: 15px;
  }

  .site-footer-meta {
    justify-content: flex-start;
  }
}

/* =========================================================
   DAR MOBİL
   ========================================================= */

@media screen and (max-width: 380px) {


  .site-footer-technology-item {
    min-height: 48px;
  }

  .site-footer-meta {
    gap: 6px;
  }
}

/* =========================================================
   HAREKET AZALTMA TERCİHİ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .site-footer-column a,
  .site-footer-link-button,
  .site-footer-technology-item {
    transition: none;
  }

  .site-footer-column a:hover,
  .site-footer-link-button:hover,
  .site-footer-technology-item:hover {
    transform: none;
  }
}

