﻿/* ==========================================================================
   MEDA ATELIER · HALLMARK DESIGN SYSTEM
   Editorial, tactile, authentic, visual-first fine stationery aesthetic
   ========================================================================== */

:root {
  --hm-obsidian: #0c1017;
  --hm-obsidian-card: #131924;
  --hm-obsidian-border: rgba(255, 255, 255, 0.08);
  --hm-porcelain: #fbfaf7;
  --hm-cream-soft: #f4efe6;
  --hm-surface: #ffffff;
  --hm-ink-primary: #121826;
  --hm-ink-muted: #5a6578;
  --hm-ink-light: #8e9bb0;
  --hm-coral: #ef4444;
  --hm-coral-glow: rgba(239, 68, 68, 0.16);
  --hm-amber: #f59e0b;
  --hm-mint: #10b981;
  --hm-sky: #0ea5e9;
  --hm-purple: #8b5cf6;
  --hm-shadow-ambient: 0 20px 45px -12px rgba(12, 16, 23, 0.08);
  --hm-shadow-deep: 0 30px 60px -15px rgba(0, 0, 0, 0.25);
  --hm-radius-card: 22px;
  --hm-radius-pill: 999px;
  --hm-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --hm-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Wrapper */
.home-hallmark-wrapper {
  background-color: var(--hm-porcelain);
  color: var(--hm-ink-primary);
  font-family: var(--hm-font-sans);
  overflow: clip;
  padding-bottom: 60px;
}

/* ==========================================================================
   1. HERO SECTION: MEDA ATELIER
   ========================================================================== */
.hm-hero-section {
  position: relative;
  background: radial-gradient(circle at 10% 20%, #ffffff 0%, #faf8f3 40%, #f4eee3 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 104px 24px 64px 24px;
  overflow: hidden;
}

.hm-hero-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.07) 0%, rgba(245, 158, 11, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hm-hero-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* Hero Text Column */
.hm-hero-text {
  max-width: 620px;
}

.hm-hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  color: var(--hm-coral);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hm-hero-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--hm-ink-primary);
  margin: 0 0 22px 0;
}

.hm-title-accent {
  display: inline-block;
  color: var(--hm-coral);
  position: relative;
  font-style: italic;
  font-family: var(--hm-font-serif);
  font-weight: 800;
}

.hm-hero-desc {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.65;
  color: var(--hm-ink-muted);
  margin: 0 0 32px 0;
  font-weight: 450;
}

.hm-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hm-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--hm-obsidian);
  color: #ffffff !important;
  font-size: 0.96rem;
  font-weight: 750;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 24px -6px rgba(12, 16, 23, 0.3);
}

.hm-btn-primary:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(12, 16, 23, 0.4);
}

.hm-btn-arrow {
  transition: transform 0.2s ease;
}

.hm-btn-primary:hover .hm-btn-arrow {
  transform: translateX(4px);
}

.hm-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--hm-ink-primary) !important;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1.5px solid #dfd8cb;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hm-btn-secondary:hover {
  background: #fdfcf9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

/* Micro Metrics Row */
.hm-hero-metrics {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid #e8e2d5;
}

.hm-metric-card {
  display: flex;
  flex-direction: column;
}

.hm-metric-num {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--hm-ink-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hm-metric-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hm-ink-muted);
  margin-top: 4px;
}

.hm-metric-sep {
  width: 1px;
  height: 36px;
  background: #e2dbce;
}

/* Hero Visual Column (Right) */
.hm-hero-visual-col {
  position: relative;
}

.hm-hero-visual-card {
  position: relative;
  border-radius: var(--hm-radius-card);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--hm-shadow-deep);
  border: 1px solid rgba(0, 0, 0, 0.08);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hm-hero-visual-card:hover .hm-hero-img {
  transform: scale(1.025);
}

.hm-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.15) 70%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

.hm-hero-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(12, 16, 23, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   2. LIVING STATIONERY RIBBON (GERÇEK MEDA ÜRÜNLERİ KAYAN ŞERİT)
   ========================================================================== */
.hm-ribbon-section {
  padding: 48px 0 36px 0;
  background: #ffffff;
  border-bottom: 1px solid #eeece5;
}

.hm-ribbon-header {
  max-width: 1360px;
  margin: 0 auto 24px auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hm-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--hm-coral);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hm-ribbon-title {
  font-size: 1.6rem;
  font-weight: 850;
  color: var(--hm-ink-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.hm-btn-ghost {
  background: transparent;
  border: 1px solid #dcd5c7;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--hm-ink-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hm-btn-ghost:hover {
  background: var(--hm-obsidian);
  color: #ffffff;
  border-color: var(--hm-obsidian);
}

.hm-marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.hm-marquee-viewport::before,
.hm-marquee-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 5;
  pointer-events: none;
}

.hm-marquee-viewport::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 10%, transparent 100%);
}

.hm-marquee-viewport::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 10%, transparent 100%);
}

.hm-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: hmScrollRibbon 42s linear infinite;
}

.hm-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes hmScrollRibbon {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hm-ribbon-card {
  width: 250px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1.5px solid #ede8df;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.hm-ribbon-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 30px -8px rgba(0, 0, 0, 0.1);
}

.hm-ribbon-card-img-box {
  width: 100%;
  height: 180px;
  background: #faf8f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

.hm-ribbon-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hm-ribbon-card:hover .hm-ribbon-card-img {
  transform: scale(1.08);
}

.hm-ribbon-pill-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(18, 24, 38, 0.85);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.hm-ribbon-card-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--hm-ink-primary);
  line-height: 1.3;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.3em;
}

.hm-ribbon-card-pack {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
}

.hm-ribbon-card-pack span {
  color: var(--hm-coral);
}

/* ==========================================================================
   3. CURATED BENTO SHOWCASE (GERÇEK MEDA FOTOĞRAFLARI İLE KATEGORİLER)
   ========================================================================== */
.hm-bento-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 64px 24px;
}

.hm-section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.hm-section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 900;
  color: var(--hm-ink-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 10px 0;
}

.hm-section-subtitle {
  font-size: 0.98rem;
  color: var(--hm-ink-muted);
  line-height: 1.6;
  margin: 0;
}

.hm-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hm-bento-card {
  background: #ffffff;
  border-radius: var(--hm-radius-card);
  border: 1.5px solid #ece7de;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.hm-bento-card:hover {
  transform: translateY(-6px);
  border-color: #cbd5e1;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.hm-bento-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
}

.hm-bento-img-wrap {
  position: relative;
  background: #fbf9f5;
  overflow: hidden;
}

.hm-bento-wide .hm-bento-img-wrap {
  width: 48%;
  flex-shrink: 0;
}

.hm-bento-card:not(.hm-bento-wide) .hm-bento-img-wrap {
  width: 100%;
  height: 240px;
}

.hm-bento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hm-bento-card:hover .hm-bento-img {
  transform: scale(1.05);
}

.hm-bento-img-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(12, 16, 23, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.hm-bento-details {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-bento-tag {
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  color: var(--hm-coral);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.hm-bento-heading {
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--hm-ink-primary);
  line-height: 1.25;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.hm-bento-text {
  font-size: 0.88rem;
  color: var(--hm-ink-muted);
  line-height: 1.55;
  margin: 0 0 20px 0;
  flex: 1;
}

.hm-bento-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--hm-ink-primary);
  transition: color 0.2s ease;
}

.hm-bento-card:hover .hm-bento-link {
  color: var(--hm-coral);
}

/* ==========================================================================
   4. SHOWROOM & FAIR EXPERIENCE (GERÇEK MEDA FUAR STANDI FOTOĞRAFLARI)
   ========================================================================== */
.hm-showroom-section {
  background: var(--hm-obsidian);
  color: #ffffff;
  padding: 72px 24px;
  border-top: 1px solid var(--hm-obsidian-border);
  border-bottom: 1px solid var(--hm-obsidian-border);
  position: relative;
  overflow: hidden;
}

.hm-showroom-container {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: center;
}

.hm-showroom-title {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 18px 0;
  color: #ffffff;
}

.hm-showroom-desc {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 32px 0;
}

.hm-showroom-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hm-hl-item {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px;
  border-radius: 14px;
}

.hm-hl-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.hm-hl-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 4px;
}

.hm-hl-item p {
  font-size: 0.84rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* Gallery Grid on Dark Background */
.hm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 190px);
  gap: 16px;
}

.hm-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hm-gallery-item-1 {
  grid-row: span 2;
}

.hm-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hm-gallery-item:hover .hm-gallery-img {
  transform: scale(1.04);
}

.hm-gallery-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

/* ==========================================================================
   5. TESCİLLİ MARKALARIMIZ (BRAND SHOWCASE)
   ========================================================================== */
.hm-brands-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: 60px 24px;
}

.hm-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.hm-brand-card {
  background: #ffffff;
  border: 1.5px solid #ede8de;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.hm-brand-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.08);
}

.hm-brand-logo {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.hm-brand-desc {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--hm-ink-muted);
}

/* ==========================================================================
   6. B2B WHOLESALE PERKS (SAYDAM GÜVENCELER)
   ========================================================================== */
.hm-perks-section {
  max-width: 1360px;
  margin: 0 auto 50px auto;
  padding: 0 24px;
}

.hm-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hm-perk-card {
  background: #ffffff;
  border: 1.5px solid #ece7dd;
  border-radius: 18px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.hm-perk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.06);
}

.hm-perk-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--hm-cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.hm-perk-title {
  font-size: 0.96rem;
  font-weight: 850;
  color: var(--hm-ink-primary);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.hm-perk-desc {
  font-size: 0.82rem;
  color: var(--hm-ink-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBİL & TABLET UYUMLULUĞU)
   ========================================================================== */
@media (max-width: 1024px) {
  .hm-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hm-hero-text {
    max-width: 100%;
  }
  .hm-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-bento-wide {
    grid-column: span 2;
  }
  .hm-showroom-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hm-perks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hm-hero-section {
    padding: 92px 16px 44px 16px !important;
  }
  .hm-hero-title {
    font-size: 2.15rem;
  }
  .hm-ribbon-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .hm-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hm-btn-primary, .hm-btn-secondary {
    justify-content: center;
    width: 100%;
  }
  .hm-hero-metrics {
    gap: 16px;
    justify-content: space-between;
  }
  .hm-metric-num {
    font-size: 1.4rem;
  }
  .hm-metric-label {
    font-size: 0.7rem;
  }
  .hm-bento-grid {
    grid-template-columns: 1fr;
  }
  .hm-bento-wide {
    grid-column: span 1;
    flex-direction: column;
  }
  .hm-bento-wide .hm-bento-img-wrap {
    width: 100%;
    height: 220px;
  }
  .hm-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hm-gallery-item-1 {
    grid-row: auto;
    height: 220px;
  }
  .hm-gallery-item {
    height: 180px;
  }
  .hm-perks-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SCROLL-WORLD INTERACTIVE CAMERA FLY-THROUGH STAGE (FULL-BLEED IMMERSIVE)
   ========================================================================== */
.sw-experience-block {
  position: relative;
  height: 520vh;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding: 0 !important;
  background: #07090e;
  color: #ffffff;
  overflow: clip;
}

.sw-sticky-stage {
  position: sticky;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07090e;
}

/* Atmospheric Seamless Entrance & Exit Portals */
.sw-stage-portal-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22vh;
  background: linear-gradient(180deg, var(--hm-porcelain) 0%, rgba(251, 250, 247, 0.7) 35%, transparent 100%);
  z-index: 25;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.2s ease-out;
}

.sw-stage-portal-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22vh;
  background: linear-gradient(0deg, var(--hm-porcelain) 0%, rgba(251, 250, 247, 0.7) 35%, transparent 100%);
  z-index: 25;
  pointer-events: none;
  will-change: opacity;
  transition: opacity 0.2s ease-out;
}

.sw-stage-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(11, 15, 23, 0.25) 0%, rgba(7, 9, 14, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}

/* 3D Scenes Container */
.sw-layers-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  transform-style: preserve-3d;
}

.sw-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  pointer-events: none;
}

.sw-scene-bg {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.82) contrast(1.08);
  transform: translateZ(0);
}

.sw-scene-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(12, 16, 23, 0.2) 0%, rgba(7, 9, 14, 0.88) 100%);
  pointer-events: none;
}

/* Spatial Parallax Foreground Floating Products */
.sw-floating-objects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  transform-style: preserve-3d;
  overflow: hidden;
}

.sw-float-item {
  position: absolute;
  will-change: transform, opacity;
  pointer-events: none;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sw-float-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.8)) brightness(1.04) contrast(1.05);
}

/* Placements */
.sw-float-astronot {
  top: 18%;
  left: 6%;
  width: 420px;
  max-width: 32vw;
}

.sw-float-calc {
  top: 22%;
  right: 6%;
  width: 440px;
  max-width: 34vw;
}

.sw-float-shuttle {
  bottom: 8%;
  left: 36%;
  width: 360px;
  max-width: 28vw;
}

.sw-float-unicorn {
  top: 16%;
  left: 22%;
  width: 380px;
  max-width: 30vw;
}

/* Bottom Progress Bar (Ultra subtle) */
.sw-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 20;
}

.sw-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transition: width 0.08s ease-out;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .sw-experience-block {
    height: 260vh;
  }
  .sw-float-astronot {
    width: 220px;
    max-width: 58vw;
    left: 2%;
    top: 15%;
  }
  .sw-float-calc {
    width: 240px;
    max-width: 62vw;
    right: 2%;
    top: 30%;
  }
  .sw-float-shuttle {
    width: 200px;
    max-width: 52vw;
    left: 24%;
    bottom: 12%;
  }
  .sw-float-unicorn {
    width: 210px;
    max-width: 54vw;
    left: 8%;
    top: 20%;
  }
}

/* ==========================================================================
   SCROLL-WORLD v2 (Claude) - GERCEK Z-EKSENLI KAMERA TUNELI
   Arka planlar ve urunler ayni 3D dunyada; kamera icinden gecer.
   ========================================================================== */
.sw-experience-block.swc-active { height: 700vh; background: #0b0a10; }
.sw-experience-block.swc-active > .sw-sticky-stage { display: none; }
.swc-stage {
  position: sticky; top: 0; left: 0;
  width: 100vw; height: 100vh; height: 100dvh;
  overflow: hidden; background: #0b0a10;
  perspective: 800px; perspective-origin: 50% 50%;
}
.swc-world {
  position: absolute; inset: 0;
  transform-style: preserve-3d; will-change: transform;
}
.swc-plane {
  position: absolute; left: 50%; top: 50%;
  background-size: cover; background-position: center;
  will-change: opacity; backface-visibility: hidden;
  filter: saturate(1.12) contrast(1.05) brightness(0.96);
}
.swc-item {
  position: absolute; left: 50%; top: 50%;
  will-change: transform, opacity; backface-visibility: hidden;
  transform-style: preserve-3d;
}
.swc-item img {
  display: block; width: 100%; height: auto; pointer-events: none;
  filter: drop-shadow(0 40px 38px rgba(0,0,0,.55)) drop-shadow(0 0 60px rgba(255,214,150,.18));
}
.swc-dust {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,200,.95), rgba(255,220,160,0) 70%);
  will-change: transform, opacity;
}
.swc-vignette {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(8,6,14,.55) 100%);
}
.swc-light {
  position: absolute; inset: -20%; z-index: 6; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(105deg, transparent 38%, rgba(255,226,170,.55) 50%, transparent 62%);
  will-change: transform;
}
.swc-grain {
  position: absolute; inset: 0; z-index: 7; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.swc-portal {
  position: absolute; left: 0; right: 0; height: 28vh; z-index: 20; pointer-events: none; will-change: opacity;
}
.swc-portal-top { top: 0; background: linear-gradient(180deg, var(--hm-porcelain,#fbfaf7) 0%, rgba(251,250,247,.65) 40%, transparent 100%); }
.swc-portal-bot { bottom: 0; background: linear-gradient(0deg, var(--hm-porcelain,#fbfaf7) 0%, rgba(251,250,247,.65) 40%, transparent 100%); }
@media (max-width: 768px) { .sw-experience-block.swc-active { height: 480vh; } }

/* ==========================================================================
   SCROLL-WORLD v3 (Spektrum) - RENK SPIRALI
   Acik, renkli bir dunya: arka plan urunlerin renklerine akar, vitrinler
   ve urunler kameranin etrafinda helezon cizerek dalar.
   ========================================================================== */
.sw-experience-block.sws-active { height: 820vh; background: #fbfaf7; }
.sw-experience-block.sws-active > .sw-sticky-stage { display: none; }
.sws-stage {
  position: sticky; top: 0; left: 0; width: 100vw; height: 100vh; height: 100dvh;
  overflow: hidden; perspective: 800px; perspective-origin: 50% 50%;
  background: #fbfaf7;
}
.sws-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75;
  will-change: transform, background; pointer-events: none;
}
.sws-world { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.sws-photo, .sws-cut, .sws-confetti, .sws-logo {
  position: absolute; left: 50%; top: 50%; will-change: transform, opacity; backface-visibility: hidden;
}
.sws-photo { filter: drop-shadow(0 34px 34px rgba(70,40,110,.30)); }
.sws-photo img {
  display: block; width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; pointer-events: none;
  border-radius: 26px; border: 6px solid rgba(255,255,255,.95);
}
.sws-cut img {
  display: block; width: 100%; height: auto; pointer-events: none;
  filter: drop-shadow(0 34px 30px rgba(80,40,120,.30));
}
.sws-logo img { display: block; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 30px 40px rgba(60,30,90,.25)); }
.sws-confetti { border-radius: 3px; }
.sws-gloss {
  position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: radial-gradient(ellipse at 50% 45%, transparent 60%, rgba(255,255,255,.55) 100%);
}
@media (max-width: 768px) { .sw-experience-block.sws-active { height: 520vh; } }
