/* ============================================================
   DOLCE LEGNO — Home Page Styles
   ============================================================ */

/* ---------- Hero ---------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding-top: 88px; /* navbar yüksekliğiyle eşleşti */
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 75% 25%, rgba(192,154,107,0.08) 0%, transparent 50%),
    radial-gradient(circle at 25% 75%, rgba(61,112,78,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 5rem;
}
.hero-pretitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-badge);
  font-size: 0.8125rem;        /* 0.75 → 0.8125rem — daha okunur */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wood);
  background: rgba(139,94,60,0.08);
  padding: 0.45em 1.1em;
  border-radius: 6px;          /* pill yerine hafif köşe yuvarlama */
  margin-bottom: 1.5rem;
  white-space: nowrap;         /* tek satırda kalsın, kırılmasın */
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.hero-word-dolce {
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: var(--wood);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(139, 94, 60, 0.18);
}
.hero-word-legno {
  font-size: clamp(3.5rem, 6vw, 6rem);
  color: var(--green);
}
.hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--charcoal-60);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
}
.hero-desc {
  font-size: 1rem;
  color: var(--charcoal-60);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 44ch;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.75rem;
  color: var(--charcoal-60);
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--charcoal-30);
}
/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Yeni wrapper: badge ve frame'i birlikte taşır */
.hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img-frame {
  width: 100%;
  max-width: 480px; /* wrap içinde olduğu için tekrar max-width önemsiz ama kalsın */
  aspect-ratio: 1 / 1;
  /* Gök mavisi arka plan — sitenin sky tonu + biraz daha canlı */
  /* Gök mavisi arka plan — fotoğrafdaki duvarla örtüşür */
  background: linear-gradient(145deg, #a8cfe0 0%, #7ab8d4 50%, #5aa0c4 100%);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  /* Hafif iç gölge derinlik için */
  box-shadow:
    0 24px 64px rgba(61,112,78,0.13),
    0 8px 24px rgba(110,173,212,0.25),
    inset 0 0 0 3px rgba(255,255,255,0.18);
}
.hero-img-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden; /* fotoğraf kırpma için — badge'ler artık dışarıda */
}
/* Gerçek çocuk fotoğrafı */
.hero-child-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  /* Arka plan koyu teal (≈175°) → LEGNO yeşili (≈14°):
     hue-rotate(-35deg) teal’ı yeşile çevirir,
     brightness(1.75) koyu arka planı açar,
     saturate(0.8) aşırı doygunluğu yumuşatır */
  /* Filter yok — fotoğraf orijinal renkleriyle görünür */
}
.hero-img-frame:hover .hero-child-photo {
  transform: scale(1.04);
}
/* Floating badges — .hero-img-wrap içinde, .hero-img-frame dışında */
.hero-badge-float {
  position: absolute;
  z-index: 6;
  pointer-events: none;
}
.badge-float-1 {
  top: 10%;
  left: -18px;
  animation: floatBadge 3s ease-in-out infinite;
}
.badge-float-2 {
  bottom: 10%;
  right: -18px;
  animation: floatBadge 3.5s ease-in-out infinite 0.5s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hero-accent-circle {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  border: 1px dashed rgba(192,154,107,0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: rotateSlow 20s linear infinite;
}
@keyframes rotateSlow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--charcoal-60);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--charcoal-30), transparent);
  animation: scrollDown 1.6s ease-in-out infinite;
}
@keyframes scrollDown {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.5); transform-origin: top; }
}

/* ---------- Collections ---------- */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.collection-card {
  background: var(--white);
  border-radius: var(--r-card);
  overflow: hidden;
  display: block;
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease);
}
.collection-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.col-card-img {
  aspect-ratio: 4/3.5;
  overflow: hidden;
}
.col-card-img-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.collection-card:hover .col-card-img-inner { transform: scale(1.04); }
.col-yataklar { background: linear-gradient(135deg, #e8e2d0 0%, #d4c8b0 100%); }
.col-kule { background: linear-gradient(135deg, #dde4d8 0%, #c8d4c2 100%); }
.col-komidın { background: linear-gradient(135deg, #e8ddd0 0%, #d4c4b2 100%); }
.col-dolap { background: linear-gradient(135deg, #dfe5eb 0%, #ccd5dc 100%); }

/* Collection mocks */
.col-mock-bed { width: 80px; text-align: center; }
.cmb-frame {
  width: 80px; height: 40px;
  background: var(--wood); border-radius: 4px; opacity: 0.8;
  margin-bottom: 4px;
}
.cmb-headboard {
  width: 80px; height: 8px;
  background: var(--wood); border-radius: 3px; opacity: 0.5;
}
.col-mock-tower {}
.cmt-body {
  width: 36px; height: 60px;
  background: var(--wood); border-radius: 5px 5px 2px 2px; opacity: 0.8;
  margin: auto;
}
.cmt-step {
  width: 44px; height: 7px;
  background: var(--wood); opacity: 0.55;
  border-radius: 3px; margin: 2px auto 0;
}
.cmt-child {
  width: 14px; height: 20px;
  background: var(--rose); border-radius: 10px 10px 3px 3px;
  opacity: 0.6; margin: -22px auto 0 18px;
}
.col-mock-nightstand {}
.cmn-body {
  width: 55px; height: 35px;
  background: var(--wood); border-radius: 4px; opacity: 0.8;
  margin: auto;
}
.cmn-drawer {
  width: 40px; height: 12px;
  background: rgba(42,47,44,0.2); border-radius: 2px;
  margin: 4px auto 0;
}
.cmn-legs {
  display: flex; justify-content: space-around; padding: 0 8px;
}
.cmn-legs::before, .cmn-legs::after {
  content: '';
  display: block; width: 5px; height: 14px;
  background: var(--wood); border-radius: 2px; opacity: 0.5;
}
.col-mock-wardrobe { position: relative; }
.cmw-body {
  width: 70px; height: 80px;
  background: var(--wood); border-radius: 5px; opacity: 0.75;
}
.cmw-door {
  position: absolute; top: 0;
  width: 34px; height: 80px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
}
.cmw-left { left: 0; }
.cmw-right { right: 0; }
.col-card-body {
  padding: 1.25rem 1.4rem 1.5rem;
}
.col-card-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--charcoal);
}
.col-card-body p {
  font-size: 0.8125rem;
  color: var(--charcoal-60);
  margin-bottom: 0.9rem;
}
.col-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-badge);
  letter-spacing: 0.04em;
}
.collection-card:hover .col-link { gap: 0.6rem; }

/* ---------- Lookbook ---------- */
.lookbook-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.lookbook-text h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}
.lookbook-desc {
  color: var(--charcoal-60);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.lookbook-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.lookbook-feat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.feat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--wood);
  flex-shrink: 0;
}
.lookbook-gallery {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 480px;
}
.lookbook-img-main {
  grid-row: 1 / 3;
  border-radius: var(--r-card);
  overflow: hidden;
}
.lookbook-img-small {
  border-radius: var(--r-card);
  overflow: hidden;
}
.lookbook-img-main img,
.lookbook-img-small img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.lookbook-img-main:hover img,
.lookbook-img-small:hover img { transform: scale(1.04); }

/* ---------- Reviews ---------- */
.review-card {
  background: var(--white);
  border-radius: var(--r-card);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--dur) var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-stars { margin-bottom: 1rem; }
.review-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--wood);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wood);
  flex-shrink: 0;
}
.review-author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}
.review-author span {
  font-size: 0.75rem;
  color: var(--charcoal-60);
}

/* ---------- FAQ ---------- */
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.faq-header h2 { margin-bottom: 0.75rem; }
.faq-list { padding-top: 0.5rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  padding-block: 4.5rem;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 {
  color: var(--cream);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.6rem;
}
.cta-banner p {
  color: rgba(242,240,230,0.7);
  font-size: 0.9375rem;
}
.cta-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cta-banner .btn-primary {
  background: var(--cream);
  color: var(--green);
}
.cta-banner .btn-primary:hover {
  background: var(--cream-dark);
}
.cta-banner .btn-secondary {
  border-color: rgba(242,240,230,0.5);
  color: var(--cream);
}
.cta-banner .btn-secondary:hover {
  background: rgba(242,240,230,0.15);
  color: var(--cream);
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE HOME — Profesyonel Mobil E-Ticaret
   ══════════════════════════════════════════════════════════ */

/* ── Tablet ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .hero-content      { gap: 2.5rem; }
}

/* ── Mobil (≤768px) ─────────────────────────────────── */
@media (max-width: 768px) {

  /* === HERO === */
  .hero-section { min-height: auto; padding-top: 64px; padding-bottom: 0; }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: 1.5rem 3rem;
    gap: 1.5rem;
  }
  .hero-visual { order: 0; }
  .hero-text   { order: 1; }

  .hero-img-frame {
    max-width: 280px;
    margin-inline: auto;
  }
  .hero-pretitle { font-size: 0.7rem; }

  .hero-word-dolce,
  .hero-word-legno { font-size: clamp(2.8rem, 11vw, 4rem); }

  .hero-slogan { font-size: 1rem; }
  .hero-desc   { font-size: 0.875rem; max-width: 34ch; margin-inline: auto; }
  .hero-desc br { display: none; }

  /* CTA butonları dikey */
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-ctas .btn { width: 100%; max-width: 320px; }

  /* İstatistikler */
  .hero-stats {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  .hero-stat strong { font-size: 1.25rem; }
  .hero-stat span   { font-size: 0.75rem; }

  /* === KOLEKSİYONLAR === */
  .collections-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.875rem;
  }
  .collection-card { border-radius: 14px; }
  .collection-card-inner { padding: 1rem; min-height: 140px; }
  .collection-name { font-size: 1rem; }
  .collection-count { font-size: 0.75rem; }

  /* === LOOKBOOK === */
  .lookbook-inner    { grid-template-columns: 1fr; gap: 2rem; }
  .lookbook-gallery  { height: 240px; border-radius: 16px; }
  .lookbook-text     { text-align: center; }
  .lookbook-features { justify-content: center; }

  /* === YORUMLAR === */
  .reviews-grid { grid-template-columns: 1fr; gap: 1rem; }
  .review-card  { padding: 1.25rem; }

  /* === SSS === */
  .faq-inner { grid-template-columns: 1fr; gap: 1.5rem; }

  /* === CTA BANNER === */
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
  }
  .cta-banner-actions { flex-direction: column; align-items: center; }
  .cta-banner-actions .btn { width: 100%; max-width: 320px; }

  /* Scroll hint gizle */
  .hero-scroll-hint { display: none; }

  /* Badge float konumları */
  .badge-float-1 { top: 8%; left: -8px; }
  .badge-float-2 { bottom: 10%; right: -8px; }
}

/* ── Küçük Mobil (≤480px) ──────────────────────────── */
@media (max-width: 480px) {

  /* Koleksiyonlar */
  .collections-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .collection-card-inner { min-height: 120px; }

  /* Hero fotoğraf */
  .hero-img-frame { max-width: 280px; }
  /* Badge'ler küçük ekranda da görünsün */
  .badge-float-1 { top: 6%; left: -6px; }
  .badge-float-2 { bottom: 6%; right: -6px; }
  .badge-hero-montessori, .hero-badge-float .badge-green {
    font-size: 0.62rem;
    padding: 0.22em 0.55em;
  }

  .hero-word-dolce,
  .hero-word-legno { font-size: clamp(2.4rem, 13vw, 3.5rem); }

  /* Ürün kartları */
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

