html {
  scroll-behavior: smooth;
}

:root {
  --sb-track-color: #161d2c;
  --sb-thumb-color: #b9967f;
}

body {
  font-family: "EB Garamond", serif;
  --sb-size: 20px;
}

.im {

  aspect-ratio: 10 / 7;
  width: 100%;
  /* or specify a max width */
  object-fit: cover;
  /* Keeps content visually pleasing */
}


.pan-hukuk {
  background: url(../img/body-bg.webp) bottom right/400px no-repeat fixed;
}

.display-none {
  display: none
}

body::-webkit-scrollbar {
  width: var(--sb-size);
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 6px;
  border: 3px solid var(--sb-track-color);
  box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

.phone {
  background: url(../img/telephone.svg) 2px no-repeat;
}

.email {
  background: url(../img/envelope.svg) 2px 5px no-repeat;
}

.lawyers {
  .email {
    background-position: 2px 12px;
  }
}

.adress {
  background: url(../img/geo-alt.svg) 2px 5px no-repeat;
}

header {
  .navbar {
    .logo {
      padding: 8px;
      border: 1px solid rgba(245, 245, 220, 0.51);

      img {
        padding: 4px;
        border: 1px solid rgba(245, 245, 220, 0.51);
        max-width: none;
      }
    }

    .navbar-nav {
      .nav-item {
        .nav-link {
          transition: 0.3s;

          &.active {
            color: #b9967f;
          }

          &::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            background: linear-gradient(to right,
                #b8967e,
                rgba(255, 255, 255, 0));
            width: 0;
            height: 2px;
            transition: 0.3s;
          }

          &:hover::after,
          &.active::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            background: linear-gradient(to right,
                #b8967e,
                rgba(255, 255, 255, 0));
            height: 2px;
          }
        }
      }
    }

    .navbar-toggler {
      border: none;
      display: none;
      cursor: pointer;

      div.noAni {
        animation: none;
      }

      .bar1,
      .bar2,
      .bar3 {
        width: 30px;
        height: 3px;
        display: block;
        background: #fff;
        margin: 5px auto;
        border-radius: 2px;
        transform-origin: center;
        transition: 0.5s;
        box-shadow: 1px 1px 0 1px rgba(200, 200, 200, 0.5),
          2px 2px 0 1px rgba(70, 70, 70, 0.7),
          1px 1px 1px rgba(24, 25, 72, 0.7) inset;
        transform: translateY(0);
      }

      .bar1 {
        animation: 0.3s ease-out barRe1;
      }

      .bar2 {
        animation: 0.3s ease-out barRe2;
      }

      .bar3 {
        animation: 0.3s ease-out barRe3;
      }

      &.active .bar1 {
        animation: 0.3s ease-out both bar1;
      }

      &.active .bar2 {
        animation: 0.3s ease-out both bar2;
      }

      &.active .bar3 {
        animation: 0.3s ease-out both bar3;
      }
    }
  }

  .slider {
    .s-content.active {
      display: block;
    }

    .c-one {
      background: no-repeat center/cover #fff url(../img/hero.webp);
    }

    .c-two {
      background: no-repeat center/cover #fff url(../img/hero2.webp);
    }

    .slider-nav {
      .nav-btn {
        &.active {
          background: #b9967f;
        }
      }
    }
  }
}

@keyframes bar1 {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, 7px, 0) rotate(45deg);
  }
}

@keyframes bar2 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes bar3 {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(0, -7px, 0) rotate(-45deg);
  }
}

@keyframes barRe1 {
  0% {
    transform: translate3d(0, 7px, 0) rotate(45deg);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes barRe2 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes barRe3 {
  0% {
    transform: translate3d(0, -7px, 0) rotate(-45deg);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

.site-description {
  display: none;
}

.pan-shadow {
  box-shadow: 2px 3px 7px rgba(176, 133, 73, 0.25) inset,
    2px 3px 1px rgba(176, 133, 73, 0.8);
}

.pan-shadow-dark {
  box-shadow: 7px 8px 11px -3px rgb(0 0 0 / 80%);
}

/* title */
/* .aboutus, .tes,.exp, */
:is(.aboutus, .tes, .exp, .articles, .contact-form, .contact-info, .latest, .links, .comments, .categories,.tags):has(.tit) {
  .tit {

    &::after,
    &::before {
      position: absolute;
      content: "";
      top: 30%;
      left: 0;
      width: 25px;
      height: 18px;
      border-radius: 10px 0;
      background: linear-gradient(to left,
          rgba(208, 164, 129, 0.1),
          rgba(208, 164, 129, 0.8) 90%);
    }

    &::after {
      left: calc(100% - 25px);
    }
  }
}

/* ABOUT US */
.aboutus {
  .content {
    .text::before {
      position: absolute;
      left: -15px;
      content: ">";
      font-size: 1em;
      font-weight: 700;
      color: #b8967e;
    }
  }
}

/* statistcis */
.sta::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background: url(../img/lady-justice.png) left top/220px no-repeat;
  width: 100%;
  height: 100%;
}

/* Testimonial */
.tes {
  .comment {
    div {
      background: linear-gradient(to bottom,
          rgba(161, 127, 100, 0.9),
          rgba(208, 164, 129, 0.1) 90%),
        url(../img/quote.png) center/40px no-repeat;
    }
  }
}

/* lawterStat */
:root {
  --br: rgba(185, 150, 127, 0.5);
}

.law-st {
  background: #0e131d url(../img/lady-justice.png) center right 90%/300px no-repeat;

  &::before,
  &::after {
    position: absolute;
    content: "";
    top: 96px;
    left: 50%;
    background: linear-gradient(to bottom,
        transparent,
        var(--br),
        transparent 49%,
        transparent 51%,
        var(--br),
        transparent);
    width: 3px;
    height: calc(100% - 192px);
  }

  &::after {
    width: calc(100% - 128px);
    height: 3px;
    background: linear-gradient(to right,
        transparent,
        var(--br),
        transparent 49%,
        transparent 51%,
        var(--br),
        transparent);
    left: 64px;
    top: 50%;
  }
}

/* expertAreas*/

.exp {
  .con {
    >div {
      &:hover {
        transform: scale(1.1) !important;
      }
    }
  }

  .ceza-hukuku .icon {
    background-image: url(../img/criminal-law.svg);
  }

  .yabancilar-hukuku .icon {
    background-image: url(../img/civil-law.svg);
  }

  .aile-miras-ve-bosanma-hukuku .icon {
    background-image: url(../img/family-law.svg);
  }

  .is-hukuku .icon {
    background-image: url(../img/work-law.svg);
  }

  .tuketici-hukuku .icon {
    background-image: url(../img/tax-law.svg);
  }

  .trafik-kazalari-sigorta-ve-tazminat-hukuku .icon {
    background-image: url(../img/traffic-law.svg);
  }

  .icra-iflas-hukuku .icon {
    background-image: url(../img/bankrupt.png);
  }

  .kira-gayrimenkul-hukuku .icon {
    background-image: url(../img/real-estate.svg);
  }

  .ticaret-hukuku .icon {
    background-image: url(../img/commercial-law.svg);
  }
}

/* articlesIndex*/

.articles {
  .con {
    .article {
      &:hover {
        transform: scale(1.1) !important;
      }
    }
  }
}

/* Blog Articles */
.articles.blog {
  .con {
    .article {
      width: 95%;

      &:hover {
        transform: scale(1.05) !important;
      }
    }
  }
}

.search {

  i {
    background: url(../img/search.svg) center/25px no-repeat;
    filter: invert(73%) sepia(4%) saturate(2582%) hue-rotate(341deg) brightness(87%) contrast(77%);
  }
}

.conta {
  background: url(../img/advocate.webp) center/320px 320px no-repeat;
}

/* Areas PAge*/
:root {
  --bg-color: #b9967f;
  --txt-color: #fff;
}

:root[data-theme='light'] {
  --bg-color: #b9967f;
  --txt-color: #fff;
}

:root[data-theme='dark'] {
  --bg-color: #475569;
  --txt-color: #ffda96;
}

.areas {
  .contento {
    li::before {
      position: absolute;
      content: "";
      background: linear-gradient(to right, #b8967e, rgba(184, 150, 126, .137254902));
      border-radius: 5px 0;
      width: 15px;
      height: 11px;
      top: 11px;
      left: 0
    }
  }

  .links {
    nav ul li.active {
      color: var(--txt-color);
      background: var(--bg-color);
    }
  }
}

.links {
  ul {
    li {
      &.active {
        a {
          &::after {
            transform: rotateZ(0);
            filter: brightness(0) saturate(100%) invert(80%) sepia(8%) saturate(1958%) hue-rotate(340deg) brightness(111%) contrast(104%);
          }
        }
      }

      a {
        &:hover {
          &::after {
            transition: 0.5s;
            transform: rotateZ(0);
            filter: brightness(0) saturate(100%) invert(80%) sepia(8%) saturate(1958%) hue-rotate(340deg) brightness(111%) contrast(104%);
          }
        }

        &::after {
          position: absolute;
          content: "";
          background: url(../img/arrow.png) center/25px no-repeat;
          right: 10px;
          transform: rotateZ(-30deg);
          top: 0;
          width: 32px;
          height: 99%;
          filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(139deg) brightness(108%) contrast(101%);
        }
      }
    }
  }
}

/* Contact */
.contact-sec {
  .contact-info {
    .infos>div {
      .top {
        img {
          filter: invert(67%) sepia(43%) saturate(352%) hue-rotate(342deg) brightness(88%) contrast(91%);
        }
      }
    }

    .infos>div:hover {
      .top {
        background: #000926;
        border-color: transparent;
        animation: 1s forwards rota;

        img {
          -webkit-filter: invert(1);
          filter: invert(1);
        }
      }
    }
  }

  .contact-form {
    .form-group {
      form {
        *:not(.sub) {
          background: 0;
          outline: 0;
          font-size: 1.1em;
        }

        :focus {
          border-bottom: 1px solid #b9967f !important;

          &::placeholder {
            opacity: 0.5;
            color: #b8967e;
            position: absolute;
            top: -3px;
            z-index: 5555;
          }
        }
      }
    }
  }
}

@keyframes rota {
  0% {
    transform: rotateX(0);
  }

  100% {
    transform: rotateY(360deg);
  }
}

footer {
  .footer-arr {
    &::before {
      position: absolute;
      content: "";
      top: 4px;
      left: -70px;
      width: 159px;
      height: 159px;
      transform: rotateZ(45deg);
      background: linear-gradient(215deg, #b9967f, transparent);
    }
  }

  .title::after {
    position: absolute;
    content: "";
    height: 3px;
    top: 14px;
    left: 110%;
    background: linear-gradient(to right, #b8967e, transparent);
  }

  .title.cont::after {
    width: 70%;
  }

  .title.add::after {
    width: 190%;
  }

  .title.exp::after {
    width: 50%;
  }

  .footer-bg {
    background: url(../img/body-bg.webp) bottom right/200px no-repeat;

    ul li::before {
      position: absolute;
      content: "";
      left: 0;
      top: 4px;
      width: 12px;
      height: 8px;
      border: 2px solid #b8967f;
      transform: rotate(-45deg);
      border-right-color: transparent;
      border-top-color: transparent;
    }
  }

  .phone {
    background: url(../img/telephone.svg) 2px no-repeat;
  }

  .email {
    background: url(../img/envelope.svg) 2px no-repeat;
  }
}

/* .header kısmı */
.header {
  background: url(../img/connectus.webp) center 50px / cover no-repeat #fff;

  &::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom,
        rgba(14, 19, 29, 0.98) 40%,
        rgba(25, 25, 40, 0.9));
  }

  .navbar {
    border-bottom: 1px solid rgba(118, 118, 118, 0.4) !important;
  }
}

.blog-wr {
  header {
    &::after {
      height: 450px;
    }
  }

  .blog-article {
    article {
      .pagination {
        .arrow {
          background: #b8967f url(../img/arrow.png) center/35px 30px no-repeat;
        }

        .before {
          .arrow {
            transform: rotate(180deg);
          }
        }
      }
    }
  }
}

.toTop.show,
.whatsapp.show {
  display: block;
}

@media only screen and (max-width: 1024px) {
  header {
    .navbar {
      .logo {
        width: 64px;
        height: 64px;
        padding: 0;
        border: none;

        .logo-big {
          display: none;
        }

        .logo-mobile {
          border: none;
          display: block;
        }
      }
    }
  }

  .aboutus {
    .content {
      min-width: 350px;
    }

    .image img {
      max-width: 100%;
    }
  }

  .articles.blog {
    .con {
      .article {
        width: 100%;
      }
    }
  }
}

@media only screen and (max-width: 880px) {}

@media only screen and (max-width: 767px) {
  header {
    .navbar {
      background: #050514;

      .navbar-toggler {
        display: block;
        padding: 0 7px;
      }

      .navbar-collapse {
        &.open {
          display: block;

          .navbar-nav {
            background: #050510;
            flex-direction: column;
            position: absolute;
            align-items: center;
            padding: 15px 0;
            width: 100%;
            left: 0;
            top: 3.5rem;
          }
        }
      }
    }
  }

  .aboutus {
    .content {
      min-width: 100%;
    }
  }

  .law-st {

    &::before,
    &::after {
      background: transparent;
    }
  }

  footer {
    .footer-arr {
      &::before {
        width: 200px;
        height: 200px;
        top: 20px;
        left: -110px;
      }
    }

    .footer-bg {
      background-size: 50%;
    }
  }
}

@media only screen and (max-width: 465px) {
  /* header {
     .topbar {
      display: none;
    } 
    .slider {
      .entry.pt-36 {
        padding-top: 7rem;
      }
    }
  } */

  footer {
    .footer-arr {
      padding: 0;

      &::before {
        left: -150px;
      }

      .text-4xl {
        font-size: 1.75rem;
      }

      .p-3 {
        padding: 6px 18px;
      }
    }

    .footer-bottom {
      flex-direction: column;

      .text-stone-300 {
        margin-bottom: 10px;
      }
    }

    .px-16 {
      padding-left: 3rem;
      padding-right: 3rem;
    }
  }
}

@media only screen and (max-width: 375px) {
  .lawyers {
    .email.text-xl {
      font-size: 1.1rem;
    }
  }

  aside {
    .links {
      .tit {
        font-size: 1.3rem;
      }
    }
  }

  footer {
    .px-16 {
      padding-left: 2rem;
      padding-right: 2rem;
    }

    .w-72 {
      width: 100%;
    }
  }
}

@media only screen and (max-width: 320px) {
  .tes {
    .tit {
      width: calc(100% - 20px);
      font-size: 1.7rem;
    }

    .slick-dots li {
      width: 30px;
    }
  }

  footer {
    .footer-arr {
      .text-4xl {
        font-size: 1.5rem;
      }
    }
  }
}