/* Menü yazı boyutu */
.navbar-nav .nav-link {
  font-size: 1.18rem;
  font-weight: 500;
}
body {
  font-family: "Segoe UI", "Roboto", Arial, sans-serif;
  background: #f8f9fa;
}
.navbar-brand {
  font-weight: bold;
  letter-spacing: 1px;
}
.navbar-brand img {
  height: 72px;
  width: auto;
}
.navbar {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}


/* Compact mobile navbar — ekle (style.css en sona) */
@media (max-width: 768px) {
  /* navbar yüksekliğini küçült (üst/alt padding) */
  .navbar {
    padding: 0.28rem 0.5rem;
  }

  /* container içinde ekstra yan boşluk azalt */
  .navbar .container-fluid {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  /* inline margin-left/margin-right olan brand'ı override et */
  .navbar .navbar-brand {
    margin-left: 12px !important;
    margin-right: 0.5rem !important;
  }

  /* logo küçült (maksimum etki için !important) */
  .navbar .navbar-brand img {
    height: 48px !important;
    width: auto;
  }

  /* hamburger (toggler) daha sıkı */
  .navbar-toggler {
    padding: 0.22rem 0.35rem;
  }

  /* açık menüdeki linklerin dikey boşluğunu azalt (yazı boyutu değişmiyor) */
  .navbar-collapse .nav-link {
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
  }

  /* dil seçici daha kompakt */
  .custom-lang .selected {
    padding: .2rem .45rem;
    min-height: 34px;
  }
}

/* Çok küçük ekran için ekstra küçültme */
@media (max-width: 576px) {
  .navbar { padding: 0.2rem 0.4rem; }
  .navbar .navbar-brand img { height: 40px !important; }
  .navbar-toggler { transform: scale(0.96); }
  .custom-lang .selected { min-height: 30px; font-size: 0.95rem; }
}



main {
  min-height: 60vh;
}
.card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
}
#language-select {
  min-width: 120px;
}

/* Ürün grubu kartları için arka plan ve hover efekti */

.product-group-card {
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  border: none;
  width: 100%;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}
.product-group-card:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}
.product-group-card .product-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.product-group-card .card-body {
  background: #fff !important;
  color: #222;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  min-height: 40px;
  text-align: center;
  padding: 10px 0 6px 0;
}
.product-group-card .card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
}
/* Carousel slider görsel ve caption stilleri */
carousel-item .carousel-item img {
  object-fit: cover;
  height: 550px;
}
.carousel-caption {
  bottom: 30px;
}

/* Avantajlar ve referanslar bölümü */
.list-unstyled li i {
  font-size: 1.2rem;
  margin-right: 6px;
}
.card p {
  font-size: 1rem;
}
.rounded-circle {
  object-fit: cover;
}
/* 5'li ürün grubu grid için */
.custom-col-5 {
  flex: 0 0 20%;
  max-width: 20%;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .custom-col-5 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
@media (max-width: 768px) {
  .custom-col-5 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 576px) {
  .custom-col-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* footer */

:root {
  --footer-bg: #1a202c;
  --accent: #ff6f61;
  --light: #f7fafc;
  --muted: #a0aec0;
}

/* Footer genel */
.site-footer {
  background: var(--footer-bg);
  color: var(--light);
  font-family: "Segoe UI", sans-serif;
  position: relative;
  margin-top: 80px;
}

/* Dalgalı ayırıcı */
.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* İçerik blokları */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Her bölüm */
.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  position: relative;
}
.footer-section h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-brand img {
  width: 160px;
  margin-bottom: 16px;
}
.footer-brand p {
  color: var(--muted);
  line-height: 1.5;
}

/* Linkler */

.site-footer .footer-links ul {
  padding-left: 0 !important;
  margin: 0 !important;
}

.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--accent);
}

/* İletişim ve sosyal */
.footer-contact p {
  margin-bottom: 8px;
  color: var(--muted);
}
.social-icons {
  margin-top: 12px;
}
.social-icons a {
  display: inline-block;
  margin-right: 12px;
  color: var(--light);
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s;
}
.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Alt telif */
.footer-bottom {
  text-align: center;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.875rem;
  color: var(--muted);
}

.dropdown-menu .dropdown-item {
  font-size: 0.9rem;
  padding: 8px 16px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}

.fi {
  width: 20px;
  height: 15px;
  display: inline-block;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    padding: 40px 20px;
    gap: 30px;
  }
}
