:root {
  --paper: #f7f5f1;
  --surface: #ffffff;
  --ink: #1d2321;
  --muted: #66706c;
  --line: #deded8;
  --stone: #d8d2c7;
  --accent: #806d50;
  --accent-dark: #5f5039;
  --dark: #17201d;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(23, 32, 29, .09);
  --container: min(1160px, calc(100% - 32px));
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img,
svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

a:hover { color: var(--accent-dark); }

button,
input,
textarea,
select { font: inherit; }

button,
.button {
  min-height: 46px;
  border-radius: 999px;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #b9935a;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: #fff;
  background: var(--dark);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }

.container { width: var(--container); margin-inline: auto; }

.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-sm { padding: 48px 0; }
.section-light { background: var(--surface); }
.section-dark { color: #fff; background: var(--dark); }

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.section-dark .eyebrow { color: #d8c09a; }

h1,
h2,
h3 {
  margin: 0 0 .55em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  text-wrap: balance;
}

h1 { font-size: clamp(2.55rem, 7vw, 5.25rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4.3vw, 3.45rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.015em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.section-dark .lead,
.section-dark p { color: #cbd1cf; }

.narrow { max-width: 780px; }
.measure { max-width: 68ch; }
.muted { color: var(--muted); }

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(29, 35, 33, .08);
  background: rgba(247, 245, 241, .94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(145deg, transparent 43%, rgba(255,255,255,.32) 44% 47%, transparent 48%),
    var(--accent-dark);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: .78rem;
  letter-spacing: .05em;
}

.site-nav { display: flex; align-items: center; }
.site-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  list-style: none;
}

.site-nav a {
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] { color: var(--accent-dark); }

.nav-cta { display: inline-flex; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  content: "";
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.button {
  display: inline-flex;
  padding: 12px 21px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}

.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--accent-dark); }
.button-primary:hover { color: #fff; background: #493e2d; }
.button-dark { color: #fff; background: var(--dark); }
.button-dark:hover { color: #fff; background: #2b3632; }
.button-light { color: var(--ink); background: #fff; }
.button-outline { color: var(--ink); border-color: var(--line); background: transparent; }
.section-dark .button-outline { color: #fff; border-color: #58605d; }

.button-row {
  display: flex;
  margin-top: 30px;
  gap: 12px;
  flex-wrap: wrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 142px) 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(128, 109, 80, .18), transparent 30%),
    linear-gradient(135deg, #f9f8f5 0%, #eae6df 100%);
}

.hero::after {
  position: absolute;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  top: -30%;
  right: -10%;
  content: "";
  border: 1px solid rgba(128, 109, 80, .17);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(128, 109, 80, .035), 0 0 0 180px rgba(128, 109, 80, .025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
}

.hero-copy .lead { max-width: 650px; }

.visual,
.stone-panel,
.visual-placeholder,
.before-after {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(128, 109, 80, .17);
  border-radius: 220px 220px var(--radius) var(--radius);
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.7) 31%, transparent 32%),
    linear-gradient(150deg, transparent 61%, rgba(128,109,80,.16) 62%, transparent 63%),
    linear-gradient(135deg, #d8d3cb, #f5f3ee 55%, #c9c2b7);
  box-shadow: var(--shadow);
}

.visual img,
.visual-placeholder img,
.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual:not(:empty),
.visual-placeholder:not(:empty),
.before-after:not(:empty) {
  background: #c9c2b7;
}

.page-hero {
  padding: clamp(60px, 8vw, 105px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fbfaf8, #e9e5de);
}

.page-hero h1 { max-width: 950px; font-size: clamp(2.5rem, 6vw, 4.8rem); }

.breadcrumbs {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.45);
  font-size: .86rem;
}

.breadcrumbs ol {
  display: flex;
  margin: 0;
  padding: 0 0 0 16px;
  gap: 8px;
  align-items: center;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after { margin-left: 8px; color: #999; content: "/"; }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
}

.card {
  position: relative;
  height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  border-radius: var(--radius);
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 750;
}

.icon-badge,
.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  place-items: center;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 50%;
  font-weight: 800;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.process > li {
  position: relative;
  min-height: 100%;
  padding: 0 8px 0 0;
}

.process > li:not(:last-child)::after {
  position: absolute;
  top: 22px;
  left: 54px;
  right: -14px;
  height: 1px;
  content: "";
  background: var(--line);
}

.process .step-number {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid var(--line);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.process h3 {
  margin-bottom: .4em;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
}

.process p {
  color: var(--muted);
}

.service-list,
.check-list,
.plain-list,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 8px 0 8px 28px;
}

.check-list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  color: var(--accent-dark);
  content: "✓";
  font-weight: 800;
}

.content-layout {
  display: grid;
  gap: clamp(40px, 7vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
}

.prose > section,
.prose > article { margin-bottom: clamp(52px, 7vw, 82px); }
.prose h2 { font-size: clamp(1.8rem, 3.3vw, 2.65rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul,
.prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }

.sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.sidebar h2,
.sidebar h3 { font-size: 1.35rem; }
.sidebar a { display: block; padding: 7px 0; }

.before-after span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(23, 32, 29, .72);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
}

.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

details {
  border-bottom: 1px solid var(--line);
}

details:first-of-type {
  border-top: 1px solid var(--line);
}

summary {
  position: relative;
  padding: 21px 42px 21px 0;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  position: absolute;
  top: 16px;
  right: 4px;
  color: var(--accent-dark);
  content: "+";
  font-size: 1.55rem;
  font-weight: 400;
}

details[open] summary::after { content: "−"; }
details > p { padding: 0 42px 21px 0; color: var(--muted); }

.faq-question {
  display: flex;
  width: 100%;
  padding: 22px 42px 22px 0;
  position: relative;
  color: var(--ink);
  border: 0;
  background: transparent;
  border-radius: 0;
  font-weight: 750;
  text-align: left;
}

.faq-question::after {
  position: absolute;
  top: 20px;
  right: 4px;
  content: "+";
  color: var(--accent-dark);
  font-size: 1.55rem;
  font-weight: 400;
}

.faq-question[aria-expanded="true"]::after { content: "−"; }
.faq-answer { padding: 0 42px 22px 0; color: var(--muted); }
.faq-answer[hidden] { display: none; }

.contact-panel {
  display: grid;
  padding: clamp(32px, 6vw, 68px);
  gap: 28px;
  align-items: center;
  grid-template-columns: 1.3fr .7fr;
  color: #fff;
  background: var(--dark);
  border-radius: clamp(20px, 4vw, 34px);
}

.contact-panel h2 { margin-bottom: .3em; }
.contact-panel p { color: #cbd1cf; }
.contact-panel .button-row { margin: 0; justify-content: flex-end; }
.contact-panel .button-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
  background: transparent;
}
.contact-panel .button-outline:hover {
  color: var(--dark);
  background: #fff;
  border-color: #fff;
}

.contact-list li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list strong { display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }

.site-footer {
  padding: 68px 0 92px;
  color: #d3d8d6;
  background: #111815;
}

.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-family: inherit;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-footer a { color: #d3d8d6; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  display: flex;
  margin-top: 48px;
  padding-top: 22px;
  gap: 16px;
  justify-content: space-between;
  border-top: 1px solid #303936;
  color: #9ca5a2;
  font-size: .86rem;
}

.mobile-contact {
  position: fixed;
  z-index: 900;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  padding: 7px;
  gap: 7px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(100px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

.mobile-contact.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-contact .button { width: 50%; min-height: 43px; padding: 9px 12px; }

.legal h2 { margin-top: 1.6em; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.legal h3 { margin-top: 1.45em; font-size: 1.2rem; }
.notice {
  padding: 20px 22px;
  color: #544b3d;
  background: #eee8de;
  border-left: 4px solid var(--accent);
  border-radius: 0 10px 10px 0;
}

.not-found {
  display: grid;
  min-height: 70vh;
  place-items: center;
  text-align: center;
}

.not-found .code {
  margin: 0;
  color: var(--stone);
  font-family: Georgia, serif;
  font-size: clamp(6rem, 24vw, 13rem);
  line-height: .8;
}

@media (max-width: 1024px) {
  .site-header { backdrop-filter: none; }
  .site-nav {
    position: fixed;
    z-index: 1100;
    top: 77px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    padding: 16px 16px calc(28px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    -webkit-overflow-scrolling: touch;
  }

  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { width: var(--container); margin-inline: auto; align-items: stretch; flex-direction: column; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a { display: block; padding: 14px 4px; font-size: 1.05rem; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  body.menu-open .mobile-contact { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: 1fr 1fr; }
  .process > li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 24px, 680px); }
  body { padding-bottom: 72px; }
  .header-inner { min-height: 68px; }
  .site-nav { top: 69px; }
  .brand { font-size: 0.95rem; }
  .brand-mark { width: 35px; height: 35px; }
  .hero { padding: 58px 0 70px; }
  .hero-grid,
  .split,
  .content-layout,
  .contact-panel { grid-template-columns: 1fr; }
  .visual,
  .stone-panel,
  .visual-placeholder,
  .before-after { min-height: 300px; border-radius: 150px 150px var(--radius) var(--radius); }
  .grid-3,
  .grid-2 { grid-template-columns: 1fr; }
  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process > li {
    padding: 0 0 28px 64px;
  }
  .process > li:not(:last-child)::after {
    top: 48px;
    left: 21px;
    right: auto;
    width: 1px;
    height: calc(100% - 16px);
  }
  .process > li:nth-child(2)::after { display: block; }
  .process .step-number {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
  }
  .contact-panel .button-row { justify-content: flex-start; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child,
  .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .mobile-contact { display: flex; }
}

@media (max-width: 420px) {
  .grid-4 { grid-template-columns: 1fr; }
  .button-row .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > * { grid-column: 1 !important; }
  .contact-panel { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Galeri Thumbnail Slider (Yatay Kaydırmalı) */
.gallery-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  margin-top: 24px;
  -webkit-overflow-scrolling: touch;
}

/* Scrollbar stilini gizle ama kaydırmayı aktif tut */
.gallery-grid::-webkit-scrollbar {
  height: 6px;
}

.gallery-grid::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.gallery-grid::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
  background: #999;
}

.gallery-thumbnail {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: all .3s ease;
}

.gallery-thumbnail:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

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

.gallery-thumbnail:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  max-height: 90vh;
  width: 100%;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #000;
  transition: all .2s ease;
}

.lightbox-nav:hover {
  background: #fff;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .9rem;
}

@media (max-width: 760px) {
  .gallery-thumbnail {
    width: 160px;
    height: 100px;
  }
  
  .gallery-grid {
    gap: 12px;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  
  .lightbox-close {
    top: -40px;
    font-size: 2rem;
  }
}

@media print {
  .site-header,
  .mobile-contact,
  .button-row,
  .site-footer { display: none !important; }
  body { padding: 0; background: #fff; }
}
