body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fffafc;
  color: #333;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(90deg, #f9c5d1, #fdd9aa);
  color: #4c2a2a;
}

header h1 {
  font-size: 1.8rem;
  margin: 0;
}


.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(125px, 1fr)); /* her eleman min 70px, fazlası kadar büyüyebilir */
  gap: 4px;
  padding: 10px;
}

.item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.actions {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  padding: 0.5rem;
  background-color: #fff6f9;
}

.item:hover {
  transform: scale(1.02);
}

.item img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #f3e1e6;
}

.actions a {
  display: inline-block;
  padding: 0.3rem;
  transition: transform 0.2s ease;
}

.actions a:hover {
  transform: scale(1.2);
}

.actions img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
}