:root {
  --cream: #FFF0BE;
  --orange: #F27D16;
  --orange-dark: #d35400;
  --orange-deep: #e67e22;
  --card-bg: #ffffff;
  --card-soft: #fff9e6;
  --text-dark: #333333;
  --text-muted: #666666;
  --radius-lg: 20px;
  --radius-md: 15px;
  --radius-sm: 10px;
}

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

body {
  background-color: var(--cream);
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Arka plan deseni ---------- */
.bg-pattern {
  position: fixed;
  top: 0; 
  left: 0;
  width: 200%; 
  height: 200%;
  background: url('Assets/icecreampattern.webp') repeat;
  background-size: 350px;
  opacity: 0.12;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  animation: moveBg 120s linear infinite;
}

@keyframes moveBg {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, -50%, 0); }
}

/* ---------- Header ---------- */
header {
  width: 100%;
  height: 80px;
  background-color: var(--orange);
  background-image: url("https://www.transparenttextures.com/patterns/brick-wall-dark.png");
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 10px rgb(0 0 0 / 15%);
}

header .logo {
  height: 58px;
  width: auto;
  position: absolute;
  left: 15px;
  object-fit: contain;
}

header h1 {
  font-size: 1.6rem;
  margin: 0 0 0 10px;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgb(0 0 0 / 25%);
  text-align: center;
}

/* ---------- Üst Sekmeler ---------- */
.top-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 18px 10px 6px;
  max-width: 700px;
  margin: 0 auto;
}

.tab-item {
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 12px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  background: var(--card-bg);
  color: var(--orange-dark);
  border: 2px solid var(--orange);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 10px rgb(0 0 0 / 6%);
  transition: background-color 0.25s ease, box-shadow 0.2s ease, transform 0.15s ease, color 0.25s ease;
  user-select: none;
}

.tab-item:hover {
  background-color: var(--card-soft);
  transform: translateY(-2px);
}

.tab-item:active {
  transform: translateY(0);
}

.tab-item.active {
  background-color: var(--orange);
  color: #ffffff;
  box-shadow: inset 0 3px 6px rgb(0 0 0 / 15%);
}

/* ---------- Sekme İçeriği ---------- */
.tab-content {
  width: 100%;
}

.tab-content.menu-view {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px;
  width: 100%;
}

.full-menu-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 165px);
  max-height: calc(100svh - 165px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgb(0 0 0 / 12%);
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-content.cesitler-view {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 10px 5px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Dondurma Çeşitleri ---------- */
.flavor-wrap {
  width: 100%;
}

.flavor-heading {
  text-align: center;
  margin-bottom: 20px;
}

.flavor-heading h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.35;
}

.flavor-vegan-text { color: #2e7d32; }
.flavor-orange-text { color: var(--orange-dark); }

.flavor-subtitle {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--orange-dark);
  margin-top: 4px;
}

.flavor-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 18px;
  margin-bottom: 18px;
}

.flavor-card {
  background: var(--card-bg);
  border: 3px solid var(--orange);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 6px 16px rgb(230 126 34 / 15%);
  display: flex;
  flex-direction: column;
}

.flavor-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.flavor-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.flavor-tag {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 3px 8px;
  border-radius: 8px;
}

.flavor-tag-green { color: #2e7d32; background: #e8f5e9; }
.flavor-tag-blue  { color: #0277bd; background: #e1f2fb; }

.flavour-list {
  list-style: none;
}

.flavour-item {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 6px 0;
  border-bottom: 1px dotted #ecd9be;
  display: flex;
  align-items: center;
}

.flavour-item:last-child {
  border-bottom: none;
}

.bullet {
  color: var(--orange);
  font-size: 1.1rem;
  margin-right: 8px;
  line-height: 1;
}

.stevia-tag {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
}

.flavor-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
}

.flavor-note {
  background: #f1f8e9;
  border-left: 4px solid #43a047;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: #2e7d32;
  line-height: 1.45;
}

.flavor-note-title {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 0.82rem;
}

/* Sütlüler altı banner alanı */
.flavor-card-banner {
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}

.flavor-card-banner .banner-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  display: block;
  object-fit: cover;
}

.flavor-service-banner {
  background: linear-gradient(135deg, #fff4e6 0%, #ffeedb 100%);
  border: 2px dashed var(--orange);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--orange-dark);
  font-weight: 700;
  margin-bottom: 14px;
}

.flavor-service-banner span {
  color: var(--orange-dark);
}

.flavor-info-box {
  background: var(--card-bg);
  border: 1.5px solid #edd5be;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.flavor-info-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
}

.flavor-info-row:last-child {
  margin-bottom: 0;
}

.flavor-info-icon {
  font-size: 0.85rem;
  line-height: 1.3;
}

/* ---------- Tanıtım Görseli ---------- */
.promo-frame {
  width: 100%;
  max-width: 78px;
  margin: 20px auto 0;
}

.promo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Alt Ortalanmış Görsel Bloğu ---------- */
.bottom-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 20px auto 40px;
  width: 100%;
}

.bottom-images .promo-frame {
  margin: 0;
}

.bottom-images .footer-social {
  margin: 0;
}

.footer-social .social-img {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  cursor: pointer;
  filter: drop-shadow(0 8px 15px rgb(230 126 34 / 30%));
  transition: transform 0.2s ease;
}

.footer-social .social-img:active {
  transform: scale(0.95);
}

/* ==========================================================
   Responsive Düzenlemeler
   ========================================================== */
@media (max-width: 768px) {
  .flavor-grid {
    grid-template-columns: 1fr;
  }
  
  .flavor-columns {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  header {
    height: 100px;
  }

  header .logo {
    height: 80px;
    left: 40px;
  }

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

  .top-tabs {
    padding: 30px 20px 10px;
    max-width: 900px;
  }

  .tab-item {
    padding: 16px 20px;
    font-size: 1.1rem;
  }

  .tab-content.menu-view {
    padding: 15px 20px 0;
  }

  .full-menu-image {
    max-height: calc(100vh - 230px);
    max-height: calc(100svh - 230px);
  }

  .tab-content.cesitler-view {
    padding: 25px 20px 5px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.3rem;
  }

  header .logo {
    height: 46px;
  }

  .tab-item {
    font-size: 0.88rem;
    padding: 12px 8px;
  }
}