:root {
  --primary-color: #ffffff;
  --text-color: #000000;
  --bg-color: #ff9d00;
}

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

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background: var(--bg-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow-x: hidden; /* Sadece yatay scroll'u engelle */
}

main {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.left-side {
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.right-side {
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.main-header {
  font-family: 'EB Garamond', serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: 1.1;
  color: var(--primary-color);
  font-weight: 400;
  text-align: right;
  word-wrap: break-word;
  hyphens: auto;
}

.main-header em {
  font-style: italic;
  display: block;
}

.main-text {
  font-family: sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--text-color);
}

.company-name {
  font-weight: 700;
}

.mailto-btn {
  display: inline-block;
  background: transparent;
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--text-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mailto-btn:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

/* Tablet için medya sorgusu */
@media (max-width: 1024px) {
  main {
    grid-template-columns: 45% 55%;
  }
}

/* Mobil için medya sorgusu */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
  }

  main {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 0;
  }

  .left-side, .right-side {
    padding: 1.5rem;
  }

  .left-side {
    justify-content: flex-start;
  }

  .main-header {
    text-align: left;
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .right-side {
    gap: 2rem;
  }
}

/* Çok küçük ekranlar için ek düzenleme */
@media (max-width: 360px) {
  .left-side, .right-side {
    padding: 1rem;
  }

  .main-header {
    font-size: clamp(2rem, 7vw, 2.5rem);
  }
}