:root {
  --black: #050505;
  --black-2: #0d0d0f;
  --white: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-dark: #111111;
  --muted-dark: #6e6e73;
  --line-light: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(0, 0, 0, 0.08);
  --surface: #f5f5f7;
  --surface-2: #ffffff;
  --primary: #1d4ed8;
  --primary-hover: #1b45bf;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--surface);
}

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

button,
input,
textarea {
  font: inherit;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
}

.header-inner {
  width: calc(100% - 128px);
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--white);
}

.brand-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  margin-left: auto;
  flex: 0 0 auto;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav a:hover {
  opacity: 0.72;
}

.nav a:hover::after {
  transform: scaleX(1);
}

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 52%, rgba(29, 78, 216, 0.22), transparent 38%),
    radial-gradient(circle at 82% 42%, rgba(255, 94, 0, 0.18), transparent 40%);
  filter: blur(90px);
  opacity: 0.95;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 62%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 106, 24, 0.28), transparent 34%),
    radial-gradient(circle at 82% 40%, rgba(37, 99, 235, 0.40), transparent 34%),
    radial-gradient(circle at 50% 85%, rgba(17, 56, 200, 0.14), transparent 20%),
    linear-gradient(120deg, #020202 0%, #050505 45%, #0b0705 70%, #050505 100%);
  transform: scale(1.04);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.03) 50%, transparent 74%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.08), transparent 24%);
  mix-blend-mode: screen;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.32) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 90px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.hero h1 {
  margin: 0;
  max-width: 960px;
  font-size: clamp(64px, 10vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 300;
}

.hero-subtitle {
  margin: 30px 0 0;
  max-width: 760px;
  font-size: 22px;
  line-height: 1.65;
  color: var(--text-soft);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  min-width: 220px;
  height: 58px;
  padding: 0 30px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.22);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* =========================
   GLOBAL CONTAINER
========================= */

.container {
  width: min(calc(100% - 80px), var(--container));
  margin: 0 auto;
}

/* =========================
   SECTIONS
========================= */

.intro-block,
.services-block,
.showcase-block {
  padding: 120px 0;
}

.intro-block {
  background: #fff;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

.section-mini {
  margin: 0 0 24px;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-dark);
  font-weight: 600;
}

.intro-left h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 500;
  color: #111;
}

.intro-right p {
  margin: 0;
  font-size: 22px;
  line-height: 1.7;
  color: #4f4f55;
  font-weight: 300;
}

.section-head {
  margin-bottom: 48px;
}

/* =========================
   SERVICES
========================= */

.services-block {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--surface-2);
  padding: 42px 34px 38px;
  min-height: 280px;
  border: 1px solid var(--line-dark);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: #5b5b61;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
}

/* =========================
   SHOWCASE
========================= */

.showcase-block {
  background: #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: start;
}

.showcase-large,
.showcase-small {
  background: #fff;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.showcase-large:hover,
.showcase-small:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.showcase-large {
  grid-row: span 2;
}

/* GÖRSEL */
.showcase-image {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.showcase-large .showcase-image {
  height: 520px;
}

.showcase-small .showcase-image {
  height: 208px;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* METİN */
.showcase-text {
  flex: 1;
}

.showcase-large .showcase-text {
  min-height: 220px;
  padding: 30px 28px 34px;
}

.showcase-small .showcase-text {
  min-height: 150px;
  padding: 24px 24px 26px;
}

.showcase-large .showcase-text h3 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.showcase-large .showcase-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #5a5a60;
  font-weight: 300;
}

.showcase-small .showcase-text h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 500;
}

/* reveal kaymasını kapat */
.showcase-grid .reveal,
.showcase-grid .reveal.is-visible {
  opacity: 1;
  transform: none;
}



/* =========================
   FOOTER
========================= */

.site-footer {
  background: #000;
  color: #fff;
  padding-top: 80px;
  padding-bottom: 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  width: 52px;
  margin-bottom: 20px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.7;
  max-width: 420px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links h4 {
  margin: 0 0 16px;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  transition: opacity 0.25s ease;
}

.footer-links a:hover {
  opacity: 0.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================
   REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .header-inner {
    width: calc(100% - 64px);
  }

  .nav {
    gap: 32px;
  }

  .hero h1 {
    font-size: clamp(56px, 10vw, 94px);
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .intro-grid,
  .services-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  /* SHOWCASE AYRI */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .showcase-large {
    grid-row: auto;
  }

  .showcase-large .showcase-image,
  .showcase-small .showcase-image {
    height: 320px;
  }

  .showcase-large .showcase-text,
  .showcase-small .showcase-text {
    min-height: auto;
    padding: 24px 22px 26px;
  }

  .showcase-large .showcase-text h3,
  .showcase-small .showcase-text h3 {
    font-size: 28px;
    line-height: 1.2;
  }

  .showcase-large .showcase-text p,
  .showcase-small .showcase-text p {
    font-size: 17px;
    line-height: 1.65;
  }
}

@media (max-width: 900px) {
  .footer-links {
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    width: calc(100% - 32px);
    min-height: 78px;
  }

  .brand-logo-img {
    width: 52px;
    height: 52px;
  }

  .nav {
    display: none;
  }

  .hero-content {
    width: min(calc(100% - 32px), var(--container));
    padding-top: 110px;
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
    line-height: 0.98;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .intro-block,
  .services-block,
  .showcase-block {
    padding: 84px 0;
  }

  .intro-left h2,
  .section-head h2 {
    font-size: 38px;
  }

  .service-card h3 {
    font-size: 28px;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero-actions {
    width: 100%;
  }

  .footer-links {
    flex-direction: column;
  }

  /* SHOWCASE MOBİLDE 3'Ü DE AYNI */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .showcase-large,
  .showcase-small {
    grid-row: auto;
  }

  .showcase-large .showcase-image,
  .showcase-small .showcase-image {
    height: 260px;
  }

  .showcase-large .showcase-text,
  .showcase-small .showcase-text {
    min-height: auto;
    padding: 22px 20px 24px;
  }

  .showcase-large .showcase-text h3,
  .showcase-small .showcase-text h3,
  .showcase-text h3 {
    font-size: 24px;
    line-height: 1.2;
  }

  .showcase-large .showcase-text p,
  .showcase-small .showcase-text p,
  .showcase-text p {
    font-size: 16px;
    line-height: 1.6;
  }
}