/* Top Header Info Styles */
.top-header-info {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  padding: 5px 0;
  transition: all 0.3s ease;
}

/* Section header fixed olduğunda top header'ı gizle */
.top-header-info.hidden-on-scroll {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.top-header-container {
  max-width: calc(100% - 120px);
  margin: 0 auto;
  padding: 0 70px;
}

.contact-info {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.contact-item:hover {
  color: #fff;
  text-decoration: underline;
}

.contact-icon {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

@media(max-width:767px) {
  .top-header-info {
    padding: 6px 0;
    position: relative !important;
    background: rgba(3, 36, 89, 0.95);
  }

  /* Mobilde scroll'da gizle */
  .top-header-info.hidden-on-scroll {
    display: none !important;
  }

  .top-header-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .contact-info {
    flex-direction: row;
    gap: 15px;
    align-items: flex-end;
  }

  #blog-section-5 .custom-col {
    width: 100% !important;
  }

  #blog-section-0 .custom-col {
    width: 100% !important;
  }

  .contact-item {
    font-size: 12px;
  }

  .contact-icon {
    width: 16px;
    height: 16px;
  }
}

.btn-primary {
  background-color: #032459 !important;
  border: 1px solid #032459 !important;
}

.footer * {
  font-size: 16px !important;
}

.product-list .weta-icerik-tag {
  font-size: 18px !important;
  text-overflow: clip !important;
}

.product-breadcrumb,
.page-breadcrumb {
  height: 255px !important;
}

.page-breadcrumb .page-name {
  padding-top: 100px;
}

.productsSwiper-1 .product-title h3 {
  padding-top: 15px;
}

@media(min-width:768px) {
  .section-header {
    position: fixed;
    top: 40px;
    left: 60px;
    right: 60px;
    width: calc(100% - 120px);
    z-index: 999;
  }

  /* Section header fixed olduğunda top header gizlendiği için üste yapış */
  .section-header.fixed {
    top: 0px !important;
  }

  .logo img {
    max-height: 45px !important;
  }

  .section-header .container {
    max-width: 95%;
  }

  .weta-slider-tag {
    font-size: 72px !important;
    font-weight: 500 !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  }

  .weta-slider-tag span {
    font-weight: 800 !important;
  }

  .section-header .col-lg-3 {
    width: 15%;
  }

  .section-header li {
    padding: 0px !important;
    display: flex;
  }

  .section-header li a {
    height: max-content !important;
    line-height: normal !important;
    border-left: 0.5px solid #333;
    border-right: 0.5px solid #333;
    padding: 0px 20px;
  }

  .section-header li.dropdown #main-menu {
    padding-bottom: 10px !important;
  }

  .section-header li.dropdown #main-menu a {
    border-bottom: 1px solid #bfbfbf;
    padding: 5px 0 5px 0 !important;
  }

  .section-header .dropdown-menu .main-li-item:hover .mega-menu-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
  }

  .section-header li.dropdown:hover #main-menu.main-mega {
    top: 100px;
  }

  .section-header.fixed li.dropdown:hover #main-menu.main-mega {
    top: 65px;
  }

  .section-header .dropdown-menu li {
    min-height: 22px !important;
    line-height: 22px !important;
  }

  .section-header .dropdown-menu li.main-li-item {
    padding: 0px 20px !important;
  }

  .section-header li a:nth-child(1) {
    border-left: 0px !important;
  }

  .section-header li:nth-last-child(1) a {
    border-right: 0px !important;
  }

  .section-header .row {
    align-items: center;
  }

  .section-header #navigation>ul>li a::after {
    display: none !important;
  }

  .section-header.fixed .col-lg-3 img {
    max-height: 40px !important;
  }

  .section-header .col-lg-9 {
    width: 85%;
    padding-left: 10%;
    justify-content: left;
  }

  #page-detail-section-1 .rgw {
    display: flex;
    align-items: center;
  }

  #page-detail-section-1 .rgw img:nth-child(1) {
    max-height: 475px;
  }

  #page-detail-section-1 .image-list-flat,
  #page-detail-section-1 .rgw {
    min-height: 525px;
  }

  .product-list .col-md-3 .product-wrapper img {
    min-height: 200px;
  }

  .productsSwiper-1 .swiper-slide img {
    min-height: 150px;
  }

  #page-detail-section-1 .rgw img:nth-child(2) {
    position: absolute;
    left: -80px;
    height: 400px;
    width: auto !important;
    top: auto;
    bottom: -5px;
  }

  #page-detail-section-1 .rexa-content .weta-icerik-tag,
  #product-section-1 .rg-wrapper .weta-icerik-tag,
  #blog-section-1 .rg-wrapper .weta-icerik-tag {
    margin-bottom: 35px;
    position: relative;
    width: max-content;
    letter-spacing: -2px;
  }

  #product-section-1 .rg-wrapper .weta-icerik-tag,
  #blog-section-1 .rg-wrapper .weta-icerik-tag {
    margin-bottom: 0px !important;
  }

  #page-detail-section-1 .rexa-content .weta-icerik-tag::after,
  #product-section-1 .rg-wrapper .weta-icerik-tag::after,
  #blog-section-1 .rg-wrapper .weta-icerik-tag::after {
    content: '';
    position: absolute;
    bottom: 13px;
    left: -102%;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #0c8e38;
  }

  #gallery-detail-section-1 .gallery-wrapper .weta-icerik-tag {
    position: relative;
  }

  #gallery-detail-section-1 .gallery-wrapper .weta-icerik-tag::after {
    content: '';
    position: absolute;
    bottom: 8.6%;
    left: -100%;
    right: 0;
    width: 100%;
    height: 2px;
    background-color: #0c8e38;
  }


  #product-section-1 .container {
    display: flex;
    justify-content: space-between;
    align-items: end;
  }

  #product-section-1 .container .row {
    width: 30%;
  }

  #product-section-1 .container #product-list {
    width: 75%;
  }

  #product-list .swiper-slide:hover {
    border-radius: 8px;
  }

  #product-section-1 .container #product-list .row {
    width: 100%;
  }

  .section-header .navbar-weta .navbar .nav-link {
    font-weight: bold !important;
  }

  #main-menu .nav-link {
    font-weight: normal !important;
  }

  #languageForm #main-menu {
    right: 0;
  }

  .dropdown .nav-link {
    font-weight: bold !important;
  }

  .productsSwiper-1 {
    padding-bottom: 0px !important;
  }

  .productsSwiper-1 .swiper-pagination,
  .productsSwiper-1 .swiper-button-next,
  .productsSwiper-1 .swiper-button-prev {
    display: none !important;
  }

  #product-section-1 {
    padding: 60px 0px !important;
  }

  #blog-section-1 {
    padding: 140px 0 0 0;
  }

  .section-header li.dropdown #main-menu.main-mega {
    min-width: unset;
    width: 100%;
    background: rgb(255 255 255 / 95%);
    padding: 25px 24% !important;
  }

  .main-li-item {
    width: 33.3% !important;
  }

  .section-header .dropdown-menu li {
    display: block;
  }

  .section-header .dropdown-menu li a {
    border-right: none !important;
    border-left: none !important;
  }

  ul.mega-menu-items li {
    width: 100% !important;
    line-height: 25px !important;
  }

  .mega-menu-image {
    max-height: 180px;
    margin-bottom: 15px;
  }

  .mega-menu-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  .section-header .dropdown-menu li a.mega-menu-main-category {
    border-bottom: none !important;
    padding: 5px 0 !important;
    font-size: 15px !important;
    font-weight: bold !important;
  }

  .main-li-item a {
    border-bottom: 1px solid #bfbfbf !important;
    padding: 5px 0 5px 0 !important;
  }



  .main-li-item .menu-items-link {
    font-weight: normal !important;
  }
}

.textImg .weta-buttons .btn {
  text-align: left;
}

.btn {
  border-radius: 0px !important;
}

#product-section-1 {
  background-color: rgb(13 114 184 / 25%) !important;
}

.blog-content-wrapper .weta-icerik-tag,
.blog-content-wrapper .blog-description {
  text-align: left;
}

#blog-section-1 .btn {
  display: none !important;
}

#blog-section-1 .swiper-pagination,
#blog-section-1 .swiper-button-prev,
#blog-section-1 .swiper-button-next {
  display: none !important;
}

.footer-img img {
  filter: brightness(100000);
  max-height: 45px;
}

.section-header .main-mega li.main-li-item {
  display: flex;
  flex-direction: column;
}

.section-header .main-mega li.main-li-item .mega-menu-image {
  order: 1;
}

.section-header .main-mega li.main-li-item .mega-menu-main-category {
  order: 2;
}

.section-header .main-mega li.main-li-item .mega-menu-items {
  order: 3;
  margin-top: 20px;
}

.section-header #navigation>ul>li:hover .dropdown-menu li:hover .mega-menu-items li a {
  color: var(--site-header-title-color) !important;
}

.section-header #navigation>ul>li:hover .dropdown-menu li:hover .mega-menu-items li:hover a {
  color: var(--site-hover-color) !important;
}

.productDetail .productSwiper .productImage {
  height: 450px;
}

.productDetail .product-thumbs .productImage {
  height: 75px;
  width: 100%;
}


/* Tab Menü Alanı (Varsayılan Bootstrap çizgisini kaldırıp gap ekledik) */
.productDocuments .nav-tabs {
  border-bottom: none;
  gap: 0.5rem;
  /* Sekmeler arası boşluk */
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

/* Tab Butonları (Pasif Durum) */
.productDocuments .nav-tabs .nav-link {
  border: none !important;
  /* Bootstrap border'ı eziyoruz */
  background-color: #f1f5f9;
  /* Açık gri/mavi arkaplan */
  color: #475569;
  /* Koyu gri metin */
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  /* Yumuşak köşeler */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tab Butonları Hover (Üzerine Gelince) */
.productDocuments .nav-tabs .nav-link:hover:not(.active) {
  background-color: #e2e8f0;
  color: #0d71b8;
}

/* Aktif Tab Butonu (Sitenizin Ana Rengi) */
.productDocuments .nav-tabs .nav-link.active {
  background-color: #0d71b8 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 113, 184, 0.35);
  /* Hafif mavi gölge */
  transform: translateY(-2px);
  /* Çok hafif yukarı kalkma efekti */
}

/* İçerik Kapsayıcı Alanı */
.productDocuments .tab-content {
  background: #ffffff;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.04);
  /* Modern, derin bir gölge */
}

/* --- İÇERİK TİPOGRAFİSİ VE ÖZELLEŞTİRMELERİ --- */

/* Başlıklar */
.productDocuments .tab-content h2 {
  color: var(--site-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

.productDocuments .tab-content h3 {
  color: var(--site-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Paragraflar */
.productDocuments .tab-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.productDocuments .tab-content ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.productDocuments .tab-content ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #475569;
  line-height: 1.6;
}

/* Özel Mavi Liste Noktası */
.productDocuments .tab-content ul li::before {
  content: "•";
  color: #0d71b8;
  font-size: 1.75rem;
  position: absolute;
  left: 0;
  top: -6px;
  /* Noktanın dikey hizalaması */
}

/* Link ve Buton Yapıları (.btn-color için) */
.productDocuments .tab-content .btn-color {
  display: inline-block;
  background-color: #0d71b8;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  border: none;
}

.productDocuments .tab-content .btn-color:hover {
  background-color: #0a5a94;
  /* Sitenizin renginin bir ton koyusu */
  box-shadow: 0 4px 10px rgba(13, 113, 184, 0.2);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Daha yumuşak Tab geçiş efekti */
.productDocuments .tab-pane.fade {
  transition: opacity 0.4s ease-in-out;
}

/* Mobil fade animasyonu */
@keyframes mobileMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobil Uyum (Responsive) İnce Ayarı */
@media (max-width: 768px) {
  .productDocuments .tab-content {
    padding: 1.5rem;
  }

  .productDocuments .nav-tabs .nav-link {
    width: 100%;
    text-align: center;
    margin-bottom: 0.25rem;
  }

  .weta-slider-buttons .btn {
    margin-bottom: 15px;
  }

  .section-header .dropdown-trigger {
    transition: transform 0.3s ease;
  }

  /* Mobil görünümde dropdown menüleri gizle */
  .section-header .dropdown-menu {
    display: none !important;
    position: relative !important;
    background: #fff;
    padding: 10px 0;
    box-shadow: none;
  }

  /* Aktif dropdown menüyü göster */
  .section-header .dropdown.mobile-active .dropdown-menu {
    display: block !important;
    animation: mobileMenuFadeIn 0.25s ease forwards;
  }

  /* Mobil menü öğelerini alt alta dizdir */
  .section-header .dropdown-menu li {
    display: block !important;
    width: 100% !important;
    padding: 8px 15px !important;
    border: none !important;
    position: relative !important;
  }

  .section-header .dropdown-menu li a {
    border: none !important;
    padding: 8px 0 !important;
    width: 100%;
    font-weight: normal !important;
    display: block;
  }

  /* Mega menü için genel ayarları override et */
  .section-header .dropdown-menu.main-mega li {
    padding: 0 !important;
  }

  /* Mega menü mobilde normal liste gibi davransın */
  .section-header .dropdown-menu.main-mega {
    padding: 10px 0 !important;
    width: 100% !important;
    position: relative !important;
    display: none !important;
  }

  .product-breadcrumb span,
  .page-breadcrumb span {
    font-size: 22px !important;
  }

  .product-breadcrumb a,
  .page-breadcrumb a {
    font-size: 16px !important;
  }

  #product-33 .product-breadcrumb,
  #product-33 .page-breadcrumb,
  #product-29 .product-breadcrumb,
  #product-29 .page-breadcrumb,
  #product-28 .product-breadcrumb,
  #product-28 .page-breadcrumb,
  #product-27 .product-breadcrumb,
  #product-27 .page-breadcrumb,
  #product-23 .product-breadcrumb,
  #product-23 .page-breadcrumb,
  #product-21 .product-breadcrumb,
  #product-21 .page-breadcrumb,
  #page-51 .product-breadcrumb,
  #page-51 .page-breadcrumb,
  #page-21 .product-breadcrumb,
  #page-21 .page-breadcrumb,
  #page-20 .product-breadcrumb,
  #page-20 .page-breadcrumb,
  #page-19 .product-breadcrumb,
  #page-19 .page-breadcrumb,
  #page-18 .product-breadcrumb,
  #page-18 .page-breadcrumb,
  #page-7 .product-breadcrumb,
  #page-7 .page-breadcrumb,
  #page-5 .product-breadcrumb,
  #page-5 .page-breadcrumb,
  #page-4 .product-breadcrumb,
  #page-4 .page-breadcrumb,
  #page-3 .product-breadcrumb,
  #page-3 .page-breadcrumb,
  #page-2 .product-breadcrumb,
  #page-2 .page-breadcrumb {
    height: 100px !important;
  }

  .product-breadcrumb,
  .page-breadcrumb {
    height: 140px !important;
  }


  .section-header .dropdown.mobile-active .dropdown-menu.main-mega {
    display: block !important;
  }

  /* Aktif dropdown TR/EN dahil sonraki tüm elementlerin önüne geçsin */
  .section-header .dropdown.mobile-active {
    position: relative !important;
    z-index: 500 !important;
  }

  #category-list-2 .category-item {
    padding: 0 !important;
  }

  /* Mega menü ana kategori wrapper - tam genişlik, normal akış */
  .section-header .main-mega li.main-li-item {
    width: 100% !important;
    padding: 0 !important;
    display: block !important;
    margin: 0 !important;
    float: none !important;
    position: relative !important;
    z-index: 1;
  }

  /* Aktif kategori diğerlerinin önüne geçsin */
  .section-header .main-mega li.main-li-item.submenu-active {
    z-index: 100 !important;
  }

  /* Mega menü resimlerini gizle */
  .section-header .main-mega .mega-menu-image {
    display: none !important;
  }

  /* Mega menü ana kategori linki - ok ikonu ile */
  .section-header .main-mega .mega-menu-main-category {
    display: flex !important;
    align-items: center !important;
    justify-content: start !important;
    font-size: 14px !important;
    color: #333 !important;
    transition: color 0.3s ease;
    border: none !important;
    cursor: pointer;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .section-header .main-mega .mega-menu-main-category:hover {
    color: #0d71b8 !important;
  }

  /* Açılma ok işareti */
  .section-header .main-mega .mega-menu-main-category::after {
    content: '\f078' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    margin-left: 15px;
    font-size: 15px !important;
    display: inline-block !important;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  /* Açık durumda ok döner, link rengi mavi */
  .section-header .main-mega li.main-li-item.submenu-active>.mega-menu-main-category {
    color: #0d71b8 !important;
  }

  .section-header .main-mega li.main-li-item.submenu-active>.mega-menu-main-category::after {
    transform: rotate(180deg);
  }

  /* Alt ürünler varsayılan gizli - normal akışta */
  .section-header .main-mega .mega-menu-items {
    display: none !important;
    position: relative !important;
    padding: 0 0 15px 0 !important;
    margin: 0 !important;
    margin-top: -15px !important;
    list-style: none !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background-color: #fff !important;
    z-index: 9999 !important;
  }

  .page-breadcrumb .relative-title .page-name {
    position: absolute;
    top: 10%;
    padding-top: 0px;
  }

  /* Açık ana kategori alt ürünlerini göster */
  .section-header .main-mega li.main-li-item.submenu-active>.mega-menu-items {
    display: block !important;
    animation: mobileMenuFadeIn 0.2s ease forwards;
  }

  /* Alt ürün li */
  .section-header .main-mega .mega-menu-items li {
    display: block !important;
    width: 100% !important;
    padding: 4px 15px !important;
    margin: 0 !important;
    float: none !important;
  }

  /* Alt ürün link */
  .section-header .main-mega .mega-menu-items li a {
    display: block !important;
    padding: 4px 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #555 !important;
    border: none !important;
    width: 100% !important;
    transition: color 0.3s ease;
  }

  .section-header .main-mega .mega-menu-items li a:hover {
    color: #0d71b8 !important;
  }

  /* Dropdown trigger ok işareti */
  .section-header .dropdown-trigger {
    transition: transform 0.3s ease;
    transform-origin: center center;
    display: inline-block;
  }


  /* Mobil dil seçici özelleştirmesi */
  .section-header #languages .fa-globe,
  .section-header #languages .dropdown-trigger,
  .section-header #languages .nav-link {
    display: none !important;
  }

  .section-header #languages #languageForm {
    display: block;
    width: 100%;
  }

  .section-header #languages .dropdown-menu {
    display: flex !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
  }

  .section-header #languages .dropdown-menu a {
    display: block !important;
    padding: 8px 0 !important;
    background: transparent !important;
    border: none !important;
    width: 32% !important;
    border-radius: 0 !important;
    color: #333;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    width: 100% !important;
    text-align: left;
  }

  #languageForm li {
    display: none !important;
  }

  .section-header #languages .dropdown-menu a:hover {
    background: transparent !important;
    color: #0d71b8;
  }

  .section-header #languages .dropdown-menu a.dil {
    background: transparent !important;
    color: #0d71b8;
    font-weight: 600;
    width: 15% !important;
  }

  .section-header #languages {
    display: block !important;
    width: 100%;
    position: relative !important;
    z-index: 1 !important;
  }

  /* header2 içindeki duplicate #languages'ı gizle, sadece navbar içindeki kullanılsın */
  .section-header ul.header2 #languages {
    display: none !important;
  }

  .section-header .col-lg-2 {
    width: 40% !important;
  }

  .section-header .row:nth-child(1) {
    justify-content: space-between;
  }
}

#languageForm a {
  text-transform: uppercase !important;
}

#productListGrid .modern-product-img-wrapper img {
  max-height: 320px !important;
}

#navigation>ul>li a {
  font-size: clamp(12px, 0.9vw, 16px) !important;
}

/* %175 zoom ve küçük ekranlarda font-size'ı düşür */
@media (max-width: 1500px) {
  #navigation>ul>li a {
    font-size: clamp(11px, 0.87vw, 14px) !important;
  }
}

@media (max-width: 1200px) {
  #navigation>ul>li a {
    font-size: clamp(10px, 0.8vw, 13px) !important;
  }
}

@media (max-width: 768px) {
  #navigation>ul>li a {
    font-size: clamp(16px, 0.8vw, 13px) !important;
  }

  #product-list .swiper-scrollbar {
    display: none;
  }
}

#category-list .category-wrapper:hover {
  transition: all 0.3s ease;
  border: 1px solid #0d71b8 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Galeri Resimleri için Border ve Padding */
#gallery-detail-section-1 .gallerySwiper-1 .gallery-img img {
  padding: 10px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

#gallery-detail-section-1 .gallerySwiper-1 .gallery-img img:hover {
  border-color: #0d71b8;
  box-shadow: 0 4px 12px rgba(13, 113, 184, 0.15);
}

@media (min-width: 1023px) and (max-width: 1800px) {
  .productDetail .col-md-5 {
    width: 45% !important;
  }

  .productDetail .col-md-7 {
    width: 55% !important;
  }

  .section-header {
    position: fixed;
    top: 45px;
    left: 0;
    right: 60px;
    width: 100%;
  }

  .section-header #navigation {
    width: 105%;
  }

  /* Section header fixed olduğunda top header gizlendiği için üste yapış */
  .section-header.fixed {
    top: 0px !important;
  }
}