/*=============== GOOGLE FONTS ===============*/
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v30/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
--first-color: hsl(45, 85%, 55%); /* Logodaki ana mat sarı */
--second-color: hsl(40, 80%, 60%); /* Daha sıcak ama yine mat ton */
--first-gradient: linear-gradient(90deg,
                hsl(45, 85%, 55%),
                hsl(40, 80%, 65%)); /* Mat sarı tonlarda gradient */
  --title-color: hsl(255, 12%, 12%);
  --text-color: hsl(225, 12%, 24%);
  --text-color-light: hsl(255, 4%, 70%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 100%);
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(255, 20%, 10%);
  --gray-border: hsl(255, 6%, 90%);
  --black-border: hsl(255, 10%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --big-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;

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

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

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --big-font-size: 3.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== 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);
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

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

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

.section {
  padding-block: 5rem 1rem;
}
.section__title, 
.section__subtitle {
  text-align: center;
}

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

.section__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  font-weight: var(--font-semi-bold);
  color: var(--second-color);
  margin-bottom: .5rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header{
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--white-color);
  z-index: var(--z-fixed);
}

.nav{
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  z-index: var(--z-fixed);
  transition: background-color .4s;
  padding: 0 1rem;
}

.nav__menu {
  flex-grow: 1; /* Kalan alanı doldurur */
  display: flex;
  justify-content: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  height: var(--header-height); /* Logo yüksekliği header yüksekliğiyle uyumlu olacak */
  flex-shrink: 0; /* Logonun küçülmesini engeller */
  margin-right: 2rem;
}

.nav__logo-img {
  height: 4rem; /* Sabit bir yükseklik belirle */
  width: auto;
  min-width: 150px; /* Minimum genişlik belirle */
  transition: opacity 0.4s;
}

.nav__logo-img:hover {
  opacity: 0.9;
}

.footer__logo-bg {
  display: inline-block;
  padding: 1rem;
  width: auto;
  height: auto;
  background-color: hsl(45, 85%, 55%, 0.3);
  border-radius: 1rem;
}


/* Büyük ekranlar için logo boyutu */
@media screen and (min-width: 1150px) {
  .nav__logo-img {
    height: 4rem; /* Daha büyük ekranlarda biraz daha büyük logo */
  }
}

.nav__toggle,
.nav__close{
  font-size: 1.5rem;
  color: var(--white-color);
  cursor: pointer;
  transition: color .4s;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu{
    position: fixed;
    top: 0;
    right: -100%;
    background-color: var(--black-color);
    width: 50%;
    height: 100%;
    padding: 7.5rem 3.5rem 0;
    border-left: 2px solid var(--black-border);
    transition: right .4s;
  }
}


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

.nav__link{
  color: var(--text-color-light);
  font-weight: var(--font-semi-bold);
  transition: color .4s;
}

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

.nav__close{
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
/* Show menu */
.show-menu{
  right: 0;
}

/* Change background header */
.bg-header{
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .1);
}
.bg-header .nav__logo span,
.bg-header .nav__toggle{
  color: var(--title-color);

}

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

/*=============== HOME ===============*/
.home{
  position: relative;
  background-color: var(--black-color);
}

.home__container{
  position: relative;
  row-gap: 3rem;
  padding-block: 2.5rem 6rem;
}

.home__content{
  row-gap: 2.5rem;
}

.home__data{
  text-align: center;
}

.home__title{
  color: var(--white-color);
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.home__description{
  margin-bottom: 2.5rem;
  color: var(--text-color-light);
}

.home__buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.home__info{
  display: flex;
  justify-content: center;
  column-gap: 4.5rem;
  min-height: 120px;
}
.home__title, .home__description {
  min-height: 1em; /* Metin yüklenirken boşluk bırak */
}

.home__info-title{
  color: var(--second-color);
  font-size: var(--big-font-size);
  font-weight: var(--font-bold);
  margin-bottom: .5rem;
}

.home_info-description{
  font-size: var(--text-color-light);
  color: white;
}

.home__images{
  position: relative;
  justify-self: center;
}

.home__img-1{
  width: 250px;
  margin-left: 3.5rem;
}

.home__img-2{
  width: 150px;
  border: 5px solid var(--black-color);
  position: absolute;
  left: 0;
  bottom: -3.5rem;
}

.home__lines{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 1200/800; 
  object-fit: cover;
  object-position: right;
}
/*=============== BUTTON ===============*/
.button{
  display: inline-flex;
  background: var(--first-gradient);
  color: var(--white-color);
  font-weight: var(--font-semi-bold);
  padding: 1rem 2rem;
  transition: box-shadow .4s;
}

.button:hover{
  box-shadow: 0 8px 32px hsla(18, 95%, 55%, .3);
  color: var(--white-color);
}

.button__link{
  display: flex;
  align-items: center;
  column-gap: .25rem;
  color: var(--first-color);
}

.button__link span{
  font-weight: var(--font-semi-bold);
}

.button__link i{
  font-size: 1.5rem;
  transition: transform .4s;
}

.button__link:hover i{
transform: translateX(.25rem);
}
/*=============== ABOUT ===============*/
.about__container{
  row-gap: 8rem;
}

.about__data{
  text-align: center;
}

.about__description{
  margin-bottom: 2rem;
}

.about__list{
  text-align: initial;
  grid-template-columns: repeat(2, 130px);
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about__list-item{
  display: flex;
  column-gap: .5rem;
  color: var(--title-color);
}

.about__list-item i{
  font-size: 1.25rem;
  color: var(--first-color);
}

.about__images{
  position: relative;
  justify-self: center;
}

.about__img-1{
  width: 200px;
  border: 5px solid var(--body-color);
  position: absolute;
  top: -5rem;
  left: 6rem;
}

.about__img-2{
  width: 250px;
  margin-right: 2.5rem;
}
/*=============== SERVICES ===============*/
.services{
  position: relative;
}

.services__container{
  position: relative;
  row-gap: 3rem;
}

.services__data{
  text-align: center;
}

.services__description{
  margin-bottom: 2rem;
}

.services__card{
  width: 260px;
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  padding: 2rem 1rem 3.5rem;
  transition: border-color .4s;
}

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

.services__icon{
  width: 70px;
  height: 70px;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.services__title{
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;
}

.services__shape{
  position: absolute;
  width: 100%;
  height: 245px;
  background-color: var(--black-color);
  bottom: 0;
  left: 0;
}
/* Swiper class */
.swiper{
  margin-inline: initial;
  padding-bottom: 0rem;
}

.swiper-button-prev::after,
.swiper-button-next::after{
  content: '';
}

.swiper-button-prev,
.swiper-button-next{
  top: initial;
  bottom: 0;
  width: 32px;
  height: 32px;
  background-color: var(--container-color);
  box-shadow: 0 2px 8px hsla(255, 8%, 4%, .1);
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--title-color);
  top: 48rem;
}

.swiper-button-prev{
  left: calc(50% - 3rem);
}

.swiper-button-next{
  right: calc(50% - 3rem);
}
/*=============== PROJECTS ===============*/
.projects{
  background-color: var(--black-color);
}

.projects .section__title{
  color: var(--white-color);
}

.projects__container{
  padding-block: 1.5rem 3rem;
}

.projects__card{
  background-color: var(--container-color);
  border: 2px solid transparent;
  background-clip: content-box;
  transition: border-color .4s;
}

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

.projects__data{
  padding: 1.5rem 1rem 3rem;
}

.projects__title{
  font-size: var(--h2-font-size);
  margin-block: .5rem;
}

.projects__date{
  display: block;
  font-weight: var(--font-medium);
  color: var(--title-color);
  margin-bottom: 1.5rem;
}
/*=============== CONTACT ===============*/
.contact__container{
  row-gap: 3rem;
  padding-block: 1.5rem 3rem;
}

.contact__img{
  width: 320px;
  justify-self: center;
}

.contact__data{
  grid-template-columns: 230px;
  justify-content: center;
  row-gap: 1.5rem;
}

.contact__card{
  background-color: var(--container-color);
  border: 2px solid var(--gray-border);
  padding: 1.5rem 2rem;
  text-align: center;
  transition: border-color .4s;
}

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

.contact__icon{
  width: 48px;
  height: 48px;
  background-color: var(--black-color);
  color: var(--white-color);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.contact__title{
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;
}

.contact__info{
  font-style: normal;
}

.contact__social{
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.contact__social-link{
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

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


/*=============== FOOTER ===============*/
.footer{
  background-color: var(--black-color);
  color: var(--text-color-light);
  padding-block: 3.5rem 2rem;
}

.footer__container{
  row-gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--black-border);
}

.footer__logo{
  display: inline-flex;
  align-items: center;
  column-gap: .25rem;
}

.footer__logo span{
  color: var(--white-color);
  font-size: var(--h3-font-size);
  font-weight: var(--font-semi-bold);
}

.footer__logo i{
  color: var(--first-color);
  font-size: 1.5rem;
}

.footer__description{
  margin-block: 1rem;
}

.footer__email,
.footer__info{
  font-style: normal;
}

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

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

.footer__links,
.footer__list{
  display: grid;
  row-gap: .5rem;
}

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

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

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

.footer__social-link{
  font-size: 1.5rem;
  color: var(--first-color);
  transition: transform .4s;
}

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

.footer__copy{
  display: block;
  text-align: center;
  font-size: var(--small-font-size);
  margin-top: 4rem;
}

.footer__design {
  display: block;
  text-align: center;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.footer__design a {
  color: var(--first-color);
  text-decoration: none;
  transition: color 0.4s;
}

.footer__design a:hover {
  color: var(--second-color);
  text-decoration: underline;
}
/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
  width: .6rem;
  background-color: hsl(255, 5%, 75%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(255, 5%, 65%);
}

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

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--body-color);
  box-shadow: 0 4px 16px hsla(255, 90%, 8%, .15);
  color: var(--title-color);
  display: inline-flex;
  padding: 6px;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.5rem);
}
/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

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

  .section__title{
    font-size: 1.25rem;
  }

  .home__title{
    font-size: 1.75rem;
  }

  .home__buttons{
    flex-direction: column;
  }

  .home__img-1{
    width: 200px;
    margin-left: 1.5rem;
  }

  .about__list{
    grid-template-columns: repeat(1, 200px);
  }

  .about__img-1{
    width: 150px;
    left: 4rem;
  }

  .about__img-2{
    width: 200px;
    margin-right: 0;
  }

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

/* For medium devices */
@media screen and (min-width: 340px){
  .home__container,
  .about__container,
  .services__container,
  .projects__container,
  .contact__container{
    grid-template-columns: 360px;
    justify-content: center;
  }

  .footer__content{
    grid-template-columns: repeat(3, max-content);
  }
}
@media screen and (min-width: 768px){
.nav__menu{
  width: 50%;
}

.projects__container{
  grid-template-columns: repeat(2, 330px);
}

.contact__data{
  grid-template-columns: repeat(2, 240px);
}

.footer__container{
  grid-template-columns: repeat(2, max-content);
  justify-content: space-between;
}
}
/* For large devices */
@media screen and (min-width: 1150px){
.container{
  margin-inline: auto;
}

.section{
  padding-block: 7rem 2rem;
}

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

.nav__toggle,
.nav__close{
  display: none;
}

.nav__menu{
  width: initial;
}

.nav__list{
  flex-direction: row;
  align-items: center;
  column-gap: 4rem;
}

.bg-header .nav__link{
  color: var(--text-color);
}

.bg-header .active-link,
.bg-header .nav__link:hover{
  color: var(--first-color);

}

.bg-header .button,
.bg-header .button:hover{
  color: var(--white-color);
}

.home__container{
  grid-template-columns: 475px 550px;
  column-gap: 6rem;
  align-items: flex-start;
  padding-top: 5.5rem;
}

.home__content{
  row-gap: 4.5rem;
}

.home__data{
  text-align: initial;
}

.home__description{
  margin-bottom: 3rem;
}

.home__buttons{
  justify-content: initial;
  column-gap: 3rem;
}

.home__info{
  justify-content: initial;
  column-gap: 5.5rem;
}

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

.home__img-1{
  width: 550px;
  margin-left: 0;
}

.home__img-2{
  width: 350px;
  border-width: 10px;
  left: -7rem;
  bottom: -8rem;
}

.home__lines{
  object-position: center;
}

.about__container{
  grid-template-columns: repeat(2, 480px);
  column-gap: 9rem;
  padding-block: 9rem 2rem;
}

.about__images{
  order: -1;
}

.about__img-1{
  width: 370px;
  border-width: 10px;
  top: -9rem;
  left: 11rem;
}

.about__img-2{
  width: 470px;
}

.about__data,
.about__data :is(.section__title, .section__subtitle){
  text-align: initial;
}

.about__list{
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 3.5rem;
}

.services__container{
  grid-template-columns: initial;
  row-gap: 5rem;
  padding-bottom: 4.5rem;
}

.services__data{
  display: grid;
  grid-template-columns: 415px 370px max-content;
  justify-content: space-between;
  align-items: center;
}

.services__data :is(.section__title, .section__subtitle),
.services__description{
  text-align: initial;
}

.services__data .section__title{
  margin-bottom: 0;
}

.services__swiper{
  max-width: 1100px;
    min-height: 400px; /* Swiper yüklenene kadar sabit yükseklik */
  position: relative;
}

.services__swiper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--container-color);
  z-index: 1;
  transition: opacity 0.3s;
}

.services__swiper.loaded::before {
  opacity: 0;
  pointer-events: none;
}
.services__card{
  width: 348px;
  border-width: 3px;
  padding: 3.5rem 2rem 6rem;
}

.services__shape{
  height: 330px;
}

.swiper-button-prev,
.swiper-button-next{
  bottom: 3rem;
}

.projects__container{
  grid-template-columns: repeat(3, 350px);
  column-gap: 2rem;
  padding-block: 5rem 4rem;
}

.projects__card{
  border-width: 3px;
}

.projects__data{
  padding: 2rem 1.5rem 4rem;
}

.contact :is(.section__title, .section__subtitle){
  text-align: initial;
}

.contact__container{
  grid-template-columns: 530px 515px;
  justify-content: initial;
  align-items: flex-start;
  column-gap: 3.5rem;
  padding-block: 3.5rem 4rem;
}

.contact__img{
  width: 530px;
}

.contact__data{
  gap: 2rem;
}

.contact__card{
  border-width: 3px;
}

.contact__title{
  font-size: var(--h3-font-size);
}

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

.footer__container{
  padding-bottom: 6rem;
}

.footer__content{
  column-gap: 7rem;
}

.footer__description{
  margin-block: 1.5rem;
}

.footer__title{
  margin-bottom: 1.5rem;
}

.footer__links,
.footer__list{
  row-gap: 1rem;
}

.scrollup{
  right: 3rem;
}

}







.references {
  padding: 60px 20px;
  background: #fff;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #457b9d;
}

.reference-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.reference-card {
  background-color: #f1faee;
  border: 2px solid #457b9d;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.reference-card:hover {
  transform: scale(1.05);
  background-color: #dff6ff;
}

/* İstatistikler bölümü */
    .stats {
      background-color: var(--black-color);
      padding-block: 5rem 3rem;
    }
    
    .stats .section__title {
      color: var(--white-color);
    }
    
    .stats-grid {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      text-align: center;
    }
    
    .stat-item {
      padding: 1.5rem;
      min-height: 100px;
    }
    
    .stat-number {
      font-size: var(--big-font-size);
      font-weight: var(--font-bold);
      margin-bottom: .5rem;
      color: var(--first-color);
    }
    
    .stat-label {
      font-size: var(--normal-font-size);
      color: var(--white-color);
    }
    

    
    @media screen and (min-width: 1150px) {

      
      .stat-number {
        font-size: 3.5rem;
      }
    }

    @media screen and (max-width: 1150px) {
  .nav__logo-img {
    height: 3rem; /* Mobilde biraz daha küçük olabilir */
    min-width: 120px;
  }
}


/* Detaylı Bilgi Link Stili */
/* Detaylı Bilgi Linki - Responsive Uyumlu */
.services__detail-link {
    display: inline-flex;
    align-items: center;
    margin-top: 1.2rem;
    text-decoration: none;
    gap: 0.5rem;
    overflow: visible;
    position: relative;
    padding-right: 8px;
}

.services__detail-link span {
    color: var(--text-color);
    font-weight: var(--font-medium);
    font-size: 0.85rem; /* Mobilde daha küçük font */
    transition: all 0.4s ease;
    position: relative;
}

.services__detail-link span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--first-color);
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.services__detail-arrow {
    width: 22px; /* Mobilde biraz küçültüyoruz */
    height: 22px;
    background-color: var(--first-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.services__detail-arrow i {
    color: var(--white-color);
    font-size: 0.9rem; /* Mobilde daha küçük ok */
    transition: all 0.4s ease;
    position: relative;
    left: 0;
}

/* Hover Efektleri (Mobilde touch için de aktif) */
.services__detail-link:hover span,
.services__detail-link:active span {
    color: var(--first-color);
    transform: translateX(4px);
}

.services__detail-link:hover span::after,
.services__detail-link:active span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.services__detail-link:hover .services__detail-arrow,
.services__detail-link:active .services__detail-arrow {
    background-color: var(--second-color);
}

.services__detail-link:hover .services__detail-arrow i,
.services__detail-link:active .services__detail-arrow i {
    transform: translateX(4px);
    left: 2px;
}

/* Mobil Breakpoint (768px altı) */
@media screen and (max-width: 768px) {
    .services__detail-link {
        margin-top: 1rem;
        padding-right: 6px;
    }
    
    .services__detail-link span {
        font-size: 0.8rem; /* Mobilde daha küçük font */
    }
    
    .services__detail-arrow {
        width: 20px;
        height: 20px;
    }
    
    .services__detail-arrow i {
        font-size: 0.8rem;
    }
    
    /* Mobilde dokunma efekti için */
    .services__card:active .services__detail-link span {
        color: var(--first-color);
        transform: translateX(4px);
    }
    
    .services__card:active .services__detail-link span::after {
        transform: scaleX(1);
    }
    
    .services__card:active .services__detail-arrow {
        background-color: var(--second-color);
    }
    
    .services__card:active .services__detail-arrow i {
        transform: translateX(4px);
    }
}

/* Çok Küçük Cihazlar (340px altı) */
@media screen and (max-width: 340px) {
    .services__detail-link {
        margin-top: 0.8rem;
    }
    
    .services__detail-link span {
        font-size: 0.75rem;
    }
    
    .services__detail-arrow {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 768px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
  .footer__logo-bg {
    display: inline-flex;
    justify-content: center;
    margin: 0 auto;
    padding: 1rem;
    background-color: hsl(45, 85%, 55%, 0.3);
    border-radius: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .footer__container > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }

  .footer__description,
  .footer__email {
    text-align: center;
    max-width: 100%;
  }

  .footer__logo-bg {
    margin: 0 auto 1rem;
  }
}




/*=============== LANGUAGE SWITCHER ===============*/
.language-switcher {
    position: fixed;
    left: 1rem; /* Sağ yerine sol */
    bottom: 2.5rem;
    display: flex;
    gap: 0.5rem;
    z-index: var(--z-tooltip);
    flex-direction: row; /* Dikey sıralama */
}

.lang-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, transform 0.3s;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--container-color);
    box-shadow: 0 2px 8px hsla(255, 8%, 4%, 0.1);
}

.lang-btn:hover {
    opacity: 1;
    transform: translateY(-0.25rem);
}

.lang-btn.active {
    opacity: 1;
    border: 2px solid var(--first-color);
}

.lang-btn img {
    width: 25px;
    height: auto;
    object-fit: contain;
}


/* Mobil için stil */
@media screen and (max-width: 768px) {
    .language-switcher {
        left: 1rem;
        bottom: 3rem;
        flex-direction: row;
    }
    
    .scrollup {
        right: 1rem;
        left: auto;
    }
}

.footer__license {
  margin-top: 1rem;
   font-size: 0.3rem;
   color: var(--text-color-light);
   opacity: 0.1;
  display: block;
  text-align: center;

}





/*=============== CATALOG SWITCHER ===============*/
.catalog-switcher {
    position: fixed;
    right: 5rem; /* Scroll-up butonunun solunda */
    bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: var(--z-tooltip);
}

.catalog-btn {
    background: var(--first-gradient);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white-color);
    font-weight: var(--font-semi-bold);
    font-size: var(--small-font-size);
    box-shadow: 0 4px 16px hsla(255, 8%, 4%, 0.15);
    transition: all 0.3s ease;
    min-width: 100px;
    justify-content: center;
}

.catalog-btn:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 6px 20px hsla(255, 8%, 4%, 0.25);
}

.catalog-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.catalog-btn:hover i {
    transform: translateY(-2px);
}

.catalog-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: var(--white-color);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 8px 32px hsla(255, 8%, 4%, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    min-width: 160px;
    border: 2px solid var(--gray-border);
    margin-bottom: 0.5rem;
}

.catalog-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.catalog-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: var(--font-medium);
    font-size: var(--small-font-size);
}

.catalog-option:hover {
    background-color: var(--first-color);
    color: var(--white-color);
    transform: translateX(5px);
}

.catalog-option img {
    border-radius: 2px;
}

/* Scroll-up butonu gösterildiğinde katalog butonunu da göster */
.show-scroll ~ .catalog-switcher {
    bottom: 3rem;
}

/* Mobil için stil */
@media screen and (max-width: 768px) {
    .catalog-switcher {
        right: 4.5rem;
        bottom: 3rem;
    }
    
    .catalog-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
        min-width: 90px;
    }
    
    .catalog-dropdown {
        min-width: 140px;
    }
    
    .catalog-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Büyük ekranlar için */
@media screen and (min-width: 1150px) {
    .catalog-switcher {
        right: 6rem; /* Scroll-up butonu 3rem sağda olduğu için */
    }
}

/* Çok küçük ekranlar */
@media screen and (max-width: 340px) {
    .catalog-switcher {
        right: 4rem;
        bottom: 3rem;
    }
    
    .catalog-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .catalog-option span {
        display: none; /* Çok küçük ekranlarda sadece bayrak göster */
    }
    
    .catalog-option {
        justify-content: center;
        padding: 0.5rem;
    }
}
