/* ==========================================================================
   Birlik Balon & Parti Dünyası - Tema Stilleri
   Bu dosya app.css (derlenmiş Tailwind) SONRASINDA yüklenir.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #FF2A85;
  --primary-light: #FF66A1;
  --primary-dark: #D81159;
  --secondary: #7026B0;
  --secondary-light: #9B4DE3;
  --accent-yellow: #FFB703;
  --accent-cyan: #00C4CC;
  --accent-green: #06D6A0;
  --accent-orange: #FB8500;
  --bg-soft: #FFF9FA;
  --text-dark: #1E1B26;
  --text-muted: #6B7280;
  --font-heading: 'Nunito', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-soft);
  color: var(--text-dark);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-fun {
  font-family: var(--font-heading);
  font-weight: 800;
}

/* ── Erişilebilirlik: klavye kullanıcıları için skip link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  font-weight: 700;
  font-size: 14px;
  transition: left .2s ease;
}
.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ── Odak görünürlüğü (tüm etkileşimli öğeler) ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ── SEO / içerik gövdesi (CKEditor içerikleri) ── */
.prose-bb > *:first-child { margin-top: 0; }
.prose-bb > *:last-child { margin-bottom: 0; }
.prose-bb h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin: 2rem 0 .85rem;
  padding-left: .85rem;
  border-left: 4px solid var(--primary);
  line-height: 1.3;
}
.prose-bb h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #111827;
  margin: 1.6rem 0 .7rem;
  line-height: 1.35;
}
.prose-bb h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1f2937;
  margin: 1.3rem 0 .6rem;
}
.prose-bb p { margin: 0 0 1.05rem; }
.prose-bb strong { color: #111827; font-weight: 700; }
.prose-bb a { color: var(--primary); font-weight: 600; text-decoration: underline; }
.prose-bb a:hover { color: var(--primary-dark); }
.prose-bb ul, .prose-bb ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.prose-bb ul { list-style: disc; }
.prose-bb ol { list-style: decimal; }
.prose-bb ul li, .prose-bb ol li { margin-bottom: .5rem; }
.prose-bb ul li::marker { color: var(--primary); }
.prose-bb ol li::marker { color: var(--primary); font-weight: 700; }
.prose-bb blockquote {
  border-left: 4px solid var(--accent-cyan);
  background: #ECFEFF;
  padding: 1rem 1.25rem;
  margin: 1.4rem 0;
  border-radius: 0 12px 12px 0;
  color: #374151;
}
.prose-bb img { max-width: 100%; height: auto; border-radius: 16px; margin: 1.2rem 0; }
.prose-bb table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .9rem; }
.prose-bb th, .prose-bb td { border: 1px solid #FCE7F3; padding: .7rem .85rem; text-align: left; }
.prose-bb th { background: #FDF2F8; font-weight: 700; color: #111827; }
.prose-bb hr { border: 0; border-top: 1px solid #FCE7F3; margin: 2rem 0; }

/* ── Liste süslemeleri (view dosyalarında kullanılan) ── */
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }
.space-y-1 > * + * { margin-top: .25rem; }
.space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ── Gradient yazı ── */
.text-gradient-party {
  background: linear-gradient(135deg, #FF2A85 0%, #9B4DE3 50%, #00C4CC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bg-party-gradient { background: linear-gradient(135deg, #FF2A85 0%, #8A2BE2 100%); }
.bg-soft-gradient { background: linear-gradient(180deg, #FFF0F5 0%, #F5F3FF 50%, #E6FCF5 100%); }

/* ── Balon süzülme animasyonları ── */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(4deg); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(-5deg); }
}
@keyframes balloonStringWiggle {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(255, 42, 133, .4); transform: scale(1); }
  50%      { box-shadow: 0 0 30px rgba(255, 42, 133, .7); transform: scale(1.04); }
}
@keyframes shineEffect {
  0%            { transform: translateX(-100%) rotate(45deg); }
  20%, 100%     { transform: translateX(200%) rotate(45deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-float-1 { animation: floatSlow 5s ease-in-out infinite; }
.animate-float-2 { animation: floatReverse 6.5s ease-in-out infinite .5s; }
.animate-float-3 { animation: floatSlow 7s ease-in-out infinite 1.2s; }
.animate-float-4 { animation: floatReverse 5.5s ease-in-out infinite .8s; }
.animate-pulse-glow { animation: pulseGlow 2.5s infinite; }

/* ── Cam efekti ── */
.glass-card {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 12px 35px -8px rgba(123, 44, 191, .08);
}
.glass-nav {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ── 3B balon efekti (CSS ile üretilen uçan balonlar) ── */
.balloon-3d {
  position: relative;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  display: inline-block;
  box-shadow: inset -10px -10px 20px rgba(0, 0, 0, .15),
              inset 8px 8px 15px rgba(255, 255, 255, .45),
              0 15px 25px rgba(0, 0, 0, .12);
  transition: all .3s cubic-bezier(.175, .885, .32, 1.275);
}
.balloon-3d::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 8px;
  background: inherit;
  border-radius: 3px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 100%, 0% 100%);
}
.balloon-3d .string {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 2px;
  height: 45px;
  background: rgba(180, 180, 180, .7);
  transform-origin: top center;
  animation: balloonStringWiggle 3s ease-in-out infinite;
}

/* ── Shine (parlama) buton efekti ── */
.shine-button { position: relative; overflow: hidden; }
.shine-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg,
    transparent 20%,
    rgba(255, 255, 255, .35) 45%,
    rgba(255, 255, 255, .6) 50%,
    rgba(255, 255, 255, .35) 55%,
    transparent 80%);
  transform: translateX(-100%) rotate(45deg);
  animation: shineEffect 5s infinite;
  pointer-events: none;
}

/* ── Rozetler ── */
.badge-hot { background: linear-gradient(135deg, #FF0055 0%, #FF5E36 100%); }
.badge-new { background: linear-gradient(135deg, #00C4CC 0%, #3B82F6 100%); }
.badge-delivery { background: linear-gradient(135deg, #10B981 0%, #059669 100%); }

/* ── Sekme / filtre butonları ── */
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(255, 42, 133, .35);
}

/* ── Ürün kartı ── */
.product-card { transition: all .35s ease; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 35px -10px rgba(112, 38, 176, .18); }
.product-card:hover .product-img { transform: scale(1.08); }
.product-img { transition: transform .5s ease; }

/* ── Canlı önizleme kutusu ── */
.live-preview-box {
  background: radial-gradient(circle at center, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, .05) 100%);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, .15);
}
.balloon-text-preview {
  font-family: var(--font-heading);
  font-weight: 800;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  transition: all .3s ease;
}

/* ── Lightbox ── */
.lightbox-overlay { animation: fadeIn .25s ease-out; }
.gallery-item { cursor: pointer; position: relative; }
.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.5);
  color: #fff;
  font-size: 1.75rem;
  opacity: 0;
  transition: all .3s ease;
  z-index: 20;
}
.gallery-item:hover::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery-item:hover img { filter: brightness(.75); }

/* ── Satır kırpma ── */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Kaydırmalı animasyon (IntersectionObserver) ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── details/summary işaretçi temizliği ── */
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ''; }

/* ── Özel kaydırma çubuğu ── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #FFF0F5; }
::-webkit-scrollbar-thumb { background: #FF85B3; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #FF2A85; }

/* ── Mobil alt bar için gövde boşluğu ── */
@media (max-width: 767px) {
  body { padding-bottom: 76px; }
}

/* ── Performans / hareket azaltma ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ── Yazdırma ── */
@media print {
  .glass-nav, header, footer, nav, .fixed, .shine-button { display: none !important; }
  body { background: #fff; color: #000; }
  .prose-bb h2 { border-left: 3px solid #000; }
}/* Product catalogue: optional prices and independent collections. */
.product-filters{display:flex;gap:16px;flex-wrap:wrap;align-items:end;margin:0 0 32px;padding:20px;background:#fff;border:1px solid #f3e8ff;border-radius:18px}.product-filters label{display:grid;gap:6px;font-weight:600;flex:1;min-width:180px}.product-filters select{background:#faf7fc;border:1px solid #e9d5ff;border-radius:10px;padding:10px 14px;width:100%}.product-filters button{padding:11px 22px;background:#7e22ce;color:white;border-radius:10px;font-weight:700}.product-filters a{padding:10px;color:#7e22ce}.product-card>img{aspect-ratio:1;object-fit:contain;background:#faf7fc}.product-labels{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.product-labels:empty{display:none}.product-labels span{font-size:12px;font-weight:700;color:#86198f;background:#fae8ff;border-radius:999px;padding:5px 11px}.product-price{font-size:26px;font-weight:800;color:#581c87;margin:12px 0}
/* Product category pages */
.catalog-page{max-width:1280px;margin:auto;padding:56px 24px 80px}.catalog-heading{max-width:780px;margin-bottom:38px}.catalog-eyebrow{color:#a04bad;font-size:11px;font-weight:800;letter-spacing:2px}.catalog-heading h1{font-size:clamp(28px,3.5vw,44px);font-weight:900;color:#312043;line-height:1.16;margin:12px 0 16px;letter-spacing:-1px}.catalog-heading>p{font-size:15px;line-height:1.8;color:#71697a;white-space:pre-line}.catalog-layout{display:grid;grid-template-columns:256px minmax(0,1fr);gap:32px;align-items:start}.catalog-layout>aside{position:sticky;top:110px}.catalog-navigation{border:1px solid #ece5f2;border-radius:20px;background:#fff;overflow:hidden}.catalog-navigation>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;padding:22px;font-size:15px;font-weight:800;color:#39284e;cursor:pointer}.catalog-navigation>summary::-webkit-details-marker{display:none}.catalog-navigation>summary i{font-size:11px}.catalog-navigation[open]>summary i{transform:rotate(180deg)}.catalog-navigation nav{padding:0 10px 12px}.catalog-navigation nav a{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:12px;border-radius:12px;font-size:13px;line-height:1.5;color:#6b6175;margin:3px 0}.catalog-navigation nav a:hover{background:#faf5fc;color:#7e22ce}.catalog-navigation nav a[aria-current]{background:#f4eafb;color:#792ab0;font-weight:800}.catalog-navigation nav small{font-size:10px;background:#ffffffa8;border:1px solid #eee4f4;padding:2px 7px;border-radius:8px}.catalog-help{padding:24px 18px;font-size:13px;color:#8d8098}.catalog-help>i{display:block;color:#ba76bd;font-size:23px;margin-bottom:12px}.catalog-help strong{display:block;color:#65516f}.catalog-help p{margin:8px 0 12px;line-height:1.7}.catalog-help a{color:#a52a86;font-weight:700}.catalog-results{min-width:0}.catalog-search{display:flex;align-items:end;gap:12px;padding:20px;background:#fff;border:1px solid #ece5f2;border-radius:18px}.catalog-search label{display:grid;gap:7px;min-width:0;flex:1}.catalog-search label.catalog-search-input{flex:1.4}.catalog-search label>span{font-size:11px;font-weight:700;color:#7a6c85}.catalog-search input,.catalog-search select{min-width:0;width:100%;height:44px;padding:10px 12px;border:1px solid #e7ddeb;border-radius:10px;background:#fcfaff;color:#4c385c;font-size:13px}.catalog-search button{height:44px;padding:0 22px;border-radius:10px;background:#7e32b3;color:white;font-size:13px;font-weight:700}.catalog-result-heading{display:flex;justify-content:space-between;gap:14px;margin:22px 0;font-size:12px;color:#86738f}.catalog-result-heading a{color:#a2308c;text-decoration:underline}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.catalog-card{background:white;border:1px solid #eee7f1;border-radius:20px;overflow:hidden;display:flex;flex-direction:column}.catalog-card-image{display:block;aspect-ratio:1;background:#faf7fc}.catalog-card-image img{width:100%;height:100%;aspect-ratio:1;object-fit:contain}.catalog-card-body{display:flex;flex-direction:column;flex:1;padding:20px}.catalog-card h2{font-size:15px;line-height:1.6;font-weight:800;color:#402a51;margin-bottom:9px}.catalog-card-body>p:not(.product-price){color:#918499;font-size:12px;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:18px}.catalog-card-link{margin-top:auto;padding-top:15px;border-top:1px solid #f0eaf4;font-size:12px;font-weight:800;color:#b22c86;display:flex;justify-content:space-between}.catalog-empty{text-align:center;padding:70px 20px;background:#fff;border:1px dashed #e7d8ee;border-radius:20px;color:#8b7896}.catalog-empty i{font-size:28px;color:#c8afd4}.catalog-empty h2{font-size:20px;color:#674778;margin:18px 0 8px}.catalog-empty p{font-size:14px;margin-bottom:20px}.catalog-empty a{color:#a83292;font-weight:700}.catalog-pagination{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:32px}.catalog-pagination a{display:grid;place-items:center;width:42px;height:42px;border:1px solid #e9dfee;border-radius:12px;color:#805894;background:white;font-weight:700}.catalog-pagination a[aria-current]{color:white;background:#853bb5;border-color:#853bb5}.product-category-links{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.product-category-links a{font-size:12px;color:#963392;background:#f8edf9;padding:7px 12px;border-radius:20px}
@media(max-width:1100px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout{grid-template-columns:230px minmax(0,1fr);gap:24px}.catalog-search{flex-wrap:wrap}.catalog-search label.catalog-search-input{flex-basis:100%}}
@media(max-width:760px){.catalog-page{padding:32px 18px 56px}.catalog-heading{margin-bottom:24px}.catalog-layout{grid-template-columns:minmax(0,1fr);gap:22px}.catalog-layout>aside{position:static}.catalog-help{display:none}.catalog-navigation>summary{padding:18px}.catalog-navigation nav{max-height:320px;overflow:auto}.catalog-search{padding:16px}.catalog-grid{gap:14px}.catalog-card-body{padding:16px}.catalog-card h2{font-size:14px}}
@media(max-width:460px){.catalog-grid{grid-template-columns:minmax(0,1fr)}.catalog-heading>p{font-size:13px}}
/* Only rendered when products are selected in the admin. */
.home-collection{padding:38px 24px;background:#fff;border-top:1px solid #f4eaf1}.home-collection+.home-collection{background:#fff8fc}.home-collection-inner{max-width:1232px;margin:auto}.home-collection-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.home-collection-heading p{font-size:12px;color:#ac709f;margin-bottom:7px}.home-collection-heading h2{font-size:30px;line-height:1.25;font-weight:900;color:#3a264a;letter-spacing:-.6px}.home-collection-heading>a{font-size:13px;font-weight:700;color:#a63788;white-space:nowrap}.home-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.home-collection-card{border:1px solid #eee5f0;background:#fff;border-radius:20px;overflow:hidden;transition:box-shadow .2s}.home-collection-card:hover{box-shadow:0 10px 30px #63267b12}.home-collection-card img{width:100%;aspect-ratio:1;object-fit:contain;background:#faf7fc}.home-collection-card a{display:flex;flex-direction:column;height:100%}.home-collection-card a>div{display:flex;flex-direction:column;flex:1;padding:18px}.home-collection-card h3{font-size:14px;font-weight:800;color:#493358;line-height:1.6;margin-bottom:10px}.home-collection-card span{font-size:12px;font-weight:700;color:#bc3c95;margin-top:auto;padding-top:10px}.home-collection-card .product-price{font-size:20px;margin:0 0 8px}@media(max-width:850px){.home-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.home-collection-heading h2{font-size:25px}}@media(max-width:420px){.home-collection{padding:28px 18px}.home-collection-heading{align-items:start}.home-collection-card a>div{padding:12px}.home-collection-card h3{font-size:12px}.home-collection-card .product-price{font-size:17px}}
.home-collection-description{display:none}.home-collection-grid[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.home-collection-grid[data-count="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}.home-collection-grid[data-count="1"]{grid-template-columns:minmax(0,1fr)}.home-collection-grid[data-count="1"] .home-collection-card a,.home-collection-grid[data-count="2"] .home-collection-card a{flex-direction:row}.home-collection-grid[data-count="1"] img{width:32%;max-width:320px;flex-shrink:0}.home-collection-grid[data-count="2"] img{width:42%;max-width:240px;flex-shrink:0}.home-collection-grid[data-count="1"] .home-collection-card a>div{padding:32px;justify-content:center}.home-collection-grid[data-count="1"] h3{font-size:23px}.home-collection-grid[data-count="1"] .home-collection-description{display:block;font-size:14px;line-height:1.8;color:#8e7a99;margin-bottom:20px;max-width:640px}.home-collection-grid[data-count="1"] .home-collection-card span{margin-top:8px}@media(max-width:850px){.home-collection-grid[data-count="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}.home-collection-grid[data-count="2"]{grid-template-columns:minmax(0,1fr)}}@media(max-width:520px){.home-collection-grid[data-count="1"] .home-collection-card a>div{padding:16px}.home-collection-grid[data-count="1"] h3{font-size:15px}.home-collection-grid[data-count="1"] .home-collection-description{display:none}.home-collection-grid[data-count="1"] img{width:42%}}
