/* Reset ve temel sayfa stilleri */
* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive images and media */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Better text rendering on mobile */
@media (max-width: 768px) {
  body {
    font-size: 16px; /* Prevent iOS zoom on input focus */
  }
  input,
  textarea,
  select {
    font-size: 16px; /* Prevent iOS zoom */
  }
}

/* Public sayfalar: tek ekran, scroll yok (mobilde scroll açık) */
body.tek-ekran {
  height: 100vh;
  overflow: hidden;
}

@media (max-width: 768px) {
  body.tek-ekran {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  body.tek-ekran .main-wrap {
    overflow: visible;
  }
  body.tek-ekran .main {
    overflow: visible;
    min-height: auto;
  }
}
