:root {
    --primary: #3c3c3c;
    --secondary:rgb(74, 74, 74);
    --accent:rgb(43, 190, 220);
    --light: #edeef2;
    --text: #ffffff;
  }
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light);
  }
  .navbar-custom .nav-link, .navbar-custom .dropdown-toggle {
    color: white;
    font-weight: 500;
    position: relative;
  }

  .top-bar {
    background-color: var(--primary);
    color: var(--text);
    padding: 10px 20px;
  }

  .top-bar .logo {
    font-size: 20px;
    font-weight: bold;
    color: #FFD63A;
  }

  .search-input {
    max-width: 400px;
    width: 100%;
    border-radius: 20px;
    padding: 6px 12px;
    border: none;
    background: #dedede;
  }

  .contact-info {
    font-size: 14px;
    text-align: left;
  }

  nav {
    background-color: var(--secondary);
    transition: all 0.3s ease;
    z-index: 999;
    position: sticky;
  }

  .nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-links a, .dropdown-toggle {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    cursor: pointer;
  }

  .nav-links a:hover {
   color: #FFD63A;
  }

  .dropdown {
    position: relative;
  }
  .dropdown-menu {
    background-color: var(--primary);
    border: none;
    animation: fadeIn 0.4s ease forwards;
    transform-origin: top;
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    z-index: 999;
    margin-top: 0.5rem;
  }

  .dropdown:hover .dropdown-menu {
    max-height: 500px;
    opacity: 1;
  }

  .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary);
    max-width: 320px;
    min-width: 120px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .dropdown-content a {
    padding: 8px 12px;
    color: white;
    text-decoration: none;
  }

  .dropdown-content a:hover {
    background-color: #27548A;
  }

.slider-wrapper {
  background-color: #f8f9fa;
  border-radius: 12px; 
  height: 375px;
}

  /* Reklam alanı */
  .ad-area {
    margin-top: -25px;
    height: 375px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Taşmaları engeller */
  }
  
  /* Reklam resmi */
  .ad-img {
    max-height: 375px;
    max-width: 100%;
    object-fit: cover; /* or 'cover' depending on desired style */
    border-radius: 10px;
  }

  
/* Slider görseli */
.slider-img img {
  height: 375px;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-indicators {
  justify-content: center;
  bottom: 15px;
}

  .header-logo {
    width: 35px;
    border-radius: 100%;
    vertical-align: middle;
  }

  /* Credit Banner */
  #credit-banner {
    width: 100%; 
    margin: auto;
    max-width: 500px;
    text-align: center; 
    margin: auto;
    padding: 12px;
    box-shadow: 0 4px 12px rgb(255, 211, 211);
    font-size: 18px;
    background: rgb(255, 230, 230);
    color: #4259dd;
  }

  #credit-banner a {
    text-decoration: none;
    color: rgb(248, 65, 65);
  }

  /* Kartların genişliğini ayarla */
  .product-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }

/* Hover efekti */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Kartların altındaki boşluğu kaldır */
.card-body {
  padding-bottom: 0 !important;  /* Alt boşluğu kaldır */
}

.mini-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 50px;
  height: 50px;
  z-index: 10;
  border-radius: 50%;
  background-color: white;
  padding: 2px;
  box-shadow: 0 0 5px rgba(73, 73, 73, 0.778);
}

/* Daha geniş kartlar */
@media (min-width: 992px) {
  .col-lg-3 {
    width: 23% !important;  /* Kartları biraz daha geniş yap */
  }
}

  @media (max-width: 768px) {
    .top-bar-desktop {
      display: none;
    }

    .top-bar-mobile {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .search-input {
      width: 50%;
    }

    .top-bar-mobile .logo-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .bottom-mobile-row {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 10px;
    }

    nav {
      display: none;
    }

    nav.active {
      display: block;
    }

    .hamburger {
      cursor: pointer;
    }

    .hamburger div {
      width: 25px;
      height: 3px;
      background-color: white;
      margin: 4px 0;
    }

    .ad-area {
      display: none;
    }
  }

  @media (min-width: 769px) {
    .top-bar-mobile {
      display: none;
    }

    .top-bar-desktop {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .search-wrapper {
      flex: 1;
      display: flex;
      justify-content: center;
    }
  }



  @media (min-width: 991px) {

  .col-lg-8 {
 width: 65%; 
 height: 375px;
  }
}


  .ellipsis-2-lines {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
height: 2.7em; /* Yaklaşık 2 satıra denk gelir */
}


/* URUN DETAY  SAYFASI  */
.slider-img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  color: rgb(255, 199, 199);
}
.thumbnail-img {
  height: 80px;
  width: auto;
  object-fit: contain;
  margin: 5px;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumbnail-img:hover {
  border-color: #0d6efd;
}
.details-box {
  max-height: 400px;
  overflow-y: auto;
  border: none;
  box-shadow: 0 0 12px rgb(180, 180, 180);
  border-radius: 18px;
}
.modal-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
}



#search-results, #search-results-pc {
  position: absolute;
  top: 15%; /* input'un altına yerleştir */
  left: 0;
  margin: auto;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 6px 86px;
}


.search-result-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 10px;
}

.back {
  padding: 6px 12px;
  color: #0d6efd;
  letter-spacing: 0.5px;
  font-weight: bold;
}

/***************************
*****  A  B  O  U  T   *****
***************************/ 

.about-section {
  padding: 60px 20px;
  background: #f4f6f9;
  font-family: 'Segoe UI', sans-serif;
}
.section-title {
  text-align: center;
  font-size: 36px;
  color: #222;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}
.section-title::after {
  content: '';
  width: 220px;
  height: 3px;
  background: #ffcc00;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
}
.about-block {
  max-width: 900px;
  margin: 0 auto 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 25px;
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  transition: all 0.3s ease;
}
.about-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
 /******** M A P ********/
.map-container iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

.contact-info h4 {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-info p {
  margin: 0;
  font-size: 1.1rem;
}

.visit-us-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: #ff4757;
  color: white;
  padding: 10px 15px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  z-index: 10;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}

.icon-hover {
  transition: transform 0.3s ease, color 0.3s ease;
}

.icon-hover:hover {
  transform: scale(1.2);
  color: #007bff !important;
}

.description {
  width: 100%;
  margin: auto;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 12px rgb(201, 201, 201);
  padding: 12px;
  color: gray;
}

div.description h5 {
  color: rgb(102, 102, 102);
  text-align: center;
  border-bottom: 2px solid rgb(225, 225, 225);
  padding: 6px;
}