body {
  font-family: 'Open Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

.navbar {
  background-color: #f8f8f8;
  padding: 15px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-text a {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #333;
}

.brand-text a:hover {
  color: #c0392b;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px;
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.slider {
  margin-top: -10px;
  margin-bottom: 20px;
}

.slider-img {
  width: 100%;
  max-height: 50px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Kategoriler */
.categories {
  padding: 40px 0;
  text-align: center;
  background: #fff;
}

.categories .container {
  max-width: 100%;
  padding: 0 15px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px; /* Eskiden 30px'ti */
  max-width: 1280px; /* Daha geniş görünüm için */
  margin: 0 auto;
  padding: 0 10px;
}


.category {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 10px;
   height: auto;
  overflow: hidden;
   position: relative;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-5px);
}

.category-large {
  grid-column: span 6;
}

.category-small {
  grid-column: span 3;
}

.category img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.618 / 1; /* altın oran */
  object-fit: cover;
  object-position: center;
  display: block;
}


.category h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 10px 0;
  background-color: #f8f8f8;
  margin: 0;
}

.category-img-box {
  width: 100%;
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
}

.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Ürünler */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 15px 40px; /* Alta boşluk ekledik */
}

.popup-content-img {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background-color: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  z-index: 10000;
}



.product-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: left;
  min-height: 420px; /* Sabit yükseklik ekledik */
}

.product-card p {
  max-height: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
}


.product-card:hover {
  transform: translateY(-5px);
}

.product-img-box {
  width: 100%;
  height: 160px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.product-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-card img {
  border-radius: 8px;
}

.product-card h3 {
  font-size: 18px;
  font-weight: bold;
}

.product-card strong {
  color: #c0392b;
  font-size: 16px;
}

/* CTA ve Footer */
.contact-cta {
  background-color: #ffd700;
  color: #000;
  padding: 40px 15px;
  text-align: center;
}

.button {
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #333;
}

.footer {
  background: #f8f8f8;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #777;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  user-select: none;
}

/* Mobil Uyum */
@media (max-width: 992px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .category-large {
    grid-column: span 6;
  }

  .category-small {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
    transition: max-height 0.3s ease;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-menu {
  background: #fff;
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-item {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8f8f8;
  color: #c0392b;
  padding-left: 20px;
}


  .slider-img {
    max-height: 50px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-large,
  .category-small {
    grid-column: span 1;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.about-us {
  padding: 40px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.about-us .container {
  max-width: 800px;
  margin: auto;
}

.about-us h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-us p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer {
  background-color: #2c2c2c;
  color: #fff;
  padding: 40px 0 20px;
  font-size: 14px;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-col {
  flex: 1 1 250px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffd700;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer .social-icons a {
  color: #fff;
  font-size: 18px;
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer .social-icons a:hover {
  transform: scale(1.2);
  color: #ffd700;
}

.footer-bottom {
  text-align: center;
  color: #aaa;
  margin-top: 20px;
  font-size: 13px;
}

.footer-bottom .bd-logo {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 10px;
  object-fit: cover;
  opacity: 1;
}


.footer hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
  }
}

.contact-info, .contact-form {
  padding: 40px 15px;
  background: #fff;
  text-align: center;
}

.contact-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}

.contact-item {
  flex: 1 1 250px;
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.contact-form form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input, .contact-form textarea {
  padding: 12px

/* WhatsApp Popup */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}


.popup-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.close-popup {
  float: right;
  font-size: 24px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
}

.popup-whatsapp-button {
  display: inline-block;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 20px;
  font-size: 16px;
}

.popup-whatsapp-button:hover {
  background-color: #1ebe5d;
}

.whatsapp-order {
  display: inline-block;
  margin-top: 10px;
  background-color: #25d366;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.whatsapp-order:hover {
  background-color: #1ebe5d;
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
