@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");

:root {
  --main-color: #c41c2d;
  --black-color: #121212;
  --border: 0.1rem solid rgba(255, 255, 255, 0.4);
}

* {
  font-family: "Poppins", sans-serif; /* Poppins fontu düzgün bir şekilde Türkçe karakterleri de destekler */
  font-feature-settings: "liga" 1, "kern" 1; /* Ligatür ve kerning'i etkinleştirerek yazıların düzgün görünmesini sağlarız */
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  text-transform: none; /* Başka bir yerde uppercase yapmaya gerek kalmasın */
  transition: 0.2s ease;
}

/*! base html codes */
html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
}
html::-webkit-scrollbar {
  width: 0.8rem;
  background-color: white;
}
html::-webkit-scrollbar-thumb {
  width: 0.8rem;
  background-color: var(--black-color);
}

body {
  background-color: var(--main-color);
}

section {
  padding: 3.5rem 5%;
}

.btn {
  margin-top: 1rem;
  display: inline-block;
  padding: 2rem 3.75rem;
  border-radius: 30rem;
  font-size: 1.7rem;
  color: #fff;
  background-color: var(--black-color);
}
.btn:hover {
  opacity: 0.8;
}

.heading {
  color: #fff;

  text-transform: uppercase;
  font-size: 4rem;
  margin-bottom: 3.5rem;
  border-bottom: 0.1rem solid #fff;
}

.search-input {
  font-size: 1.6rem;
  color: var(--black-color);
  padding: 1rem;
  text-transform: none;
  border-radius: 3rem;
}

/*! header start  */

.header .search-form {
  position: absolute;
  top: 115%;
  right: 7%;
  background-color: #fff;
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  border-radius: 3rem;
  box-shadow: 0px 0px 25px 2px rgb(0 0 0 / 75%);
  transform: scaleY(0);
}

.header .search-form.active {
  transform: scaleY(1);
}

.header .search-form i {
  cursor: pointer;
  font-size: 2.2rem;
  margin-right: 1.5rem;
  color: var(--black-color);
}

.header .search-form input {
  width: 100%;
}

.header .logo img {
  height: 8rem;
  width: auto; /* orantılı daralsın */
}
.header {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  margin: 1rem 5%;
  border-radius: 0.5rem;
  box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .navbar a {
  margin: 0 1rem;
  font-size: 1.6rem;
  color: var(--black-color);
  border-bottom: 0.1rem solid transparent;
}

.header .navbar .active,
.header .navbar a:hover {
  border-color: var(--main-color);
  padding-bottom: 0.5rem;
}
.header .buttons button {
  cursor: pointer;
  font-size: 2.5rem;
  margin-left: 2rem;
  background-color: transparent;
}
/*! Header End*/

/*! AnaSayfa Start*/
.anasayfa {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -10.5rem;
}

.anasayfa .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.anasayfa .content {
  position: relative;
  z-index: 1;
  max-width: 70rem;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.5); /* yarı saydam siyah arka plan */
  border-radius: 1rem;
  color: #fff;
}
.anasayfa .content h3 {
  font-size: 7rem;
  font-weight: 600;
  color: #fff;
}

.anasayfa .content p {
  font-size: 2.4rem;
  line-height: 1.8;
  padding: 1rem 0;
  color: #f0f0f0;
}
/*! AnaSayfa End*/

/*! Kurumsal Start */
.kurumsal .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem; /* veya istediğiniz miktar, örneğin 3rem */
}
.kurumsal .box-container .box {
  display: flex; /* Flexbox düzeni eklenmeli */
  padding: 3rem;
  background-color: #fff;
  border-radius: 3rem;
  min-height: 10rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}
.kurumsal .box-head h3 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #333;
}
.kurumsal .box-head p {
  font-size: 1.6rem;
  color: #555;
  line-height: 1.6;
  text-align: justify; /* Metni iki yana yaslar */
}
/*! Kurumsal End */

/*! Markalarımız Start */
.marka .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

.marka .box-container .box {
  text-align: center;
  background-color: #fff;
  position: relative;
  border-radius: 3rem;
  height: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.marka .box-container .box .image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative; /* ÖNEMLİ: img ortalaması için gerekli */
}

.marka .box-container .box .image img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain; /* 'cover' yerine */
}
.marka .box-container .box .box-bottom .marka-btn {
  position: absolute;
  bottom: 1rem; /* Buton alt tarafa yerleşir */
  left: 50%; /* Butonun sol tarafını kutunun ortasına yerleştirir */
  transform: translateX(-50%); /* Butonun tam ortada olmasını sağlar */
}

.marka .box-container .box .box-bottom .marka-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  border: 0.2rem solid var(--main-color);
  background-color: transparent;
  text-decoration: none;
  color: var(--main-color);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Marka Buton Hover Efekti */
.marka .box-container .box .box-bottom .marka-btn a:hover {
  background-color: var(--main-color);
  color: #fff;
}
/*! Markalarımız End */

/*! Hizmetlerimiz Start */
.hizmetler .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 2rem;
}

.hizmetler .box-container .box {
  background-color: #fff;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.hizmetler .box-container .box:hover {
  transform: translateY(-0.5rem);
}

.hizmetler .box-container .box .image {
  width: 100%;
  height: 20rem;
  overflow: hidden;
  position: relative;
}

.hizmetler .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hizmetler .box-container .box .box-content {
  padding: 2rem;
  text-align: left;
}

.hizmetler .box-container .box .box-content h3 {
  font-size: 2rem;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.hizmetler .box-container .box .box-content p {
  font-size: 1.6rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
  text-indent: 1.5rem;
}
/*! Hizmetlerimiz End */

/*! Iletişim Start */

.iletisim .row {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--black-color, #111);
  gap: 1rem;
  padding: 1rem;
  border-radius: 10px;
}

.iletisim .row iframe,
.iletisim .row form {
  flex: 1 1 45%;
  min-width: 300px;
  padding: 1rem;
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
}

.iletisim .inputBox {
  position: relative;
  margin-bottom: 1rem;
}

.iletisim .inputBox i {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: #999;
}

.iletisim .inputBox input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
}
.iletisim form h3 {
  font-size: 2rem; /* Başlığı büyütür */
  font-weight: bold; /* Kalın yapar */
  margin-bottom: 1rem; /* Altına boşluk bırakır */
  color: #111; /* Yazı rengi (istersen değiştir) */
}

.iletisim form .btn {
  background-color: var(--main-color); /* Turuncu ton – istersen değiştir */
  color: #fff; /* Yazı rengi beyaz */
  padding: 1rem 2rem; /* İç boşluklar */
  border: none; /* Kenarlık yok */
  border-radius: 8px; /* Hafif yuvarlak köşeler */
  font-size: 2rem; /* Yazı boyutu */
  font-weight: bold; /* Kalın yazı */
  cursor: pointer; /* Üzerine gelince el simgesi */
  transition: all 0.3s ease; /* Geçiş efekti */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Hafif gölge */
}

.iletisim form .btn:hover {
  background-color: var(--main-color); /* Hover (üzerine gelince) rengi */
  transform: scale(1.05); /* Hafif büyüme efekti */
}
/*! Iletişim End */

/*! Alt Bilgi Start */
.footer {
  background-color: var(--black-color);
  text-align: center;
  padding: 2rem;
  color: #fff;
}

/* Sosyal Medya İkonları */
.footer .share {
  padding: 2rem 0;
}

.footer .share a {
  width: 5rem;
  height: 5rem;
  line-height: 5rem;
  color: #fff;
  font-size: 2rem;
  border: var(--border, 2px solid #fff);
  border-radius: 50%;
  margin: 0.3rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.footer .share a:hover {
  background-color: var(--main-color);
}

/* Menü Linkleri */
.footer .links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer .links a {
  background-color: var(--main-color);
  padding: 0.7rem 2rem;
  color: #fff;
  font-size: 2rem;
  border: var(--border, 2px solid #fff);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .links a:hover {
  background-color: var(--black-color);
  opacity: 0.75;
}

.footer .links a:active {
  background-color: var(--black-color);
}

/* İletişim Bilgileri */
.footer .info {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 2;
}

.footer .info i {
  margin-right: 0.5rem;
  color: var(--main-color);
}
.footer .info .email {
  text-transform: lowercase;
}
/* Alt Yazı */
.footer .credit {
  font-size: 2rem;
  color: #fff;
  font-weight: 300;
  padding-top: 1.5rem;
}

.footer .credit span {
  color: var(--main-color);
  font-weight: 500;
}
/*! Alt Bilgi End */

/* Menü butonu varsayılan olarak gizli */
#menu-btn {
  display: none;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .header {
    padding: 1.5rem 2rem;
  }

  .header .logo img {
    height: 7rem;
  }

  section {
    padding: 2rem;
  }

  .products .box-container .box .box-head .name {
    font-size: 3.4rem;
  }

  /* Menü butonu 991px altında görünür */
  #menu-btn {
    display: block;
    font-size: 2.8rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--black-color);
  }

  .header .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-top: 1px solid #ddd;
    z-index: 1000;
  }

  .header .navbar.active {
    display: flex;
    animation: slideDown 0.3s ease-in-out;
  }

  .header .navbar a {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    font-size: 2rem;
    text-align: center;
    color: var(--black-color);
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
    padding: 0 5%;
  }

  .header .logo {
    flex: 1;
    max-height: 6rem;
  }

  .header .buttons {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    gap: 2vw;
    position: relative;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 50%;
  }

  .header .search-form {
    width: 30rem;
  }
}
/*! responsive end */