/* =====================
   RESET & GENEL
===================== */
/* --- SNAKE SCALE SCROLLBAR DESIGN --- */

body {
  background-color: #111;
  color: #eee;
}



::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 7px;
}

::-webkit-scrollbar-thumb {
  border-radius: 7px;
  
  /* Geometrik Pul Deseni (CSS Pattern) */
  background-color: #ff8c00;
  background-image: 
    linear-gradient(30deg, #ff4500 12%, transparent 12.5%, transparent 87%, #ff4500 87.5%, #ff4500),
    linear-gradient(150deg, #ff4500 12%, transparent 12.5%, transparent 87%, #ff4500 87.5%, #ff4500),
    linear-gradient(30deg, #ff4500 12%, transparent 12.5%, transparent 87%, #ff4500 87.5%, #ff4500),
    linear-gradient(150deg, #ff4500 12%, transparent 12.5%, transparent 87%, #ff4500 87.5%, #ff4500),
    linear-gradient(60deg, #ff450077 25%, transparent 25.5%, transparent 75%, #ff450077 75%, #ff450077),
    linear-gradient(60deg, #ff450077 25%, transparent 25.5%, transparent 75%, #ff450077 75%, #ff450077);
  background-size: 20px 35px;
  background-position: 0 0, 0 0, 10px 18px, 10px 18px, 0 0, 10px 18px;

  /* Sınır ve Parlama */
  border: 2px solid #1a1a1a;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
  
  transition: background-color 0.3s ease;
}

/* Hover'da rengi parlat */
::-webkit-scrollbar-thumb:hover {
  background-color: #ffd700;
  cursor: pointer;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #0d0d0d;
  color: #ffffff;
}

/* =====================
   LOADER
===================== */
#loader {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255,255,255,0.2);
  border-top: 6px solid #ff7a18;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* =====================
HEADER
===================== */
.header {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* 🔥 ARKA PLAN + RESİM */
.header::before {
  content: "";
  position: absolute;
  inset: 0; /* TAM oturur */

  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
    url("banner.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(8px); /* 12 fazla, düşürdük */
  transform: scale(1.1); /* blur sonrası taşma için */
}

.header * {
  position: relative;
  z-index: 2;
}
/* ✅ LOADER GİDİNCE NETLEŞME */
body.loaded .header::before {
  filter: blur(0);
  transform: scale(1);
}

/* 🌊 SOYUT DALGA KATMANI (ÜSTÜNDE) */
.header::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 20% 30%, #ff9f1c33, transparent 40%),
    radial-gradient(circle at 80% 60%, #ff7a1833, transparent 45%),
    radial-gradient(circle at 50% 90%, #ffb34722, transparent 50%);
  animation: lightMove 18s linear infinite;
}

/* ANİMASYON */
@keyframes lightMove {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

.logo {
  font-size: 2.4rem;
  font-weight: 400;
}

.ender {
  z-index: 9999;
  font-family: "Playfair Display", serif;
  font-size: 4.6rem;
  font-style: italic;
  background: linear-gradient(90deg, #ffb347, #ff7a18, #ffd194);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  text-shadow: 0 0 25px rgba(255,140,0,0.35);

}
.ender::after {
  content: "|";
  margin-left: 4px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.slogan {
  margin-top: 12px;
  font-size: 1.15rem;
  color: #ffcf99;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 1.6s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.gold-line {
  width: 140px;
  height: 2px;
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, #ff9f1c, transparent);
  animation: glowLine 2.5s ease-in-out infinite;
}

@keyframes glowLine {
  0%,100% { opacity: 0.3; }
  50%     { opacity: 1; }
}



/* =====================
   SOSYAL MEDYA
===================== */
.social-bubbles {
  position: fixed;
  top: 22px;
  right: 22px;
  display: flex;
  gap: 14px;
  z-index: 900;
}

.social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  animation: float 3s ease-in-out infinite;
}

.social.instagram {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af);
}
.social.whatsapp {
  background: linear-gradient(45deg,#25d366,#1ebe5d);
}
.social.facebook {
  background: linear-gradient(45deg,#1877f2,#145dbf);
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =====================
   MENU
===================== */
.menu-section {
  padding: 60px 8%;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ff7a18;
}

.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* =====================
   CARD
===================== */
.card {
  position: relative;
  background: rgba(255,122,24,0.12);
  border-radius: 22px;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card h3 {
  font-size: 1.1rem;
}

.price {
  color: #ff9f1c;
  font-weight: 600;
}

/* =====================
   BUTTON
===================== */
.btn {
  padding: 12px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg,#ff7a18,#ffb347);
  color: #fff;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 122, 24, 0.6);
}

/* =====================
   SEPET BUTONU
===================== */
.cart-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;          /* PC & Mobil sol alt */
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  z-index: 1200;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

/* SEPET SAYACI */
#cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: red;
  color: #fff;
  width: 22px;
  height: 22px;
  font-size: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}


.daily-menu {
  background-color: #1a1a1a; /* siyah arka plan */
  color: #ff7f00; /* turuncu yazı */
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.daily-menu h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #ff7f00;
  border-bottom: 2px solid #ff7f00;
  display: inline-block;
  padding-bottom: 5px;
}

.menu-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.category {
  background-color: #1f1f1f; /* daha koyu ama sade */
  border: 1px solid #ff7f00; /* ince çerçeve */
  border-radius: 10px;
  padding: 20px;
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 240px;
  transition: transform 0.2s, border-color 0.2s;
}

.category:hover {
  transform: translateY(-3px);
  border-color: #ff9c33;
}

.category h3 {
  margin-bottom: 12px;
  color: #ff7f00;
  font-size: 1.2rem;
  text-align: center;
}

.category ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.category li {
  padding: 5px 0;
  border-bottom: 1px solid #1f1f1f; /* daha ince ve soft çizgi */
  font-size: 1rem;
}

.category li:last-child {
  border-bottom: none;
}

/* Ortak not ve buton */
.order-note {
  font-size: 0.95rem;
  color: #ffd699;
  text-align: center;
  margin: 25px 0 15px 0;
}

.order-btn {
  display: block;
  width: 180px;
  margin: 0 auto;
    background: linear-gradient(135deg, #ff7a18, #ffb347);  
    color: #fff;
  border: none;
    border-radius: 14px;

  padding: 12px 0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.order-btn:hover {
  background-color: #ff9f1c;
  transform: translateY(-2px);
}

/* Mobilde 2 sütunlu görünüm (600px altı) */
@media (max-width: 600px) {
  .menu-categories {
    flex-direction: row; /* satır yönünde */
    flex-wrap: wrap;     /* sarma aktif */
    gap: 15px;
    justify-content: center;
  }

  .category {
    flex: 1 1 45%; /* her kart genişliği %45 olacak, arada boşluk kalacak */
    min-width: 140px;
    max-width: none;
  }

  .order-btn {
    width: 100%;
  }
}

/* =====================
   SEPET PANEL (DESKTOP)
===================== */

.daily-board{
  display:flex;
  justify-content:center;
  margin:60px 0 40px;
}

.daily-board-card{
  width:100%;
  max-width:700px;
  background:linear-gradient(135deg,#0f0f0f,#1c1c1c);
  border-radius:24px;
  padding:32px 36px;
  box-shadow:0 20px 60px rgba(0,0,0,.5);
  border:1px solid rgba(255,255,255,.05);
  position:relative;
}

.daily-board-title{
  text-align:center;
  font-size:24px;
  font-weight:700;
  margin-bottom:22px;
  letter-spacing:.6px;
}

.daily-items{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px 28px;
}

.daily-item{
  position:relative;
  padding-left:18px;
  font-size:15px;
  color:#eee;
}

.daily-item::before{
  content:"•";
  position:absolute;
  left:0;
  color:#f5c451;
  font-size:18px;
  top:-1px;
}

.daily-note{
  text-align:center;
  margin-top:22px;
  font-size:13px;
  color:#aaa;
  letter-spacing:.4px;
}


.cart {
  position: fixed;
  top: 0;
  right: -100%;
  width: 340px;
  height: 100vh;
  background: #0f0f0f;
  padding: 20px;
  z-index: 1100;
  transition: 0.4s ease;
  overflow-y: auto;
}

.cart.open {
  right: 0;
}

.cart h3 {
  margin-bottom: 15px;
  color: #ff9f1c;
}

/* SEPET ITEM */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.06);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.cart-item span {
  color: #ffb347;
}

/* SİL BUTONU */
.remove-item {
  background: none;
  border: none;
  color: #ff4d4d;
  font-size: 1.1rem;
  cursor: pointer;
}

/* =====================
   MOBİL SEPET (BOTTOM SHEET)
===================== */
@media (max-width: 768px) {

  .cart {
    top: auto;
    right: 0;
    left: 0;
    bottom: -100%;
    width: 100%;
    height: 85vh;
    border-radius: 20px 20px 0 0;
  }

  .cart.open {
    bottom: 0;
  }

  .cart h3 {
    text-align: center;
  }
}

/* =====================
   FOOTER
===================== */
footer {
  text-align: center;
  padding: 25px;
  background: #0a0a0a;
  color: #aaa;
}

/* =====================
   MOBİL DÜZELTMELER
===================== */
@media (max-width: 768px) {

  .header {
    height: 55vh;
  }

  .ender {
    font-size: 3rem;
  }

  .logo {
    font-size: 1.6rem;
  }

  .menu-section {
    padding: 40px 14px;
  }

  .menu {
    grid-template-columns: 1fr;
  }

  .card img {
    height: 160px;
  }

  .social-bubbles {
    top: auto;
    bottom: 90px;
    right: 16px;
    flex-direction: column;
  }

  .cart {
    width: 100%;
  }
}

@keyframes cartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.2); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.cart-animate {
  animation: cartPulse 0.45s ease forwards;
}



.cart-footer button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff7a18, #ffb347);
    border: none;
    border-radius: 14px;
    font-weight: bold;
    cursor: pointer;
}

.address-box textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: none;
    font-family: inherit;
}

  
@media (max-width: 768px) {

  /* SEPET PANEL */
  .cart {
    right: 0;
    left: 0;
    bottom: -100%;
    top: auto;

    width: 100%;
    height: 85vh;

    border-radius: 20px 20px 0 0;
    transition: 0.4s ease;
    overflow-y: auto;
  }

  /* AÇIK HAL */
  .cart.open {
    bottom: 0;
  }

  /* SEPET BAŞLIK */
  .cart h3 {
    text-align: center;
    font-size: 1.2rem;
  }

  /* SEPET ITEM */
  .cart-item {
    font-size: 0.95rem;
  }

  /* ADRES & NOT ALANI */
  .address-box textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: none;
    font-family: inherit;
  }

  /* ONAY BUTONU */
  .cart-footer button {
    font-size: 1rem;
    padding: 14px;
    margin-bottom: 20px;
  }

}


/* =========================
   SEPET ÜST BAR
========================= */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  margin: -20px -20px 20px -20px;
  background: linear-gradient(135deg, #ff7a18, #ff9f1c);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 25px rgba(255,122,24,0.35);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.4px;
}

/* =========================
   GERİ / KAPAT BUTONU
========================= */
.cart-back {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;

  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(6px);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: all 0.25s ease;
}

/* Hover: kırmızı + animasyon */
.cart-back:hover {
  background: #ff3b3b;
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 10px 28px rgba(255,59,59,0.6);
}

/* Tıklama */
.cart-back:active {
  transform: scale(0.95);
}

/* =========================
   MOBİL UYUMLU
========================= */
@media (max-width: 768px) {
  .cart-header {
    padding: 16px;
  }

  .cart-header h3 {
    font-size: 1.1rem;
  }

  .cart-back {
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
}


/* =========================
   SEPET SLIDE + BLUR
========================= */
body.cart-open {
  overflow: hidden;
}

body.cart-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  z-index: 997;
}

/* Slide animasyon */
.cart {
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

.cart.open {
  transform: translateX(0);
}

/* =========================
   SEPET BOŞ DURUM
========================= */
.cart-empty {
  text-align: center;
  padding: 40px 10px;
  color: #ffb347;
  display: none;
}

.cart-empty i {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.9;
}

.cart-empty p {
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.item-note {
  width: 100%;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,140,0,0.4);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.85rem;
}

.item-note::placeholder {
  color: #ffb347;
}

.item-note-text {
  font-size: 0.75rem;
  color: #ffb347;
  margin-top: 4px;
}


/* =========================
   MOBİL SWIPE KAPATMA
========================= */
@media (max-width: 768px) {
  .cart {
    width: 100%;
    border-radius: 20px 20px 0 0;
    bottom: 0;
    top: auto;
    height: 85vh;
  }
}


/* ===== POPUP ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  background: #111;
  padding: 26px 24px;
  border-radius: 16px;
  text-align: center;
  width: 90%;
  max-width: 340px;
  box-shadow: 0 20px 50px rgba(255,122,24,0.4);
}

.popup-icon {
  font-size: 38px;
  margin-bottom: 10px;
}

#popup-text {
  margin-bottom: 18px;
  color: #ffb347;
}

#popup-ok {
  padding: 10px 26px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff7a18, #ffb347);
  color: #000;
  font-weight: bold;
  cursor: pointer;
}

#popup-ok:hover {
  background: #ff4d4d;
  color: #fff;
}


.cart-empty {
  display: none;
  margin-top: 20px;
}

.cart-empty h4 {
  color: #ff9f1c;
  margin-bottom: 12px;
}

.cart-empty button {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(255,122,24,0.15);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.cart-empty button:hover {
  background: #ff7a18;
}

.payment-box {
  margin-top: 18px;
}

.payment-title {
    font-size: 50px;

  margin-bottom: 10px;
  color: #ff9f1c;
  font-size: 0.95rem;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 🔥 her zaman 3 yan yana */
  gap: 10px;
}

.pay-option {
  position: relative;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.pay-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.69rem;
  color: #ddd;
}

.pay-option i {
  font-size: 18px;
  color: #ffb347;
}

/* radio gizle */
.pay-option input {
  display: none;
}

/* hover */
.pay-option:hover {
  border-color: rgba(255,159,28,0.5);
  transform: translateY(-2px);
}

/* seçili */
.pay-option:has(input:checked) {
  border-color: #ff9f1c;
  background: linear-gradient(
    180deg,
    rgba(255,159,28,0.14),
    rgba(255,159,28,0.04)
  );
}

/* ✓ TİK */
.pay-option:has(input:checked)::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,159,28,0.18);
  color: #ff9f1c;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =====================
   ENDER PREMIUM LOADER
===================== */
body.loader-active {
  overflow: hidden;
}

#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #111, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ender-loader-wrap {
  text-align: center;
}

/* ENDER YAZISI */
.ender-loader {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 4.5rem;
  color: #ff8c00;
  letter-spacing: 2px;
  animation: enderSpin 3s ease-in-out forwards;
}

/* ALTIN ÇİZGİ */
.gold-line {
  width: 0;
  height: 2px;
  margin: 14px auto;
  background: linear-gradient(90deg, #ffb347, #ff8c00, #ffb347);
  box-shadow: 0 0 12px rgba(255,140,0,0.8);
  animation: goldLineGrow 1.6s ease forwards;
  animation-delay: 1s;
}

/* ALT YAZI */
.ender-sub {
  font-size: 1.05rem;
  letter-spacing: 3px;
  color: #ffb347;
  opacity: 0;
  animation: subFade 1.5s ease forwards;
  animation-delay: 1.8s;
}

/* ANİMASYONLAR */
@keyframes enderSpin {
  0% {
    opacity: 0;
    transform: rotateX(90deg) scale(0.8);
  }
  30% {
    opacity: 1;
    transform: rotateX(0deg) scale(1.1);
  }
  70% {
    opacity: 1;
    transform: rotateX(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: rotateX(-90deg) scale(0.95);
  }
}

@keyframes goldLineGrow {
  from { width: 0; }
  to   { width: 160px; }
}

@keyframes subFade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 📱 MOBİL */
@media (max-width: 768px) {
  .ender-loader {
    font-size: 3.2rem;
  }

  .ender-sub {
    font-size: 0.9rem;
    letter-spacing: 2px;
  }
}

.menu-small {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.menu-small .card img {
  height: 130px;
}

.menu-small .card-content {
  padding: 14px;
}

.menu-small h3 {
  font-size: 1rem;
}

.menu-small .price {
  font-size: 0.9rem;
}

/* MOBİL */
@media (max-width: 768px) {
  .menu-small {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-small .card img {
    height: 110px;
  }
}




/* 🌟 Rozet – premium cam + altın */
.badge {
  position: absolute;
  top: 14px;
  left: 14px;

  padding: 7px 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;

  border-radius: 999px;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  box-shadow:
    0 10px 26px rgba(0,0,0,.15),
    inset 0 1px 0 rgba(255,255,255,.5);

  z-index: 3;
  transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover .badge {
  transform: translateY(-2px);
}/* 🏆 Best seller kart – çok hafif vurgu */
.best-seller {
  border: 1px solid rgba(255, 180, 90, 0.25);
  box-shadow:
    0 12px 40px rgba(255, 160, 60, 0.12);
}

.badge-icon {
  margin-right: 6px;
  font-size: 12px;
  opacity: .85;
}


.lang-switch {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.lang-switch button {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 16px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .25s ease;
}

.lang-switch button:hover {
  background: #ff7a18;
  border-color: #ff7a18;
  transform: translateY(-2px);
}

.lang-switch button.active {
  background: #ff7a18;
  border-color: #ff7a18;
}


/* 🥤 DRINK POPUP */
.drink-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  /* backdrop-filter: blur(6px); */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.drink-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 🧊 Popup Card */
.drink-popup {
  width: 92%;
  max-width: 460px;
  background: #181818;

  border-radius: 18px;
  padding: 22px;
  box-shadow:
    0 20px 60px rgba(201, 74, 0, 0.774),
    inset 0 1px 0 rgba(201, 74, 0, 0.774);
  animation: popupIn .35s ease;
}

/* 🎬 Giriş animasyonu */
@keyframes popupIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 🥤 Başlık */
.drink-popup h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

/* 📦 Drink Item */
.drink-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
  transition: .25s;
}

.drink-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

/* 🥤 Sol Alan */
.drink-info {
  display: flex;
  flex-direction: column;
}

.drink-info span {
  font-weight: 600;
  font-size: 15px;
}

.drink-info small {
  font-size: 13px;
  opacity: .7;
}

/* ➕➖ Qty Control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background: #111;
  color: #fff;
  transition: .2s;
}

.qty-control button:hover {
  transform: scale(1.05);
  background: #000;
}

.qty-count {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

/* ☑️ Checkbox gizle */
.drink-item input[type="checkbox"] {
  display: none;
}

/* 🧾 Footer Buttons */
.drink-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.drink-actions button {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: .25s;
}

/* ✅ Ekle */
.drink-actions .add {
  background: linear-gradient(135deg, #00c853, #009624);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,200,83,.4);
}

.drink-actions .add:hover {
  transform: translateY(-1px);
}

/* ❌ Kapat */
.drink-actions .close {
  background: #eee;
  color: #333;
}

.drink-actions .close:hover {
  background: #e0e0e0;
}
/* actions */
.drink-actions {
  display: flex;
  gap: 10px;
}
.btn.ghost {
  flex: 1;
  background: transparent;
  border: 1px solid #333;
  color: #aaa;
}
.btn.primary {
  flex: 1;
  background: linear-gradient(135deg,#ff9f1c,#ff7a18);
  border: none;
  color: #111;
  font-weight: 600;
}


/* =========================
   TITLE
========================= */
.drink-box h3 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

/* =========================
   DRINK ITEM
========================= */
.drink-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1a1a1a;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.drink-item:hover {
  background: #1f1f1f;
}

.drink-item input {
  display: none;
}

/* tick sistemi */
.drink-item::after {
  content: "✓";
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #222;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: all 0.25s ease;
}

.drink-item input:checked + span {
  color: #f5c16c;
}

.drink-item input:checked ~ .price {
  color: #f5c16c;
}

.drink-item input:checked ~ ::after {
  background: #f5c16c;
}

/* checked state */
.drink-item input:checked + span {
  font-weight: 600;
}

.drink-item input:checked ~ .price {
  font-weight: 600;
}

.drink-item input:checked ~ * {
  color: #f5c16c;
}

/* =========================
   TEXT + PRICE
========================= */
.drink-item span {
  font-size: 15px;
}

.drink-item .price {
  font-size: 14px;
  opacity: 0.85;
}

/* =========================
   ACTION BUTTONS
========================= */
.drink-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.drink-actions button {
  flex: 1;
  padding: 14px 0;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* primary */
.drink-actions button:first-child {
  background: linear-gradient(135deg, #f5c16c, #ff9f1c);
  color: #111;
}

.drink-actions button:first-child:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,193,108,0.4);
}

/* ghost */
.drink-actions .ghost {
  background: transparent;
  color: #aaa;
  border: 1px solid #333;
}

.drink-actions .ghost:hover {
  background: #1a1a1a;
  color: #fff;
}

.qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.qty button:hover {
  background: #222;
}

.qty-count {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

/* seçili içecek vurgusu */
.drink-item input:checked ~ .qty button {
  border-color: #f5c16c;
  color: #f5c16c;
}

@keyframes cartItemIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cart-animate-in {
  animation: cartItemIn 0.35s ease forwards;
}


@keyframes cartItemOut {
  to {
    opacity: 0;
    transform: translateX(20px) scale(0.9);
    height: 0;
    margin: 0;
    padding: 0;
  }
}

.cart-animate-out {
  animation: cartItemOut 0.25s ease forwards;
}


.cart-pulse {
  animation: pulse 0.25s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}


.pay-option {
  position: relative;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all .25s ease;
}

.pay-option.pay-active {
  border-color: #ff9f1c;
  box-shadow:
    0 0 0 1px #ff9f1c,
    0 0 18px rgba(255,159,28,0.45);
  background: rgba(255,159,28,0.08);
}

.pay-option.pay-active span {
  color: #ff9f1c;
  font-weight: 600;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all .35s ease;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#confirmBtn {
  opacity: .5;
  pointer-events: none;
  transition: all .25s ease;
}

#confirmBtn:not(:disabled) {
  opacity: 1;
  pointer-events: auto;
  box-shadow: 0 0 20px rgba(255,180,60,.45);
}

.payment-option input:checked + label {
  box-shadow: 0 0 0 2px #ffb347,
              0 0 18px rgba(255,180,60,.6);
}


.prep-time {
  margin: 12px 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #111;
  color: white;
  font-size: 13px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.945);

  border: 1px solid #111;
}

.prep-icon {
  font-size: 14px;
  opacity: .7;
}

.prep-time strong {
  font-weight: 600;
  font-size: 13px;
}



/* GENEL */
body {
    font-family: Arial, sans-serif;
}

/* BUTON */

.menu-btn-wrapper{
      display: flex;             /* Flex ile hizala */
    justify-content: center;   /* Yatay ortala */
    align-items: center;  
    height: 10vh;     /* Dikey ortala */
}
.menu-btn {
    background: linear-gradient(135deg, #ff7f00, #ff9f40);
    border: none;
    padding: 15px 25px;
    border-radius: 14px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
    animation: pulse 1.2s infinite alternate;
}

/* Pulse animasyonu */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); } /* %5 büyüme */
    100% { transform: scale(1); }
}

.menu-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255,127,0,0.4);
}

/* PANEL */
.panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
}

/* ARKA */
.panel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
}

/* KUTU */
.panel-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 90%;
    background: #111;
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

/* ANİMASYON */
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* KAPAT */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 26px;
    cursor: pointer;
}

/* DESC */
.desc {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 15px;
}

/* GRID (15 ÜRÜN İÇİN İDEAL) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* ITEM */
.menu-item {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.menu-item:hover {
    background: #ff7f00;
    transform: scale(1.03);
}

/* CHECKBOX */
.menu-item input {
    accent-color: #ff7f00;
}

/* BUTON */
.order-btn {
    margin-top: 15px;
    width: 100%;
    background: #25D366;
    border: none;
    padding: 14px;
    border-radius: 12px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}