/* Genel Stil */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

/* Sekmeler */
.tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.tab {
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #ddd;
}

.tab.active {
  background-color: #444;
  color: #fff;
}

.tab-content1 {
  display: none;
  margin: 2rem auto;
  max-width: 1000px;
}

.tab-content1.active {
  display: block;
}

/* Galeri */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  padding: 2rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.modal-content .close-btn {
  position: absolute;
  top: -40px;
  right: 0;
  background: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

/* Swiper */
.swiper {
  width: 100%;
  height: 500px;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}



.tabs-container {
  width: 90%;
  margin: 0 auto;
  padding-top: 50px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

  border-radius: 5px 5px 0 0;
}

.tab-button {
  background-color: #333;
  color: white;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px 5px 0 0;
  transition: background-color 0.3s ease;
  flex: 1;
  text-align: center;
}

.tab-button.active {
  background-color: #f4a261;
}

.tab-button:hover {
  background-color: #e76f51;
}

.tabs-content {
  background-color: white;
  padding: 20px;
  border-radius: 0 0 5px 5px;
  margin-top: -1px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .tab-button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .tab-button {
    padding: 10px 15px;
    font-size: 12px;
  }

  .tabs {
    flex-direction: column;
  }

  .tabs-container {
    padding-top: 30px;
  }
}
