@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;    
    background-color: #fff;
}

.site-header .navbar {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
a:link {
    text-decoration: none;
}

/* Üst Bilgi (Sub Header) Stili */
.sub-header {
  background-color: #fff;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.sub-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sub-header .info li {
  color: #7a7a7a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-header .info li i {
  color: #f2216d;
  font-size: 18px;
}

.sub-header .social-links li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: #cdcdcd;
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.3s;
}

.sub-header .social-links li a:hover {
  background-color: #f2216d;
}

/* Ana Header ve Navbar */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.4s ease-in-out;
}

.site-header.header-hidden {
    transform: translateY(-100%);
}


.logo {
    width: 260px;
    height: auto;
    object-fit: contain;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    padding: 10px 16px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #f2216d;
}

/* Teklif Al Butonu Tasarımı */
.navbar-nav .btn-teklif {
    background-color: #1e1e1e;
    color: #fff !important;
    border-radius: 25px;
    padding: 8px 20px !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
}

.navbar-nav .btn-teklif i {
    background-color: #f2216d;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    font-size: 14px;
}

.navbar-nav .btn-teklif:hover {
    background-color: #f2216d;
}

/* Hamburger Buton */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 6px;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Mobil Uyumluluk */
@media (max-width: 991px) {
  .sub-header {
    display: none !important;
  }

  .navbar-collapse {
      background: #f9f9f9;
      padding: 0 20px;
      /* Altta 8px boşluk bırakılarak slider ile kutu ayrıldı ve gölge netleştirildi */
      margin: 0 0 8px 0; 
      
      border-top: none;
      border-radius: 0 0 16px 16px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); 
      
      display: block !important;
      opacity: 0;
      visibility: hidden;
      max-height: 0;
      overflow: hidden;
      transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .navbar-collapse.show {
      opacity: 1;
      visibility: visible;
      max-height: 450px;
      padding: 8px 20px 14px 20px; 
  }

  .navbar-nav {
      width: 100%;
  }

  .navbar-nav .nav-item {
      width: 100%;
      text-align: center;
  }

  .navbar-nav .nav-link {
      font-size: 16px;
      color: #000 !important;
      padding: 14px 10px;
      text-align: center;
      width: 100%;
      display: block;
  }

  /* Yazıların altındaki çizgiler */
  .navbar-nav .nav-item:not(:last-child) .nav-link {
      border-bottom: 1px solid #dcdcdc; 
  }

  .navbar-nav .nav-item:not(:last-child) .nav-link:hover,
  .navbar-nav .nav-item:not(:last-child) .nav-link.active {
      color: #f2216d !important;
  }

  /* Teklif Al Butonu Mobil Düzeni */
  .navbar-nav .nav-item:last-child .nav-link {
      border-bottom: none;
      background-color: #1e1e1e !important;
      color: #fff !important;
      justify-content: center;
      margin-top: 10px;
      margin-bottom: 2px;
      border-radius: 25px;
      padding: 10px 20px !important;
      display: inline-flex;
      width: auto;
      margin-left: auto;
      margin-right: auto;
  }

  .navbar-nav .nav-item:last-child {
      text-align: center;
  }

  .navbar-nav .nav-item:last-child .nav-link:hover {
      background-color: #f2216d !important;
  }

  .navbar-nav .btn-teklif {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
  }
}

/* Menü Butonu Genel Yapısı */
.navbar-toggler.custom-toggler {
    border: none;
    background: transparent;
    padding: 0;
    outline: none;
    box-shadow: none;
}

.navbar-toggler.custom-toggler:focus {
    box-shadow: none;
}
/* Dropdown menünün konumu ve görünümü */
.navbar .dropdown-menu {
  top: 100%;
  left: 0;
  margin-top: 0;
  padding: 10px 0;
  z-index: 1000;
  font-size: 17px;

  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dropdown menü açıkken (Bootstrap JS ekler) */
.navbar .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  display: block !important;
}

/* Dropdown item hover efekti */
.navbar .dropdown-item:hover {
  background-color: #f2216d;
  color: #fff;
}

/* Kategoriler linkine odaklandığında metnin rengi */
.navbar .nav-item.dropdown:focus-within .nav-link {
  color: #000 !important;
}

/* Dropdown animasyonları */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Çizgileri Tutan Alan */
.menu-icon-burger {
    width: 30px;
    height: 22px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

/* Çizgi Ortak Stilleri */
.menu-icon-burger span {
    display: block;
    height: 2.5px;
    background-color: #000;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
    position: absolute;
    left: 0;
px;
}

/* 1. Üst Çizgi (Kısa) */
.menu-icon-burger span:nth-child(1) {
    width: 20px;
    top: 0;
}

/* 2. Orta Çizgi (Uzun) */
.menu-icon-burger span:nth-child(2) {
    width: 30px;
    top: 9.5px;
}

/* 3. Alt Çizgi (Kısa) */
.menu-icon-burger span:nth-child(3) {
    width: 24px;
    bottom: 0;
}

/* --- TIKLANDIĞINDA (.is-active Sınıfı ile X DÖNÜŞÜMÜ) --- */
.navbar-toggler.custom-toggler.is-active .menu-icon-burger span:nth-child(1) {
    width: 30px;
    top: 9.5px;
    transform: rotate(45deg);
}

.navbar-toggler.custom-toggler.is-active .menu-icon-burger span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.navbar-toggler.custom-toggler.is-active .menu-icon-burger span:nth-child(3) {
    width: 30px;
    bottom: 9.5px;
    transform: rotate(-45deg);
}