@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@100&family=Jost:ital,wght@0,300;0,400;0,600;0,700;1,300;1,500&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Jost", sans-serif;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: #a1a1a1; /* Scroll çubuğu rengi */
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding-right: 15px;
  padding-left: 15px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
}
/* Header */

.header {
  border-bottom: 1px solid #dee0ea;
  position: fixed;
  z-index: 999;
  width: 100%;
  left: 0;
  top: 0;
}

.header .topBar {
  height: 50px;
  background: linear-gradient(to right, rgb(14, 38, 66), rgb(37, 37, 37));
  font-size: 0.9rem;
  color: whitesmoke;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header .topBar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header .topBar .container .socialMedia {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header .topBar .container .socialMedia .socialMediaP {
  border-right: 2px solid whitesmoke;
  padding-right: 1rem;
}

.header .topBar .container .socialMedia .socialMediaIcon {
  font-size: 1.1rem;
  color: whitesmoke;
}

.header .centerBar {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.header .centerBar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .centerBar .container .logo img {
  height: 70px;
  width: auto;
}

.header .centerBar .container .navigationWrapper .menuList {
  display: flex;
  gap: 2rem;
}

.glide {
  max-width: 1200px;
  width: 100%;
  position: relative;
}

.glide__slides {
  display: flex;
  width: 100%;
}

.glide__track {
  overflow: hidden;
}
/* Anasayfa Başlangıcı */

.genelKapsayici {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.5rem;
  padding-bottom: 5rem;
  width: 100%;
}

/* En Üst Slider */

.anaSlider {
  position: relative;
  width: 100%;
  height: calc(100vw * 420 / 1101); /* Genişliğe göre yükseklik hesaplanıyor */
  max-height: 420px; /* Masaüstünde yüksekliği sınırlandırmak için */
  border-radius: 10px;
}

.anaSlider img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.anaSlider .title {
  padding: 35px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    to right,
    rgba(9, 13, 47, 30) 20%,
    rgba(171, 171, 171, 0) 100%
  ); */

  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.anaSlider .title .titleButton button {
  background-color: rgb(14, 38, 66);
  /* border: 2px solid rgb(14, 38, 66); */
  padding: 10px 20px 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  color: whitesmoke;
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .anaSlider {
    height: calc(100vw * 420 / 1101); /* Oranı koruyarak yükseklik */
  }

  .anaSlider .title {
    padding: 20px;
    gap: 1.5rem;
  }

  .anaSlider .title .titleButton button {
    font-size: 0.8rem;
    padding: 6px 12px 6px 12px;
  }
}

.anasayfa {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

@media (max-width: 768px) {
  .anasayfa {
    gap: 2rem;
  }
}

.anaBaslik {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.anaTitle {
  font-weight: 600;
  font-size: 32px;
  padding: 8px 0 7px;
  line-height: 1.125;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anaBaslik img {
  width: 60px;
  height: 60px;
}

.anaDesc p {
  margin: 0;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  margin-bottom: 0.35em;
  text-align: center;
}

@media (max-width: 768px) {
  .anaTitle {
    font-size: 1.8rem; /* Mobil için %100 genişlik */
  }

  .anaBaslik img {
    width: 50px;
    height: 50px;
  }

  .anaDesc p {
    margin: 0;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    margin-bottom: 0.35em;
    text-align: center;
    font-size: 0.95rem;
  }
}

.anasayfa .sliderComponent {
  width: 100%;
  margin-top: 10rem;
}

.anasayfa .why {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  row-gap: 3rem;
}

.anasayfa .why .whyItem {
  flex: 1 1 calc(25% - 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* .anasayfa .why .whyItem .whyItemInfo {
  min-width: 110px;
} */

.anasayfa .why i {
  font-size: 2rem;
}

.anasayfa .why p {
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .anasayfa .why .whyItem {
    flex: 1 1 calc(50% - 1rem); /* Her satırda 2'li yerleşim */
  }

  .anasayfa .why i {
    font-size: 1.7rem; /* Simgeleri küçült */
  }

  .anasayfa .why h3 {
    font-size: 0.95rem; /* Başlıkları küçült */
  }

  .anasayfa .why p {
    font-size: 0.75rem; /* Paragrafları küçült */
  }
}

/* Yorumlar */

.commentSlide {
  /* padding: 20px; */
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.commentSlide .top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.commentSlide .top .left {
  display: flex;
  gap: 1rem;
  height: 40px;
}

.commentSlide .top .left .img img {
  width: 40px;
  height: 40px;
}

.commentSlide .top .left .nameAndDate .name {
  font-size: 1rem;
}

.commentSlide .top .left .nameAndDate .date {
  font-size: 0.7rem;
}

.commentSlide .puan i {
  color: rgb(195, 108, 9);
}

.commentSlide .bottom p {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Satır sayısını belirtin */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Üç nokta koymak için */
}

/* Hizmetler */

.hizmetler {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hizmetItem {
  border: 2px solid #ddd;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 1px 1px rgba(0, 0, 0, 0.14),
    0px 2px 1px rgba(0, 0, 0, 0.12);
  background-color: #fff;
  overflow: hidden;
  width: calc(25% - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.hizmetItem img {
  height: 80px;
  width: 80px;
}

.hizmetItem .info {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hizmetItem .info p {
  color: #7f7e7e;
  margin: 0;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.00938em;
  margin-bottom: 0.35em;
  text-align: center;
}

/* Tablet görünümü için ayar */
@media (max-width: 1024px) {
  .hizmetItem {
    width: calc(50% - 1rem); /* Tablet için %50 genişlik */
    padding: 18px;
  }
}

/* Mobil görünüm için ayar */
@media (max-width: 768px) {
  .hizmetItem {
    padding: 20px 10px 20px 10px;
    width: 100%; /* Mobil için %100 genişlik */
    gap: 0.94rem;
  }

  .hizmetItem img {
    height: 70px;
    width: 70px;
  }

  .hizmetItem .info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .hizmetItem .info p {
    color: #7f7e7e;
    margin: 0;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.00938em;
    margin-bottom: 0.35em;
    text-align: center;
    font-size: 0.95rem;
  }
}

/* Alt resim */

.altResim {
  background-image: url("./generalImg/AnaImg.png");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  height: 400px;
  width: 100%;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  margin-bottom: 2rem;
}

.altResim .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.altResim .title {
  font-size: 45px;
  color: gainsboro;
  font-style: italic;
}

.altResim button {
  background-color: rgb(14, 38, 66);
  /* border: 2px solid rgb(14, 38, 66); */
  padding: 10px 20px 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  color: whitesmoke;
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .altResim .title {
    font-size: 30px;
  }

  .altResim {
    height: 350px;
  }
}

.altKısım {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

/* Neden biz */

.postSlide {
  position: relative;
  height: 230px;
}

.postSlide img {
  height: 100%;
  width: 100%;
}

.postSlide .bottomBar {
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 15px;
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .postSlide {
    height: 150px;
  }
  .postSlide h3 {
    font-size: 0.9rem;
  }
}

/* Markalar */

.slider {
  margin-top: 1rem;
  overflow: hidden;
  width: 100%;
  background-color: #ffffff;
  padding: 10px;
  position: relative;
}

.slider-track {
  display: flex;
  width: max-content;
}

.slide {
  flex: 0 0 auto;
  width: 150px; /* Her bir logonun genişliği */
  margin-right: 20px;
}

.slide img {
  max-width: 100%;
  height: auto;
}

.dikkat {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: linear-gradient(to right, rgb(14, 38, 66), rgb(37, 37, 37));
  color: #fff;
}

.dikkatItems {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.dikkatItem {
  flex: 1;
  display: flex;

  gap: 2rem;
}

.iconDikkat {
  font-size: 3rem; /* İkonun boyutunu ayarlamak için */
  display: flex;
  align-items: center; /* İkonun dikeyde hizalanması için */
}

.infoDikkat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.infoDikkat h3 {
  color: white;
}

.infoDikkat button {
  background-color: transparent;
  border: 2px solid gray;
  padding: 10px;
  border-radius: 5px;
  font-size: 1rem;
  color: whitesmoke;
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .dikkatItems {
    flex-direction: column;
    gap: 5rem;
  }

  .iconDikkat {
    font-size: 2rem; /* İkon boyutunu küçültme */
  }

  .infoDikkat h3 {
    font-size: 1.1rem; /* Başlık boyutunu küçültme */
  }

  .infoDikkat p {
    font-size: 0.85rem; /* Paragraf boyutunu küçültme */
  }

  .infoDikkat button {
    font-size: 0.9rem; /* Buton yazı boyutunu küçültme */
    padding: 8px; /* Buton boyutunu orantılı küçültme */
  }
}

.footer {
  padding-top: 5rem;
  padding-bottom: 3.5rem;
  width: 100%;
  /* background: linear-gradient(to right, rgb(14, 38, 66), rgb(37, 37, 37)); */
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  color: black;
}

.footer .container {
  display: flex;
  gap: 5rem;
}

.footerItem {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footerItem .logo img {
  width: auto;
  height: 65px;
}

.footerItem ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footerItem .sag a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer {
    gap: 3rem;
    padding-bottom: 3rem;
  }
  .footer .container {
    flex-direction: column;
    gap: 2rem;
  }
  .footer p,
  span {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .display,
  .why {
    display: none;
  }
}
