
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
}

header {
  background: linear-gradient(rgba(30, 30, 30, 0.2), rgba(30, 30, 30, 0.2)), url('header1.jpg') center center / 145% 600% no-repeat;
  color: white;
  padding: 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bolder;
}

.logo-container img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bolder;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ecb431;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: linear-gradient(rgba(30, 30, 30, 0.5), rgba(30, 30, 30, 0.5)), url('header1.jpg') 145% 600% no-repeat;
    width: 100%;
    text-align: center;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

/* Drawer */
.drawer {
  position: fixed;
  top: 80px;
  right: 0;
  height: calc(100% - 92px);
  background: linear-gradient(rgba(30, 30, 30, 0.5), rgba(30, 30, 30, 0.5)), url('drawer.jpg');
  width: 1%;
  transition: width 0.3s;
  z-index: 999;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.drawer.open {
  width: 25%;
}

.drawer-toggle {
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: black;
  padding: 5px 8px;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  color: white;
  font-size: 14px;
}

.drawer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 10px 10px 10px;
  gap: 20px;
}

.icon-group, .social-icons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  margin-left: 10px;
}

.icon-group a, .social-icons a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  cursor: pointer;
  transition: transform 0.3s;
  font-size: 20px;
  text-decoration: none;
  color: white;
  display: flex; 
  align-items: center; 
  gap: 8px;
  
}

.icon-group a:hover, .social-icons a:hover {
  transform: scale(1.1);
}

.icon-group svg, .social-icons svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@media (max-width: 768px) {
  .drawer.open {
    width: 60%;
  }
}

/* Search */
.search-bar {
  width: 100%;
  background-color: #f2f2f2;
  padding: 10px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-bar form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.search-bar input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 20px;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}

.search-bar button {
  padding: 10px;
  background-color: rgba(30, 30, 30, 0.2);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-bar button:hover {
  background-color: #d4a62b;
}

@media (max-width: 768px) {
  .search-bar form {
    flex-direction: row;
    padding: 0 15px;
  }

  .search-bar input[type="text"],
  .search-bar button {
    flex: unset;
  }

  .search-bar input[type="text"] {
    flex: 1;
  }

  .search-bar button {
    white-space: nowrap;
  }
}

#suggestions {
  list-style: none;
  padding: 0;
  margin: 5px auto 0 auto;
  max-width: 90%;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  position: relative;
}

#suggestions li {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  color: #333;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s;
}

#suggestions li:hover {
  background-color: #ecb431;
  color: white;
}

@media (max-width: 768px) {
  #suggestions li {
    font-size: 15px;
    padding: 10px;
  }
}


/* Slider */
.slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.4);
  padding: 30px;
  border-radius: 8px;
}

.slide-content h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.slider-button {
  padding: 10px 20px;
  background-color: #ecb431;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.slider-button:hover {
  background-color: #d49f2b;
}

/* Hakkımızda Bölümü */
.about-section {
  padding: 20px;
  background-color: #f7f7f7;
  text-align: center;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto 10px auto;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
.about-image {
  flex: 1 1 400px;
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
}
.about-text {
  flex: 1 1 200px;
  text-align: left;
}
.about-text h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}
.about-text p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}
.cta-button {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 10px;
  background-color: #ecb431;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.cta-button:hover {
  background-color: #d49f2b;
}
.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  flex: 1 1 250px;
  transition: transform 0.3s;
}
.card:hover {
  transform: scale(1.05);
}
.card h3 {
  color: #333;
  margin-bottom: 10px;
}
.card p {
  color: #555;
  font-size: 16px;
}

/* Hakkımızda alt kartlar (Misyon / Vizyon / Değerler) için gizleme ve açma animasyonu */
.about-cards {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.6s ease;
  opacity: 0;
}

.about-cards.show {
  max-height: 1000px; /* içerik yüksekliğine uygun bir değer */
  opacity: 1;
}

@media (max-width: 768px) {

.about-image {
    height: 250px; /* Mobil için yüksekliği koru */
    width: 100%;    /* Genişlik uyumlu olsun */
  .about-container {
    flex-direction: column;
  }

  .about-text {
    text-align: center;
  }

  .about-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
  }
}

  .about-container {
    flex-direction: column;
  }
  .about-text {
    text-align: center;
  }
}

/*Ürünler*/
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 0;
      background-color: #fff;
      color: #333;
    }
    .products-section {
      padding: 60px 20px;
      background-color: #fff;
      text-align: center;
    }
    .products-title {
      font-size: 32px;
      margin-bottom: 30px;
    }
    .product-categories {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-bottom: 30px;
    }
    .product-category {
      background-color: #ecb431;
      color: white;
      padding: 12px 20px;
      border-radius: 6px;
      cursor: pointer;
    }
    .product-group,
    .category-description {
      text-align: justify;
      display: none;
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .product-group.active,
    .category-description.active {
      display: flex;
      opacity: 1;
      transform: translateY(0);
      text-align: justify;
    }
    .product-group {
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }
    .product-item {
      background-color: #f5f5f5;
      width: 220px;
      padding: 15px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: bold;
      transition: transform 0.3s;
    }
    .product-item:hover {
      transform: translateY(-5px);
      background-color: #ecb431;
      color: white;
    }
    .category-description {
      max-width: 800px;
      margin: 20px auto;
      font-size: 16px;
      color: #444;
      text-align: left;
      line-height: 1.6;
      flex-direction: column;
    }
    .category-description p {
      text-indent: 1em;
    }
    .modal {
      display: none;
      position: fixed;
      z-index: 9999;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.6);
    }
    .modal-content {
      background-color: white;
      margin: 40px auto;
      max-width: 600px;
      max-height: 90vh;
      overflow-y: auto;
      padding: 20px;
      border-radius: 10px;
      position: relative;
    }
    .modal-gallery img {
      width: 100%;
      height: 360px;
      border-radius: 6px;
      object-fit: cover;
    }
    .gallery-controls {
      display: flex;
      justify-content: space-between;
      margin: 10px 0;
    }
    .gallery-controls button {
      padding: 5px 10px;
      background-color: #ecb431;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      color: white;
    }
    .modal-description {
      text-align: left;
      font-size: 16px;
      margin-top: 15px;
    }
    .modal-description p {
      text-indent: 1em;
      margin-bottom: 10px;
      text-align: justify;
    }
    .modal-actions {
      display: flex;
      justify-content: space-around;
      margin-top: 20px;
    }
    .modal-actions a {
      padding: 10px 15px;
      background-color: #ecb431;
      color: white;
      text-decoration: none;
      border-radius: 6px;
    }
    .close-button {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 24px;
      cursor: pointer;
    }
    @media (max-width: 768px) {
      .product-group {
        flex-direction: column;
        align-items: center;
      }
      .category-description {
        padding: 0 15px;
        font-size: 15px;
      }
      .modal-content {
        width: 90%;
      }
      .modal-actions {
        flex-direction: column;
        gap: 10px;
      }
    }
    /*iletişim*/
    .iletisim-section {
  background-color: #f4f4f4;
  padding: 60px 20px;
  text-align: center;
}

.iletisim-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #1e1e1e;
}

.iletisim-section p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.iletisim-form {
  max-width: 600px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iletisim-form input,
.iletisim-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
}

.iletisim-form button {
  background-color: #ecb431;
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.iletisim-form button:hover {
  background-color: #d4a326;
}

.iletisim-bilgileri p {
  font-size: 15px;
  margin: 5px 0;
}

.iletisim-bilgileri a {
  color: #333;
  text-decoration: none;
}

.iletisim-bilgileri a:hover {
  text-decoration: underline;
}

.sosyal-medya {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.sosyal-medya img {
  width: 32px;
  height: 32px;
}

.sosyal-medya img:hover {
  transform: scale(1.2);
}

.harita {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.harita iframe {
  width: 80%;
  max-width: 600px;
  height: 300px;
  border: 0;
}

.site-footer {
  background-color: #252525;
  color: #f4f4f4;
  padding: 20px 10px;
  font-size: 13px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.footer-column h3,
.footer-column h4 {
  color: #ecb431;
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-column p {
  margin: 0;
  line-height: 1.5;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column a {
  color: #f4f4f4;
  text-decoration: none;
}

.footer-column a:hover {
  color: #ecb431;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.footer-social img {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  font-size: 12px;
  color: #888;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "about legal"
      "menu social";
    gap: 0 70px;
  }
  .footer-column.about { grid-area: about; }
  .footer-column.legal { grid-area: legal; }
  .footer-column.menu  { grid-area: menu; }
  .footer-column.social { grid-area: social; }
}