/* Genel reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: row;
}

/* Sol taraf - Swiper */
.slider {
  flex: 0 0 80%;
  height: 100vh;
  overflow: hidden; /* Swiper taşmaları engeller */
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sağ taraf - Form */
.form-container {
  flex: 0 0 20%;
  background: #452D2F;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.form-container img.logo {
  width: 160px;
  margin: 20px auto;
  display: block;
}

.form-container h2 {
  font-size: 18px;
  margin-bottom: 15px;
  align-self: flex-start;
  color: #fff;
}

.form-container form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-container input,
.form-container textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box; /* inputlar taşmasın */
}

.form-container button {
  padding: 12px;
  background: #D4AF37;  /* Altın sarısı CTA */
  color: #452D2F;       /* Kontrast için koyu kahverengi yazı */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.form-container button:hover {
  background: #b9972f;  /* Hover için biraz daha koyu altın */
  transform: scale(1.03);
}

/* Checkbox düzeni */
.form-container label {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  color: #fff;
}

.form-container input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #003399; /* modern tarayıcılar için renk */
}

/* Swiper okları */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.7);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Pagination bullet'ları */
.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 10px;
  height: 10px;
  margin: 0 4px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: rgba(255,255,255,0.6);
  opacity: 1;
  width: 14px;
  height: 14px;
}

.form-container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  appearance: none; /* varsayılan oku gizler */
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
}

.form-container select:focus {
  border-color: #003399;
  outline: none;
}


/* Mobil görünüm */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  .slider {
    flex: 0 0 auto;
    width: 100%;
    height: 50vh;
  }
  .form-container {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }
  .form-container img.logo {
    align-self: center;
  }
}
