@font-face {
  font-family: 'Holla';
  src: url('fonts/Holla.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body, html {
  width: 100%;
  height: 100%;
  position: relative;
  overflow-x: hidden;
}

.background {
  position: relative;
  background-image: url("images/arka_plan.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  padding: 30px 10px 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1;
}

/* Arka plan vinyet */
.background::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0,0,0,0) 40%, rgba(0,0,0,0.5) 100%);
  z-index: 2;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 45px; /* Artırıldı */
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 3; /* Vinyetin üstünde kalır */
}

.menu-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  cursor: pointer;
  display: block;
  z-index: 1;
}

/* Vinyet efekti kartlara */
.menu-item::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: calc(100% - 30px);
  border-radius: 20px;
  pointer-events: none;
  z-index: 2;
}

.menu-item img:hover {
  transform: scale(1.03);
}

.label {
  margin-top: 10px;
  background: linear-gradient(to right, #d2fbd2, #a3d1ff);
  color: #004aad;
  font-weight: bold;
  font-size: 24px;
  width: 180px; /* Sabit genişlik */
  height: 45px; /* Sabit genişlik */
  padding: 8px 0;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: 'Holla', cursive;
  z-index: 3;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Arka plan */
.background-durumler {
  background-image: url("images/arka_durumler.jpg");
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 60px 15px 40px;
}

/* Sayfa başlığı */
.menu-title {
  font-family: 'Holla', cursive;
  font-size: 40px;
  color: #004aad;
  text-align: center;
  margin-bottom: 30px;
}

/* Grid yapı */
.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 500px;
  margin: auto;
}

/* Ürün kartı */
.product-card {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 20px 12px 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Başlık */
.product-title {
  font-family: 'Holla', cursive;
  font-size: 18px;
  background: linear-gradient(to right, #d2fbd2, #a3d1ff);
  padding: 6px 14px;
  border-radius: 25px;
  color: #004aad;
  text-align: center;
  min-width: 140px;
}

/* Açıklama */
.product-desc {
  font-family: 'Holla', cursive;
  font-size: 15px;
  background: #a3d1ff;
  color: #004aad;
  padding: 6px 10px;
  border-radius: 12px;
  text-align: center;
  min-height: 50px;
}

/* Görsel */
.product-card img {
  width: 80%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  object-fit: cover;
}

/* Fiyat etiketi */
.product-price {
  position: absolute;
  background: #dff;
  color: #004aad;
  font-weight: bold;
  font-size: 16px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Holla', cursive;
  z-index: 2;
}

.product-card.left .product-price {
  right: -8px;
  top: -8px;
}

.product-card.right .product-price {
  left: -8px;
  top: -8px;
}

/* Menü butonu (sağ üst) */
.menu-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: none;
  padding: 0;
  transition: none;
}

.menu-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Pop + titreme animasyonu */
@keyframes pop-shake {
  0%   { transform: scale(1); }
  20%  { transform: scale(0.92) rotate(-2deg); }
  40%  { transform: scale(1.05) rotate(2deg); }
  60%  { transform: scale(0.98) rotate(-1deg); }
  80%  { transform: scale(1.02) rotate(1deg); }
  100% { transform: scale(1) rotate(0); }
}

.menu-button:active {
  animation: pop-shake 300ms ease;
}

.drink-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 500px;
  margin: auto;
  padding: 20px 10px 60px;
}

.drink-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, #d2fbd2, #a3d1ff);
  border-radius: 40px;
  padding: 10px 16px;
  font-family: 'Holla', cursive;
  color: #004aad;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.drink-row.left {
  flex-direction: row;
  text-align: left;
}

.drink-row.right {
  flex-direction: row-reverse;
  text-align: right;
}

.drink-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
  padding: 4px;
}

.drink-label {
  flex-grow: 1;
  text-align: center;
  margin: 0 10px;
  font-weight: bold;
}

.drink-price {
  background: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}



