/* ============ Design tokens ============ */
:root {
  --color-bg: #f7f7f6;
  --color-bg-alt: #ededec;
  --color-text: #1d1f20;
  --color-text-muted: #5f6265;
  --color-primary: #dc6e89;
  --color-primary-dark: #b94f6a;
  --color-primary-light: #f4d5dd;
  --color-dark: #23262a;
  --color-border: #e0e0de;
  --color-white: #ffffff;

  --font-base: 'Segoe UI', Arial, Helvetica, sans-serif;
  --container-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h2 { font-size: 2rem; }
h3 { font-size: 1.15rem; }

p { color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-primary-dark);
  color: var(--color-white);
}
.btn-primary:hover { background: #a3435c; box-shadow: 0 8px 20px rgba(220, 110, 137, 0.3); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-dark);
  color: var(--color-dark);
}
.btn-outline:hover { background: var(--color-dark); color: var(--color-white); }

.btn-cta {
  background: var(--color-white);
  color: var(--color-dark);
}
.btn-cta:hover { background: var(--color-primary-dark); color: var(--color-white); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }

.btn-block { width: 100%; }

/* ============ Placeholder images ============ */
.img-placeholder {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  padding: 20px;
  min-height: 320px;
  border-radius: 2px;
}
.img-placeholder.small { min-height: 200px; }

.map-embed {
  margin-top: 24px;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  min-height: 220px;
}
.map-embed iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.is-visible { transition-delay: 0.12s; }
.reveal-delay-2.is-visible { transition-delay: 0.24s; }
.reveal-delay-3.is-visible { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ Navbar ============ */
.navbar {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  position: relative;
}
.nav-mobile-panel { display: contents; }
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 2px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.logo-text-en {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  white-space: nowrap;
}
.logo-text-tr {
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}
.nav-links a:hover { color: var(--color-primary); }

.nav-cta { padding: 10px 22px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lang-btn {
  background: none;
  border: none;
  padding: 4px 2px;
  color: var(--color-text-muted);
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.lang-btn:hover { color: var(--color-text); }
.lang-btn.active { color: var(--color-primary-dark); }
.lang-sep { color: var(--color-border); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
}

/* ============ Hero ============ */
.hero {
  background: var(--color-bg-alt);
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-content h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1rem;
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image .img-placeholder { min-height: 380px; }
.hero-photo {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--color-border);
}
.intro-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--color-border);
}
/* ============ Stats ============ */
.stats {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
.stat { border-right: 1px solid var(--color-border); padding: 0 12px; }
.stat:last-child { border-right: none; }
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ============ Introduction ============ */
.intro { padding: 96px 0; }
.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.intro-content h2 { margin-bottom: 20px; }
.intro-content p { margin-bottom: 16px; }

/* ============ Section heading ============ */
.section-heading { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-heading h2 { margin-bottom: 12px; }
/* ============ Services ============ */
.services { padding: 96px 0; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 32px 28px;
  border-radius: 2px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(29, 31, 32, 0.1);
  border-color: var(--color-primary);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin-top: 10px; font-size: 0.92rem; }
.service-card-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  list-style: none;
}
.service-card-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
.service-card-list li + li { margin-top: 6px; }
.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ============ Process ============ */
.process { padding: 96px 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-step {
  position: relative;
  padding-top: 24px;
  border-top: 2px solid var(--color-dark);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.process-step:hover {
  border-top-color: var(--color-primary);
  transform: translateY(-3px);
}
.process-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; }

/* ============ Site gallery ============ */
.gallery { padding: 0 0 96px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 20px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--color-border);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-tall { grid-row: 1 / 3; }

/* ============ Why us ============ */
.why-us { padding: 96px 0; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.why-item {
  border-top: 2px solid var(--color-dark);
  padding-top: 18px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.why-item:hover {
  border-top-color: var(--color-primary);
  transform: translateY(-3px);
}
.why-index {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.why-item h3 { margin-bottom: 8px; }
.why-item p { font-size: 0.92rem; }

/* ============ CTA ============ */
.cta {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
}
.cta h2 { color: var(--color-white); margin-bottom: 16px; }
.cta p { color: #d6d4d2; max-width: 520px; margin: 0 auto 32px; }

/* ============ Contact ============ */
.contact { padding: 96px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
}
.contact-form-wrap h2 { margin: 4px 0 12px; }
.contact-form-wrap > p { margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-family: inherit;
  font-size: 0.92rem;
  border-radius: 2px;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-status {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--color-dark);
}
.form-status-error { color: #b3261e; }

.contact-info-wrap {
  border: 1px solid var(--color-border);
  padding: 32px;
  background: var(--color-bg-alt);
  height: fit-content;
}
.contact-info-wrap h3 { margin-bottom: 14px; }
.contact-info-wrap address { font-style: normal; margin-bottom: 14px; color: var(--color-text-muted); }
.contact-info-wrap p { margin-bottom: 8px; font-size: 0.92rem; }
.contact-info-wrap a:hover { color: var(--color-primary); }

/* ============ Footer ============ */
.footer {
  background: var(--color-dark);
  color: #d6d4d2;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-logo { margin-bottom: 12px; }
.footer-logo .logo-text-en { color: var(--color-white); }
.footer-logo .logo-text-tr { color: #d6d4d2; }
.footer-col h4 {
  color: var(--color-white);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.88rem;
  color: #d6d4d2;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid #3a3b3d;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #a8a6a4;
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-inner,
  .intro-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-image { order: -1; }
  .services-grid,
  .process-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
  }

  .nav-toggle {
    display: flex;
    border-radius: 4px;
    transition: background 0.2s ease;
  }
  .nav-toggle:hover { background: var(--color-bg-alt); }
  .nav-toggle span { transition: transform 0.25s ease, opacity 0.25s ease; }
  .navbar-inner.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .navbar-inner.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .navbar-inner.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Dropdown panel, anchored below the fixed-height top bar — logo/toggle row is untouched */
  .nav-mobile-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 20px 30px -12px rgba(29, 31, 32, 0.12);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .navbar-inner.open .nav-mobile-panel {
    max-height: 460px;
    opacity: 1;
    padding: 8px 24px 24px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    padding: 14px 4px;
    text-align: center;
    font-size: 1rem;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-link-contact { display: none; }

  .lang-switch {
    justify-content: center;
    padding: 14px 4px;
    font-size: 0.85rem;
  }

  .nav-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin: 16px 0 0;
  }
}

@media (max-width: 700px) {
  .logo-mark { height: 34px; width: 34px; }
  .logo-text-en { font-size: 0.66rem; }
  .logo-text-tr { font-size: 0.58rem; }

  .hero-content h1 { font-size: 2rem; }
  .services-grid,
  .process-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-item { height: 240px; }
  .gallery-item-tall { grid-row: auto; }
}

