/* Frenci Ramazan — kurumsal stil */
:root {
  --ink: #111827;
  --ink-2: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-2: #d1d5db;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --header: 4.75rem;
  --topbar: 2.4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Poppins", system-ui, sans-serif;
  --max: 1160px;
  --shadow: 0 10px 40px rgba(17, 24, 39, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

/* ——— Topbar ——— */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8125rem;
  font-weight: 400;
  height: var(--topbar);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 3rem));
}

.topbar a {
  color: #fff;
  font-weight: 500;
  transition: opacity 0.2s;
}

.topbar a:hover { opacity: 0.85; }

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-right .sep {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.25);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header);
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 0.15rem;
}

.logo-word strong {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-transform: uppercase;
}

.logo-word span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.55rem 0.8rem;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.site-nav a.is-active {
  position: relative;
  color: var(--ink);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--accent);
}

.nav-phone {
  margin-left: 0.6rem;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.15rem !important;
  background: var(--accent);
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 0.8125rem !important;
  transition: background 0.25s !important;
}

.nav-phone:hover { background: var(--accent-hover) !important; }
.nav-phone svg { width: 14px; height: 14px; }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 220;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.05rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover { background: var(--ink-2); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ——— Page hero ——— */
.page-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  padding: 5rem 0 3.75rem;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.page-hero--home {
  min-height: calc(100svh - var(--topbar) - var(--header));
  padding: 5.5rem 0 5.5rem;
  align-items: center;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: slowZoom 22s var(--ease) forwards;
}

@keyframes slowZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(17, 24, 39, 0.9) 0%, rgba(17, 24, 39, 0.72) 48%, rgba(17, 24, 39, 0.45) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.15) 0%, rgba(17, 24, 39, 0.55) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.page-hero h1 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 3.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.1rem;
}

.page-hero__lead {
  font-size: 1.0625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.brand-lockup {
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1rem;
  color: #fff;
}

.brand-lockup span {
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.35rem;
}

/* ——— Sections ——— */
.section { padding: 5.5rem 0; }
.section--white { background: var(--surface); }
.section--muted { background: var(--surface-2); }
.section--ink { background: var(--ink); color: #fff; }

.section-head {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 0.7rem;
}

.section--ink .section-head h2 { color: #fff; }

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--ink .section-head p { color: rgba(255, 255, 255, 0.65); }

/* ——— Split ——— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__copy .eyebrow { color: var(--accent); }

.split__copy h2 {
  font-weight: 700;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.split__copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.split__copy p:last-of-type { margin-bottom: 1.75rem; }

/* ——— Services ——— */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem 1.65rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.service-card h3 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.service-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.service-card__link:hover { color: var(--accent); }

/* ——— Feature blocks ——— */
.feature-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-block:last-child { border-bottom: 1px solid var(--line); }

.feature-block__aside {
  padding: 2.75rem 2rem 2.75rem 0;
  border-right: 1px solid var(--line);
}

.feature-block__aside h3 {
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.feature-block__aside .tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
  display: block;
}

.feature-block__body {
  padding: 2.75rem 0 2.75rem 2.5rem;
}

.feature-block__body p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.checklist { display: grid; gap: 0.6rem; }

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
}

/* ——— Gallery strip ——— */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-3);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(17, 24, 39, 0.75));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}

/* ——— Stats / values ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat {
  padding: 1.5rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.section--ink .stat {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.12);
}

.stat strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.section--ink .stat strong { color: #fff; }

.stat span {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.5;
}

.section--ink .stat span { color: rgba(255, 255, 255, 0.6); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
}

.value-item {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.value-item h3 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.value-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ——— Timeline ——— */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.timeline-step {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.75rem 1.35rem;
}

.timeline-step__num {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent-soft, rgba(220, 38, 38, 0.08));
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.timeline-step h3 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.timeline-step p {
  color: var(--muted);
  font-size: 0.925rem;
}

/* ——— CTA ——— */
.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
}

.cta-band h2 {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.45rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 30rem;
}

/* ——— Contact ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-item .value {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.contact-item a.value:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-2);
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  background: var(--surface);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.map-wrap {
  margin-top: 3rem;
  border: 1px solid var(--line);
  overflow: hidden;
  height: 380px;
  background: var(--surface-3);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-word strong { color: #fff; }
.footer-brand .logo-word span { color: rgba(255, 255, 255, 0.45); }

.footer-brand p {
  margin-top: 1.15rem;
  font-size: 0.925rem;
  max-width: 17rem;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.1rem;
}

.footer-col a,
.footer-col li {
  display: block;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 0.8125rem;
}

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

.hero-anim { animation: fadeUp 0.85s var(--ease) both; }
.hero-anim-d1 { animation-delay: 0.1s; }
.hero-anim-d2 { animation-delay: 0.2s; }
.hero-anim-d3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ——— Responsive ——— */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 2.5rem; }
}

@media (max-width: 860px) {
  .split,
  .contact-layout,
  .cta-band,
  .feature-block {
    grid-template-columns: 1fr;
  }

  .feature-block__aside {
    border-right: 0;
    padding: 2rem 0 0;
  }

  .feature-block__body { padding: 1.15rem 0 2rem; }
  .nav-phone { display: none !important; }
}

@media (max-width: 720px) {
  :root { --topbar: 0px; }
  .topbar { display: none; }
  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0.5rem 1.5rem 2rem;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(17, 24, 39, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    font-size: 1.05rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a.is-active::after { display: none; }
  .site-nav a.is-active { color: var(--accent); }

  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .service-grid,
  .value-grid,
  .stats,
  .timeline,
  .gallery,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 4rem 0; }

  .page-hero--home {
    min-height: auto;
    padding: 4.25rem 0 3.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .container,
  .topbar .container {
    width: min(var(--max), calc(100% - 2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
