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

@keyframes waveMotion {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.welcome-text {
  font-size: 1.8rem;
  color: #333;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;

  animation: waveMotion 2s infinite ease-in-out;
}


.header {
  display: flex;
  flex-wrap: wrap;  /* Küçük ekranda elemanları aşağı kaydır */
  align-items: center;
  justify-content: space-between;  /* Elemanları düzgün hizala */
  background-color: #FFD700;
  padding: 10px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;  /* Sayfanın tamamını kaplasın */
  box-sizing: border-box;  /* Padding genişliği etkilemesin */
}


.header img {
  height: 50px;
  width: 50px;            /* Kare oranı için */
  border-radius: 50%;     /* Yuvarlak yapmak için */
  object-fit: cover;      /* Görselin taşmasını engeller */
}


.header h1 {
  margin: 0 20px;
  font-size: 1.5rem;
  color: #333;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.nav a:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
}

.slider-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
  touch-action: pan-y pinch-zoom;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none; /* Mobilde sürükleme sorununu önler */
}

.slides img.active {
  opacity: 1;
  z-index: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  z-index: 2;
  font-size: 20px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent; /* Mobilde dokunma efektini kaldırır */
}

.arrow.left {
  left: 10px;
}

.arrow.right {
  right: 10px;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.contact-info {
  margin-top: 20px;
  text-align: center;
  font-size: 1rem;
  color: #333;
}

.form-container {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
}

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container label {
  font-size: 1rem;
  color: #333;
}

.form-container input, .form-container select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.form-container button {
  padding: 10px;
  font-size: 1rem;
  background-color: #FFD700;
  color: #333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.form-container button:hover {
  background-color: #e6c200;
}

.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
  font-size: 0.9rem;
}

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

.footer a:hover {
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
  margin-top: 0;
}

.close {
  color: #aaa;
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.about-content img {
  width: 80%;
  max-width: 400px;
  border-radius: 10px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 768px) {
  .header {
    flex-direction: column; /* Mobilde dikey hizala */
    text-align: center;
    padding: 15px;
  }
  .header img {
    height: 50px;
    width: 50px;            /* Kare oranı için */
    border-radius: 50%;     /* Yuvarlak yapmak için */
    object-fit: cover;      /* Görselin taşmasını engeller */
  }
  
  
  .nav {
    flex-direction: row; /* YAN YANA göster */
    flex-wrap: wrap; /* Gerekirse alt satıra geç */
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
  }
  

@media screen and (max-width: 768px) {
  .main-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  .slider-container, .form-container {
    width: 100%; /* Tam genişlik kaplasın */
  }
}
@media screen and (max-width: 768px) {
  .slider {
    height: 300px;
    touch-action: pan-y pinch-zoom;
  }
  .arrow {
    width: 35px;
    height: 35px;
    font-size: 16px;
    padding: 8px;
  }
}
@media screen and (max-width: 480px) {
  .slider {
    height: 250px;
  }
  .arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .slider-container {
    padding: 0 10px;
  }
}
@media screen and (max-width: 768px) {
  .contact-info {
    padding: 15px;
    font-size: 14px;
  }
  .contact-info p {
    margin: 8px 0;
  }
}
@media screen and (max-width: 768px) {
  .form-container {
    padding: 15px;
  }
  .form-container input,
  .form-container select {
    font-size: 16px; /* Mobilde input yazı boyutu */
    padding: 8px;
    margin-bottom: 12px;
  }
  .form-container button {
    padding: 10px;
    font-size: 16px;
  }
}






