body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
  max-width: 1280px;
  margin: auto;
}

a { text-decoration: none; color: #333; } 


header {
  background: #709be0;
  color: white;
  padding: 20px;
  text-align: center;
}

header img { max-width: 100%;}

#logo {
  max-width: 90%;
  max-height: 100px;
}

nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

nav a {
  color: rgb(0, 0, 0);
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
}


.hero {
  background: #e3f2fd;
  padding: 40px;
  text-align: center;
  width: 50%;
  display:table-row;
}

.katalog {
  background: #e3f2fd;
  padding: 40px;
  text-align: center;
  width: 50%;
  display: table-row;
}


footer {
  background: #709be0;
  color: white;
  text-align: center;
  padding: 10px;
}
.products {
  padding: 20px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.product-card {
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  width: 225px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.05);
}

.product-card img {
  width: 200px;
  height: auto;
  border-radius: 5px;
}
.content {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #1a237e;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.contact-form button:hover {
  background: #3949ab;
}

.contact-info {
  background: #e3f2fd;
  padding: 20px;
  border-radius: 10px;
}

.slider {
  position: relative;
  width: 100%;
  /*aspect-ratio: 16 / 9; /* Otomatik yükseklik ayarı (responsive) */
  height: 400px;
  overflow: hidden;
  margin-bottom: 30px;
  background: #000;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Görseli kırpmadan alanı doldurur */
  flex-shrink: 0; /* Kayma sırasında daralmaz */
}

.prev { left: 10px; }
.next { right: 10px; }

#backToTopBtn {
  display: none; /* Başta gizli */
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  background-color: #333;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: opacity 0.3s;
}
#backToTopBtn:hover {
  background-color: #555;
}
