
/* =========================================================
   MRT / FOOTER FINAL
========================================================= */

.site-footer{
  position:relative;

  padding:0 !important;

  background:
    #070503 !important;

  border-top:
    1px solid
    rgba(215,169,70,.09);
}


/* =========================================================
   ANA FOOTER SATIRI
========================================================= */

.site-footer__inner{
  width:min(
    var(--container),
    calc(100% - 48px)
  ) !important;

  min-height:125px !important;

  margin-inline:auto !important;

  padding:
    16px
    0 !important;

  display:grid !important;

  grid-template-columns:
    150px
    minmax(0,1fr)
    auto !important;

  align-items:center !important;

  gap:36px !important;
}


/* =========================================================
   MRT LOGO
========================================================= */

.site-footer__brand{
  width:150px !important;

  min-width:0 !important;

  height:92px !important;

  display:flex !important;

  align-items:center !important;

  justify-content:flex-start !important;

  overflow:hidden !important;
}


.footer-logo-img{
  display:block !important;

  width:auto !important;

  height:88px !important;

  max-width:110px !important;
  max-height:88px !important;

  margin:0 !important;

  object-fit:contain !important;

  object-position:center !important;

  filter:none !important;
}


/* =========================================================
   NAV
========================================================= */

.site-footer__nav{
  min-width:0;

  display:flex !important;

  align-items:center !important;

  justify-content:center !important;

  flex-wrap:wrap !important;

  gap:
    10px
    25px !important;
}


.site-footer__nav a{
  color:#a99a88 !important;

  font-size:10.5px !important;

  font-weight:700;

  text-decoration:none;

  transition:
    color .2s ease;
}


.site-footer__nav a:hover{
  color:var(--gold-light) !important;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.site-footer__meta{
  min-width:max-content;

  display:flex !important;

  align-items:center !important;

  justify-content:flex-end !important;

  flex-direction:row !important;

  white-space:nowrap !important;
}


.site-footer__meta span{
  color:#8e8172 !important;

  font-size:8.5px !important;

  font-weight:700;

  white-space:nowrap !important;
}


/* =========================================================
   WETASOME CREDIT
========================================================= */

.site-footer__credit{
  width:100%;

  min-height:62px !important;

  padding:
    0
    20px !important;

  display:flex !important;

  align-items:center !important;

  justify-content:center !important;

  border-top:
    1px solid
    rgba(215,169,70,.055);

  background:
    rgba(0,0,0,.14);
}


.site-footer__credit-link{
  position:relative;

  width:280px;
  height:42px;

  display:flex !important;

  align-items:center !important;

  justify-content:center !important;

  overflow:hidden;

  text-decoration:none;
}


/* LOGO */

.agency-credit-image{
  display:block !important;

  width:auto !important;

  height:30px !important;

  max-width:155px !important;

  object-fit:contain !important;

  opacity:1 !important;

  filter:none !important;

  transform:
    translateY(0);

  transition:
    opacity .28s ease,
    transform .28s ease;
}


/* HOVER TEXT */

.agency-credit-text{
  position:absolute;

  inset:0;

  display:flex;

  align-items:center;

  justify-content:center;

  color:#cdbca5;

  font-family:
    "Manrope",
    sans-serif;

  font-size:10px;

  font-weight:700;

  letter-spacing:.035em;

  opacity:0;

  transform:
    translateY(7px);

  transition:
    opacity .28s ease,
    transform .28s ease;
}


/* Desktop hover */

@media(hover:hover) and (pointer:fine){

  .site-footer__credit-link:hover
  .agency-credit-image{
    opacity:0 !important;

    transform:
      translateY(-7px);
  }


  .site-footer__credit-link:hover
  .agency-credit-text{
    opacity:1;

    transform:
      translateY(0);
  }

}


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

@media(max-width:1000px){

  .site-footer__inner{
    min-height:auto !important;

    padding:
      28px
      0 !important;

    grid-template-columns:1fr !important;

    justify-items:center !important;

    gap:21px !important;
  }


  .site-footer__brand{
    width:auto !important;

    height:auto !important;

    justify-content:center !important;
  }


  .footer-logo-img{
    height:82px !important;

    max-width:105px !important;
  }


  .site-footer__meta{
    justify-content:center !important;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

  /*
    Bottom navbar için alan footer'ın DIŞ padding'i değil,
    credit sonrasına bırakılır.
  */

  .site-footer{
    padding-bottom:
      calc(
        78px
        + env(safe-area-inset-bottom)
      ) !important;
  }


  .site-footer__inner{
    width:
      calc(100% - 28px) !important;

    padding:
      27px
      0
      22px !important;

    gap:19px !important;
  }


  .footer-logo-img{
    height:78px !important;

    max-width:98px !important;
  }


  .site-footer__nav{
    gap:
      9px
      17px !important;
  }


  .site-footer__nav a{
    font-size:9px !important;
  }


  .site-footer__meta span{
    font-size:8px !important;
  }


  .site-footer__credit{
    min-height:62px !important;

    padding:0 !important;
  }


  .site-footer__credit-link{
    width:230px;

    height:40px;
  }


  .agency-credit-image{
    height:27px !important;

    max-width:140px !important;
  }


  /*
    Mobilde hover yok:
    logo her zaman görünür.
  */

  .agency-credit-text{
    display:none !important;
  }

}

