/* CSS Değişkenleri */
/* Versiyon: <?= date('Y-m-d H:i:s') ?> - Bu dosya otomatik versiyon sistemi ile güncelleniyor */
/* Bootstrap CSS'den sonra yüklenir - Yüksek öncelik */
/* CSS Specificity: 1000+ - Bootstrap'i override eder */

html body {
  --primary: #e6d4b3 !important; /* Test: Renk değiştirildi - Versiyon sistemi çalışıyor! */
  --primary-dark: #b8a892 !important; 
  --primary-light: #e8ddd0 !important; 
  --secondary: #c5af8d !important; 
  --secondary-dark: #a8957a !important; 
  --secondary-light: #d4c4a8 !important; 
  --accent: #8b7355 !important; 
  --accent-light: #a08b6a !important; 
  --white: #fff !important; 
  --black: #000 !important; 
  --gray-light: #f8f9fa !important; 
  --gray: #6c757d !important; 
  --gray-dark: #495057 !important; 
}

/* Genel Stiller - Yüksek specificity */
html body {
  font-family: 'libertinus', Arial, sans-serif !important;
  background: #fff !important;
  font-size: 16px !important;
}

html body h1, html body h2, html body h3, html body h4, html body h5, html body h6, html body .fw-bold { 
  font-family: 'libertinus', Arial, sans-serif !important;
}

/* Ürün Detay Sayfası */
html body .product-main-img { 
  max-width: 100% !important;  
  object-fit: cover !important; 
}

.gallery-thumbs div {
    display: flex !important;
    align-items: center;
    flex-direction: column;
    align-content: flex-start;
    justify-content: flex-start;
}

html body .gallery-thumb { 
  cursor: pointer !important; 
  border-radius: 4px !important; 
  width: 64px !important; 
  height: 64px !important; 
  object-fit: cover !important; 
  transition: .2s !important; 
  display: flex !important; 
  gap: 10px !important; 
  margin-top: 18px !important; 
}



html body .product-box { 
  padding: 32px 28px !important; 
  margin-bottom: 32px !important; 
}

html body .icon-grid { 
  display: grid !important; 
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important; 
  gap: 16px !important; 
}

html body .icon-item { 
  text-align: center !important; 
  font-size: 15px !important; 
}

html body .icon-item img { 
  width: 60px !important; 
  height: 48px !important; 
  object-fit: cover !important; 
  margin-bottom: 6px !important; 
  border-radius: 6px !important; 
}

/* Tablo Stilleri */
html body .product-table th, html body .product-table td { 
  vertical-align: middle !important; 
  font-size: 15px !important; 
  border: solid thin var(--primary) !important; 
}

html body .product-table th {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  font-family: 'libertinus', sans-serif !important;
  width: 33% !important;
}

html body .product-table {
  border-radius: 0px !important;
  overflow: hidden !important;
  text-align: center !important;
  width: 100% !important;
}

html body .product-table ul li { 
  list-style: none !important; 
}

/* Ürün Filtreleri */
html body .product-filters { 
  font-size: 15px !important; 
  color: var(--primary) !important; 
  margin-bottom: 18px !important; 
}

html body .product-filters span { 
  background: var(--primary) !important; 
  color: var(--white) !important; 
  border-radius: 6px !important; 
  padding: 4px 14px !important; 
  margin-right: 8px !important; 
  font-family: 'libertinus', sans-serif !important; 
}

/* Ürün Aksiyonları */
html body .product-actions { 
  margin-top: 32px !important; 
  display: flex !important; 
  gap: 24px !important; 
}

html body .product-actions a { 
  text-decoration: none !important; 
  font-family: 'Libertinus Mono', monospace !important;
  font-weight: 600 !important; 
  font-size: 16px !important; 
  display: flex !important; 
  align-items: center !important; 
  gap: 8px !important; 
}

html body .product-actions .desc { 
  color: var(--secondary) !important; 
}

html body .product-actions .detail { 
  color: var(--primary) !important; 
}

html body .product-actions .request { 
  color: var(--white) !important; 
  background: var(--secondary) !important; 
  border-radius: 6px !important; 
  padding: 8px 18px !important; 
}

/* Form Elemanları */
html body .bg-light {
  background-color: white !important;
}

html body .form-select { 
  font-size: 16px !important; 
  border: 1px solid var(--primary-light) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  transition: all 0.3s ease !important;
}

html body .form-select:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(209, 192, 165, 0.25) !important;
  outline: none !important;
}

html body .btn { 
  font-size: 16px !important; 
  background: var(--primary) !important; 
  border: 1px solid var(--primary) !important; 
  color: var(--white) !important; 
  padding: 8px 20px !important; 
  border-radius: 6px !important;
  transition: all 0.3s ease !important;
}

html body .btn:hover { 
  background: var(--primary-dark) !important; 
  border-color: var(--primary-dark) !important; 
  color: var(--white) !important; 
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(209, 192, 165, 0.3) !important;
}

/* Header ve Navigasyon */
html body .lang_header { 
  display: inline-block !important;
  vertical-align: middle !important;
  border-radius: 3px !important;
  overflow: hidden !important;
}

html body .sticky-navbar { 
  position: sticky !important; 
  top: 0 !important; 
  z-index: 1030 !important; 
  box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important; 
  background: var(--white) !important; 
}

html body .social-icons a { 
  color: var(--primary) !important; 
  font-size: 1.3rem !important; 
  margin-left: 12px !important; 
  transition: color .2s !important; 
}

html body .social-icons a:hover { 
  color: var(--secondary) !important; 
}

/* Responsive */
@media (max-width: 991px) { 
  html body .product-box { 
    padding: 18px 8px !important; 
  } 
}

/* Kategori Stilleri */
html body .maincategory {
  background: var(--primary) !important;
  background: linear-gradient(90deg, rgba(209, 192, 165, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(209, 192, 165, 1) 100%) !important;
}

html body .maincategory img { 
  width: 100% !important; 
}

/* Header Title */
html body .header-title {
  width: 100% !important;
  min-height: 300px !important;
  max-height: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
}

html body .header-title .overlay { 
  position: absolute !important; 
  top: 0 !important; 
  left: 0 !important; 
  right: 0 !important; 
  bottom: 0 !important; 
  background: rgba(0,0,0,0.4) !important; 
  z-index: 1 !important; 
}

html body .header-title .container { 
  position: relative !important; 
  z-index: 2 !important; 
}

html body .header-title h1 { 
  font-size: 3rem !important; 
  font-weight: 700 !important; 
  margin-bottom: 1rem !important; 
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7) !important; 
}

html body .header-title p { 
  font-size: 1.2rem !important; 
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7) !important; 
}

@media (max-width: 768px) { 
  html body .header-title { 
    min-height: 200px !important; 
    padding: 40px 0 !important; 
  }
  
  html body .header-title h1 { 
    font-size: 2rem !important; 
  }
  
  html body .header-title p { 
    font-size: 1rem !important; 
  }
}

/* Breadcrumb */
html body .breadcrumb { 
  background: var(--primary) !important; 
  margin: 0 !important; 
  padding: 6px 0 !important; 
}

html body .breadcrumb-item a { 
  color: var(--gray-dark) !important; 
  text-decoration: none !important; 
  font-weight: 500 !important; 
}

html body .breadcrumb-item a:hover { 
  color: var(--secondary) !important; 
}

html body .text-primary{
  color: var(--gray-dark) !important;
}

/* Ürün Kartları */
html body .product-card img { 
  transition: border-radius 0.5s ease !important; 
}

html body .product-card img:hover { 
  border-radius: 20px !important; 
}

html body .product-card {
  background: var(--white) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
  overflow: hidden !important;
  height: 100% !important;
}

html body .product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(209, 192, 165, 0.3) !important;
  border: 1px solid var(--primary-light) !important;
}

html body .product-card .product-img {
  transition: all 0.3s ease !important;
}

/* Sadece ikinci görseli olan ürünlerde hover efekti aktif olsun */
html body .product-card.has-hover-img:hover .main-img {
  opacity: 0 !important;
}

html body .product-card.has-hover-img:hover .hover-img {
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  transition: opacity .3s !important;
  position: absolute !important;
  animation: fadeIn 0.8s ease-in-out !important;
}

/* İkinci görseli olmayan ürünlerde hover efekti olmasın */
html body .product-card:not(.has-hover-img):hover .main-img {
  opacity: 1 !important;
}

html body .product-title {
  padding: 1rem !important;
  font-size: 1rem !important;
  line-height: 1.4 !important;
  min-height: 60px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
}

/* Sayfalama */
html body .pagination {
  gap: 0.25rem !important;
}

html body .page-link {
  color: var(--primary) !important;
  border: 1px solid #dee2e6 !important;
  padding: 0.5rem 0.75rem !important;
  transition: all 0.2s ease !important;
}

html body .page-link:hover {
  color: var(--secondary) !important;
  background-color: var(--gray-light) !important;
  border-color: var(--primary) !important;
}

html body .page-item.active .page-link {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: var(--white) !important;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  html body .product-card {
    margin-bottom: 1rem !important;
  }
  
  html body .product-title {
    font-size: 0.9rem !important;
    min-height: 50px !important;
  }
}

/* stil.css'den Eklenen Stiller */

/* Kategori Filtreleri */
html body .katimgfilt {
  width: 100px !important;
}

/* Ana Header */
html body .main-header {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  background: #fff !important;
  z-index: 9999 !important;
  transition: box-shadow 0.3s !important;
}

html body .main-header.sticky-shadow {
  box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
  background-image: url(/uploads/main_header.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}

html body .header-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 24px !important;
  height: 64px !important;
}
.main-header .sticky-logo{
  display: none;    
}

html body .header-left .logo img {
  height: 40px !important;
  display: block !important;
}

html body .header-center {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
}

html body .main-menu {
  display: flex !important;
  gap: 32px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .main-menu li a {
  text-decoration: none !important;
  color: #222 !important;
  font-weight: 500 !important;
  transition: color 0.2s !important;
}

html body .main-menu li a:hover {
  color: var(--primary) !important;
}

html body .header-right {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

html body .main-logo { 
  transition: opacity 0.2s !important; 
}

html body .sticky-logo { 
  display: none !important; 
  transition: opacity 0.2s !important; 
}

html body .main-header.sticky-shadow .main-logo { 
  display: none !important; 
}

html body .main-header.sticky-shadow .sticky-logo { 
  display: block !important; 
}

/* Form Stilleri */
html body .formdata input::placeholder {
  font-size: 16px !important;
  padding: 10px 0 !important;
  height: 30px !important;
}

html body .form-control {
  height: 50px !important;
}

html body .conmessage {
  font-size: 16px !important;
  height: 150px !important;
}

html body .cbtn {
  width: 50% !important;
  font-size: 16px !important;
  padding: 10px !important;
}

/* Scroll Animasyonu */
html body .dropbtn {
  position: absolute !important;
  bottom: 20% !important;
  left: 50% !important;
  transform: translate(-50%,-50%) !important;
  width: 0 !important;
  height: 160px !important;
  border-left: 6px dashed rgba(255,255,255,0.1) !important;
  z-index: 99 !important;
}

html body .dropbtnarrow {
  position: absolute !important;
  top: 0 !important;
  left: -6px !important;
  height: 40px !important;
  width: 6px !important;
  background: #fff !important;
  animation: animate 2s infinite !important;
}

html body .dropbtnarrow:before {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: -7px !important;
  width: 20px !important;
  height: 20px !important;
  border-bottom: 6px solid #fff !important;
  border-right: 6px solid #fff !important;
  transform: rotate(45deg) !important;
}

@keyframes animate {
  0% {
    transform: translateY(0) !important;
    opacity: 0.5 !important;
  }
  50% {
    transform: translateY(80px) !important;
    opacity: 1 !important;
  }
  100% {
    transform: translateY(160px) !important;
    opacity: 0 !important;
  }
}

/* Slider Stilleri */
html body .swiper {
  width: 100vw !important;
  min-height: 260px !important;
  max-height: 440px !important;
  margin-bottom: 2.5rem !important;
}

html body .swiper-slide {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  position: relative !important;
  min-height: 220px !important;
  max-height: 420px !important;
}

html body .slider-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  min-height: 220px !important;
  max-height: 420px !important;
  border-radius: 24px !important;
  filter: brightness(0.85) !important;
}

html body .slider-overlay {
  position: absolute !important;
  left: 0 !important; 
  right: 0 !important; 
  bottom: 0 !important;
  background: linear-gradient(0deg,rgba(0,0,0,0.7) 60%,rgba(0,0,0,0.1) 100%) !important;
  color: #fff !important;
  padding: 32px 32px 24px 32px !important;
  border-radius: 0 0 24px 24px !important;
  width: 100% !important;
  min-height: 120px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
}

html body .slider-title { 
  font-size: 2rem !important; 
  font-weight: 700 !important; 
  margin-bottom: 0.5rem !important; 
}

html body .slider-desc { 
  font-size: 1.1rem !important; 
  margin-bottom: 0.7rem !important; 
}

html body .slider-btn { 
  align-self: flex-start !important; 
}

/* Modern Slider */
html body .modern-slider-container {
  width: 100vw !important;
  height: 90vh !important;
  min-height: 90vh !important;
  max-height: 90vh !important;
  margin-bottom: 0 !important;
  position: relative !important;
  background: #f7f7f7 !important;
  overflow: hidden !important;
  max-width: 99.2vw;
}

html body .modern-slider {
  position: relative !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  margin: 0 auto !important;
}

html body .modern-slide {
  position: absolute !important;
  top: 0 !important; 
  left: 0 !important; 
  width: 100vw !important; 
  height: 100vh !important;
  opacity: 0 !important;
  z-index: 1 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

html body .modern-slide.active {
  opacity: 1 !important;
  z-index: 2 !important;
}

html body .modern-slide-content {
  background: rgba(0,0,0,0.55) !important;
  color: #fff !important;
  padding: 2.5rem 2.5rem 2rem 2.5rem !important;
  border-radius: 18px !important;
  box-shadow: 0 4px 32px rgba(0,0,0,0.2) !important;
  max-width: 520px !important;
  width: 90vw !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 1.1rem !important;
}

html body .modern-slide-content h2 {
  font-size: 2.1rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  letter-spacing: 0.5px !important;
}

html body .modern-slide-content p {
  font-size: 1.1rem !important;
  margin-bottom: 0.7rem !important;
  color: #f7e7c6 !important;
}

html body .modern-slider-btn {
  background: #f39c12 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 0.7rem 1.7rem !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  margin-top: 0.5rem !important;
}

html body .modern-slider-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

html body .modern-slider-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: rgba(255,255,255,0.85) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 2rem !important;
  color: #f39c12 !important;
  cursor: pointer !important;
  z-index: 10 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
  transition: background 0.2s, color 0.2s !important;
}

html body .modern-slider-arrow:hover {
  background: #f39c12 !important;
  color: #fff !important;
}

html body .modern-slider-arrow.prev { 
  left: 24px !important; 
}

html body .modern-slider-arrow.next { 
  right: 24px !important; 
}

html body .modern-slider-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 24px !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 12px !important;
  z-index: 20 !important;
}

html body .modern-slider-dots .dot {
  width: 13px !important;
  height: 13px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 2px solid #f39c12 !important;
  opacity: 0.7 !important;
  cursor: pointer !important;
  transition: background 0.2s, border 0.2s, opacity 0.2s !important;
}

html body .modern-slider-dots .dot.active {
  background: #f39c12 !important;
  border-color: #fff !important;
  opacity: 1 !important;
}

/* Responsive Slider */
@media (max-width: 900px) {
  html body .modern-slider, html body .modern-slider-container, html body .modern-slide {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }
  
  html body .modern-slide-content {
    padding: 1.2rem 1.2rem 1rem 1.2rem !important;
    max-width: 95vw !important;
  }
  
  html body .modern-slider-arrow.prev { 
    left: 8px !important; 
  }
  
  html body .modern-slider-arrow.next { 
    right: 8px !important; 
  }
  
  html body .header-container {
    flex-direction: column !important;
    height: auto !important;
    padding: 12px !important;
    gap: 8px !important;
  }
  
  html body .header-center {
    justify-content: flex-start !important;
    width: 100% !important;
  }
  
  html body .main-menu {
    gap: 16px !important;
  }
}

@media (max-width: 768px) {
  html body .swiper-slide, html body .slider-img { 
    border-radius: 12px !important; 
  }
  
  html body .slider-overlay { 
    padding: 18px 12px 14px 12px !important; 
    min-height: 80px !important; 
  }
  
  html body .slider-title { 
    font-size: 1.2rem !important; 
  }
  
  html body .slider-desc { 
    font-size: 0.95rem !important; 
  }
  
  html body .product-card {
    margin-bottom: 1rem !important;
  }
  
  html body .product-title {
    font-size: 0.9rem !important;
    min-height: 50px !important;
  }
}

@media (max-width: 650px) {
  html body .modern-slider, html body .modern-slider-container, html body .modern-slide {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
  }
  
  html body .modern-slide-content {
    padding: 0.7rem 0.7rem 0.5rem 0.7rem !important;
    font-size: 0.95rem !important;
  }
  
  html body .modern-slide-content h2 {
    font-size: 1.1rem !important;
  }
  
  html body .modern-slider-arrow {
    width: 32px !important;
    height: 32px !important;
    font-size: 1.2rem !important;
  }
  
  html body .modern-slider-dots {
    bottom: 8px !important;
    gap: 7px !important;
  }
  
  html body .modern-slider-dots .dot {
    width: 8px !important;
    height: 8px !important;
  }
}

@media (max-width: 600px) {
  html body .header-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 8px !important;
    gap: 6px !important;
  }
  
  html body .main-menu {
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  html body .header-right {
    width: 100% !important;
    justify-content: flex-end !important;
  }
}
  