/* 1. Import the font at the absolute top of the file */
@import url("https://fonts.googleapis.com/css?family=Nunito:300,400,600,700,800&display=swap");
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800&display=swap");

/* SEARCH BOX */
.search-box {
  font-family: "Nunito", Arial, sans-serif;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.search-box .card {
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* MOBİL MENÜ */
.offcanvas {
  width: 260px;
}

.offcanvas.offcanvas-end {
  right: 0;
  left: auto;
}

/* TAB WRAPPER */
.tab-wrapper {
  position: relative;
}

/* TAB GENEL */
.custom-tabs {
  border: none;
  gap: 5px;
  font-family: "Nunito", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
}

/* TAB BUTON */
.custom-tabs .nav-link {
  border: none;
  padding: 10px 25px;
  border-radius: 5px 5px 0 0;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;

  background-color: rgba(0, 127, 1, 0.7);
}

/* HOVER */
.custom-tabs .nav-link:hover {
  background: #007f01;
}

/* AKTİF TAB */
.custom-tabs .nav-link.active {
  background: #fff;
  color: #000;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05);
}

/* SEARCH CARD */
.search-card {
  border-radius: 5px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* TABLARI YUKARI TAŞIR */
.custom-tabs {
  margin-bottom: -16px;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  /* mobil */
  .search-box {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
  }

  .custom-tabs {
    border: none;
    gap: 3px;
    font-family: "Nunito", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
  }
}

/* SLIDER */
.carousel-item {
  height: 610px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

#slider.carousel-fade .carousel-item {
  transition: opacity 1.2s ease-in-out;
}

@media screen and (max-width: 768px) {
  #slider.carousel-fade .carousel-item {
    margin-top: 60px;
  }
}

#slider.carousel .carousel-item {
  transition-duration: 1.2s;
  transition-timing-function: ease-in-out;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 8s ease-in-out infinite;
}

/* Zoom animasyonu */
@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

/* ORTADAKİ YAZI */
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2rem;
  text-align: center;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
  z-index: 10;
  /* <-- EN KRİTİK DÜZELTME */
  width: 90%;
}

/* MOBİL AYARLAR */
@media (max-width: 768px) {
  .carousel-item {
    height: 520px;
    /* SABİT YÜKSEKLİK */
  }

  .search-box {
    position: absolute;
    top: 550px;
    left: 50%;
    transform: translateX(-50%);
    width: 98%;
    z-index: 10;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
  }

  .center-text {
    font-size: 1.8rem;
    /* ORANTILI YAZI */
  }
}

/* LINK */
.fancy-link {
  font-size: 14px;
  position: relative;
  font-weight: 500;
  padding: 8px 12px;
  color: #333;
  transition: all 0.3s ease;
}

/* ALT ÇİZGİ ANİMASYON */
.fancy-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #204a98;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* HOVER */
.fancy-link:hover {
  color: #de1f28;
}

.fancy-link:hover::after {
  background: #de1f28;
  width: 70%;
}

/* CTA BUTON */
.fancy-link.highlight {
  background: linear-gradient(45deg, #007f01, #035503);
  color: #fff !important;
  border-radius: 6px;
  padding: 8px 16px;
}

/* CTA HOVER */
.fancy-link.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* ALT ÇİZGİYİ KALDIR */
.fancy-link.highlight::after {
  display: none;
}

/* MOBİL */
@media (max-width: 991px) {
  .fancy-link {
    display: block;
    width: 100%;
    padding: 12px;
  }
}

button small {
  font-size: 10px;
  display: block;
}

.menubtn {
  background: none;
  color: #000000;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: none;
}

.sepetbtn:hover {
  background: green;
  color: #fff;
}

.sepetbtn {
  background: none;
  color: #de1f28;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: none;
}

.menubtn:hover {
  background: #de1f28;
  color: #fff;
}

@media (max-width: 768px) {
  .menubtn {
    background: transparent;
    color: #000000;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #999999;
  }

  .menubtn:hover {
    background: #de1f28;
    color: #fff;
  }

  .sepetbtn {
    background: green;
    color: #ffffff;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: none;
  }

  .sepetbtn:hover {
    background: green;
    color: #fff;
  }
}

#cartBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 1040;
}

#cartPanel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /*box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);*/
}

#cartPanel.open {
  transform: translateX(0);
}

/* Mobilde yatay menü scroll */
.nav-pills {
  overflow-x: auto;
  flex-wrap: nowrap;
  /* seçenekler tek satırda */
}

.nav-pills .nav-link {
  white-space: nowrap;
  /* metinler kırılmasın */
}

/*BAĞIŞ YAP */
.bagis {
  font-family: "Nunito", Arial, sans-serif;
  background-color: green;
  color: #fff;
  font-weight: 500;
  padding: 10px 0px;
  font-size: 1.5rem;
}

@media (max-width: 768px) {

  .bagis .col-12 {
    padding: 0px;
  }
}

/* Bootstrap 5 Card Styles https://codepen.io/cvbijoy */
.card-effects .card-effect {
  border: none;
  background: #dee2e6;
}

.card-effects .card-effect .card-body {
  box-shadow: 0px 5px 24.25px 0.75px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

.card-effects .card-effect .card-img {
  position: relative;
  overflow: hidden;
}

.card-effects .card-effect:hover .card-img {
  border-top-left-radius: 5px !important;
  border-top-right-radius: 5px !important;
}

.card-effects .card-effect .card-img img {
  width: 100%;
  transition: 0.6s;
}

.card-effects .card-effect:hover .card-img img {
  transform: scale(1.2);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.card-effects .img-hover {
  position: relative;
  overflow: hidden;
}

.card-effects .img-hover img {
  transition: all 2s ease;
  transform: scale(1);
}

.card-effects .img-hover:after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 1;
  z-index: 3;
}

.card-effects .img-hover:before {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 1;
  z-index: 3;
  top: -10%;
  right: 51%;
  bottom: -10%;
  left: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.card-effects .img-hover:after {
  top: 50%;
  right: -10%;
  bottom: 50%;
  left: -10%;
  background: rgba(255, 255, 255, 0.6);
}

.card-effects .card-effect:hover .img-hover:before {
  left: 0;
  right: 0;
  opacity: 0;
  transition: all 900ms linear;
}

.card-effects .card-effect:hover .img-hover:after {
  top: 0;
  bottom: 0;
  opacity: 0;
  transition: all 900ms linear;
}

.card-effects .card-effect:hover .img-hover img {
  transform: scale(1.2);
}

.card-effects .card-btn {
  display: inline-block;
  padding: 14px 25px 14px 55px;
  position: relative;
  background-color: #2fbfa7;
  color: #ffffff;
  text-transform: capitalize;
  border-radius: 5px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: 0.5s;
  background-image: linear-gradient(
    to right top,
    #2e7d32,
    #388e3c,
    #43a047,
    #4caf50,
    #66bb6a
  );
}

.card-effects .card-btn:hover {
  background-image: linear-gradient(
    to right top,
    #66bb6a,
    #4caf50,
    #43a047,
    #388e3c,
    #2e7d32
  );
  transition: 0.5s;
}

.card-effects .card-btn .icon-arrow {
  color: #ffffff;
  top: 13px;
  transition:
    transform 0.5s cubic-bezier(0.86, 0, 0.07, 1),
    opacity 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  font-size: 18px;
  backface-visibility: hidden;
  transform: translateZ(0);
  perspective: 1000;
}

.card-effects .card-btn .icon-arrow.before {
  left: 20%;
  position: absolute;
  transform-origin: left center;
}

.card-effects .card-btn .icon-arrow.after {
  opacity: 0;
  position: absolute;
  right: 48px;
  transform: translateX(75%) scaleX(0.1);
  transform-origin: right center;
}

.card-effects .card-btn.secondary {
  background-color: #ff7029;
}

.card-effects .card-btn.secondary:hover,
.card-effects .card-btn.secondary:active,
.card-effects .card-btn.secondary:focus {
  background-color: #2fbfa7;
}

.card-effects .card-btn.white .icon-arrow {
  color: #2fbfa7;
}

.card-effects .card-btn.white:hover .icon-arrow,
.card-effects .card-btn.white:active .icon-arrow,
.card-effects .card-btn.white:focus .icon-arrow {
  color: #fff;
}

.card-effects .card-btn.md .icon-arrow {
  top: 22px;
}

.card-effects .card-btn.sm {
  padding: 10px 25px 10px 50px !important;
  font-size: 14px !important;
}

.card-effects .card-btn .label {
  display: inline-block;
  transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1);
  backface-visibility: hidden;
  transform: translateZ(0);
  perspective: 1000;
}

.card-effects .card-btn.white {
  background-color: #ffffff;
  color: #2fbfa7;
}

.card-effects .card-btn .icon-arrow.white {
  color: #2fbfa7;
  top: 16px;
}

.card-effects .card-btn:hover,
.card-effects .card-btn:active,
.card-effects .card-btn:focus {
  background-color: #ff7029;
  color: #ffffff;
}

.card-effects .card-btn:hover .icon-arrow.before,
.card-effects .card-btn:active .icon-arrow.before,
.card-effects .card-btn:focus .icon-arrow.before {
  opacity: 0;
  transform: translateX(-75%) scaleX(0.1);
}

.card-effects .card-btn:hover .icon-arrow.after,
.card-effects .card-btn:active .icon-arrow.after,
.card-effects .card-btn:focus .icon-arrow.after {
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.card-effects .card-btn:hover .label,
.card-effects .card-btn:active .label,
.card-effects .card-btn:focus .label {
  transform: translateX(-32px);
}

.card-effects .text-tb-lines {
  display: grid;
  align-items: center;
  text-align: center;
  gap: 10px;
  color: #561778;
}

.card-effects .text-tb-lines::before,
.text-tb-lines::after {
  content: "";
  border-top: 6px double;
  color: #ffe5f4;
}

.custom-progress {
  height: 8px;
}

.custom-progress .progress-bar {
  width: 0%;
  animation: fillProgress 2s forwards;
}

.overlay {
  pointer-events: none;
  z-index: 999;
}

.overlay .circle {
  position: absolute;
  top: -4px;
  left: 0%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--bs-primary);
  border-radius: 50%;
  animation: moveCircle 2s forwards;
}

.overlay .percent-text {
  position: absolute;
  top: -20px;
  /* circle’ın üstünde */
  left: 0%;
  transform: translateX(-50%);
  color: var(--bs-primary);
  font-weight: 600;
  font-size: 14px;
  animation: moveCircle 2s forwards;
  /* circle ile aynı animasyon */
}

/* Animasyonlar */
@keyframes fillProgress {
  from {
    width: 0%;
  }

  to {
    width: calc(var(--progress-value) * 1%);
  }
}

@keyframes moveCircle {
  from {
    left: 0%;
  }

  to {
    left: calc(var(--progress-value) * 1%);
  }
}

/* Dinamik yüzde yazısı */
.overlay .percent-text::after {
  content: var(--progress-value) "%";
}

.text-14 {
  font-size: 14px;
}

.text-11 {
  font-size: 14px;
  font-style: italic;
}
a.footerlink {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.footerlink:hover {
  color: #ff0000;
}
.minibaslik {
  font-family: "Nunito", Arial, sans-serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  color: #0d6efd;
  text-align: center;
}
.buyukbaslik {
  font-family: "Nunito", Arial, sans-serif;
  font-size: 35px;
  font-weight: 800;
  color: #4caf50;
  text-align: center;
}

.detaybtn {
  text-decoration: none !important;
  color: #878793;
}
.detaybtn:hover {
  color: red;
}
.hbtn {
  cursor: pointer;
  position: relative;
  padding: 10px 20px;
  font-size: 15px;
  transition: all 0.5s;
  color: #333;
  text-decoration: none;
  font-family: "Poppins", sans-serif !important;

  &:after,
  &:before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid #0186cd;
    transition: all 0.5s;
  }

  &:after {
    top: -1px;
    left: -1px;
    border-top: 3px solid #0186cd;
    border-left: 3px solid #0186cd;
  }

  &:before {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid #0186cd;
    border-right: 3px solid #0186cd;
  }

  &:hover {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;

    &:before,
    &:after {
      width: 100%;
      height: 100%;
    }
  }
}

.hbtn2 {
  cursor: pointer;
  position: relative;
  padding: 10px 20px;
  font-size: 15px;
  transition: all 0.5s;
  color: #fff;
  text-decoration: none;
  font-family: "Poppins", sans-serif !important;

  &:after,
  &:before {
    content: " ";
    width: 10px;
    height: 10px;
    position: absolute;
    border: 0px solid #ffffff;
    transition: all 0.5s;
  }

  &:after {
    top: -1px;
    left: -1px;
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
  }

  &:before {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
  }

  &:hover {
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;

    &:before,
    &:after {
      width: 100%;
      height: 100%;
    }
  }
}

#breadcrumb {
  list-style: none;
  display: inline-block;
}

#breadcrumb .icon {
  font-size: 14px;
}

#breadcrumb li {
  float: left;
}

#breadcrumb li a {
  color: #fff;
  display: block;
  background: #3498db;
  text-decoration: none;
  position: relative;
  height: 40px;
  line-height: 40px;
  padding: 0 10px 0 5px;
  text-align: center;
  margin-right: 23px;
}

#breadcrumb li:nth-child(even) a {
  background-color: #2980b9;
}

#breadcrumb li:nth-child(even) a:before {
  border-color: #2980b9;
  border-left-color: transparent;
}

#breadcrumb li:nth-child(even) a:after {
  border-left-color: #2980b9;
}

#breadcrumb li:first-child a {
  padding-left: 15px;
  border-radius: 4px 0 0 4px;
}

#breadcrumb li:first-child a:before {
  border: none;
}

#breadcrumb li:last-child a {
  padding-right: 15px;
  border-radius: 0 4px 4px 0;
  margin-right: 0; /* sağ boşluğu kaldır */
}

#breadcrumb li:last-child a:after {
  content: none; /* çizgi şeklindeki boşluğu kaldır */
}

#breadcrumb li a:before,
#breadcrumb li a:after {
  content: "";
  position: absolute;
  top: 0;
  border: 0 solid #3498db;
  border-width: 20px 10px;
  width: 0;
  height: 0;
}

#breadcrumb li a:before {
  left: -19px;
  border-left-color: transparent;
}

#breadcrumb li a:after {
  left: 100%;
  border-color: transparent;
  border-left-color: #3498db;
}

#breadcrumb li a:hover {
  background-color: #1abc9c;
}

#breadcrumb li a:hover:before {
  border-color: #1abc9c;
  border-left-color: transparent;
}

#breadcrumb li a:hover:after {
  border-left-color: #1abc9c;
}

#breadcrumb li a:active {
  background-color: #16a085;
}

#breadcrumb li a:active:before {
  border-color: #16a085;
  border-left-color: transparent;
}

#breadcrumb li a:active:after {
  border-left-color: #16a085;
}

.vertical-menu {
  font-family: "Nunito", Arial, sans-serif;
  width: 100%;
  font-size: 14px;
}

.vertical-menu a {
  background-color: #fff;
  color: black;
  display: block;
  padding: 5px 10px;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
}

.vertical-menu a:hover {
  background-color: #333;
  color: #fff;
}

.vertical-menu a.active {
  background-color: #018dd1;
  color: white;
}
.xbaslik {
  border-top: 1px solid #0186CD;
  position: relative;
  top: 20px;
  margin-bottom: 20px;
}

.xbaslik span {
  font-family: "Nunito", Arial, sans-serif;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  text-align: center;
  padding: 4px 10px;
  background: green;
  margin: 0 auto;
  position: relative;
  top: -28px;
}
.sagtext1 {
  font-family: "Nunito", Arial, sans-serif;
  font-size: 16px;
  color: #333;
  text-align: center;
  font-weight: 700;
}
.sagtext2 {
  font-family: "Nunito", Arial, sans-serif;
  font-size: 15px;
  color: #333;
  text-align: center;
}
li{
  list-style: none!important;
  cursor: pointer;
}