/* ❌ Telefonların zorla dark mode uygulamasını engelle */
html, body {
    color-scheme: only light !important;
    forced-color-adjust: none !important;
}

 /*=============== Global =============== */
/* Google Font: Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =============== Global =============== */
body
 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: url('../img/banner.jpg') no-repeat center center fixed;
  background-size: cover;
}


main {
  flex: 1;
  margin-top: 160px; /* header büyüdüğü için arttırıldı */
}

.home main { margin-top: 0; }

/* =============== Header =============== */
/* HEADER düzeni */
/* ================================
   HEADER – LOGO SOLDA, MENÜ ORTADA, SAĞ MENÜ SAĞDA
   ================================ */

/* =============================
   HEADER – LOGO SOLDA, MENÜ ORTADA
   ============================= */
.welcome-section {
  width: 100%;
  height: 140px;
  position: fixed;
  top: 0;
  left: 0;

  display: flex;
  align-items: center;
  justify-content: center; /* ORTA BLOĞU merkeze alır */

  padding: 0 40px;
  z-index: 9999;
}

/* LOGO SOLA YASLI */
.logo-left {
  position: absolute;
  left: 40px; /* logosu soldan mesafe */
  display: flex;
  align-items: center;
}

.logo {
  height: 110px;
  width: auto;
}

/* ORTA MENÜ */
.nav-center {
  display: flex;
  gap: 30px; /* BUTONLAR ARASI 1 PARMAK BOŞLUK */
}

/* Menü butonları */
.nav-button {
  background: transparent;
  border: none;          /* ✅ Çerçeve yok */
  padding: 0 25px;       /* İstersen boşluk kalsın, değerle oynayabilirsin */
  border-radius: 0;      /* Yuvarlak köşe de gitsin */
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: 0.3s ease;
}


.nav-button:hover {
  background: transparent;  /* ✅ Buton arkası boyanmasın */
  color: #ffffff;           /* İstersen aynı kalsın */
}


/* SADECE ANASAYFADA ŞEFFAF HEADER */
body.home .welcome-section {
  background: transparent !important;
}

body:not(.home) .welcome-section {
  background: #6c0000 !important;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}



/* =============== Hero =============== */
.hero {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  margin: 0; padding: 0;
}
.home .hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  animation: fadeInUp 1.5s ease;
}
.hero-content h1 { font-size: 3.2rem; margin-bottom: 20px; }
.hero-content p  { font-size: 1.4rem; margin-bottom: 30px; }

.hero-btn {
  background: #6c0000; color: white;
  padding: 14px 32px; border-radius: 30px;
  text-decoration: none; font-size: 1.2rem;
  transition: background 0.3s ease;
}
.hero-btn:hover { background: #c0392b; }

/* =============== İçerik kutusu (diğer sayfalarda) =============== */
.content-section {
  max-width: 800px;
  margin: 0 auto 40px auto;
  padding: 20px;
  background: rgba(255,255,255,0.8);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.content-section h2 { color: #2c3e50; margin-top: 20px; }

/* =============== Footer =============== */
.site-footer {
  background: #6c0000;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: auto;
  position: relative;
  z-index: 1000;
}
.site-footer h2 { 
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 8px 0; 
}

.site-footer p  { margin: 5px 0; font-size: 0.9em; }

.social-links {
  position: absolute;
  right: 20px;
  bottom: 20px;
  text-align: right;
}
.social-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  margin: 6px 0;
  transition: color 0.3s ease;
}
.social-links a i {
  margin-right: 8px;
  font-size: 1.4rem;
  vertical-align: middle;
}
.social-links .whatsapp-link:hover { color: #25D366; }
.social-links .instagram-link:hover { color: #E1306C; }

/* =============== Ürün Kartları (Anasayfa) =============== */
.products {
  text-align: center;
  padding: 50px 20px;
}
.products h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 30px;
}

/* ✅ Anasayfa kartları ortalanmış */
.product-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 30px auto;
}

/* 🎨 Yeni: transparan + blur (cam efekti) kart tasarımı */
.product-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
}
.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.product-card img {
  width: 100%;
  border-radius: 15px;
  transition: transform 0.4s ease;
}
.product-card:hover img {
  transform: scale(1.05);
}
.product-card h3 {
  margin: 15px 0 10px;
  color: #fff;
}
.product-card p {
  font-size: 0.9rem;
  color: #eee;
}
.product-card button {
  background: #6c0000;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}
.product-card button:hover {
  background: #6c0000;
}

/* =============== Ürünler Sayfası Grid (8 Kart - 4x2) =============== */
.all-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 30px auto;
}

/* =============== Journey Section =============== */
.journey {
  padding: 60px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 80px;
}

.journey-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.journey-slider {
  position: relative;
  width: 500px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.journey-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.journey-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.journey-slider .slide.active {
  opacity: 1;
  z-index: 1;
}
.journey-info {
  flex: 1;
  color: black;
  max-width: 500px;
}
.journey-info h2 { font-size: 2rem; margin-bottom: 15px; }
.journey-info p { font-size: 1rem; margin-bottom: 12px; line-height: 1.5; }

/* Journey Detay Butonu */
.detail-btn {
  display: inline-block;
  background: #6c0000 ;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
  text-decoration: none;
  font-size: 1rem;
}
.detail-btn:hover { background: #c0392b; }

/* =============== Hakkımızda Hero =============== */
.about-hero {
  width: 100%;
  min-height: 80vh;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: #2c2c2c;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.about-gallery {
  background: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: -20px !important;  /* UPDATED — görselleri yakınlaştırdım */

  padding: 0 0 80px 0;
  margin-top: -300px;
  position: relative;
  z-index: 2;
  text-align: center;
}
 




/* 🔧 Hakkımızda sayfası görsellerini optimize et */
.about-gallery img {
  display: block;
  width: 85%;
  max-width: 750px;
  border-radius: 12px;
  margin: 20px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

/* Üst görseli büyütme */
.about-gallery .top-image img {
  width: 100% !important;
  max-width: 1300px !important;
  margin-top: 120px !important;
}

/* İlk foto boşluk */
.about-gallery .photo-box:first-child img {
  margin-top: -15px !important;
}

.about-gallery img:hover {
  transform: scale(1.03);
}

/* =============== Tema (Logo renklerine göre + Yeni banner2) =============== */
body.hakkimizda,
body.urunler,
body.iletisim {
  background: url('../img/banner2.jpg') no-repeat center center fixed !important;
  background-size: cover !important;
  background-attachment: fixed;
  background-blend-mode: normal;
  color: #2c2c2c;
}

/* header krem, footer biber kırmızısı */
body.hakkimizda .welcome-section,
body.urunler .welcome-section,
body.iletisim .welcome-section {
  background: #6c0000 !important;
  color: #3b2a1d !important;
}

body.hakkimizda .site-footer,
body.urunler .site-footer,
body.iletisim .site-footer {
  background: #6c0000 !important;
  color: #fff8f0 !important;
}

body.hakkimizda .social-links a:hover,
body.urunler .social-links a:hover,
body.iletisim .social-links a:hover {
  color: #ffd4c0 !important;
}

/* anasayfa (home) eskisi gibi banner.jpg kalsın */
body.home {
  background: url('../img/banner.jpg') no-repeat center center fixed;
  background-size: cover;
}


/* =============== Footer Logo =============== */
.footer-logo {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
}
.footer-logo img {
  width: 100px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.footer-logo img:hover {
  transform: scale(1.1);
}

/* =============== Header Görünme Düzenlemesi =============== */
body:not(.home) .welcome-section {
  background: #6c0000 !important;
  color: #2c2c2c;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
body.home .welcome-section {
  background: transparent !important;
  color: white;
}

/* =============== Header Scroll Effect =============== */
.welcome-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: top 0.4s ease;
  z-index: 9999;
}
.welcome-section.hidden {
  top: -160px;
}
/* 🔥 Hakkımızda fotoğraf kutularının krem zeminini kaldır */
.photo-box {
  background: transparent !important;
  box-shadow: none;
}
/* 🔧 Hakkımızda bölümler arası çizgi (gap) düzeltme */
.about-hero,
.about-gallery {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* 🔧 Galeri ile hero arasındaki geçiş çizgisini kapat */
.about-gallery {
  margin-top: -5px !important; /* o görünür şeffaf çizgiyi yok eder */
}
/* 🔧 Hakkımızda bölümleri arası görünür çizgiyi yok et */
.about-hero {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 🎯 SADECE HAKKIMIZDA SAYFASI GÖRSELLERİ */
body.hakkimizda .about-gallery img {
  width: 93% !important;         /* yatayda geniş */
  max-width: 950px !important;   /* masaüstü uyumlu */
  border-radius: 12px;
  margin: -50px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

body.hakkimizda .about-gallery img:hover {
  transform: scale(1.03);
}

/* 🔧 Sadece 3. görsel (misyon.jpg) için aynı genişlik */
body.hakkimizda .about-gallery .photo-box:last-child img {
  width: 93% !important;
  max-width: 950px !important;
  margin-top: 0px;
}


  
/* =============== İletişim Sayfası Harita Bölümü =============== */
.contact-map {
  text-align: center;
  padding: 60px 20px;
  color: #2c2c2c;
}

.contact-map h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #3b2a1d;
}

.map-container {
  width: 100%;
  max-width: 900px;
  height: 450px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* =============== İletişim Sayfası (Harita + Bilgi Yan Yana) =============== */
.contact-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  align-items: stretch;
  justify-content: space-between;
}

/* 📝 Sol kutu (bilgiler) */
.contact-info {
  flex: 1 1 40%;
  background: rgba(255,255,255,0.9);
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.contact-info h2 {
  font-size: 2rem;
  color: white;
  margin-bottom: 15px;
}

.contact-info p {
  color: white;
  margin-bottom: 25px;
  font-size: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: white;
}

.info-item i {
  margin-right: 10px;
  color: white;
  font-size: 1.3rem;
}

/* 🗺️ Sağ kutu (harita) */
.contact-map {
  flex: 1 1 55%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  height: 450px;
}


/* 🔥 İletişim sayfası düzeni */
.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 80px;
}

/* 🧭 İletişim sayfası düzeni (yan yana hizalama) */
.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Sol kutu: Bize Ulaşın */
.contact-info {
  background: #6c0000;       /* header rengi */
  color: White;
  flex: 0 0 40%;              /* genişliği sabit - sağa taşmaz */
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  line-height: 1.8;
}

.contact-info h2 {
  margin-bottom: 15px;
  color: white;
  font-size: 1.6rem;
  text-align: center;
}

.contact-info i {
  margin-right: 10px;
  color: white;
}

/* Sağ kutu: Google Maps */
.map-container {
  flex: 0 0 45%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  height: 400px;
}


/* 💎 Premium stil: Bize Ulaşın kutusu */
.contact-info {
  background: #6c0000; /* header rengi */
  color: white;
  flex: 0 0 40%;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  line-height: 1.8;
  border: 2px solid rgba(255, 255, 255, 0.8); /* ✅ beyaz ince kenarlık */
  transition: all 0.3s ease;
}

/* ✨ hover efekti */
.contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 1);
}

/* Başlık ve ikon düzeni */
.contact-info h2 {
  margin-bottom: 20px;
  color: white;
  font-size: 1.6rem;
  text-align: center;
  letter-spacing: 1px;
  font-weight: bold;
}

.contact-info i {
  margin-right: 10px;
  color: #3b2a1d;
  transition: color 0.3s ease;
}

/* hover’da ikonlar hafif parlar */
.contact-info:hover i {
  color: #a63c2e; /* footer kırmızısı tonu */
}
/* 🎥 İletişim kutusu animasyonu */
@keyframes fadeUpFast {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* kutu genel animasyonu */
.contact-info {
  animation: fadeUpFast 0.6s ease-out both; /* hızlı giriş */
}

/* kutu içindeki öğeler sırasıyla gelsin */
.contact-info h2 {
  animation: fadeUpFast 0.6s ease-out both;
  animation-delay: 0.1s;
}

.contact-info p:nth-child(2) { animation: fadeUpFast 0.6s ease-out both; animation-delay: 0.2s; }
.contact-info p:nth-child(3) { animation: fadeUpFast 0.6s ease-out both; animation-delay: 0.3s; }
.contact-info p:nth-child(4) { animation: fadeUpFast 0.6s ease-out both; animation-delay: 0.4s; }
.contact-info p:nth-child(5) { animation: fadeUpFast 0.6s ease-out both; animation-delay: 0.5s; }

/* hover sırasında küçük bir parıltı efekti */
.contact-info:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 255, 255, 1);
  transition: all 0.3s ease;
}
/* 🧹 Hakkımızda görselleri: çerçeve ve gölge kalktı */
.about-gallery img {
  display: block;
  width: 90%;               /* biraz daha geniş */
  max-width: 900px;         /* tam boy ama responsive */
  border: none !important;  /* kenarlık kaldırıldı */
  border-radius: 0 !important; /* köşe yumuşatması da kalktı */
  box-shadow: none !important; /* gölge kaldırıldı */
  margin: 25px auto !important ;
  transition: transform 0.3s ease;
  opacity: 0;               /* animasyon başlangıcı */
  transform: translateY(30px);
  animation: fadeUpFast 0.8s ease-out forwards;
}

/* 🎬 Hakkımızda sayfası 3 farklı giriş animasyonu (düzeltilmiş) */
.about-gallery img {
  display: block;
  width: 90%;
  max-width: 900px;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 5px auto !important;
  opacity: 0;
  transform: translateY(30px);
  animation-duration: 0.9s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

/* 1. görsel: sağdan gelir */
.about-gallery img:nth-child(1) {
  transform: translateX(100px);
  animation-name: slideFromRight;
  animation-delay: 0.1s;
}

/* 2. görsel: soldan gelir (düzeltildi) */
.about-gallery img:nth-child(2) {
  transform: translateX(-100px);
  animation-name: slideFromLeft;
  animation-delay: 0.3s;
}

/* 3. görsel: aşağıdan yukarı çıkar */
.about-gallery img:nth-child(3) {
  transform: translateY(100px);
  animation-name: slideFromBottom;
  animation-delay: 0.5s;
}


/* 🌀 Animasyon tanımları */
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 🌀 Animasyon tanımları */
@keyframes slideFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 🟥 Anasayfa footer'ı da diğer sayfalarla aynı renk olsun */
body.home .site-footer {
  .site-footer {
  background: #6c0000 !important;
  color: #fff8f0 !important;
}

}

/* =============== Ürünler sayfasında yazı + butonu gizle =============== */
body.urunler .product-card h3,
body.urunler .product-card p,
body.urunler .product-card button {
  display: none;
}
/* ÜRÜNLERİMİZ başlığı */
.urunler-baslik {
  width: 100%;
  text-align: center !important;
  font-size: 2.8rem;
  font-weight: bold;
  margin-top: 120px;
  margin-bottom: 40px;
  color: #6c0000;
  letter-spacing: 2px;
  font-family: 'Arial', sans-serif;
  display: block;
}

body.hakkimizda .about-gallery .top-image img {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}





/* Ürün kartı detay linki (buton görünümü için) */
.product-btn {
  display: inline-block;
  background: #6c0000;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.product-btn:hover {
  background: #8a0000;
}
/* Ürün kartı detay linki (buton görünümü için) */
.product-btn {
  display: inline-block;
  background: #6c0000;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 10px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
}

.product-btn:hover {
  background: #8a0000;
  transform: scale(1.05);
}
/* ============================
   HERO BACKGROUND SLIDER
============================ */

/* =============================
   HERO SLIDER + PAGINATION
============================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* önemli */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* --- Pagination (Kutucuklar) --- */
.hero-pagination {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 999999 !important; /* EN ÖNDE */
  pointer-events: auto !important;
}

/* --- Pagination Dot --- */
.hero-dot {
  width: 14px;
  height: 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  pointer-events: auto !important;
}

.hero-dot.active {
  background: #6c0000;
  opacity: 1;
}
/* ===== ÜRÜN POPUP ===== */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

/* İç kutu */
.popup-content {
  background: white;
  padding: 15px;
  border-radius: 12px;
  max-width: 430px;
  width: 90%;
  animation: zoomIn 0.35s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

/* Büyük ürün resmi */
.popup-content img {
  width: 100%;
  border-radius: 10px;
}

/* Zoom animasyonu */
@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* =========================================
   GLOBAL
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: url('../img/banner.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* =========================================
   HEADER
========================================= */
.welcome-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  z-index: 9999;
  transition: top 0.3s ease;
}

.logo-left {
  position: absolute;
  left: 40px;
}
.logo {
  height: 110px;
  width: auto;
}

/* Menü — Masaüstü */
.nav-center {
  display: flex;
  gap: 35px;
}

.nav-button {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  padding: 6px 14px;
  transition: 0.3s;
}
.nav-button:hover {
  opacity: 0.7;
}

/* =========================================
   HAMBURGER BUTTON
========================================= */
.hamburger {
  display: none;
  position: absolute;
  right: 25px;
  top: 35px;
  width: 32px;
  height: 25px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 999999;
}

.hamburger span {
  width: 100%;
  height: 4px;
  background: white;
  border-radius: 3px;
}

/* =========================================
   SAĞDAN KAYAN MENÜ
========================================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  padding-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left;
  padding-left: 30px;
  transition: right 0.35s ease;
  z-index: 999999;
}

.side-menu a {
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
}

.side-menu .close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* =========================================
   HERO SLIDER (arka plan tam üste çıkar!)
========================================= */
.hero {
  width: 100%;
  height: 100vh;
  margin-top: -120px; /* LOGO ARKASINA GİRER */
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* Slider pagination */
.hero-pagination {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 9999;
}

.hero-dot {
  width: 14px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.hero-dot.active {
  background: #6c0000;
}

/* =========================================
   ÜRÜN KARTLARI — Masaüstü
========================================= */
.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin: 60px auto;
  max-width: 1200px;
}

.product-card {
  width: 330px;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: 0.3s;
}
.product-card img {
  width: 100%;
  border-radius: 15px;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-btn {
  display: block;
  background: #6c0000;
  color: white;
  padding: 10px 18px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 15px;
  font-weight: bold;
}

/* =========================================
   MOBİL HAMBURGER (max-width: 768px)
========================================= */
@media (max-width: 768px) {

  /* Hamburger görünür */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    gap: 5px;
    position: absolute;
    right: 20px;
    top: 45px;
    z-index: 99999;
    cursor: pointer;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
  }

  /* Menü kapanır */
  .nav-center {
    display: none !important;
  }

  /* Logo boyut */
  .logo {
    height: 80px !important;
  }

  .welcome-section {
    height: auto;
    padding: 10px 10px 15px;
    flex-direction: column;
    gap: 8px;
  }

  /* HERO */
  .hero {
    height: 80vh !important;
    margin-top: -100px;
  }

  /* Ürün kartları */
  .product-card {
    width: 90% !important;
  }
}

/* =========================================
   MASAÜSTÜDE HAMBURGER GİZLE
========================================= */
@media (min-width: 769px) {
  .hamburger {
    display: none !important;
  }
}

/* =========================================
   SAĞDAN KAYAN MOBİL MENÜ
========================================= */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px;
  width: 260px;
  height: 100vh;
  background: rgba(0,0,0,0.92);
  padding: 70px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.3s ease;
  z-index: 999999;
}

.side-menu.open {
  right: 0;
}

.side-menu a {
  color: white;
  font-size: 1.3rem;
  text-decoration: none;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* ==========================================
   📱 MOBİLDE LOGO ORTALAMA
========================================== */
@media (max-width: 768px) {

  .welcome-section {
    position: relative;
    padding-top: 15px;
    padding-bottom: 10px;
  }

  /* Logo ortala */
  .logo-left {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
  }

  .logo {
    height: 95px !important;
  }

  /* Hamburger sağda sabit dursun */
  .hamburger {
    position: absolute;
    right: 20px;
    top: 60px;
    z-index: 99999;
  }
}

/* ==========================================
   📱 SADECE MOBİL FOOTER LOGO DÜZELTME
========================================== */
@media (max-width: 768px) {

  .site-footer {
      position: relative;
      text-align: center;
      padding: 40px 10px;
  }

  /* Logo kutusu */
  .footer-logo {
      position: static !important;
      margin: 0 auto 10px auto !important;
      text-align: center !important;
      transform: none !important;
  }

  /* Logo */
  .footer-logo img {
      width: 75px !important;
      height: auto;
      display: block;
      margin: 0 auto !important;
  }

  /* Alt yazılar hizalansın */
  .site-footer p,
  .site-footer h2 {
      text-align: center !important;
      margin: 5px 0;
  }

}

/* ================================
   📱 Hakkımızda görsel yukarı çekme
================================ */
@media (max-width: 768px) {
  body.hakkimizda main,
  .about-hero,
  .about-top-image,
  .hakkimizda-img {
      margin-top: 20px !important;
  }
}
/* =====================================================
   📱 MOBİL – İLETİŞİM SAYFASI DÜZENİ (FINAL CLEAN)
===================================================== */
@media (max-width: 768px) {

  /* Üst boşluğu sıfırla */
  .contact-section {
      margin-top: -20px !important;
      padding: 0 !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 25px !important;
  }

  /* Kutuyu yukarı çek ve genişlet */
  .contact-info {
      width: 95% !important;
      padding: 28px 25px !important;
      border-radius: 16px !important;
      margin-top: 0 !important;
  }

  /* Harita eşit genişlikte ve daha büyük */
  .map-container {
      width: 95% !important;
      height: 380px !important;
      border-radius: 16px !important;
      overflow: hidden;
  }

  .map-container iframe {
      width: 100% !important;
      height: 380px !important;
  }
}
/* ============================================
   📱 MOBİL – Ürünler Sayfası Boşluk Azaltma
============================================ */
@media (max-width: 768px) {

  /* Ürünler başlığı yukarı çekilsin */
  .urunler-baslik {
      margin-top: 30px !important;
  }

  /* Ürün kartları yukarı çıksın */
  .all-grid {
      margin-top: 10px !important;
  }

  /* Ana içerik boşluğu azaltılsın */
  body.urunler main {
      margin-top: 20px !important;
  }
}
/* ============================================================
   📱 MOBİL – HERO SLIDER GÖRSELLERİNİ DEĞİŞTİR (SADECE MOBİL)
   ============================================================ */
@media (max-width: 768px) {

    /* 1. slide */
    .hero-slide:nth-child(1) {
        background-image: url('../img/mobil1.jpg') !important;
    }

    /* 2. slide */
    .hero-slide:nth-child(2) {
        background-image: url('../img/mobil2.jpg') !important;
    }

    /* 3. slide */
    .hero-slide:nth-child(3) {
        background-image: url('../img/mobil3.jpg') !important;
    }

    /* 4. slide */
    .hero-slide:nth-child(4) {
        background-image: url('../img/mobil4.jpg') !important;
    }

    /* 5. slide */
    .hero-slide:nth-child(5) {
        background-image: url('../img/mobil5.jpg') !important;
    }
}
/* ============================================
   📱 INDEX HARİÇ TÜM SAYFALARDA MOBİL HEADER UZATMA
============================================ */
@media (max-width: 768px) {

  body:not(.home) .welcome-section {
      height: 130px !important;
      padding-top: 25px !important;
      padding-bottom: 15px !important;
  }

  body:not(.home) .logo-left {
      top: 25px !important;
  }

  body:not(.home) .logo {
      height: 95px !important;
  }
}
/* ============================
   📱 MOBİL FOOTER WHATSAPP
============================ */
@media (max-width: 768px) {

    /* Eski sosyal linki gizle */
    .social-links {
        display: none !important;
    }

    /* Mobil yeni WhatsApp butonu */
    .mobile-whatsapp {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 15px;
        font-size: 1.1rem;
        color: white !important;
        text-decoration: none !important;
    }

    .mobile-whatsapp i {
        font-size: 1.4rem;
        color: #25D366 !important;
    }
}

/* ============================
   💻 MASAÜSTÜ – Mobil WhatsApp gizle
============================ */
@media (min-width: 769px) {
    .mobile-whatsapp {
        display: none !important;
    }
}
/* 📱 Mobil – Ürün kartlarını slider'a yapıştırma */
@media (max-width: 768px) {

    /* Ana ürün bölümü yukarı çıksın */
    .products,
    .product-section,
    .product-grid {
        margin-top: 25px !important;   /* boşluğu yok eder */
        padding-top: 0 !important;
    }

    /* Ürün grid yapısı */
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important; /* dip dibe ama yapışık değil */
        padding: 0 10px !important;
    }

    /* Kart boyutları */
    .product-card {
        width: 107% !important;
        padding: 10px !important;
        border-radius: 16px !important;
    }

    /* Görseller daha büyük */
    .product-card img {
        width: 200% !important;
        height: auto !important;
        max-height: 200px !important; 
        object-fit: contain !important;
    }

    /* Detay butonu düzgün hizalansın */
    .product-btn {
        padding: 8px 0 !important;
        font-size: 0.95rem !important;
        width: 85% !important;
        margin: 10px auto 0 auto !important;
    }
}



/* ============================================
   📱 MOBİL – Sadece Anasayfada HEADER arka planını kırmızı yap
   Masaüstüne asla dokunmaz
================================================ */
@media (max-width: 768px) {

    /* ANASAYFA HEADER sabit renkte olsun */
    body.home .welcome-section {
        background: #750000 !important; /* senin diğer sayfa rengi */
        height: 120px !important;
        padding-top: 25px !important;
        padding-bottom: 10px !important;
    }

    /* Logo konumu */
    body.home .logo-left {
        top: 25px !important;
    }

    body.home .logo {
        height: 95px !important;
    }

    /* Slider artık header’ın ALTINDAN başlasın */
    body.home .hero {
        margin-top: 0 !important;
        height: 60vh !important; /* az daha küçült, header ile uyumlu */
    }
}
