@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");

:root {
  --main-color: #ff0101;
  --background-color:rgb(255, 255, 255);
  --black-color: #0e0e0e;
  --border: 0.1rem solid rgba(255, 255, 255, 0.4);
}
body{
  background-color: var(--background-color);
}

* {
  font-family: "Poppins", sans-serif;
  font-style:italic;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.2s ease;
}

/*! base html codes  */
html {
  font-size: 62.5%;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 0.8rem;
  background-color: rgb(255, 255, 255);
}

html::-webkit-scrollbar-track {
  background-color: transparent;
}

html::-webkit-scrollbar-thumb {
  border-radius: 3rem;
  background-color: rgb(31, 31, 31);
}

section {
  padding: 3.5rem 7%;
}

a {
  color: var(--black-color);
  text-decoration: none;
}

.btnn {
  margin-top: 1rem;
  display: inline-block;
  padding: 2rem 3.75rem;
  border-radius: 30rem;
  font-size: 1.7rem;
  color: #ff0000;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
}

.btnn:hover {
  opacity: 0.8 ;
}

.heading {
  color: #fff;
  text-transform: uppercase;
  font-size: 4rem;
  margin-bottom: 3.5rem;
  border-bottom: 0.1rem solid #fff;
}

.heading span {
  color: var(--main-color);
  text-transform: uppercase;
}

.search-input {
  font-size: 1.6rem;
  color: var(--black-color);
  padding: 1rem;
  text-transform: none;
  border-radius: 3rem;
}

/*! home start  */
.home {
  min-height: 115vh;
  background: url(../images/bgKı2.webp) no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: -15.5rem;
  display: flex;
  align-items: center;
}

.home .content {
  max-width: 60rem;
  margin-bottom: 5%;
}

.home .content h3 {
  font-size: 4.5rem;
  color: #ffffff;
}

.home .content p {
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.8;
  padding: 1rem 0;
  color: #ffffff;
}
/*! home end  */

#anasayfa-hakkimizda-div{
  margin: 5%;
}


/*! responsive start  */
@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  .header .logo img {
    height: 12rem;
  }
  /* .header {
    margin-top: 15px;
  } */
  .home .content {
    max-width: 60rem;
    margin-bottom: 30%;
    margin-left: 5%;
  }
  section {
    padding: 2rem;
  }

  .products .box-container .box .box-head .name {
    font-size: 3.4rem;
  }
  
  .home {
    min-height: 100vh;
    background: url(../images/bgtablet2.webp) no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -17rem;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .header #menu-btn {
    display: inline-block;
  }
  .btnn {
    color: #ffffff;
    background-color: rgb(255, 0, 0);
  }
  .header .navbar {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 20px 14px 0px rgba(0, 0, 0, 0.396); /* Daha hafif gölge */
    border-radius: 10px; /* Kenarları daha yumuşak yapar */
    padding: 0.5rem; /* Menü içeriği için daha küçük boşluk */
    display: none; /* Başlangıçta gizli */
    flex-direction: column; /* Dikey hizalama */
    gap: 0.5rem; /* Menü öğeleri arasındaki boşluk */
    max-height: 90vh; /* Ekranın %90'ını geçmesin */
    overflow-y: auto; /* İçerik taşarsa kaydırma çubuğu */
    width: auto; /* İçeriğe göre genişlik */
    min-width: 15rem; /* Minimum genişlik */
    max-width: 30rem; /* Maksimum genişlik */
    z-index: 1000; /* Menü üstte yer alır */
  }
  
  .header .navbar.active {
    display: flex; /* Menü aktifken görünür */
  }
  
  .header .navbar a {
    display: block; /* Her öğe tam genişlikte olsun */
    color: var(--main-color); 
    text-decoration: none; /* Alt çizgi yok */
    font-size: 1.2rem; /* Font boyutu */
    padding: 0.8rem 1.5rem; /* İçerik etrafında boşluk */
    border-radius: 4px; /* Kenarlarda hafif yuvarlama */
    transition: all 0.3s ease; /* Geçiş efektleri */
  }
  
  .header .navbar a:active {
    color: black; /* Hoverda metin rengi */
  }

  .header .navbar a:hover {
    color: black; /* Hoverda metin rengi */
  }

  .header .navbar a {
    border-bottom: 1px solid #7272726e; /* Menü öğeleri arasına çizgi */
  }

  .header .navbar.active {
    right: 3rem;
  }
  .header .logo img {
    height: 11rem;
  }
  .header .navbar a {
    color: var(--black-color);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .home .content {
    max-width: 60rem;
    margin-bottom: 8%;
    margin-left: 5%;
  }
  .home {
    min-height: 80vh;
    background: url(../images/bgred.webp) no-repeat ;
    background-size: cover;
    background-position: center;
    margin-top: -16rem;
    display: flex;
    align-items: center;
  }
  
#tarihce-div{
  margin-bottom:4%;
  margin-top: 15%;
}
#hakkimizda-yazi{
  margin-bottom: 5%;
}

#tarihce-yazi{
  margin-bottom: 5%;
}

}

@media (max-width: 576px) {
  html {
    font-size: 45%;
  }

  .header .search-form {
    width: 30rem;
  }

  .home .content {
    max-width: 60rem;
    margin-bottom: 30%;
    margin-left: 5%;
  }
  .btnn {
    color: #ff0000;
    background-color: rgb(255, 255, 255);
  }
}

@media (max-width: 320px) {
  html {
    font-size: 35%;
  }

  .header .search-form {
    width: 30rem;
  }

  .home .content {
    max-width: 60rem;
    margin-bottom: 20%;
    margin-left: 5%;
  }
}

