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

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column; 
  justify-content: flex-start;
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #00b894, #0984e3);
  color: white;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid white;
  margin-bottom: 2rem;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  text-transform: lowercase;
  transition: opacity 0.3s;
}

header nav a:hover {
  opacity: 0.7;
}

.card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: white;
  padding: 0;
  margin: auto auto;  /* ← tam ortada, yukarıdan ve aşağıdan eşit */
  width: 90%;
  max-width: 1200px;
  height: auto;  /* Yüksekliği içeriğe göre ayarlansın */
  overflow: hidden;
  border-radius: 0px;
  margin-top: 40px;     /* bu değeri elle ayarlayacağız */
  margin-bottom: 0px;  /* bu da footer'a kadar olan boşlukla eşit olsun */
}

.text-content {
  flex: 1;
  z-index: 1;
  color: transparent;
  background: linear-gradient(135deg, #00b894, #0984e3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3rem;
}

.text-content h1 {
  font-size: 3rem;
  font-family: 'Canela Text', serif;
  font-weight: bold;
  margin-bottom: 1rem;
}

.text-content p {
  font-size: 1.25rem;
  font-family: 'Poppins', sans-serif;
}

.buttons {
  margin-top: 2rem;
}

.buttons a {
  text-decoration: none;
  color: #0984e3;
  border: 2px solid #0984e3;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  margin-right: 1rem;
  transition: 0.3s;
}

.buttons a:hover {
  background: #0984e3;
  color: white;
}

.photo {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

.photo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  margin: 0;
  padding: 0;
}

footer {
  margin-top: auto;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  color: white;
}

.social-icons a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00b894;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .photo {
    justify-content: center;
    align-items: flex-end;
    margin-top: 1rem;
  }

  .photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-bottom-right-radius: 32px;
  }
}