:root {
  --cream: #f6f0e6;
  --cream-alt: #fbf8f2;
  --ink: #2b241d;
  --ink-soft: #6f6151;
  --muted-label: #8a7c68;
  --accent: #a9784a;
  --border: rgba(43, 36, 29, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Sticky nav sits on top of the page — anchor targets need breathing room
   so scrolling to them doesn't hide their top edge behind it. */
#top,
#hizmetler,
#hakkimizda,
#iletisim {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

a { color: inherit; text-decoration: none; }

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

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 64px;
  background: var(--cream);
  box-shadow: 0 2px 14px rgba(43, 36, 29, 0.06);
}

.logo { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted-label);
  margin-top: 6px;
}

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 500;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }

.btn {
  display: inline-block;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-pill-light {
  background: #ffffff;
  color: var(--ink);
  padding: 13px 28px;
  box-shadow: 0 2px 10px rgba(43, 36, 29, 0.08);
}
.btn-pill-light:hover { background: var(--cream-alt); }

.btn-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 16px 34px;
  box-shadow: 0 8px 20px rgba(169, 120, 74, 0.3);
}
.btn-cta:hover { opacity: 0.92; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  padding: 4px 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--muted-label);
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}
.lang-btn:hover { color: var(--ink); background: rgba(43, 36, 29, 0.05); }
.lang-btn.active { color: var(--accent); font-weight: 600; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--cream-alt);
  padding: 8px 32px 20px;
}
.nav-mobile a {
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  min-height: 620px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 40px 40px 64px;
}

.hero-text h1 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.script {
  font-family: 'Beau Rivage', 'Segoe Script', cursive;
  font-size: 54px;
  color: var(--accent);
  line-height: 1;
}

.lead {
  max-width: 340px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.scroll-dot {
  margin-top: 38px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(43, 36, 29, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  background: radial-gradient(120% 100% at 75% 15%, #f1e6d3 0%, #ddc5a0 55%, #b9926a 100%);
}
.hero-leaves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  mix-blend-mode: multiply;
}
.visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

/* ---------- PROMO (showcase content: image + text, fills the flexible showcase area) ---------- */
.promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
}
.promo-text {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px 56px 24px 48px;
  background: var(--cream);
  height: 100%;
  overflow-y: auto;
}
.promo-text h2 {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--ink);
}
.promo-text .lead { margin: 0; max-width: 460px; font-size: 14.5px; }
.promo-text .btn-cta { align-self: flex-start; flex-shrink: 0; }

.promo-visual {
  position: relative;
  overflow: hidden;
  height: 100%;
  background: linear-gradient(135deg, #ece0cb 0%, #cbad86 55%, #a9784a 100%);
}

/* ---------- HİZMETLER MODÜLÜ (nav + iki satır + vitrin, tek ekrana sığacak şekilde) ---------- */
.services-module {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 98px);
  min-height: 560px;
}
.services-module .services { flex-shrink: 0; }
.services-module .showcase { flex: 1 1 auto; min-height: 0; }

/* ---------- SERVICES ---------- */
.services {
  background: var(--cream-alt);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 22px 64px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border-right: 1px solid var(--border);
  padding: 16px 8px;
  margin: -16px 0;
}
.service:last-child { border-right: none; }
.service svg { width: 30px; height: 30px; }
.service span {
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  line-height: 1.5;
}

/* ---------- GENERIC SECTIONS ---------- */
.section {
  padding: 64px;
  text-align: center;
}
.section-cream { background: var(--cream); }
.section-alt { background: var(--cream-alt); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 10px;
}
.eyebrow.small { font-size: 10.5px; letter-spacing: 3px; color: var(--muted-label); }

.section h2 {
  margin: 0 0 40px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 34px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.feature svg { width: 32px; height: 32px; }
.feature strong { font-size: 13.5px; letter-spacing: 0.3px; }
.feature p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-soft); max-width: 220px; }

/* ---------- STATS ---------- */
.stats {
  background: var(--ink);
  padding: 50px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  color: var(--accent);
}
.stat-label {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #cfc4b3;
  text-transform: uppercase;
}

/* ---------- GALLERY ---------- */
.gallery { max-width: 1312px; }
.ba-tile {
  position: relative;
  height: 220px;
  border-radius: 6px;
  overflow: hidden;
}
.ba-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.ba-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.gallery-labels {
  margin-top: 14px;
  max-width: 1312px;
}
.gallery-labels span {
  font-size: 11.5px;
  letter-spacing: 0.6px;
  color: var(--ink-soft);
}

/* ---------- QUOTE ---------- */
.quote-section {
  background: var(--cream);
  padding: 76px 64px;
  text-align: center;
}
.quote-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.quote-row p {
  margin: 0;
  max-width: 600px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
}
.leaf { flex-shrink: 0; }
.leaf.flip { transform: scaleX(-1); }
.monogram {
  margin: 30px auto 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(43, 36, 29, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--accent);
}

/* ---------- SERVICES (full-tile highlight + full-width detail row) ---------- */
.service {
  position: relative;
  cursor: pointer;
  isolation: isolate;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.45) 50%, transparent 85%),
    linear-gradient(135deg, #e3bf85 0%, #c99a5c 45%, #a9784a 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: -160% 0, 0 0;
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover::before,
.service.active::before {
  opacity: 1;
  transform: scale(1);
  animation: shimmerSweep 0.9s ease-out 1;
}
.service.active {
  box-shadow: 0 10px 26px rgba(169, 120, 74, 0.4);
}

@keyframes shimmerSweep {
  0% { background-position: -160% 0, 0 0; }
  100% { background-position: 220% 0, 0 0; }
}
.service svg,
.service span {
  position: relative;
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), color 0.25s ease, stroke 0.25s ease;
}
.service:hover svg,
.service.active svg {
  stroke: #ffffff;
  transform: translateY(-2px) scale(1.08);
}
.service:hover span,
.service.active span {
  color: #ffffff;
}

.showcase {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  box-shadow: inset 0 12px 20px -14px rgba(43, 36, 29, 0.18);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.showcase-inner {
  position: relative;
  height: 100%;
}

/* Shutter transition: two panels close from top & bottom to meet in the middle,
   the content swaps while fully hidden, then they part again the other way. */
.shutter {
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  background-image:
    linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.4) 50%, transparent 85%),
    linear-gradient(135deg, #e3bf85 0%, #c99a5c 45%, #a9784a 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: -160% 0, 0 0;
  z-index: 5;
  pointer-events: none;
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.showcase.shut .shutter {
  animation: shimmerSweep 0.7s ease-out 1;
}
.shutter-top { top: 0; transform-origin: top; transform: scaleY(0); }
.shutter-bottom { bottom: 0; transform-origin: bottom; transform: scaleY(0); }
.showcase.shut .shutter-top,
.showcase.shut .shutter-bottom { transform: scaleY(1); }
/* the panel content reuses the .promo / .promo-visual / .promo-text markup for a matching "page" feel */
.promo-text ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.promo-text li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.promo-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.svc-sub {
  display: block;
  font-size: 11px;
  color: var(--muted-label);
  margin-top: 2px;
}

/* ---------- TECH STRIP ---------- */
.tech-strip {
  background: var(--cream-alt);
  padding: 44px 64px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.tech-heading {
  max-width: 520px;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: var(--muted-label);
}
.tech-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 52px;
  margin-top: 28px;
}
.tech-logo {
  height: 34px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.2s ease;
}
.tech-logo:hover { filter: grayscale(0) opacity(1); }
.tech-word {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  letter-spacing: 0.5px;
  color: #a89a83;
  transition: color 0.2s ease;
}
.tech-word:hover { color: var(--accent); }

/* ---------- REVIEWS ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1160px;
  margin: 0 auto;
}
.reviews-empty {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 13.5px;
}
.review-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: left;
  box-shadow: 0 4px 18px rgba(43, 36, 29, 0.05);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ece0cb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--accent);
  font-size: 15px;
}
.review-name { font-size: 13.5px; font-weight: 600; }
.review-comment { margin: 0 0 12px; font-size: 13px; line-height: 1.7; color: var(--ink-soft); }
.review-stars { color: var(--accent); font-size: 13px; letter-spacing: 2px; }

.review-form-wrap {
  max-width: 560px;
  margin: 56px auto 0;
  text-align: left;
  background: #ffffff;
  border-radius: 10px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(43, 36, 29, 0.06);
}
.review-form-wrap h3 {
  margin: 0 0 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  text-align: center;
}
.form-note {
  margin: 0 0 24px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted-label);
}
.form-row input[type="text"],
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: var(--cream);
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* honeypot field: hidden from sighted users, still reachable by bots that fill every field */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  left: -9999px;
}

.star-input { display: flex; gap: 6px; }
.star-input button {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #d8cdb9;
  cursor: pointer;
  padding: 2px;
}
.star-input button.active { color: var(--accent); }

.review-form-wrap .btn { width: 100%; }
.form-status {
  margin: 14px 0 0;
  font-size: 12.5px;
  text-align: center;
  min-height: 16px;
}
.form-status.ok { color: #4a7c4e; }
.form-status.err { color: #a3423a; }

/* ---------- CLOSING ---------- */
.closing {
  background: var(--cream);
  padding: 48px 64px;
  text-align: center;
}
.closing p {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
}

/* ---------- CONTACT / FOOTER ---------- */
.contact { background: var(--ink); }
.contact-grid {
  padding: 48px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.contact-item svg { width: 24px; height: 24px; }
.contact-label {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  color: #cfc4b3;
  text-transform: uppercase;
}
.contact-value { font-size: 13.5px; color: #ffffff; }
.credit-link { color: #cfc4b3; text-decoration: underline; text-underline-offset: 2px; }
.credit-link:hover { color: var(--accent); }

/* ---------- ABOUT TESTIMONIALS ---------- */
.about-testimonials { margin-top: 56px; text-align: center; }
.about-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 20px auto 0;
}
.about-testimonial-card {
  background: var(--cream-alt);
  border-radius: 8px;
  padding: 26px 24px;
  text-align: left;
}
.about-testimonial-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.about-testimonial-card p {
  margin: 0 0 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.about-testimonial-author {
  font-size: 12px;
  letter-spacing: 0.3px;
  color: var(--muted-label);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 64px;
  text-align: center;
  font-size: 11.5px;
  color: #a89a83;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero { grid-template-columns: 1fr; }
  .hero-text { padding: 48px 24px 32px; }
  .hero-visual { min-height: 260px; order: -1; }
  .hero-text h1 { font-size: 40px; }
  .script { font-size: 42px; }

  /* below 960px the module can't realistically fit one screen (stacked image+text) — let it flow naturally */
  .services-module { height: auto; min-height: 0; }
  .services-module .showcase { flex: none; }
  .showcase-inner { height: auto; }

  .promo { grid-template-columns: 1fr; height: auto; }
  .promo-text { padding: 40px 24px; height: auto; overflow-y: visible; }
  .promo-visual { height: auto; min-height: 240px; order: -1; }
  .promo-text h2 { font-size: 30px; }

  .services { grid-template-columns: repeat(3, 1fr); padding: 28px 24px; }
  .service { border-right: none; }

  .section { padding: 48px 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding: 40px 24px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-labels { grid-template-columns: repeat(2, 1fr); }

  .tech-row { gap: 24px 32px; }

  .promo-text ul { flex-direction: column; gap: 8px; }

  .reviews-grid { grid-template-columns: 1fr; }
  .review-form-wrap { padding: 28px 22px; margin-top: 40px; }
  .about-testimonials-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
}

@media (max-width: 560px) {
  .hero-text h1 { font-size: 32px; }
  .script { font-size: 34px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: 1fr; }
  .gallery, .gallery-labels { grid-template-columns: 1fr; }
  .quote-row p { font-size: 19px; }
  .contact-grid { grid-template-columns: 1fr; }
}
