:root {
  --clr-primary: #ff0000;
  --clr-light: #f9f9f9;
  --clr-dark: #222;
  --ff-sans: 'Poppins', sans-serif;
  --ff-serif: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-sans);
  background-color: #1a1a1a;
  color: #eee;
}

main {
  padding-top: 70px; /* navbar yüksekliğine göre ayarla (seninki yaklaşık 60–70px) */
}

/* Navbar */
#mainNav {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.6);
  transition: background 0.3s;
}
#mainNav.scrolled {
  background: rgba(0, 0, 0, 0.9);
}
.navbar-brand {
  font-family: var(--ff-serif);
  color: #fff;
  font-size: 1.5rem;
  padding-right: 2rem;
}
.navbar-nav {
  gap: 1.5rem;
}

/* Menü linkleri */
.nav-link {
  position: relative;
  color: #fff !important;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s;
}
body {
  overflow-x: hidden;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--clr-primary);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item.dropdown:hover > .nav-link::after {
  width: 100%;
}

.dropdown-toggle::after {
  display: none;
}
.dropdown:hover > .dropdown-menu {
  display: block;
}
.dropdown-menu {
  background: rgba(0, 0, 0, 0.8);
  border: none;
  margin-top: 0.5rem;
}
.dropdown-item {
  color: #fff;
  transition: background 0.2s;
}
.dropdown-item:hover {
  background: var(--clr-primary);
}

/* Logo */
.logo-img {
  height: 50px;
  width: auto;
}

/* HERO SLIDER */
.carousel-item {
  height: 80vh;
  min-height: 400px;
}
.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.carousel-caption {
  bottom: 30%;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
}
.carousel-caption h1 {
  font-family: var(--ff-serif);
  font-size: 3rem;
  color: #fff;
}
.carousel-caption p {
  font-size: 1.2rem;
  color: #eee;
}
.carousel-caption .btn-primary {
  background: var(--clr-primary);
  border: none;
}

/* SECTIONS */
.section {
  padding: 5rem 0;
  background-color: #1c1c1c;
  color: #eee;
}
.section-light {
  background-color: #2a2a2a;
  color: #eee;
}

.section h2 {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Kartlar */
.card {
  border: none;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card {
  background-color: #2a2a2a;
  color: #eee;
}
.card:hover {
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* İletişim */
.form-control,
.btn {
  border-radius: 0.25rem;
}
.btn-primary {
  background: var(--clr-primary);
  border: none;
}
.contact-info {
  background-color: #2a2a2a;
  color: #eee;
}

  padding: 1.5rem;
  border-radius: 0.5rem;
}



/* Responsive */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
  }
}
.dropdown-menu {
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}
.dropdown-menu {
  margin-top: 0.1rem; /* Daha da yakınlaştır */
  transition: all 0.2s ease;
}
.nav-item.dropdown > .nav-link {
  padding-bottom: 0.2rem; /* Alt çizgiye çok yaklaşmasın */
}
     {
      background: #fff;
      color: #000;
    }

    .urunler-wrapper {
      column-count: 3;
      column-gap: 1.5rem;
      padding: 2rem;
    }

    .urun-kutu {
      break-inside: avoid;
      margin-bottom: 1.5rem;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .urun-kutu:hover {
      transform: translateY(-5px);
    }

    .urun-kutu img {
      width: 100%;
      height: auto;
      display: block;
    }

    .urun-kutu h5 {
      position: absolute;
      top: 1rem;
      left: 1rem;
      margin: 0;
      padding: 0.3rem 0.8rem;
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      font-size: 0.9rem;
      letter-spacing: 1px;
      border-radius: 4px;
    }

    @media (max-width: 992px) {
      .urunler-wrapper {
        column-count: 2;
      }
    }

    @media (max-width: 576px) {
      .urunler-wrapper {
        column-count: 1;
      }
    }
a.urun-kutu {
  display: block;
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}
a.urun-kutu:hover {
  transform: translateY(-5px);
}
footer {
  background-color: #111;
  color: #ccc;
}
.form-control {
  background-color: #2d2d2d;
  color: #fff;
  border: 1px solid #444;
}
.form-control::placeholder {
  color: #bbb;
}
main {
  background-color: #1a1a1a;
  color: #eee;
}
a, a:link, a:visited {
  color: #eee !important;
  text-decoration: none;
}
body {
  overflow-x: hidden;
}

.navbar-collapse {
  max-width: 100%;
  overflow-x: hidden;
}

