@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root{
    --main-color: #fdedd4;
    --black-color: #1e1e1e;
    --border: 0.1rem solid rgba(255,255,255,0.4);
    --anymain: #f68d0c;
}

 *{
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2 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: #ffffff;
}

html::-webkit-scrollbar-track{
    background-color: transparent;
}

html::-webkit-scrollbar-thumb{
    border-radius: 3rem;
    background-color: #1e1e1e;
}



 body{
    background-color: var(--main-color);
    height: 200vh;
 }

 section{
    padding: 3.5rem 7%;
 }

 a{
    color: #1e1e1e;
    text-decoration: none;
 }
 
 .btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: aliceblue;
    background-color: #1e1e1e;
    cursor: pointer;
 }

  .btn:hover {
    opacity: 0.9;
 }


.heading{
    color: #fff;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid #fff;

}

.heading span{
    text-transform: uppercase;
    color: #1e1e1e;
    
}

.search-input{
  font-size: 1.6rem;
  color: var(--black-color);
  padding: 1rem;
  text-transform: none;
  border-radius: 3rem;
}
 
#menu-btn{
  display: none;
 }


/* header start */



.header .search-form{
  position: absolute;
  top: 115%;
  right: 7%;
  background-color: #fff;
  width: 50rem;
  height: 7rem;
  display: flex;
  align-items: center;
  border-radius: 3rem;
  box-shadow: 0px 0px 25px 2px rgba(0 0 0 / 75%);
  transform: scaleY(0);
}
.header .search-form i{
  cursor: pointer;
  font-size: 2.2rem;
  margin-right: 1.5rem;
  color: var(--black-color);
}

.header .search-form input{
  width: 100%;
  padding: 0 2rem 0 1rem; /* Sağa padding ekler (top right bottom left) */
  font-size: 1.6rem;
  border: none;
  outline: none;
  background: transparent;
}
.header .search-form.active{
  transform: scaleY(1);
}


    .header .logo img {
    height: 11rem;
    width: 13rem;
    }

    .header {
        background-color: aliceblue;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 7%;
        margin: 2rem 7%;
        border-radius: 30rem;
        box-shadow: 0px 0px 17px -2px rgba(0,0,0,0.75);
        position: sticky;
        top: 0%;
        z-index: 1000;
    }
    

    /* z index ile hep önde-shadow için site kullan sonra- flex kelimeleri yana atar*/
        .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(--black-color);
            padding-bottom: 0.5rem;
        }

        .header .buttons button{
            cursor: pointer;
            font-size: 2.5rem;
            margin-left: 2rem;
            background-color: transparent;
         }

         .header .cart-items-container{
          position: absolute;
          top: 95%;
          height: calc(100vh - 9rem);
          width: 35rem;
          background-color: #fff;
          box-shadow: 0px 0px 25px 2px rgba(0 0 0 / 75%);
          right: -100%;
         }

         .header .cart-items-container.active {  /* ✅ Doğru class tanımı */
          right: 3rem; /* Açıkken sağdan 3rem içerde */
         }

         .header .cart-items-container .cart-item{
          position: relative;
          display: flex;
          align-items: center;
          gap: 1.5rem;
          padding: 1.5rem;
         }

         .header .cart-items-container .cart-item:hover{
          box-shadow: 0px 0px 25px 2px rgba(0 0 0 / 75%);
         }

          .header .cart-items-container .content h3{
          font-size: 2rem;
          padding-bottom: 0.5rem;
         }

          .header .cart-items-container .content .price{
          font-size: 1.5rem;
          color: var(--black-color);
         }

         .header .cart-items-container .btn{
          width: 100%;
          text-align: center;
          border-radius: unset;
         }

         .header .cart-items-container .cart-item .fa-times{
          position: absolute;
          top: 1rem;
          right: 1.5rem;
          font-size: 2rem;
          cursor: pointer;
          color: var(--black-color);
         }

         .header .cart-items-container .cart-item img{
          height: 7rem;
         }



 /* header end*/

/* home start*/
.home{
    min-height: 100vh;
    background: url(../images/home.png)
    no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -15.5rem;
    display: flex;
    align-items: center;
}
.home .content{
    max-width: 60rem;
}

.home .content h3 {
  font-size: 6rem;
  color: var(--main-color); /* Ana renk (fdedd4) */
  margin-bottom: 1rem;
}

.home .content p {
  font-size: 2rem;
  color: white;
  line-height: 1.6;
  max-width: 45rem;
}

.home .content h4{
    font-size: 3rem;
    color: aliceblue;
}
 /* home end/*

  /*! sets start*/
   
.sets .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}
.sets .box-container .box {
    padding: 3rem;
    background-color: #FFD8A8;
    border-radius: 3rem;
    background-color: #FFD8A8;
    min-height: 60rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.sets .box-container .box img {
  width: 100%;
  object-fit: cover;
}

.sets .box-container .box .sets-category {
  font-size: 1.2rem;
}

.sets .box-container .box h3 {
  font-size: 3rem;
  padding: 1rem 0;
}

.sets .box-container .box .price {
  font-size: 2.5rem;
  padding: 0.5rem 0;
}

.sets .box-container .box .price span {
  font-size: 1.5rem;
  text-decoration: line-through;
  font-weight: 300;
}
  
   /*! sets end */

   /*! products start */

   .products .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
   }

   .products .box-container .box{
    text-align: center;
    background-color: #FFD8A8;
    position: relative;
    border-radius: 3rem;
    height: 60rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem;
   }

      .products .box-container .box .box-head{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        z-index: 10;
      }

      .products .box-container .box .box-head .title{
        font-size: 1.4rem;
      }
      
      .products .box-container .box .box-head .name{
        font-size: 4rem;
        font-weight: bold;
        text-align: start;
        overflow-wrap: anywhere;
      }

    .products .box-container img {
        position: relative; /* absolute yerine relative */
        width: 100%;
        height: 40rem; /* veya 250px */
        object-fit: contain;
        border-radius: 1rem;
        margin-top: 1rem;
      }
      .products .box-container .box-bottom{
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 10;
      }
      .products .box-container .box-bottom .info{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
      }
      .products .box-container .box-bottom .info .price{
        font-size: 3rem;
      }
      .products .box-container .box-bottom .info .amount{
        font-size: 1.4rem;
      }
      .products .box-container .box-bottom .product-btn a{
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        width: 3.5rem;
        height: 3.5rem;
        border: 0.2rem solid #cf835f;
      }
      .products .box-container .box-bottom .product-btn a i{
        font-size: 1.6rem;
        color: #cf835f;
      }



   /*! products end */

   /*! about start */
 .about .row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
}

.about .row .image {
  flex: 1 1 45rem;
}
.about .row img{
    width: 100%;
}

.about .row .content {
  flex: 1 1 45rem;
}

.about .row .content h3 {
  font-size: 3rem;
  color: #1e1e1e;
}

.about .row .content p {
    font-size: 1.6rem;
    color: #1e1e1e;
    padding: 1rem 0;
    line-height: 1.8;
}


   /*! about end */

   /*! review start */

.review .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}

.review .box-container .box{
  border: var(--border);
  text-align: center;
  padding: 3rem 2rem;
  background-color: aliceblue;
  border-radius: 3rem;
}

.review .box-container .box p {
  font-size: 1.5rem;
  line-height: 1.8;
  padding: 2rem 0;
}

.review .box-container .box .user {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
}

.review .box-container .box h3 {
  padding: 1rem 0;
  font-size: 2rem;
  color: #1e1e1e;
}

.review .box-container .stars i {
  font-size: 1.5rem;
  color: gold;
}

   /*! review end */



   /*! contact start */

   .contact .row {
    display: flex;
    background-color: var(--black-color);
    flex-wrap: wrap;
    gap: 1rem;
   }

   .contact .row .map {
    flex: 1 1 45rem;
    width: 100%;
    object-fit: cover;
   }

   .contact .row form {
    flex: 1 1 45rem;
    padding: 5rem 2rem;
    text-align: center;
   }

    .contact .row form h3 {
      text-transform: uppercase;
      font-size: 3.5rem;
      color: aliceblue;
   }

    .contact .row form .inputBox {
      display: flex;
      align-items: center;
      margin: 2rem 0;
      border: var(--border);
    }

        .contact .row form .inputBox i {
          color: aliceblue;
          font-size: 2rem;
          padding-left: 2rem;
    }

            .contact .row form .inputBox input {
          width: 100%;
          padding: 2rem;
          color: aliceblue;
          font-size: 1.7rem;
          text-transform: none;
          background-color: transparent;
    }

        .contact .row form .btn{
          color: #ff6b6b;
          background-color: aliceblue;
          font-weight: bold;
        }



   /*! contact end */


/*! blog start */
.blog .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 1.5rem;
}

/* GENEL KUTU STİLLERİ */
.blog .box-container .box {
  background-color: aliceblue;
  border-radius: 3rem;
  overflow: hidden;
  position: relative;
}

/* DİĞER TÜM KUTULAR (A4 BOYUTU) */
.blog .box-container .box:not(:first-child) .image {
  height: 29.7rem; /* A4 yükseklik (29.7cm) */
  aspect-ratio: 1/1.414; /* A4 oranı (1:√2) */
}

/* ÖZEL İLK KUTU (A5 BOYUTU) */
.blog .box-container .box:first-child {
  grid-column: span 1; /* Sadece 1 sütun kaplasın */
}

.blog .box-container .box:first-child .image {
  height: 21rem; /* A5 yükseklik (21cm) */
  aspect-ratio: 1/1.414; /* A5 oranı (A4'ün yarısı) */
}

/* ORTAK STİLLER */
.blog .box-container .box .image {
  width: 100%;
  overflow: hidden;
  border-top-left-radius: 3rem;
  border-top-right-radius: 3rem;
}

.blog .box-container .box .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog .box-container .box:hover .image img {
  transform: scale(1.1);
}

/* İÇERİK ALANI (TÜM KUTULARDA AYNI) */
.blog .box-container .box .content {
  padding: 2rem;
}

.blog .box-container .box .content .title {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.blog .box-container .box .content span {
  font-size: 1.5rem;
  color: #666;
  display: block;
  margin-bottom: 1rem;
}

.blog .box-container .box .content p {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #333;
}

/* Mobilde tıklanabilir alanları büyüt */
@media (max-width: 768px) {
  .btn, button, a {
    min-width: 4rem;
    min-height: 4rem;
  }
  
  /* Input alanları */
  input, textarea {
    font-size: 16px !important; /* iOS zoom sorununu çözmek için */
  }
  
  /* Mobilde scroll sorunları */
  body.navbar-active {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
}
/*! blog end */

 /* SSS Section Styles */
.sss {
  padding: 5rem 9%;
  background: #f9f9f9;
}

.sss .heading {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 4rem;
  color: #333;
}

.sss .heading span {
  color: #ff6b6b;
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.accordion-heading {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
}

.accordion-heading:hover {
  background: #f0f0f0;
}

.accordion-heading h3 {
  font-size: 1.8rem;
  color: #333;
  margin: 0;
  flex: 1;
}

.accordion-heading i {
  font-size: 1.5rem;
  color: #ff6b6b;
  transition: transform 0.3s ease;
}

.accordion-content {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #666;
  border-top: 1px solid transparent;
}

.accordion.active .accordion-content {
  max-height: 500px; /* Daha uzun içerikler için arttırdım */
  padding: 2rem;
  border-top: 1px solid #eee;
}

.accordion.active .accordion-heading {
  background: #f0f0f0; /* Aktif başlık arkaplanı */
}

.accordion.active .accordion-heading i {
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
  .sss {
    padding: 3rem 5%;
  }
  
  .sss .heading {
    font-size: 2.8rem;
    margin-bottom: 3rem;
  }
  
  .accordion-heading h3 {
    font-size: 1.6rem;
  }
  
  .accordion-content {
    font-size: 1.4rem;
  }
}

@media (max-width: 450px) {
  .accordion-heading {
    padding: 1.2rem;
  }
  
  .accordion-heading h3 {
    font-size: 1.4rem;
  }
}
   /*! footer start */
.footer {
    background-color: var(--black-color);
    text-align: center;
    padding: 3rem 0;
}

/* Arama kutusu ve butonu */
/* FOOTER SEARCH FIX */
/* FOOTER ARAMA KUTUSU DÜZENLEMESİ */
.footer .search {
  display: flex;
  justify-content: center;
  gap: 0.5rem; /* Arada 0.5rem boşluk bırakır */
  margin-bottom: 2rem;
}

.footer .search-input {
  width: 60%;
  max-width: 300px;
  padding: 12px 20px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
}

.footer .btn-primary {
  padding: 12px 25px;
  background: var(--anymain);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap; /* Buton metninin tek satırda kalması için */
}

/* MOBİL UYUMLULUK */
@media (max-width: 576px) {
  .footer .search {
    flex-direction: column;
    gap: 0.8rem; /* Mobilde daha fazla boşluk */
    align-items: center;
  }
  
  .footer .search-input,
  .footer .btn-primary {
    width: 90%;
  }
}

/* Sosyal medya ikonları */
.footer .share {
    padding: 2rem 0;
}

.footer .share a {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    color: #fff;
    font-size: 2rem;
    border: var(--border);
    border-radius: 50%;
    margin: 0.3rem;
    background-color: var(--anymain);
    display: inline-block;
}

.footer .share a:hover {
    background-color: var(--black-color);
}

.footer .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
}

.footer .links a {
    background-color: var(--anymain);
    padding: 0.7rem 2rem;
    color: #fff;
    font-size: 1.6rem;
    border-radius: 3rem;
    transition: all 0.3s ease;
}

.footer .links a:hover {
    background-color: var(--black-color);
    opacity: 0.7;
}

.footer .links a.active {
    background-color: var(--black-color);
}

.footer .credit {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 300;
    padding-top: 1.5rem;
}

.footer .credit span {
    color: var(--anymain);
    font-weight: 600;
}
   /*! footer end */



/* HEADER - Mobil Uyum */
@media (max-width: 768px) {
  .header {
    padding: 1rem 5%;
    border-radius: 2rem;
    position: relative;
  }
  
  .header .logo img {
    height: 7rem; /* Logoyu küçülttük */
  }
  
  .header .buttons button {
    font-size: 2rem; /* Butonları küçülttük */
    margin-left: 1rem;
  }
}
  
  /* Arama formu */
  .header .search-form {
    width: 90%;
    right: 5%;
    height: 5rem;
  }
  
  /* Sepet */
  .header .cart-items-container {
    width: 90%;
    right: -100%;
  }
  
  .header .cart-items-container.active {
    right: 5%;
  }
  
  /* Ana içerik */
  .home .content h3 {
    font-size: 4rem;
  }
  
  .home .content p {
    font-size: 1.6rem;
  }
  
  /* Ürün kutuları */
  .products .box-container .box,
  .sets .box-container .box {
    height: auto;
    min-height: 50rem;
  }
  
  .products .box-container .box .box-head .name {
    font-size: 3rem;
  }
  
  /* Blog düzenlemesi */
  .blog .box-container {
    grid-template-columns: 1fr;
  }
  
  /* SSS bölümü */
  .accordion-heading h3 {
    font-size: 1.6rem;
  }


@media (max-width: 576px) {
  /* Daha küçük ekranlar için */
  html {
    font-size: 50%;
  }
  
  .header {
    margin: 1rem 3%;
    padding: 1rem 3%;
  }
  
@media (max-width: 768px) {
  .home {
    background-size: cover;
    background-position: 56% center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    min-height: 80vh; /* Yükseklik ayarı */
    margin-top: 0;
  }
}
  
  .home .content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Elemanlar arası boşluk */
    text-align: left; /* Sola hizalı */
    margin-left: 5%; /* Soldan boşluk */
    padding: 30% 10% 40% 0;
    width: 45%;
  }

  .home .content h3 {
    font-size: 3rem; /* Orijinal boyut */
    line-height: 1.3;
    order: 1; /* Sıralama */
  }

  .home .content h4 {
    font-size: 2rem;
    order: 2;
    margin-top: -1rem; /* Başlıkları yakınlaştırır */
  }

  .home .content p {
    font-size: 1.7rem;
    order: 3;
    line-height: 1.6;
  }

  .home .content .btn {
    order: 4;
    align-self: flex-start; /* Butonu sola yaslar */
    margin-top: 3rem;
  }
}

@media (max-width: 991px) {
html{
  font-size: 55%;
}

  /* TEMEL YAPI */
  .header {
    padding: 1.5rem 2rem;
  }

  /* LOGO DÜZENİ */
  .header .logo img {
    height: 7rem;
  }

  section{
    padding: 2rem;
  }

  .products .box-container .box .box-head .name{
    font-size: 3.4rem;
  }
}


@media (max-width: 768px) {
  #menu-btn{
    display: inline-block;
  }
  .header .navbar{
    position: absolute;
    top: 95%;
    background-color: #fff;
    height: calc(100vh - 9rem);
    width: 30rem;
    box-shadow: 0px 20px 14px 0px rgba(0 0 0 / 75%);
    right: -100%;
  }

.header .navbar.active {
  transform: translateX(0) !important;
  right: 3rem !important;
}

  .header .navbar a{
    color: var(--black-color);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }
}


  
  /* İletişim formu */
  .contact .row {
    flex-direction: column;
  }
  
  .contact .row .map {
    height: 30rem;
  }
  
  /* Footer */
  .footer .search .search-input {
    width: 80%;
  }
  
  .footer .links {
    flex-direction: column;
    align-items: center;
  }




