/* Genel ayarlar */
html {
    scroll-behavior: smooth;
  }
    body {
      background: #ffffff;
      font-family: sans-serif;
      color: #000;
      margin: 0;
      padding: 0;
      overflow-x: hidden; /* sadece yatay gizleme önerilir */
      overflow-y: visible; /* sticky için önemli */
      width: 100%;
        opacity: 0;
  transition: opacity 0.3s ease;
  
    }
    body.loaded {
  opacity: 1;
}

main {
  flex: 1; /* içerik alanı büyür, footer aşağıda kalır */
}
    .container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  text-align: center;
}

/* Genel */


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #222;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
}

/* Mobil */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Başta gizli */
    flex-direction: column;
    gap: 10px;
    background: #333;
    padding: 10px;
    position: absolute;
    top: 60px;
    right: 10px;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex; /* Toggle ile görünür olacak */
  }

  .menu-toggle {
    display: block; /* Mobilde görünür */
  }
}

/* İŞLERİMİZ*/

h1 {
  margin-bottom: 20px;
  color: #333;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.category-btn {
  padding: 10px 20px;
  background: #eee;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.category-btn.active,
.category-btn:hover {
  background: #333;
  color: white;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* biraz daha esnek */
  gap: 10px; /* boşluğu küçült */
  justify-items: center; /* ortalar */
}

.hidden {
  display: none !important;
}


.gallery-grid {
  display: contents; /* İkinci grid etkisini kaldırır */
}

.gallery-row {
  gap: 10px;
}

.item {
  display: block;
  transition: all 0.3s ease-in-out;
}

.item img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  object-fit: cover;
  transition: transform 0.4s ease-in-out, box-shadow 0.4s ease;
  cursor: pointer;
}

.item img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

 @media (max-width: 768px) {
  #islerimiz .container {
    width: 100%; /* 150% değil */
    height: auto;
    margin: 0 auto;
    grid-template-columns: 1fr; /* 1 sütun yeterli */
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 12px; /* isteğe göre ayarla */
  }

  #islerimiz .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%; /* burada da 50% değil */
  }

  #islerimiz .gallery-grid .item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
  }

  #islerimiz .categories {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  #islerimiz .categories::-webkit-scrollbar {
    display: none;
  }
}

    /* --------------------------------------------------
       HEADER
    --------------------------------------------------*/
    header * {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}




header nav {
  background: linear-gradient(135deg, #194a52 0%, #1b2e2a 50%, #15626e 100%);
  height: 80px;
  width: 100%;
}

header label.logo {
  color: white;
  font-size: 25px;
  line-height: 80px;
  padding: 0 100px;
  font-weight: bold;
  text-transform: capitalize;
}

header nav ul {
  float: right;
  margin-right: 20px;
}

header nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 5px;
}

header nav ul li a {
  color: white;
  font-size: 17px;
  padding: 7px 13px;
  border-radius: 3px;
  text-transform: uppercase;
}

header a.active,
header a:hover {
  background: rgb(29, 80, 93);
  transition: 0.5s;
}

header .checkbtn {
  font-size: 22px;
  color: white;
  float: right;
  line-height: 80px;
  margin-right: 30px;
  cursor: pointer;
  display: none;
}

header #check {
  display: none;
}

@media (max-width: 1050px) {
  header label.logo {
    padding-left: 30px;
  }

 header nav ul li a {
    font-size: 16px;
  }
}

/* Responsive media query code for small screen */
@media (max-width: 890px) {
  header .checkbtn {
    display: block;
  }

  header label.logo {
    font-size: 22px;

  }

  header ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #2c3e50;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }

  header nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  header nav ul li a {
    font-size: 20px;
  }

  header a:hover,
  header a.active {
    background: none;
    color: rgb(29, 80, 93);
  }

  header #check:checked ~ ul {
    left: 0;
  }
}

header section {
  background: url("bg.jpg") no-repeat;
  background-size: cover;
  height: auto;
}


/* İletişim kutusu */
#iletisim-kutu {
  display: none;
  position: absolute;
  top: 80px; /* header yüksekliğine göre ayarla */
  right: 20px;
  background: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2000;
  text-align: center;
}

/* Ok işareti */
#iletisim-kutu .ok {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  position: absolute;
  top: -10px;
  right: 20px;
}

#iletisim-kutu p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

#iletisim-kutu a {
  color: #15626e;
  font-weight: bold;
  text-decoration: none;
}
#iletisim-kutu a:hover {
  text-decoration: underline;
}



/* WHATSAPP IKONU*/

.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background-color: #25d366;
  color: white;
  padding: 12px 14px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  background-color: #1ebe5d;
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

/* Mobilde sadece ikon göster */
@media (max-width: 480px) {
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 12px;
    border-radius: 50%;
  }
}
    /* --------------------------------------------------
       HİZMETLER (footer-about)
    --------------------------------------------------*/

 #hizmetler{
  position:relative;    /* video mutlak konumlansın diye */
  overflow:auto;      /* aşırı taşıyı gizle */
}

/* video */
#hizmetler .bg-video{
  position:absolute;    /* section’ın içini tamamen kaplasın */
  top:0;left:0;
  width:100%;
  height:100%;
  object-fit:cover;     /* oran bozulmadan doldur */
  z-index:-1;           /* tüm içerikten geride */
  pointer-events:none;  /* tıklamayı engellemez */
}

/* içerik üstte dursun */
#hizmetler > *:not(.bg-video){
  position:relative;
  z-index:1;
}

/* okunurluk için opsiyonel koyu overlay */
#hizmetler::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);  /* %45 karartma */
  z-index:0;                   /* video (-1) < overlay (0) < içerik (1) */
  border-radius: 10px;
}


#hizmetler .categories::-webkit-scrollbar {
    display: none;
  }
    .footer-about {
      
      color: #000;
      padding: 3% 5%;
      
    }
    .footer-about h2 {
      margin: 0 0 2rem 0;
      font-size: 1.8rem;
    }

    /* 3‑erli grid */
    .services-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* her satırda 3 kutu */
      gap: 30px;
    }
    .service {
      text-align: center;
      padding: 20px;
      background: #fff;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
      transition: transform .2s ease;
       text-decoration: none; /* altı çizgiyi kaldırır */
  color: inherit;        /* yazı rengini normalde neyse ona eşitler */
  display: block;        /* div gibi davranır */
    }
    .service:hover {
  transform: scale(1.05);
}
    .service img {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
      
    }
    .service h3 {
      margin: 0 0 0.5rem;
      font-size: 1.1rem;
       color: rgb(0, 0, 0); /* senin kullandığın renge göre ayarla */
    }
    .service p {
      margin: 0;
      font-size: .9rem;
       color: rgb(0, 0, 0); /* senin kullandığın renge göre ayarla */
    }
 .faq-container {
    max-width: auto;
    padding: 20px;
  }
   .faq-container p{
   color: #000;
   }
  .service nav {
      margin-left: auto;
    }
    .service nav a {
      margin-left: 1rem;
      color: #fff;
      text-decoration: none;
      display:inline-block;
      transition: transform .2s ease;
    }


    /* --------------------------------------------------
   HİZMETLER (footer-about) - RESPONSIVE
--------------------------------------------------*/

#hizmetler {
  position: relative;
  overflow: auto;
}

#hizmetler .bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

#hizmetler > *:not(.bg-video) {
  position: relative;
  z-index: 1;
}

#hizmetler::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 0;
  border-radius: 10px;
}

#hizmetler .categories::-webkit-scrollbar {
  display: none;
}

.footer-about {
  color: #000;
  padding: 3% 5%;
}

.footer-about h2 {
  margin: 0 0 2rem 0;
  font-size: 1.8rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  padding: 10px 15px;
  border-radius: 8px;
  transition: background .3s;
}

.footer-about h2:hover {
  background: rgba(255,255,255,0.2);
}

/* gizli açıklama kısmı (mobilde açılır kapanır) */
.footer-desc {
  max-height: 0;           /* başlangıçta görünmez */
  overflow: hidden;        /* taşan kısmı gizle */
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0 0;            /* başlangıçta boşluk yok */
}

.footer-desc.active {
  max-height: 500px;       /* yeterince büyük bir değer ver (yazıya göre) */
  padding: 10px 0;         /* açılınca biraz boşluk ver */
}

/* 3’lü grid */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  transition: transform .2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service:hover {
  transform: scale(1.05);
}

.service img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #000;
}

.service p {
  margin: 0;
  font-size: .9rem;
  color: #000;
}

.faq-container {
  max-width: auto;
  padding: 20px;
}

.faq-container p {
  color: #000;
}

.service nav {
  margin-left: auto;
}

.service nav a {
  margin-left: 1rem;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: transform .2s ease;
}

/* --------------------------------------------------
   RESPONSIVE AYARLAR
--------------------------------------------------*/

/* tablet */
@media (max-width: 992px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service img {
    width: 55px;
    height: 55px;
  }

  .footer-about h2 {
    font-size: 1.5rem;
  }
}

/* mobil */
@media (max-width: 600px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service {
    padding: 15px;
  }

  .service img {
    width: 50px;
    height: 50px;
  }

  .service h3 {
    font-size: 1rem;
  }

  .service p {
    font-size: .85rem;
  }

  .footer-about {
    padding: 20px;
  }

  .footer-about h2 {
    font-size: 1.2rem;
  }
}

  #sorular {
  scroll-margin-top: 100px; /* Navbar yüksekliğine göre ayarla */
  width: 70%;
  height: 10%;
  padding: 20px;
  gap:20px;
  margin-left: 15%;
  background-color: rgb(245, 245, 245);
  border-radius: 30px;
  display: grid;
  margin-bottom: 50px; /* <- footer ile aradaki boşluk */
}


 @media (max-width: 768px) {
  #islerimiz .container {
    width: 100%; /* 150% değil */
    height: auto;
    margin: 0 auto;
    grid-template-columns: 1fr; /* 1 sütun yeterli */
    gap: 15px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    padding: 0 12px; /* isteğe göre ayarla */
  }

  #islerimiz .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%; /* burada da 50% değil */
  }

  #islerimiz .gallery-grid .item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
  }

  #islerimiz .categories {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  #islerimiz .categories::-webkit-scrollbar {
    display: none;
  }
}


#yorumlar {
  padding: 50px 5%;
  background: #efefef;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  width: 100%;
  height: auto;
  border-radius: 10px;
  text-align: center;
  margin-top: 80px;   /* üst bölümden boşluk */
  margin-bottom: 80px; /* alt bölümden boşluk */
  padding: 40px 0;   /* kendi iç boşluğu */
}

@media (max-width: 768px) {
  #yorumlar {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 5% ;}

    .yorum-card {
    max-width: 100%;
    width: 10%;
    max-height: 100%;
    height: 10% ;
     min-width: 70%;
     
    }
  }

#yorumlar h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

/* Slider */
.yorum-slider {
    max-width: 1200px;  /* içerik genişliği */
  margin: 0 auto;     /* ortalansın */
  overflow: hidden;
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.yorum-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.yorum-card {
  min-width: 280px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.yorum-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 10px;
}

.yorum-card h4 {
  font-size: 0.9rem;
  color: #222;
  font-weight: 600;
}

.stars {
  color: #f5c518; /* altın sarısı */
  margin-bottom: 10px;
  font-size: 1rem;
}


.su-bolumu {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.su-bolumu .bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1; /* İçerik üstte görünsün */
  pointer-events: none;
}

.su-bolumu .icerik {
  position: relative;
  z-index: 1;
}
.su-bolumu h2 {
  font-size: 2.5rem;
  color: #369ba8;
  margin-bottom: 10px;
  animation: fadeDown 1.2s ease forwards;
}

.su-bolumu .subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 50px;
  animation: fadeUp 1.2s ease forwards;
}

.su-bolumu .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.su-bolumu .card {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.su-bolumu .card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.su-bolumu .icon img {
  font-size: 3rem;
  margin-bottom: 15px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  width:300px;
  height:70%;
}

.su-bolumu .card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #0077b6;
}

.su-bolumu .card p {
  font-size: 1rem;
  color: #555;
}

.button-wrapper {
  text-align: center;
  margin-top: 20px;
}
.su-bolumu .su-butonu {
  background-color: #4aa3b5;
  color: white;
  padding: 12px 20px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.su-bolumu .su-butonu:hover {
  background-color: #5eb6cc;
  transform: scale(1.05);
}

/*SU BOLUMU RESPONSİVE-------------------------------------------------------------*/

/* Kartları yan yana sabitle */
@media (max-width:768px){
.su-bolumu .cards {
  display: flex;
  flex-wrap: nowrap; /* 💥 Alt alta geçmeyi kapatıyoruz */
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  overflow-x: auto; /* Ekrana sığmazsa yatay kaydırma ekler */
  scroll-behavior: smooth;
  padding-bottom: 15px;
  cursor:none;

}

.su-bolumu .card {
  transition: none;
}

.su-bolumu .card:hover {
  transform: none;
}
/* Kaydırma çubuğunu gizle (isteğe bağlı) */
.su-bolumu .cards::-webkit-scrollbar {
  height: 8px;
}

}
.su-bolumu .cards::-webkit-scrollbar-track {
  background: transparent;
}

/* Kart boyutları sabit */


/* Görseller orantılı küçülsün */
.su-bolumu .icon img {
  width: 100%;
  height: auto;
  margin-top: 20%;
  object-fit: contain;
  animation: none;
}

/* Küçük ekranlarda taşma olmasın */
@media (max-width: 768px) {
  .su-bolumu {
    padding: 40px 10px;
  }

  .su-bolumu .card {
flex: 1 1 clamp(150px, 18vw, 250px);
padding: 0px;
margin:none;
padding: 100px 12,5px;

  }

  .su-bolumu h2 {
    font-size: 2rem;
  }
} 

/* Dalga arka plan */

 #hizmetlerinmiz {
  scroll-margin-top: 100px; /* Navbar yüksekliğine göre ayarla */
}
  .details {
    background: #e7e7e7;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease-in-out;
  }

  .details[open] {
    background-color: #fff;
    border-color: #aaa;
  }

  .details summary {
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 20px;
  }

  .details summary::-webkit-details-marker {
    display: none;
  }

  .details summary::after {
    content: "►";
    position: absolute;
    right: 0;
    top: 0;
    transition: transform 0.3s;
  }

  .details[open] summary::after {
    content: "▼";
  }

  .details p {
    margin-top: 10px;
    line-height: 1.5;
    color: #000000;
  }
   
    /* --------------------------------------------------
       RESPONSIVE
    --------------------------------------------------*/
  
    @media (max-width: 768px) {
      header h1 {
        font-size: 5vw;
      }
  
    }


    /*SU ARITMA KISMININ STYLE*/    

   #aritma {
  display: grid;         /* gerekliyse */
  gap: 10px;             /* display flex/grid varsa çalışır */
  text-align: center;
  align-items: top;
  padding: 20px;
  border-radius: 10px;
  transition: transform .2s ease;
}
#aritma .image-row {
width: fit-content;
height: auto;
}
#aritma .image-row img:hover {
  transform: scale(1.05);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.slider-wrapper {
  max-width: 800px;      /* Buradan enine sınırla */
  margin: 0 auto;         /* Ortalamak için */
  padding: 20px 0;
  text-align: center;
}

.slider-container {
  overflow: hidden;
  border-radius: 12px;
  background: hidden;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

.slide {
  width: 100%;
  max-width: 240px;       /* Her resim küçük olsun */
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
  height: 280px;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}
.dot {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background: #000;
}

.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #2c3e50;
}

.products-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.filter-buttons {
  margin-bottom: 40px;
}

.filter-btn {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;  
  transition: background-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #3498db;
  color: white;
}

.product-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, 1fr); /* Sabit 4 kolon */
  justify-items: center;
}

.product-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
}

.product-card p {
  font-size: 0.95rem;
  color: #666;
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #27ae60;
}

/* === ÜRÜNLER KISMI TAM RESPONSIVE GRID AYARLARI === */
@media (max-width:768px) {
.products-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.filter-buttons {
  margin-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.filter-btn {
  background-color: #e0e0e0;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #3498db;
  color: white;
}

/* === GRID YAPISI === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* varsayılan: 4 sütun */
  gap: 30px;
  justify-items: center;
  align-items: stretch;
}

/* Kartların temel ayarları */
.product-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  max-width: 270px; /* genişlik sınırlaması */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  object-fit: cover;
}

.product-card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.product-card p {
  font-size: 0.95rem;
  color: #666;
  margin-top: 5px;
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #27ae60;
  font-size: 1rem;
}
}

/* === RESPONSIVE AYARLAR === */

/* 1200px altı: 3 sütun */
@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 900px altı: 2 sütun */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card img {
    height: 180px;
  }
}

/* 550px altı: 1 sütun */
@media (max-width: 550px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    max-width: 90%;
    margin: auto;
  }

  .product-card img {
    height: 160px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.95rem;
  }
}
    /* --------------------------------------------------
       ALT BÖLÜMLER (örnek)
    --------------------------------------------------*/
    .content { padding: 3% 5%; }
    .image-row { display:flex; gap:2%; }
    .image-row img { flex:1; width:0; height:auto; object-fit:cover; }
    @media(max-width:768px){.image-row{flex-direction:column;}.image-row img{width:100%;flex:none;margin-bottom:10px;}}

    footer {
      background:#111;
      color:#ccc;
      padding:5vh 3vw;
      text-decoration: none;
    }
    
footer a {
  color: #ccc;                 
  text-decoration: none;       
  display: inline-block;       
  transition: color .2s ease,  
              transform .2s ease;
}

/* Hover efekti */
footer a:hover {
  color: #fff;                 
  transform: scale(1.08);      
}