/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&family=Lora:wght@500;600&family=Poppins:wght@400;500&display=swap");

@font-face {
  font-family: 'Bebas Neue';
  src: url('assets/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Mont';
  src: url('assets/fonts/Mont-Regular.ttf') format('truetype');
  font-weight: 400;
  /* Normal ağırlık için */
  font-style: normal;
}

@font-face {
  font-family: 'Mont';
  src: url('assets/fonts/Mont-Bold.ttf') format('truetype');
  font-weight: 700;
  /* Kalın ağırlık için */
  font-style: normal;
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(14, 89%, 46%);
  --first-color-alt: hsl(19, 90%, 49%);
  --title-color: hsl(19, 16%, 15%);
  --text-color: hsl(19, 16%, 35%);
  --text-color-light: hsl(19, 8%, 55%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(19, 100%, 97%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Mont', sans-serif;
  --title-font: 'Mont', sans-serif;
  --subtitle-font: "Bebas Neue", sans-serife;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background 0.4s;
  /* for dark mode animation */
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.logo-image {
  filter: brightness(0);
  /* Light mode: Siyah logo */
  transition: filter 0.3s ease;
}

/* Temsilcilikler başlıkları için */
.temsilciliklerimiz__title,
.temsilciliklerimiz__subtitle {
  color: var(--text-color);
  /* Her iki modda da metin rengi uyumlu olur */
  transition: color 0.3s ease;
}

body.dark-theme .temsilciliklerimiz__title,
body.dark-theme .temsilciliklerimiz__subtitle {
  color: var(--title-color);
  /* Dark mode için yazı rengi ayarlanır */
}

body.dark-theme .logo-image {
  filter: brightness(0) invert(1);
  /* Dark mode: Beyaz logo */
}

.change-theme {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
  transition: color 0.3s;
}

.temsilci-logo {
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --first-color: hsl(14, 89%, 46%);
  --first-color-alt: hsl(19, 90%, 49%);
  --title-color: hsl(19, 24%, 85%);
  --text-color: hsl(19, 16%, 65%);
  --body-color: hsl(19, 12%, 8%);
  --container-color: hsl(19, 10%, 10%);
  --logo-filter: invert(1);
  /* Dark tema için logoları ters çevir */

}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.dark-theme .bg-header,
.dark-theme .nav__menu,
.dark-theme .scrollup {
  box-shadow: 0 2px 8px hsla(19, 64%, 4%, .5);
}

.dark-theme .popular__card {
  box-shadow: 0 8px 20px hsla(19, 64%, 4%, .2);
}

.dark-theme .newsletter__content {
  background-color: var(--container-color);
}

.dark-theme .newsletter__form,
.dark-theme .newsletter__input {
  background-color: var(--body-color);
}

.dark-theme::-webkit-scrollbar {
  background-color: hsl(19, 8%, 15%);
}

.dark-theme::-webkit-scrollbar-thumb {
  background-color: hsl(19, 8%, 25%);
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(19, 8%, 35%);
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1024px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  font-size: var(--h1-font-size);
  font-family: var(--title-font);
  margin-bottom: 1.5rem;
}

.section__subtitle {
  display: block;
  font-size: var(--h2-font-size);
  font-family: var(--subtitle-font);
  color: var(--first-color);
  margin-bottom: 0.5rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.main {
  overflow: hidden;
  /* For animation ScrollReveal */
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  background-color: var(--body-color);
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: box-shadow .3s, background .4s;
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__close {
  display: flex;
  color: var(--title-color);
}

.nav__logo {
  align-items: center;
  column-gap: .1rem;
  font-family: var(--title-font);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  transition: color .3s;
}

.nav__logo img {
  width: 300px;
}

.nav__logo:hover {
  color: var(--first-color);
}

.nav__toggle {
  font-size: 1.25rem;
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    background-color: var(--body-color);
    width: 100%;
    box-shadow: 0 8px 20px hsla(19, 64%, 24%, .1);
    padding-block: 3.5rem;
    transition: top .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  text-align: center;
  row-gap: 2rem;
}

.nav__link {
  color: var(--title-color);
  font-weight: var(--font-medium);
  transition: color .4s;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav__img-1,
.nav__img-2 {
  position: absolute;
  opacity: 0.2;
}

.nav__img-1 {
  width: 100px;
  top: 0.75rem;
  left: -2rem;
  transform: rotate(165deg);
}

.nav__img-2 {
  width: 50px;
  right: -1rem;
  bottom: 0;
  transform: rotate(-30deg);
}

/* Show menu */
.show-menu {
  top: 0;
}

/* Change background header */
.bg-header {
  box-shadow: 0 2px 8px hsla(19, 64%, 24%, .1);
}

/* Active link */
.active-link {
  color: var(--first-color);
}

.home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home__leaf-1,
.home__leaf-2 {
  position: absolute;
  opacity: .2;
}

.home__leaf-1 {
  width: 80px;
  top: 8rem;
  left: -1rem;
  transform: rotate(90deg);
}

.home__leaf-2 {
  width: 100px;
  right: -2rem;
  bottom: 1rem;
  transform: rotate(-15deg);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

/*=============== BUTTON ===============*/
.button {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  background-color: var(--first-color);
  padding: 1rem 1.5rem;
  border-radius: 4rem;
  color: #fff;
  font-weight: var(--font-medium);
  transition: background .3s;
}

.button i {
  font-size: 1.5rem;
  transition: transform .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button:hover i {
  transform: translateX(0.25rem);
}

/*=============== Contact ===============*/
.contact-box {
  max-width: 900px;
  display: flex;
  background-color: var(--body-color);
  box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.19);
  border-radius: 10px;
  overflow: hidden;
  margin: 50px auto;
  /* Container'ı ortalamak için margin */
  justify-content: center;
  /* İçerik ortalama */
  align-items: center;
  /* Dikey ortalama */
}

.language-select-container {
  position: relative;
  display: inline-block;
}

.language-icon {
  color: var(--title-color);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.3s;
}

.language-menu {
  display: none;
  position: absolute;
  top: 30px;
  right: 0;
  background-color: var(--body-color);
  border: 1px solid var(--text-color-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  padding: 0.5rem 0;
  list-style: none;
  z-index: 10;
}

.language-menu li {
  padding: 0.5rem 1rem;
  color: var(--title-color);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.language-menu li:hover {
  background-color: var(--first-color);
  color: #fff;
}

body.dark-theme .language-icon,
body.dark-theme .language-menu li {
  color: var(--text-color);
}

body.dark-theme .language-menu {
  background-color: var(--body-color);
  border-color: var(--text-color);
}

.left,
.right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.left {
  flex-direction: column;
  padding: 40px;
}

.right {
  background-color: var(--container-color);
}

.contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-container {
  position: relative;
  width: 100%;
}

body.dark-theme .field {
  color: #ffffff;
  /* Dark mod için beyaz metin rengi */
}

body:not(.dark-theme) .field {
  color: #000000;
  /* Light mod için siyah metin rengi */
}

.field {
  width: 100%;
  padding: 15px 10px;
  background-color: var(--input-bg-color);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  /* Metin rengi geçişi */
  color: var(--text-color);
  /* Metin rengini değişken kullanarak ayarla */
}

.field:focus {
  border: 2px solid var(--first-color);
}

.field-label {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #666;
  transition: top 0.3s, font-size 0.3s, color 0.3s;
  pointer-events: none;
}

.field:focus+.field-label,
.field:not(:placeholder-shown)+.field-label {
  top: 5px;
  font-size: 0.75rem;
  color: var(--first-color);
}

.btn {
  padding: 15px;
  background-color: var(--first-color);
  border: none;
  border-radius: 5px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #c72d08;
}

/* Dark/Light Mode */
body.light {
  --body-color: #ffffff;
  --container-color: #f0f0f0;
  --input-bg-color: #ffffff;
}

body.dark {
  --body-color: #1a1a1a;
  --container-color: #2b2b2b;
  --input-bg-color: #333333;
  --first-color: hsl(14, 89%, 46%);
}


/*=============== ABOUT ===============*/
.about {
  position: relative;
}

.about__container {
  row-gap: 3rem;
}

.about__data {
  text-align: center;
}

.about__title img {
  width: 30px;
}

.about__title div {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
}

.about__img {
  width: 300px;
  justify-self: center;
}

.about__leaf {
  width: 100px;
  opacity: .2;
  position: absolute;
  right: -1.5rem;
  bottom: 11rem;
  transform: rotate(-15deg);
}


/* Hakkımızda button ayarları*/
.about__button {
  font-family: var(--body-font);
  border: none;
  outline: none
}




/*=============== Temsilciliklerimiz ===============*/



.temsilciliklerimiz__container {
  padding-top: 1rem;
  grid-template-columns: 50px;
  justify-content: center;
  row-gap: 1.5rem;
  grid-template-columns: repeat(2, max-content);
}

.temsilciliklerimiz__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  text-align: center;
  padding: 50px;
}

.temsilciliklerimiz__slide {
  margin: 0 50px;
}




/*================= Product1 Page ==================*/


.card-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}


img {
  width: 100%;
  display: block;
}

.img-display {
  overflow: hidden;
}

.img-showcase {
  display: flex;
  width: 100%;
  transition: all 0.5s ease;
}

.img-showcase img {
  min-width: 50px;
}

.img-select {
  display: flex;
}

.img-item {
  margin: 0.3rem;
}

.img-item:nth-child(1),
.img-item:nth-child(2),
.img-item:nth-child(3) {
  margin-right: 0;
}


.img-item:hover {
  opacity: 0.8;
}


.product-content {
  padding: 2rem 1rem;
}

.product-title {
  font-size: 3rem;
  text-transform: capitalize;
  font-weight: 700;
  position: relative;
  color: var(--text-color);
  margin: 1rem 0;
}


.product-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 80px;
  background-color: var(--body-color);
}


.product-link {
  text-decoration: none;
  text-transform: uppercase;
  font-weight: var(--font-medium);
  font-size: var(--text-color);
  display: inline-block;
  margin-bottom: 0.5rem;
  background: var(--body-color);
  color: var(--first-color);
  padding: 0 0.3rem;
  transition: all 0.5s ease;
}

.product-link:hover {
  opacity: 0.9;
}


.product-rating {
  color: var(--text-color);
}

.product-price {
  margin: 1rem 0;
  font-size: var(--font-medium);
  font-weight: var(--font-semi-bold);
}


.product-price span {
  font-weight: var(--font-semi-bold);

}

.last-price span {
  color: var(--first-color);
}

.new-price span {
  color: var(--first-color);
}


.product-detail h2 {
  text-transform: capitalize;
  color: var(--first-color);
  padding-bottom: 0.6rem;
}


.product-detail p {
  font-size: 0.9rem;
  padding: 0.3rem;
  opacity: 0.8;
}


.product-detail ul {
  margin: 1rem 0;
  font-size: 0.9rem;
}



.product-detail ul li {
  margin: 0;
  list-style: none;
  background: url(assets/img/icon.png) left center no-repeat;
  background-size: 10px;
  padding-left: 1.7rem;
  margin: 0.4rem 0;
  font-weight: var(--font-semi-bold);
  opacity: 0.8;
}



.product-detail ul li span {
  font-weight: var(--font-semi-bold);
}







/*=============== POPULAR ===============*/
.popular__container {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

.popular__card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  margin-right: 20px;
  width: 450px;
  /* Kartların genişliğini ihtiyacınıza göre ayarlayabilirsiniz */
  background-color: var(--container-color);
  padding: 2rem 1rem;
  /* Kartların padding ayarını ihtiyaca göre değiştirin */
  box-shadow: 0 8px 20px hsla(19, 64%, 48%, .08);
  border-radius: 1rem;
  text-align: center;
  transition: background .4s;
}

.popular__card:hover .popular__img {
  transform: translateY(-.25rem);
}

.popular__container::-webkit-scrollbar {
  display: none;
}

.popular__img {
  width: 100%;
  height: auto;
  display: block;
}


.popular__name {
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
  margin-bottom: .25rem;
}

.popular__description {
  display: block;
  font-size: var(--smaller-font-size);
  margin-bottom: 1rem;
}

.popular__price {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
}

.popular__button {
  display: flex;
  background-color: var(--first-color);
  padding: 6px;
  border: none;
  border-radius: 50%;
  outline: none;
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px hsla(19, 64%, 20%, .2);
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  cursor: pointer;
  transition: background .3s;
}

.popular__button:hover {
  background-color: var(--first-color-alt);
}

/*=============== Yenilikler / Recently ===============*/
.recently {
  position: relative;
}

.recently__container {
  row-gap: 4rem;
}

.recently__data {
  position: relative;
  text-align: center;
}

.recently__description {
  margin-bottom: 2rem;
}

.recently__data-img {
  width: 25px;
  position: absolute;
  top: 3.5rem;
  right: 1.5rem;
  transform: rotate(30deg);
}

.recently__img {
  width: 300px;
  justify-self: center;
}

.recently__leaf-1,
.recently__leaf-2 {
  position: absolute;
  opacity: .2;
}

.recently__leaf-1 {
  width: 80px;
  top: 17rem;
  left: -1rem;
  transform: rotate(15deg);
}

.recently__leaf-2 {
  width: 40px;
  right: -1rem;
  bottom: 12rem;
  transform: rotate(-30deg);
}

/*=============== NEWSLETTER ===============*/
.newsletter__container {
  position: relative;
}

.newsletter__content {
  position: relative;
  background-color: hsl(19, 24%, 15%);
  border-radius: 2.5rem;
  padding: 5rem 1rem 3rem;
  text-align: center;
  overflow: hidden;
  margin-bottom: 2rem;
}

.newsletter__img {
  position: relative;
  width: 250px;
  top: 1.5rem;
  left: 6rem;
}

.newsletter__data .section__title {
  color: #fff;
  margin-bottom: 2rem;
}






.newsletter__button {
  cursor: pointer;
}

.newsletter__spinach {
  width: 30px;
  position: absolute;
  right: 2rem;
  bottom: -2rem;
  transform: rotate(45deg);
}



/*=============== FOOTER ===============*/
.footer {
  position: relative;
  padding-block: 3rem 2rem;
  overflow: hidden;
}

.footer__container {
  row-gap: 3rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-family: var(--title-font);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
  transition: color .3s;
}

.footer__logo img {
  width: 25px;
}

.footer__logo:hover {
  color: var(--first-color);
}

.footer__description,
.footer__link,
.footer__information {
  font-size: var(--small-font-size);
}

.footer__content,
.footer__links {
  display: grid;
}

.footer__content {
  grid-template-columns: repeat(2, max-content);
  gap: 2.5rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

.footer__links {
  row-gap: .5rem;
}

.footer__link {
  color: var(--text-color);
  transition: color .3s;
}

.footer__link:hover {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  column-gap: 1.25rem;
}

.footer__social-link {
  color: var(--first-color);
  font-size: 1.25rem;
  transition: color .3s, transform .3s;
}

.footer__social-link:hover {
  color: var(--first-color-alt);
  transform: translateY(-2px);
}

.footer__onion,
.footer__spinach {
  width: 30px;
  position: absolute;
}

.footer__onion {
  top: 7.5rem;
  right: 5rem;
  transform: rotate(-45deg);
}

.footer__spinach {
  bottom: 8rem;
  left: 3rem;
  transform: rotate(30deg);
}

.footer__leaf {
  width: 100px;
  position: absolute;
  opacity: .2;
  bottom: 6rem;
  right: -2rem;
  transform: rotate(-15deg);
}

.footer__info,
.footer__card {
  display: flex;
}

.footer__info {
  margin-top: 6.5rem;
  flex-direction: column;
  row-gap: 1.5rem;
}

.footer__card {
  column-gap: 1rem;
  justify-content: center;
}

.footer__card img {
  width: 35px;
}

.footer__copy {
  text-align: center;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(19, 8%, 75%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(19, 8%, 65%);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(19, 8%, 55%);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  box-shadow: 0 4px 12px hsla(19, 64%, 24%, .1);
  display: inline-flex;
  padding: .35rem;
  border-radius: .25rem;
  font-size: 1.1rem;
  color: var(--first-color);
  z-index: var(--z-tooltip);
  transition: bottom .3s, transform .3s, background .4s;
}

.scrollup:hover {
  transform: translateY(-.25rem);
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3rem;
}



/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 430px) {
  .container {
    margin-inline: 1rem;
  }




  .section {
    padding-block: 4rem 1rem;
  }

  .home__title {
    font-size: 2rem;
  }

  .home__leaf-1 {
    top: 5rem;
  }

  .home__leaf-2 {
    bottom: 0;
  }



  .about__leaf {
    bottom: 8rem;
  }



  .recently__data-img {
    right: .5rem;
  }

  .newsletter__content {
    padding: 6rem 1rem 2rem;
  }

  .newsletter__button {
    justify-content: center;
  }


  .footer__content {
    gap: 1.5rem;
  }

  .temsilciliklerimiz__container {
    grid-template-columns: .7fr;
    justify-content: center;
  }

  .temsilciliklerimiz__container img {
    grid-template-columns: .7fr;
    justify-content: center;
  }



}

/* For medium devices */
@media screen and (min-width: 576px) {

  .home__container,
  .about__container,
  .recently__container,
  .newsletter__content,
  .temsilciliklerimiz__container {
    grid-template-columns: .7fr;
    justify-content: center;
  }

  .footer__content {
    grid-template-columns: repeat(3, max-content);
  }

}

@media screen and (min-width: 767px) {
  .nav {
    column-gap: 3rem;
  }

  .nav__toggle,
  .nav__close,
  .nav__img-1,
  .nav__img-2 {
    display: none;
  }


  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .nav__menu {
    margin-left: auto;
  }

  .dark-theme .nav__menu {
    box-shadow: none;
  }

  .temsilciliklerimiz__container {
    grid-template-columns: repeat(2, 250px);
  }

  .popular__container {
    grid-template-columns: repeat(3, 250px);
  }

  .footer__content {
    grid-template-columns: repeat(4, max-content);
  }


  /* contact */

  .contact-box {
    grid-template-columns: 1fr;
  }

  .left {
    height: 100px;
  }

  .rigth {
    height: 200px;
    text-align: center;
  }

}

/* For large devices */
@media screen and (min-width: 1024px) {
  .section {
    padding-block: 7rem 1.5rem;
  }

  .section__subtitle {
    margin-bottom: .75rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .swiper-container {
    width: 100%;
    height: 100%;
  }

  .swiper-wrapper {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  .home__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-button-next,
  .swiper-button-prev {
    color: #fff;
  }

  .about__container {
    grid-template-columns: 450px 360px;
    align-items: center;
    column-gap: 7rem;
  }

  .about__data {
    order: 1;
  }

  .about__data,
  .about .section__subtitle,
  .about .section__title {
    text-align: initial;
  }

  .about__title div {
    column-gap: 1rem;
    justify-content: initial;
  }

  .about__title img {
    width: 50px;
  }

  .about__img {
    width: 450px;
  }


  .popular__container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Mobil cihazlarda kaydırma deneyimini iyileştirmek için */
  }

  .popular__card {
    scroll-snap-align: start;
    flex: 0 0 auto;
    margin-right: 20px;
    width: 200px;
    /* Kartların genişliğini ihtiyacınıza göre ayarlayabilirsiniz */
  }

  .popular__img {
    width: 230px;
  }

  .popular__button {
    bottom: 2rem;
  }

  .recently__container {
    grid-template-columns: 350px 480px;
    align-items: center;
    column-gap: 7rem;
    padding-bottom: 2rem;
  }

  .recently__data,
  .recently .section__subtitle,
  .recently .section__title {
    text-align: initial;
  }

  .recently__data-img {
    width: 30px;
    top: 5.5rem;
    right: 2.5rem;
  }

  .recently__img {
    width: 480px;
  }

  .newsletter__content {
    grid-template-columns: 450px 360px;
    align-items: center;
    column-gap: 6rem;
    padding: 2.5rem 0;
    border-radius: 4.5rem;
  }

  .newsletter__img {
    align-items: center;
    position: absolute;
    width: 450px;
  }

  .newsletter .section__subtitle,
  .newsletter .section__title {
    text-align: center;
  }

  .newsletter .section__title {
    margin-bottom: 2.5rem;
  }

  .newsletter__button {
    font-size: var(--normal-font-size);
  }


  .footer {
    padding-block: 8rem 3rem;
  }

  .footer__container {
    position: relative;
    grid-template-columns: repeat(2, max-content);
    justify-content: space-between;
  }

  .footer__content {
    column-gap: 4rem;
  }

  .footer__title,
  .footer__description,
  .footer__link,
  .footer__information {
    font-size: var(--normal-font-size);
  }

  .footer__social-link {
    font-size: 1.5rem;
  }

  .footer__info {
    flex-direction: row;
    justify-content: space-between;
    margin-top: 8.5rem;
  }

  .footer__copy {
    order: -1;
  }

  .footer__spinach {
    bottom: -3rem;
    left: 6rem;
  }

  .footer__onion {
    right: 1rem;
  }

  .scrollup {
    right: 3rem;
  }
}

@media screen and (min-width: 1064px) {
  .container {
    margin-inline: auto;
  }

}

@media screen and (min-width: 1280px) {
  .home__leaf-1 {
    width: 150px;
    top: 5rem;
  }

  .home__leaf-2 {
    width: 180px;
    right: -4rem;
  }

  .about__leaf {
    width: 200px;
    bottom: 3rem;
  }

  .temsilciliklerimiz__container {
    width: 200px;
    bottom: 3rem;
  }


  .temsilciliklerimiz__container img {
    width: 200px;
    bottom: -3rem;
  }

  .recently__leaf-1 {
    width: 150px;
    top: 19rem;
  }

  .recently__leaf-2 {
    width: 100px;
    bottom: 15rem;
  }


  .footer__leaf {
    right: 0;
    left: 0;
    bottom: -15rem;
    margin: 0 auto;
    width: 150px;
  }
}


/* Slider styles */
.slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
}

.slider-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider-controls span {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}