/* Genel Sayfa Ayarları */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #eef6f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.game-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

/* Sol Bölge: Kaplumbağa ve Konuşma Balonu */
.left-area {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Dikey ortalama */
  align-items: center;
  gap: 10px;
  height: 500px; /* Oyun alanı yüksekliği */
  width: 120px; /* Sabit genişlik */
}

.turtle img {
  width: 80px; /* Kaplumbağa boyutu */
  height: 80px;
}

.speech-bubble {
  background: #fff;
  border: 2px solid #4CAF50;
  border-radius: 15px; /* Yuvarlak köşeler */
  padding: 10px;
  font-size: 14px;
  text-align: center;
  max-width: 150px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: #333;
  font-weight: bold;
}

/* Üst Satır: Oyuncak Kutusu ve Çöp Kutusu */
.top-area {
  display: flex;
  justify-content: space-between; /* Kutuları iki yana yerleştir */
  width: 500px; /* Çim alanı genişliği */
  margin-bottom: 10px; /* Çim alanından ayrım */
}

.toy-box img, 
.trash-bin img {
  width: 70px; /* Sabit kutu boyutu */
  height: 70px;
  cursor: pointer;
}

/* Oyun Alanı */
.game-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Bahçe Alanı: Çimler */
.garden {
  display: grid;
  grid-template-columns: repeat(10, 50px); /* 10 sütun */
  grid-template-rows: repeat(10, 50px); /* 10 satır */
  width: 500px; /* Alan genişliği */
  height: 500px; /* Alan yüksekliği */
  background: url('img/grass.png') repeat; /* Tek tip çim arkaplanı */
  background-size: 50px 50px; /* Her hücreye tam sığacak */
}

.garden div {
  position: relative;
  width: 50px;
  height: 50px;
}

/* Oyuncak ve Çöp Görselleri */
.garden img {
  position: absolute;
  width: 50px; /* Sabit boyut */
  height: 50px;
  top: 0;
  left: 0;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Hafif animasyon */
}

.garden img.dragged {
  opacity: 0.5; /* Sürüklenirken şeffaflık */
  transform: scale(1.1); /* Hafif büyütme */
}

/* Oyuncak Kutusu ve Çöp Kutusu - Açık Durum */
.toy-box img.open,
.trash-bin img.open {
  filter: brightness(1.2); /* Görseli hafif parlat */
  transform: scale(1.05); /* Hafif büyütme efekti */
}

/* Mesaj Tamamlanınca */
.speech-bubble.complete {
  background: #4CAF50; /* Yeşil arkaplan */
  color: #fff; /* Beyaz yazı */
  border: 2px solid #2E7D32; /* Daha koyu yeşil kenar */
}
