/* ============================================================
   Floda Mobilya — Public Site CSS
   Tasarım kaynağı: Front-site/src/styles.css
   Tailwind utility'leri yerine, kullanılan utility'lerin manuel
   karşılığı (pixel-perfect, sıfır build adımı).
   ============================================================ */

/* Reset / Normalize */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
  font-weight: 500;
  line-height: 1.1;
}

/* ===== Color tokens (oklch fallback to hex/rgb where helpful) ===== */
:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 300);
  --foreground: oklch(0.2 0.08 295);
  --cream: oklch(0.97 0.008 300);
  --walnut: oklch(0.35 0.16 295);
  --walnut-deep: oklch(0.22 0.16 295);
  --gold: oklch(0.7 0.18 320);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.2 0.08 295);
  --primary: oklch(0.22 0.16 295);
  --primary-foreground: oklch(0.98 0.005 300);
  --secondary: oklch(0.95 0.015 300);
  --secondary-foreground: oklch(0.22 0.16 295);
  --muted: oklch(0.96 0.012 300);
  --muted-foreground: oklch(0.48 0.05 295);
  --accent: oklch(0.7 0.18 320);
  --accent-foreground: oklch(0.99 0.003 300);
  --destructive: oklch(0.55 0.22 25);
  --border: oklch(0.9 0.015 300);
  --input: oklch(0.92 0.012 300);
  --ring: oklch(0.22 0.16 295);

  --gradient-walnut: linear-gradient(135deg, oklch(0.28 0.18 295) 0%, oklch(0.18 0.14 295) 100%);
  --shadow-soft: 0 4px 20px -8px oklch(0.22 0.16 295 / 0.2);
  --shadow-elegant: 0 20px 50px -20px oklch(0.22 0.16 295 / 0.32);
  --shadow-card: 0 2px 12px -4px oklch(0.22 0.16 295 / 0.14);
  --transition-smooth: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Layout helpers ===== */
.max-w-7xl { max-width: 80rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.min-h-screen { min-height: 100vh; }
.h-full { height: 100%; }
.w-full { width: 100%; }

/* gaps */
.gap-1\.5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }

/* padding */
.p-2 { padding: 0.5rem; } .p-3 { padding: 0.75rem; } .p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; } .p-7 { padding: 1.75rem; } .p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; } .p-12 { padding: 3rem; } .p-16 { padding: 4rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-7 { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pb-24 { padding-bottom: 6rem; }
.pt-1\.5 { padding-top: 0.375rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-4 { margin-top: 1rem; } .mt-5 { margin-top: 1.25rem; } .mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; } .mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; } .mt-14 { margin-top: 3.5rem; } .mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; } .mt-24 { margin-top: 6rem; } .mt-32 { margin-top: 8rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-1\.5 { margin-bottom: 0.375rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; } .mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; } .mb-7 { margin-bottom: 1.75rem; } .mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; } .mb-12 { margin-bottom: 3rem; }
.mb-14 { margin-bottom: 3.5rem; }
.ml-auto { margin-left: auto; }

/* ===== Typography ===== */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-sans { font-family: 'Inter', system-ui, sans-serif; }
.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.text-balance { text-wrap: balance; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.tracking-tight { letter-spacing: -0.025em; }

.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }

/* tracking */
.tracking-\[0\.18em\] { letter-spacing: 0.18em; }
.tracking-\[0\.22em\] { letter-spacing: 0.22em; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.32em\] { letter-spacing: 0.32em; }

/* ===== Colors ===== */
.text-foreground { color: var(--foreground); }
.text-foreground\/70 { color: oklch(0.2 0.08 295 / 0.7); }
.text-foreground\/80 { color: oklch(0.2 0.08 295 / 0.8); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-accent { color: var(--accent); }
.text-accent-foreground { color: var(--accent-foreground); }
.text-primary { color: var(--primary); }
.text-primary-foreground { color: var(--primary-foreground); }
.text-primary-foreground\/80 { color: oklch(0.98 0.005 300 / 0.8); }
.text-white { color: #fff; }
.text-white\/75 { color: rgba(255,255,255,.75); }
.text-white\/80 { color: rgba(255,255,255,.8); }
.text-white\/85 { color: rgba(255,255,255,.85); }
.text-destructive { color: var(--destructive); }

.bg-background { background: var(--background); }
.bg-background\/80 { background: oklch(0.99 0.003 300 / 0.8); }
.bg-background\/85 { background: oklch(0.99 0.003 300 / 0.85); }
.bg-card { background: var(--card); }
.bg-muted { background: var(--muted); }
.bg-muted\/60 { background: oklch(0.96 0.012 300 / 0.6); }
.bg-secondary { background: var(--secondary); }
.bg-secondary\/40 { background: oklch(0.95 0.015 300 / 0.4); }
.bg-primary { background: var(--primary); }
.bg-accent { background: var(--accent); }
.bg-accent\/15 { background: oklch(0.7 0.18 320 / 0.15); }
.bg-accent\/25 { background: oklch(0.7 0.18 320 / 0.25); }
.bg-white\/5 { background: rgba(255,255,255,.05); }
.bg-white\/15 { background: rgba(255,255,255,.15); }
.bg-walnut { background: var(--walnut); }
.bg-walnut-deep { background: var(--walnut-deep); }

.bg-gradient-walnut { background: var(--gradient-walnut); }
.bg-gradient-warm { background: linear-gradient(135deg, oklch(0.99 0.003 300) 0%, oklch(0.95 0.02 300) 100%); }

/* ===== Borders ===== */
.border { border: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.border-border\/60 { border-color: oklch(0.9 0.015 300 / 0.6); }
.border-primary { border-color: var(--primary); }
.border-primary-foreground\/10 { border-color: oklch(0.98 0.005 300 / 0.1); }
.border-primary-foreground\/20 { border-color: oklch(0.98 0.005 300 / 0.2); }
.border-primary-foreground\/30 { border-color: oklch(0.98 0.005 300 / 0.3); }
.border-accent { border-color: var(--accent); }
.border-white\/15 { border-color: rgba(255,255,255,.15); }
.border-white\/20 { border-color: rgba(255,255,255,.2); }
.border-white\/25 { border-color: rgba(255,255,255,.25); }
.border-foreground { border-color: var(--foreground); }
.border-transparent { border-color: transparent; }
.border-2 { border-width: 2px; }

.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999rem; }

/* ===== Sizes ===== */
.size-1\.5 { width: 0.375rem; height: 0.375rem; }
.size-3\.5 { width: 0.875rem; height: 0.875rem; }
.size-4 { width: 1rem; height: 1rem; }
.size-5 { width: 1.25rem; height: 1.25rem; }
.size-9 { width: 2.25rem; height: 2.25rem; }
.size-10 { width: 2.5rem; height: 2.5rem; }
.size-11 { width: 2.75rem; height: 2.75rem; }
.size-12 { width: 3rem; height: 3rem; }
.size-14 { width: 3.5rem; height: 3.5rem; }

.h-20 { height: 5rem; }
.h-\[3px\] { height: 3px; }
.h-\[400px\] { height: 400px; }
.h-\[420px\] { height: 420px; }
.h-\[560px\] { height: 560px; }
.h-\[600px\] { height: 600px; }
.h-\[640px\] { min-height: 640px; }
.h-\[70px\] { height: 70px; }
.h-\[92vh\] { height: 92vh; }
.min-h-\[640px\] { min-height: 640px; }
.min-h-\[70vh\] { min-height: 70vh; }
.max-h-\[960px\] { max-height: 960px; }
.w-12 { width: 3rem; }
.w-28 { width: 7rem; }
.w-\[420px\] { width: 420px; }
.w-\[520px\] { width: 520px; }
.h-\[420px\] { height: 420px; }
.h-\[520px\] { height: 520px; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }

/* ===== Effects ===== */
.shadow-card { box-shadow: var(--shadow-card); }
.shadow-soft { box-shadow: var(--shadow-soft); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-\[0_10px_40px_-10px_oklch\(0\.7_0\.18_320\/0\.7\)\] { box-shadow: 0 10px 40px -10px oklch(0.7 0.18 320 / 0.7); }
.drop-shadow-\[0_4px_30px_oklch\(0\.10_0\.08_295\/0\.6\)\] { filter: drop-shadow(0 4px 30px oklch(0.10 0.08 295 / 0.6)); }

.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.transition-smooth { transition: var(--transition-smooth); }
.transition-transform { transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.transition-opacity { transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.duration-500 { transition-duration: 0.5s; }
.duration-700 { transition-duration: 0.7s; }
.duration-\[1200ms\] { transition-duration: 1200ms; }
.duration-\[8000ms\] { transition-duration: 8000ms; }
.opacity-0 { opacity: 0; }
.opacity-40 { opacity: 0.4; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }
.pointer-events-none { pointer-events: none; }

.object-cover { object-fit: cover; }
.scale-100 { transform: scale(1); }
.scale-110 { transform: scale(1.1); }
.translate-y-0 { transform: translateY(0); }
.translate-y-8 { transform: translateY(2rem); }

.-translate-y-1\/2 { transform: translateY(-50%); }

/* Bg gradients (used in hero overlays) */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-from), var(--tw-gradient-to)); }

/* ===== Custom utilities (matching original styles.css) ===== */
.image-zoom { overflow: hidden; }
.image-zoom img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.image-zoom:hover img { transform: scale(1.06); }

.product-card-hover { transition: var(--transition-smooth); }
.product-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elegant);
}

/* Hover modifiers — minimum set used in design */
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:text-foreground:hover { color: var(--foreground); }
.hover\:text-accent:hover { color: var(--accent); }
.hover\:bg-background:hover { background: var(--background); }
.hover\:border-foreground:hover { border-color: var(--foreground); }
.hover\:border-accent:hover { border-color: var(--accent); }
.hover\:scale-\[1\.03\]:hover { transform: scale(1.03); }
.hover\:translate-x-1:hover { transform: translateX(0.25rem); }
.hover\:bg-white\/15:hover { background: rgba(255,255,255,0.15); }
.hover\:bg-accent:hover { background: var(--accent); }
.hover\:text-accent-foreground:hover { color: var(--accent-foreground); }
.hover\:bg-primary-foreground\/10:hover { background: oklch(0.98 0.005 300 / 0.1); }

/* Group hover */
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

/* ===== Animations ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both; }

@keyframes pulse-soft { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-pulse { animation: pulse-soft 2s cubic-bezier(0.4,0,0.6,1) infinite; }

@keyframes slide-progress {
  from { transform: scaleX(0); transform-origin: left; }
  to { transform: scaleX(1); transform-origin: left; }
}
.hero-progress-active { animation: slide-progress 6000ms linear forwards; transform-origin: left; }
.hero-progress-done { transform: scaleX(1); transform-origin: left; }
.hero-progress-pending { transform: scaleX(0); transform-origin: left; }

/* line-clamp */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Form elements */
.public-input,
.public-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: var(--background);
  color: var(--foreground);
  outline: none;
  transition: var(--transition-smooth);
}
.public-input:focus, .public-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px oklch(0.7 0.18 320 / 0.2);
}
.public-textarea { resize: none; }

/* ===== Grid columns ===== */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== Responsive (sm/md/lg) ===== */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:flex { display: flex; }
  .sm\:inline-flex { display: inline-flex; }
}
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:inline-flex { display: inline-flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:flex-row { flex-direction: row; }
  .md\:items-end { align-items: flex-end; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-left { text-align: left; }
}
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
  .lg\:inline-flex { display: inline-flex; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:p-16 { padding: 4rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-14 { gap: 3.5rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:mt-14 { margin-top: 3.5rem; }
  .lg\:mt-20 { margin-top: 5rem; }
  .lg\:mt-32 { margin-top: 8rem; }
  .lg\:h-\[560px\] { height: 560px; }
  .lg\:h-\[600px\] { height: 600px; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  .lg\:left-10 { left: 2.5rem; }
  .lg\:right-10 { right: 2.5rem; }
  .lg\:bottom-12 { bottom: 3rem; }
  .lg\:w-20 { width: 5rem; }
  .lg\:p-12 { padding: 3rem; }
  .lg\:sticky { position: sticky; }
  .lg\:top-24 { top: 6rem; }
}

/* ===== HERO SLIDER specific ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 640px;
  max-height: 960px;
  overflow: hidden;
  background: oklch(0.12 0.08 295);
}
.hero-slide {
  position: absolute; inset: 0;
  transition: opacity 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide:not(.is-active) { opacity: 0; pointer-events: none; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8000ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
}
.hero-slide.is-active img { transform: scale(1.1); }
.hero-overlay-1 { position: absolute; inset: 0; background: oklch(0.12 0.08 295 / 0.55); }
.hero-overlay-2 { position: absolute; inset: 0; background: linear-gradient(to right, oklch(0.12 0.08 295 / 0.95) 0%, oklch(0.12 0.08 295 / 0.7) 50%, oklch(0.12 0.08 295 / 0.3) 100%); }
.hero-overlay-3 { position: absolute; inset: 0; background: linear-gradient(to top, oklch(0.10 0.08 295) 0%, transparent 50%, oklch(0.10 0.08 295 / 0.4) 100%); }
.hero-glow-1 { position: absolute; bottom: -8rem; right: -8rem; width: 520px; height: 520px; border-radius: 9999px; background: oklch(0.7 0.18 320 / 0.25); filter: blur(64px); }
.hero-glow-2 { position: absolute; top: 25%; left: -10rem; width: 420px; height: 420px; border-radius: 9999px; background: oklch(0.45 0.22 295 / 0.3); filter: blur(64px); }
.hero-grid-texture {
  position: absolute; inset: 0; opacity: 0.07; mix-blend-mode: overlay; pointer-events: none;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.6) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.6) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-content-block {
  transition: all 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-content-block:not(.is-active) { opacity: 0; transform: translateY(2rem); position: absolute; pointer-events: none; }
.hero-content-block.is-active { opacity: 1; transform: translateY(0); position: relative; }
.hero-title-accent {
  background: linear-gradient(to right, oklch(0.7 0.18 320), oklch(0.78 0.18 330), oklch(0.7 0.18 320));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-progress-bar {
  position: relative; height: 3px; width: 3rem; overflow: hidden;
  border-radius: 9999px; background: rgba(255,255,255,0.15);
  display: block;
}
@media (min-width: 1024px) { .hero-progress-bar { width: 5rem; } }
.hero-progress-bar > span {
  display: block; height: 100%;
  background: linear-gradient(to right, oklch(0.7 0.18 320), oklch(0.78 0.18 330));
  border-radius: 9999px;
  transform: scaleX(0); transform-origin: left;
}

/* ===== Header ===== */
.public-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: oklch(0.99 0.003 300 / 0.85);
  border-bottom: 1px solid oklch(0.9 0.015 300 / 0.6);
}
.public-header-inner {
  max-width: 80rem; margin: 0 auto;
  padding: 0 1.5rem; height: 5rem;
  display: flex; align-items: center; justify-content: space-between;
}
@media (min-width: 1024px) { .public-header-inner { padding: 0 2.5rem; } }
.public-nav { display: none; gap: 2.5rem; align-items: center; }
@media (min-width: 768px) { .public-nav { display: flex; } }
.public-nav a {
  font-size: 0.875rem; font-weight: 500;
  color: oklch(0.2 0.08 295 / 0.7);
  transition: var(--transition-smooth);
}
.public-nav a:hover, .public-nav a.is-active { color: var(--foreground); }
.public-cta-btn {
  display: none;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--primary); color: var(--primary-foreground);
  border-radius: 9999px;
  font-size: 0.875rem; font-weight: 500;
  transition: var(--transition-smooth);
}
@media (min-width: 768px) { .public-cta-btn { display: inline-flex; } }
.public-cta-btn:hover { opacity: 0.9; }
.public-mobile-toggle {
  display: inline-flex;
  padding: 0.5rem;
}
@media (min-width: 768px) { .public-mobile-toggle { display: none; } }
.public-mobile-menu {
  border-top: 1px solid oklch(0.9 0.015 300 / 0.6);
  background: var(--background);
}
.public-mobile-menu nav {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1rem 1.5rem;
}
.public-mobile-menu a { font-size: 1rem; font-weight: 500; color: oklch(0.2 0.08 295 / 0.8); }

/* ===== Footer ===== */
.public-footer {
  background: var(--gradient-walnut);
  color: var(--primary-foreground);
  margin-top: 8rem;
}
.public-footer-grid {
  max-width: 80rem; margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid; gap: 3rem;
}
@media (min-width: 1024px) { .public-footer-grid { padding-left: 2.5rem; padding-right: 2.5rem; } }
@media (min-width: 768px) { .public-footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .public-footer-grid { grid-template-columns: repeat(5, 1fr); } }
.public-footer-bottom {
  border-top: 1px solid oklch(0.98 0.005 300 / 0.1);
}
.public-footer-bottom-inner {
  max-width: 80rem; margin: 0 auto;
  padding: 1.25rem 1.5rem;
  font-size: 0.75rem; opacity: 0.6;
  display: flex; justify-content: space-between; flex-direction: column; gap: 0.5rem;
}
@media (min-width: 768px) { .public-footer-bottom-inner { flex-direction: row; } }
@media (min-width: 1024px) { .public-footer-bottom-inner { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* utilities tail */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

/* ===== Eklenen utility'ler (Lovable detay sayfası için) ===== */
.min-w-0 { min-width: 0; }
.break-words { overflow-wrap: break-word; word-wrap: break-word; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.max-w-\[60\%\] { max-width: 60%; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-y-1 { row-gap: 0.25rem; }
.aspect-\[16\/10\] { aspect-ratio: 16 / 10; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.h-\[70px\] { height: 70px; }
.flex-shrink-0 { flex-shrink: 0; }
.shrink-0 { flex-shrink: 0; }

@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .sm\:gap-4 { gap: 1rem; }
  .sm\:gap-6 { gap: 1.5rem; }
  .sm\:mt-8 { margin-top: 2rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:p-6 { padding: 1.5rem; }
}
@media (min-width: 768px) {
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
}
@media (min-width: 1024px) {
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:p-10 { padding: 2.5rem; }
  .lg\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:mt-20 { margin-top: 5rem; }
  .lg\:mt-14 { margin-top: 3.5rem; }
}

/* === Lovable ProductGallery (scroll-snap horizontal) === */
.lvb-gallery {
  position: relative;
  width: 100%;
}
.lvb-gallery-stage {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--muted);
  box-shadow: var(--shadow-card);
}
.lvb-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.lvb-gallery-track::-webkit-scrollbar { display: none; }
.lvb-gallery-slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 10;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  background: var(--muted);
}
.lvb-gallery-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.lvb-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: oklch(0.99 0.003 300 / 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s, background 0.2s;
}
.lvb-gallery-stage:hover .lvb-gallery-arrow,
.lvb-gallery-arrow:focus-visible {
  opacity: 1;
}
.lvb-gallery-arrow:hover { background: var(--background); }
.lvb-gallery-arrow.prev { left: 0.75rem; }
.lvb-gallery-arrow.next { right: 0.75rem; }
/* Mobilde her zaman görünür ve daha sıkı */
@media (max-width: 640px) {
  .lvb-gallery-arrow {
    opacity: 1;
    width: 2.25rem;
    height: 2.25rem;
  }
  .lvb-gallery-arrow.prev { left: 0.5rem; }
  .lvb-gallery-arrow.next { right: 0.5rem; }
}

.lvb-gallery-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background: oklch(0.99 0.003 300 / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.lvb-gallery-thumbs {
  margin-top: 1rem;
  display: flex;
  gap: 0.625rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.lvb-gallery-thumbs::-webkit-scrollbar { display: none; }
.lvb-gallery-thumb {
  position: relative;
  flex-shrink: 0;
  width: 7rem;
  height: 70px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
  background: var(--muted);
}
.lvb-gallery-thumb:hover { opacity: 1; }
.lvb-gallery-thumb.is-active {
  border-color: var(--accent);
  opacity: 1;
  box-shadow: var(--shadow-soft);
}
.lvb-gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* misc */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.snap-x { scroll-snap-type: x mandatory; }
.snap-mandatory { scroll-snap-type: x mandatory; }
.snap-center { scroll-snap-align: center; }

/* SVG icon sizing */
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Recent products carousel ===== */
.recent-carousel {
  position: relative;
}
.recent-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  scrollbar-width: none;
}
.recent-carousel-track::-webkit-scrollbar { display: none; }
.recent-carousel-item {
  flex: 0 0 auto;
  width: calc(100% - 1rem);
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .recent-carousel-item { width: calc(50% - 0.75rem); }
}
@media (min-width: 1024px) {
  .recent-carousel-item { width: calc(33.333% - 1rem); }
}
.recent-carousel-btn {
  position: absolute;
  top: 38%;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: var(--background);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 5;
}
.recent-carousel-btn:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.recent-carousel-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.recent-carousel-btn-prev { left: -1.25rem; }
.recent-carousel-btn-next { right: -1.25rem; }
@media (max-width: 640px) {
  .recent-carousel-btn { display: none; }
}

/* (Eski public-gallery / public-piece stilleri Lovable scroll-snap yapısı ile değiştirildi — yukarıdaki .lvb-gallery* sınıflarına bakın) */

/* ===== Public lightbox (ürün detay görsel büyütme) ===== */
.public-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 5, 30, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: lbFadeIn 0.25s ease-out;
}
.public-lightbox[hidden] { display: none; }
@keyframes lbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.public-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.public-lightbox-stage.is-zoomed {
  overflow: auto;
  cursor: grab;
  align-items: flex-start;
  justify-content: flex-start;
}
.public-lightbox-stage::-webkit-scrollbar { display: none; }
.public-lightbox-stage { scrollbar-width: none; }

.public-lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 4rem);
  object-fit: contain;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-drag: none;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
}
.public-lightbox-stage.is-zoomed .public-lightbox-img {
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  transform: scale(2.2);
  border-radius: 0;
  cursor: zoom-out;
}

.public-lightbox-close,
.public-lightbox-prev,
.public-lightbox-next {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.public-lightbox-close:hover,
.public-lightbox-prev:hover,
.public-lightbox-next:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}
.public-lightbox-close { top: 1rem; right: 1rem; }
.public-lightbox-prev  { left: 1rem; top: 50%; transform: translateY(-50%); }
.public-lightbox-next  { right: 1rem; top: 50%; transform: translateY(-50%); }
.public-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.public-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

.public-lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  background: rgba(0,0,0,0.4);
  padding: .5rem 1rem;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  max-width: 80%;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.public-lightbox-counter {
  position: absolute;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: .75rem;
  letter-spacing: .08em;
  font-family: 'Inter', sans-serif;
  background: rgba(0,0,0,0.3);
  padding: .35rem .9rem;
  border-radius: 9999px;
}

@media (max-width: 640px) {
  .public-lightbox { padding: 1rem; }
  .public-lightbox-close,
  .public-lightbox-prev,
  .public-lightbox-next { width: 2.5rem; height: 2.5rem; }
  .public-lightbox-stage.is-zoomed .public-lightbox-img { transform: scale(1.8); }
}

/* Scroll-to-top button */
#publicScrollTop {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 40;
  width: 3rem; height: 3rem; border-radius: 9999px;
  background: var(--primary); color: var(--primary-foreground);
  display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elegant);
  transition: var(--transition-smooth);
}
#publicScrollTop.visible { display: inline-flex; }
#publicScrollTop:hover { opacity: 0.9; transform: translateY(-2px); }
