/* ============ DRC Mobilya — açık/doğal tema ============ */
:root {
  --bg: #faf7f2;
  --bg-alt: #f1ebe2;
  --ink: #2b2620;
  --ink-soft: #6b6259;
  --wood: #8a6a4f;
  --wood-dark: #6e5238;
  --green: #5a6b52;
  --line: #e3dbcf;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1200px, 92vw); margin: 0 auto; }

/* ---------- tipografi ---------- */
.section-eyebrow {
  font-size: 13px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--wood); font-weight: 600; margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 4.2vw, 52px); line-height: 1.15;
  margin-bottom: 28px;
}
.section-title em { font-style: italic; color: var(--wood-dark); }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border: 0; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.03em; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wood); color: var(--white); }
.btn-primary:hover { background: var(--wood-dark); box-shadow: 0 10px 26px rgba(110, 82, 56, .3); }
.btn-ghost { background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.28); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb958; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.btn-lg { padding: 16px 34px; font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding: 0 clamp(20px, 4vw, 56px);
  transition: background .35s ease, box-shadow .35s ease, color .35s ease;
  color: var(--white);
}
.site-header.scrolled {
  background: rgba(250, 247, 242, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(43, 38, 32, .06);
  color: var(--ink);
}
.brand {
  font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .04em;
}
.brand span { font-style: italic; font-weight: 400; }
.brand.has-logo { display: inline-flex; align-items: center; line-height: 0; }
.brand-img { height: 40px; width: auto; display: block; }
.brand-img-footer { height: 44px; }
.main-nav { display: flex; gap: 28px; margin-left: auto; }
.main-nav a {
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  opacity: .9; position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: currentColor; transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-wa { padding: 10px 20px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; margin-left: auto; }
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: currentColor;
  margin: 6px 0; border-radius: 2px; transition: transform .3s ease, opacity .3s ease;
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; color: var(--white); text-align: center;
  perspective: 1300px; perspective-origin: 50% 50%;
  background: #14100b;                           /* eğilince kenar açığa çıkarsa koyu görünsün, beyaz değil */
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
/* Görseli net tut; yazının arkasına odaklı yumuşak scrim + alt/üst geçiş. */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 48% at 50% 48%, rgba(12,9,6,.55) 0%, rgba(12,9,6,.28) 45%, rgba(12,9,6,0) 72%),
    linear-gradient(180deg, rgba(20,15,10,.36) 0%, rgba(20,15,10,.05) 34%, rgba(20,15,10,.1) 62%, rgba(20,15,10,.6) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 840px; padding: 0 24px; }
.hero-eyebrow {
  font-size: 13px; letter-spacing: .34em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 22px; color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(42px, 7vw, 84px); line-height: 1.08; margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4);
}
.hero h1 em { font-style: italic; }
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px); max-width: 580px; margin: 0 auto 36px;
  color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--white); opacity: .85;
}
.scroll-hint-text { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.scroll-hint-line {
  width: 1px; height: 46px; background: rgba(255,255,255,.5); position: relative; overflow: hidden;
}
.scroll-hint-line::after {
  content: ''; position: absolute; left: 0; top: -50%;
  width: 100%; height: 50%; background: var(--white);
  animation: scrollline 1.8s ease-in-out infinite;
}
@keyframes scrollline { to { top: 110%; } }

/* ---------- odalar (sade, tam ekran bloklar) ---------- */
.rooms { position: relative; }
.rooms-viewport { position: relative; height: auto; background: #1c1712; }
.room-scene { position: relative; height: 100vh; min-height: 520px; overflow: hidden; }
.room-img { position: absolute; inset: 0; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
/* Görselin altına güçlü scrim: üzerindeki yazı her zaman net okunsun. */
.room-scene::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(15,11,7,.82) 0%, rgba(15,11,7,.4) 26%, rgba(15,11,7,0) 55%);
}
.room-caption {
  position: absolute; z-index: 2; left: clamp(24px, 6vw, 90px); bottom: clamp(48px, 10vh, 110px);
  color: #fff; max-width: 560px;
}
.room-no {
  font-family: var(--serif); font-style: italic; font-size: 20px;
  color: rgba(255,255,255,.85); display: block; margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.room-caption h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 5.5vw, 68px); line-height: 1.05; margin-bottom: 14px;
  text-shadow: 0 3px 22px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.5);
}
.room-caption h2 em { font-style: italic; }
.room-caption p {
  font-size: clamp(15px, 1.4vw, 18px); max-width: 440px; color: rgba(255,255,255,.95);
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.rooms-progress { display: none; }

/* ---------- hakkımızda ---------- */
.about { padding: clamp(90px, 12vw, 150px) 0; background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1.2fr .8fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.about-text p { margin-bottom: 20px; color: var(--ink-soft); }
.about-text p strong { color: var(--ink); }
.about-text .btn { margin-top: 10px; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  padding: 30px 24px; text-align: center;
  box-shadow: 0 6px 24px rgba(43, 38, 32, .05);
}
.stat-num {
  font-family: var(--serif); font-size: clamp(38px, 4vw, 52px);
  font-weight: 600; color: var(--wood-dark); display: block; line-height: 1.1;
}
.stat-label { font-size: 13px; letter-spacing: .06em; color: var(--ink-soft); font-weight: 500; }

/* ---------- ürün grupları ---------- */
.categories { padding: clamp(90px, 12vw, 150px) 0; background: var(--bg-alt); }
.cat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px;
}
.cat-card {
  position: relative; border-radius: 18px; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--white);
  box-shadow: 0 8px 30px rgba(43, 38, 32, .08);
}
.cat-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0) 40%, rgba(20,15,10,.72) 100%);
}
.cat-info {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; color: var(--white);
}
.cat-info h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.cat-info p {
  font-size: 12.5px; opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity .4s ease, max-height .4s ease;
}
.cat-card:hover .cat-info p { opacity: .9; max-height: 60px; }

/* ---------- online mağaza ---------- */
.shop { padding: clamp(90px, 12vw, 150px) 0; background: var(--bg); }
.shop-intro { color: var(--ink-soft); max-width: 560px; margin: -12px 0 44px; }
.shop-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.shop-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: 0 8px 30px rgba(43, 38, 32, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.shop-card:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(43, 38, 32, .13); }
.shop-img { background: #f4efe7; aspect-ratio: 1 / 1; overflow: hidden; }
.shop-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.shop-card:hover .shop-img img { transform: scale(1.06); }
.shop-info { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.shop-tag {
  align-self: flex-start; font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 600; color: var(--wood); background: var(--bg-alt);
  padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.shop-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 8px; }
.shop-info p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 18px; flex: 1; }
.shop-btn {
  align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--wood-dark);
  padding-bottom: 3px; border-bottom: 2px solid var(--wood); transition: color .25s ease;
}
.shop-card:hover .shop-btn { color: var(--wood); }
/* WhatsApp iletişim butonu (mağaza kartları) */
.shop-btn-wa {
  display: inline-flex; align-items: center; gap: 7px;
  color: #1eaa52; border: 0; padding: 9px 16px; border-radius: 999px;
  background: rgba(37, 211, 102, .12);
}
.shop-card:hover .shop-btn-wa { color: #fff; background: #25d366; }
.shop-btn-wa svg { flex: 0 0 auto; }

/* ---------- galeri ---------- */
.gallery { padding: clamp(90px, 12vw, 150px) 0 60px; background: var(--bg-alt); }
.gallery .container:first-child { text-align: center; }
.gallery-grid {
  columns: 4 260px; column-gap: 18px; margin-top: 50px;
}
.gallery-item {
  break-inside: avoid; margin-bottom: 18px; border-radius: 14px; overflow: hidden;
  cursor: zoom-in; position: relative; display: block; border: 0; padding: 0; background: none; width: 100%;
}
.gallery-item img {
  width: 100%; transition: transform .5s ease, filter .5s ease;
}
.gallery-item:hover img { transform: scale(1.04); filter: brightness(1.05); }
.gallery-item.is-hidden { display: none; }
.gallery-more { text-align: center; padding: 30px 0 40px; }

/* ---------- sss ---------- */
.faq { padding: clamp(90px, 12vw, 150px) 0; background: var(--bg-alt); }
.faq-list { max-width: 820px; margin-top: 40px; }
.faq-item { padding: 26px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.faq-item p { color: var(--ink-soft); font-size: 15px; }
.faq-item p a { color: var(--wood-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- iletişim ---------- */
.contact { padding: clamp(90px, 12vw, 150px) 0; background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px);
}
.contact-info > p { color: var(--ink-soft); margin-bottom: 30px; max-width: 460px; }
.contact-list { list-style: none; margin-bottom: 34px; }
.contact-list li {
  display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact-label {
  min-width: 90px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--wood); font-weight: 600; padding-top: 3px;
}
.contact-form {
  background: var(--white); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: 0 14px 44px rgba(43, 38, 32, .08);
  display: flex; flex-direction: column; gap: 18px;
}
.contact-form .opt { color: var(--ink-soft); font-weight: 400; font-size: 12px; }
/* spam bal küpü — ekran dışı, kullanıcı görmez */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.form-msg { font-size: 14px; line-height: 1.5; margin-top: 2px; min-height: 1px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #b3452f; }
.contact-form label {
  display: flex; flex-direction: column; gap: 7px;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-soft);
}
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); outline: none; resize: vertical;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--wood); box-shadow: 0 0 0 3px rgba(138, 106, 79, .14);
}
.contact-form .btn { align-self: flex-start; margin-top: 6px; }

/* ---------- footer ---------- */
.site-footer { background: #241e17; color: #cfc6ba; }
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 40px; padding: 60px 0 40px; flex-wrap: wrap;
}
.brand-footer { color: var(--white); }
.footer-grid p { font-size: 14px; margin-top: 12px; max-width: 320px; opacity: .8; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); text-align: center;
  padding: 22px 0; font-size: 13px; opacity: .65;
  display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.site-sign {
  color: #cfc6ba; text-decoration: none; font-size: 12.5px; letter-spacing: .04em;
}
.site-sign .sign-pre { opacity: .7; margin-right: 5px; }
.site-sign .sign-short { color: #e6d9c6; font-weight: 600; }
.site-sign .sign-full { display: none; color: #e6d9c6; font-weight: 600; }
.site-sign:hover .sign-short { display: none; }
.site-sign:hover .sign-full { display: inline; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20, 16, 12, .94);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw; max-height: 86vh; border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  width: 52px; height: 52px; font-size: 26px; line-height: 1;
  cursor: pointer; transition: background .25s ease;
  display: flex; align-items: center; justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- reveal (JS ile) ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
.no-js [data-reveal], .reduced-motion [data-reveal] { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(250, 247, 242, .98); color: var(--ink);
    flex-direction: column; gap: 0; padding: 10px 24px 24px;
    box-shadow: 0 20px 40px rgba(43,38,32,.12);
    transform: translateY(-130%); transition: transform .35s ease;
  }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .site-header.nav-open .main-nav { transform: translateY(0); }
  .site-header.nav-open { background: rgba(250,247,242,.98); color: var(--ink); }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .nav-toggle { display: block; }
  .header-wa { display: none; }
  .room-caption { bottom: 90px; }
  .rooms-progress { bottom: 34px; right: auto; left: 24px; }
  .cat-grid { gap: 14px; }
  .shop-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .shop-info { padding: 14px 14px 16px; }
  .shop-info h3 { font-size: 18px; }
  .gallery-grid { columns: 2 150px; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ---------- hareket azaltma ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img { animation: none; }
  .scroll-hint-line::after { animation: none; }
  * { transition-duration: .01ms !important; }
}
