:root {
  --bg: #F8F6F2;
  --white: #FFFFFF;
  --ink: #1C1215;
  --muted: #6B6068;
  --line: rgba(28, 18, 21, .10);
  --accent: #6B1A38;
  --accent-deep: #4A1025;
  --gold: #C4923A;
  --shadow: 0 4px 20px rgba(28, 18, 21, .08);
  --radius: 10px;
  --serif: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  padding-bottom: 76px;
  -webkit-font-smoothing: antialiased;
}
img, iframe { max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 12px; z-index: 20; }
.skip-link:focus { left: 8px; }

/* ─── HEADER ─── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(248, 246, 242, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 8px; }

/* ─── HAMBURGER ─── */
.hamburger {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; border: none; background: none;
  cursor: pointer; padding: 8px; border-radius: 8px; flex-shrink: 0;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-nav-overlay {
  position: fixed; inset: 70px 0 0; z-index: 9;
  background: rgba(248,246,242,.97); backdrop-filter: blur(18px);
  overflow-y: auto;
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.mobile-nav-overlay.is-open {
  opacity: 1; pointer-events: auto; transform: translateY(0);
  visibility: visible;
  transition: opacity .2s, transform .2s, visibility 0s;
}
.mobile-nav-overlay nav { padding: 12px 20px 100px; display: grid; gap: 0; }
.mobile-nav-overlay a {
  display: block; padding: 18px 4px;
  font-size: 22px; font-family: var(--serif); font-weight: 700; color: var(--ink);
  text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-nav-overlay a:hover { color: var(--accent); }
.mobile-nav-overlay .mobile-nav-wa {
  display: flex; align-items: center; gap: 10px; margin-top: 20px;
  background: #25D366; color: white; padding: 14px 20px;
  border-radius: 12px; font-size: 16px; border-bottom: none;
}
body.nav-open { overflow: hidden; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--accent); color: #F0D9A5;
  font-family: var(--serif); font-size: 15px; font-weight: 700;
  border-radius: var(--radius); flex-shrink: 0;
}
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-family: var(--serif); font-size: 15px; }
.brand small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.desktop-nav { display: none; align-items: center; gap: 22px; font-size: 14px; }
.desktop-nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.desktop-nav a:hover { color: var(--accent); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 22px; border: 1.5px solid var(--line); border-radius: 99px;
  text-decoration: none; font-weight: 700; background: var(--white); color: var(--ink);
  max-width: 100%; text-align: center; transition: all .2s; gap: 8px; cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fffaf2; box-shadow: 0 4px 16px rgba(107,26,56,.28); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: white; box-shadow: 0 4px 16px rgba(37,211,102,.30); }
.btn-whatsapp:hover { background: #1EBD5E; border-color: #1EBD5E; }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,.38); }
.btn-outline-light:hover { background: rgba(255,255,255,.10); border-color: white; }
.btn-shine { position: relative; overflow: hidden; background: #25D366; color: white; border-color: #25D366; }
.btn-shine::after { content: ""; position: absolute; inset: -30% auto -30% -40%; width: 32px; transform: rotate(18deg); background: rgba(255,255,255,.35); animation: shine 3.8s infinite; }
@keyframes shine { 0%, 55% { left: -40%; } 80%, 100% { left: 120%; } }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 { font-family: var(--serif); line-height: 1.10; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 8vw, 72px); max-width: 900px; }
h2 { font-size: clamp(26px, 5vw, 42px); }
h3 { font-size: 19px; }
p { margin: 0 0 14px; }
.eyebrow { color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin: 0 0 12px; display: block; }
.lead { font-size: 17px; color: var(--muted); max-width: 600px; line-height: 1.72; }
.text-link { color: var(--accent); font-weight: 700; text-decoration-thickness: 2px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ─── HERO ─── */
.hero {
  padding: 76px 0 68px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: 'TN';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif); font-size: 480px; font-weight: 700;
  color: var(--accent); opacity: .025; line-height: 1;
  letter-spacing: -20px; pointer-events: none; user-select: none;
}
.hero > .wrap { position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  letter-spacing: .10em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 28px; height: 1px; background: var(--accent); opacity: .40;
}
.hero h1 { margin: 0 auto 20px; }
.hero .lead { margin: 0 auto 34px; max-width: 540px; }
.hero .cta-row { justify-content: center; }

/* ─── PROOF BAND ─── */
.proof-band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proof-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 10px 16px; text-align: center; position: relative;
}
.proof-item + .proof-item::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%;
  width: 1px; background: var(--line);
}
.proof-num {
  font-family: var(--serif); font-size: 36px; font-weight: 700;
  color: var(--accent); line-height: 1; letter-spacing: -.02em;
}
.proof-lbl {
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .06em; text-transform: uppercase;
}
.proof-sub { font-size: 11px; color: var(--muted); }

/* ─── SECTIONS ─── */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-head { margin-bottom: 44px; text-align: center; }

/* ─── SERVICES GRID ─── */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px;
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}

/* Ortak kart temeli */
.service-card {
  background: var(--white); border: 1.5px solid var(--line); border-radius: 10px;
  text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(107,26,56,.10); }

/* Ana sayfa — ince yatay kartlar (.services-grid içi) */
.services-grid .service-card {
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.services-grid .service-icon { display: none; }
.services-grid .service-name {
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3;
}
.services-grid .service-arr {
  font-size: 14px; color: var(--accent); opacity: .5; flex-shrink: 0;
  transition: opacity .2s, transform .2s;
}
.services-grid .service-card:hover .service-arr { opacity: 1; transform: translateX(3px); }

/* Hizmetler sayfası — dikey kartlar (.card-grid içi) */
.card-grid .service-card {
  padding: 22px 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.card-grid .service-card:hover { transform: translateY(-2px); }
.card-grid .service-card .icon { font-size: 22px; color: var(--accent); line-height: 1; }
.card-grid .service-card h2 { font-family: var(--serif); font-size: 18px; margin: 0; }
.card-grid .service-card h2 a { text-decoration: none; color: var(--ink); }
.card-grid .service-card h2 a:hover { color: var(--accent); }
.card-grid .service-card p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

/* ─── REVIEWS ─── */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-bottom: 32px;
}
.review-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; padding: 24px; position: relative;
}
.review-quote {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--serif); font-size: 52px; line-height: 1;
  color: var(--accent); opacity: .10; font-weight: 700; pointer-events: none;
}
.review-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; line-height: 1.78; color: var(--ink); margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #F0D9A5;
  font-family: var(--serif); font-size: 12px; font-weight: 700;
  display: grid; place-items: center; flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 700; }
.review-when { font-size: 11px; color: var(--muted); }
.reviews-footer { text-align: center; }

/* review-strip kept for /google-yorumlari */
.review-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.review-strip.expanded { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); overflow: visible; }
.review-strip blockquote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 4px 16px rgba(28,18,21,.05); }
.review-strip span { color: var(--gold); display: block; margin: 6px 0; }

/* ─── FINAL CTA ─── */
.final-cta { padding: 88px 0; background: var(--accent-deep); color: #fffaf2; text-align: center; }
.final-cta h2 { color: white; margin-bottom: 14px; }
.final-cta p { color: rgba(255,255,255,.68); max-width: 480px; margin: 0 auto 36px; }
.final-cta .cta-row { justify-content: center; }

/* ─── TRUST BAND (other pages) ─── */
.trust-band { background: var(--white); border-block: 1px solid var(--line); }
.check-list { margin: 0; padding: 0; list-style: none; columns: 1; }
.check-list li { break-inside: avoid; margin: 0 0 10px; padding-left: 26px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 900; }

/* ─── GALLERY (gallery page) ─── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 14px;
}
.gallery-grid article {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 4px 16px rgba(28,18,21,.05);
}
.fabric-thumb {
  min-height: 145px; display: grid; place-items: center; margin: -18px -18px 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fffaf2; font-weight: 700; text-align: center; padding: 16px;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ─── ARTICLE GRID ─── */
.article-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)); gap: 14px;
}
.article-grid article {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: 0 4px 16px rgba(28,18,21,.05);
}
.article-grid article h2 { font-size: 17px; margin-bottom: 10px; }
.article-grid article h2 a { text-decoration: none; color: var(--ink); }
.article-grid article h2 a:hover { color: var(--accent); }

/* ─── FAQ ─── */
.faq details, .readable details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; font-family: var(--serif); }

/* ─── INNER PAGES ─── */
.page-hero { padding: 46px 0 28px; border-bottom: 1px solid var(--line); background: var(--white); }
.article-page { padding: 38px 0 54px; }
.readable { max-width: 820px; }
.readable h2 { font-size: 28px; margin-top: 34px; }
.summary-box { border-left: 4px solid var(--gold); background: var(--white); padding: 16px; margin: 22px 0; }
.inline-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.inline-links a { display: inline-flex; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; }
.hero-grid, .split, .contact-grid { display: grid; gap: 24px; }
.contact-grid iframe { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius); }

/* ─── ATELIER CARD (backward compat) ─── */
.atelier-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); display: grid; gap: 12px; overflow: hidden;
}
.atelier-card span {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  border: 1px dashed rgba(196,146,58,.55); border-radius: var(--radius); background: #fffaf2;
  font-weight: 700;
}
.atelier-card span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.stitch-line { position: absolute; inset: 14px; border: 1px dashed rgba(107,26,56,.22); pointer-events: none; }

/* ─── FOOTER ─── */
.site-footer { background: #1C1215; color: #fffaf2; padding: 44px 0 90px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.site-footer h2 { font-family: var(--serif); font-size: 15px; color: #F0C977; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.60); font-size: 13px; }
.site-footer a:hover { color: white; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }

/* ─── MOBILE DOCK ─── */
.mobile-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 12;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(248,246,242,.96); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(28,18,21,.10);
}
.mobile-dock a { min-width: 0; min-height: 64px; display: grid; place-items: center; align-content: center; gap: 4px; text-decoration: none; font-size: 11px; font-weight: 700; color: var(--ink); }
.mobile-dock svg { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .desktop-nav { display: flex; }
  .hamburger { display: none; }
  .mobile-dock { display: none; }
  .mobile-nav-overlay { display: none !important; }
  .hero { padding: 92px 0 80px; }
  .split { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .check-list { columns: 2; }
  .contact-grid { grid-template-columns: .8fr 1.2fr; }
  .site-footer { padding-bottom: 44px; }
}
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .hero { padding: 52px 0 44px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item + .proof-item::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .final-cta { padding: 64px 0; }
}
@media (max-width: 380px) {
  .wrap { width: min(100% - 24px, 1120px); }
  .btn { width: 100%; }
  .nav-wrap > .btn-shine { display: none; }
  h1 { font-size: 34px; }
}
