@font-face {
  font-family: "StreetPlain";
  src: url("assets/fonts/StreetPlain.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

/* ===========================
   TEMA DEĞİŞKENLERİ
   =========================== */
:root {
  --font-sans: "StreetPlain", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;

  /* Metin */
  --color-text: #f4f4f6;
  --color-text-muted: #a1a7b7;

  /* Arka planlar – nötr, temiz dark */
  --color-bg: #050608;
  --color-bg-alt: #10121a;
  --color-bg-soft: #151823;

  /* Logo ile uyumlu ama kirli görünmeyen accent */
  --color-accent: #ff7a5c;
  --color-accent-soft: rgba(255, 122, 92, 0.18);
  --color-accent-strong: #ffc27a;

  /* Çerçeveler */
  --color-border-soft: #262a35;
  --color-border-subtle: rgba(255, 255, 255, 0.06);

  /* Gölgeler */
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 16px 32px rgba(0, 0, 0, 0.45);

  /* Body gradient */
  --body-bg-top: #15141a;
  --body-bg-base: #050608;

  /* Header */
  --header-bg-from: rgba(5, 5, 10, 0.98);
  --header-bg-mid: rgba(5, 5, 10, 0.9);
  --header-border: rgba(255, 144, 106, 0.5);
  --nav-link-hover-bg: rgba(18, 19, 30, 0.9);

  /* Brand mark (logo ile uyumlu) */
  --brand-mark-border: rgba(255, 144, 106, 0.6);
  --brand-mark-inner: #ffb36b;
  --brand-mark-outer: #ff5f7c;

  /* Butonlar */
  --btn-primary-from: #ffb36b;
  --btn-primary-to: #ff5f7c;
  --btn-primary-text: #19050a;
  --btn-primary-border: rgba(0, 0, 0, 0.85);
  --btn-primary-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);

  --btn-ghost-border: rgba(255, 144, 106, 0.6);
  --btn-ghost-bg: rgba(10, 11, 18, 0.96);
  --btn-ghost-bg-hover: rgba(15, 16, 24, 0.98);
  --btn-ghost-text: var(--color-text);

  /* Etiketler / chip */
  --chip-bg: rgba(16, 18, 26, 0.98);
  --chip-border: rgba(255, 144, 106, 0.28);

  /* Alternatif bölüm arka planı (İletişim) */
  --section-alt-bg: radial-gradient(
      circle at top left,
      rgba(255, 122, 92, 0.16),
      transparent 60%
    ),
    #0a0b10;

  /* Form alanları */
  --field-border: #353949;
  --field-bg: #080910;
  --field-focus-border: var(--color-accent-strong);
  --field-focus-shadow: 0 0 0 1px rgba(255, 144, 106, 0.65);

  /* Footer */
  --footer-border: #1d202b;
  --footer-bg: #050609;

  /* Layout */
  --max-width: 1080px;
  --section-y: 4rem;
  --radius-lg: 18px;
  --radius-pill: 999px;
}

/* Genel tipografi ayarı */
.brand-name,
.section-header h2,
.case-content h3,
.site-header a,
button,
.case-btn {
  font-family: var(--font-sans);
  letter-spacing: 0.4px;
}

/* ===========================
   RESET & GENEL
   =========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(
    circle at top,
    var(--body-bg-top) 0,
    var(--body-bg-base) 55%
  );
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Genel metin stilleri */
p,
small,
.footer-inner {
  font-weight: 400;
  letter-spacing: 0.2px;
  color: var(--color-text-muted);
}

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

/* ===========================
   HEADER
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    var(--header-bg-from),
    var(--header-bg-mid),
    transparent
  );
  border-bottom: 1px solid var(--header-border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
}

.brand-tagline {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.9rem;
}

.nav-links a {
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  color: var(--color-text-muted);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--color-text);
  border-color: var(--color-border-subtle);
  background: var(--nav-link-hover-bg);
}

.nav-cta {
  border-color: var(--btn-ghost-border);
  background: var(--color-accent-soft);
  color: var(--color-text);
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 3.5rem 1.25rem 3rem;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text .eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  max-width: 32rem;
}

/* ===========================
   BUTONLAR
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--btn-primary-from),
    var(--btn-primary-to)
  );
  color: var(--btn-primary-text);
  border-color: var(--btn-primary-border);
  box-shadow: var(--btn-primary-shadow);
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border-color: var(--btn-ghost-border);
  background: var(--btn-ghost-bg);
  color: var(--btn-ghost-text);
}

.btn-ghost:hover {
  background: var(--btn-ghost-bg-hover);
}

.btn-small {
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
}

/* ===========================
   BÖLÜMLER
   =========================== */
.section {
  padding: var(--section-y) 1.25rem;
}

.section-alt {
  background: var(--section-alt-bg);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 1.75rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-header p {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  max-width: 32rem;
}

/* ===========================
   HİZMETLER
   =========================== */
.services-layout {
  max-width: var(--max-width);
  margin: 0 auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.solution-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-card);
}

.solution-card h3 {
  font-size: 1.08rem;
  margin: 0 0 0.45rem;
  font-family: var(--font-serif);
}

.solution-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.7rem;
}

.solution-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.solution-card ul li::before {
  content: "• ";
  color: var(--color-accent-strong);
}

.solution-note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.9;
}

/* ===========================
   HAKKIMIZDA
   =========================== */
.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: center;
}

.about-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ===========================
   FORM ALANLARI (GENEL)
   =========================== */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.7rem;
}

.field label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  padding: 0.55rem 0.65rem;
  color: var(--color-text);
  font-size: 0.88rem;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--field-focus-border);
  box-shadow: var(--field-focus-shadow);
}

.field textarea {
  resize: vertical;
}

/* ===========================
   İLETİŞİM
   =========================== */
.contact-shell {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-main {
  background: var(--color-bg-alt);
  border-radius: 14px;
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr);
  gap: 1.5rem;
}

.contact-intro h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.contact-intro p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.9rem;
}

.contact-whatsapp {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.contact-form {
  border-radius: 10px;
  padding: 0.9rem 0.95rem 1rem;
  border: 1px solid var(--color-border-subtle);
  background: rgba(5, 6, 12, 0.65);
}

.contact-form h3 {
  font-size: 0.95rem;
  margin: 0 0 0.5rem;
}

.contact-submit {
  margin-top: 0.4rem;
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
}

/* ===========================
   ÇALIŞMALAR – CASE LİST
   =========================== */
.case-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.case-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-card);
  align-items: center;
}

.case-card.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.case-thumb img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: block;
}

.case-content h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.case-content p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.case-tags span {
  font-size: 0.75rem;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  border-radius: var(--radius-pill);
  padding: 0.28rem 0.75rem;
  color: var(--color-accent-strong);
}

.case-btn {
  display: inline-block;
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  background: linear-gradient(
    135deg,
    var(--btn-primary-from),
    var(--btn-primary-to)
  );
  color: var(--btn-primary-text);
}

.case-btn:hover {
  background: var(--btn-primary-to);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  border-top: 1px solid var(--footer-border);
  padding: 0.9rem 1.25rem 1.2rem;
  background: var(--footer-bg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  color: var(--color-text-muted);
}

.footer-divider {
  opacity: 0.6;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

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

  .case-card,
  .case-card.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .contact-main {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.1rem 1.1rem 1.2rem;
  }

  .contact-form {
    margin-top: 0.4rem;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 1rem;
  }

  .hero {
    padding-inline: 1rem;
  }

  .services-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
