@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --page: #f5f5f3;
  --surface: #ffffff;
  --ink: #111111;
  --soft-ink: #3f3f3f;
  --muted: #6f6f6f;
  --line: #dddddd;
  --brand: #d40000;
  --gray: #eeeeec;
  --dark-gray: #2c2c2c;
  --shadow: 0 18px 55px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.6vw, 44px);
  min-height: 72px;
  padding: 10px clamp(18px, 4vw, 50px);
  background: rgba(17, 17, 17, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(104px, 9vw, 126px);
  height: auto;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 34px);
  color: #ffffff;
  font-size: clamp(0.8rem, 0.86vw, 0.9rem);
  font-weight: 700;
  white-space: nowrap;
}

nav a,
.quick-links a,
.site-footer a {
  transition: color 180ms ease;
}

nav a:hover,
.quick-links a:hover,
.site-footer a:hover {
  color: var(--brand);
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(37, 211, 102, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float svg {
  display: none;
}

.whatsapp-float::before {
  content: "";
  width: 33px;
  height: 33px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M380.9 97.1C339 55.1 283.2 32 223.9 32 101.2 32 1.2 132 1.2 254.8c0 39.2 10.2 77.5 29.6 111.3L0 480l116.5-30.6c32.5 17.7 69.1 27 107.3 27h.1c122.7 0 222.7-100 222.7-222.8 0-59.3-23.1-115-65.7-156.5zM223.9 438.7h-.1c-34.1 0-67.5-9.2-96.6-26.6l-6.9-4.1-69.1 18.1 18.4-67.4-4.5-7C46.2 321.5 36.2 288.6 36.2 254.8c0-103.4 84.2-187.6 187.7-187.6 50.1 0 97.2 19.5 132.6 54.9 35.4 35.4 55.1 82.5 55.1 132.7 0 103.5-84.2 187.9-187.7 187.9zm101.8-140.6c-5.6-2.8-33.1-16.3-38.2-18.2-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18.2-17.6 21.9-3.2 3.7-6.5 4.2-12.1 1.4-33.1-16.5-54.8-29.5-76.6-66.7-5.8-10 5.8-9.3 16.5-30.9 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3s19.9 53.7 22.7 57.4c2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 33.1-13.5 37.7-26.6 4.6-13.1 4.6-24.4 3.2-26.6-1.4-2.4-5.1-3.7-10.7-6.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  background: #1ebe5d;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(37, 211, 102, 0.42);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-item {
  position: relative;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  line-height: 1;
}

.nav-parent {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.nav-parent::after {
  width: 6px;
  height: 6px;
  content: "";
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 230px;
  padding: 8px;
  visibility: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.submenu::before {
  position: absolute;
  top: -15px;
  right: 0;
  left: 0;
  height: 15px;
  content: "";
}

.submenu a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: var(--soft-ink);
  white-space: nowrap;
}

.submenu a:hover,
.submenu a:focus {
  background: var(--gray);
  color: var(--brand);
}

.lang-switcher .submenu {
  min-width: 150px;
}

.lang-toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  line-height: 1;
}

.lang-toggle:hover,
.lang-toggle:focus {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  margin-right: 4px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.16);
  object-fit: cover;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 800;
}

.header-cta {
  padding: 0 clamp(12px, 1.3vw, 18px);
  background: var(--brand);
  color: #fff;
  font-size: 0.88rem;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus {
  background: #aa0000;
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: clamp(560px, 78svh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.82) 0%, rgba(17, 17, 17, 0.58) 42%, rgba(17, 17, 17, 0.2) 100%),
    linear-gradient(0deg, rgba(17, 17, 17, 0.3), rgba(17, 17, 17, 0.06));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 80px 0;
  color: #fff;
}

.hero-content > * {
  max-width: 660px;
}

.hero-content h1 {
  max-width: 880px;
  font-size: clamp(2.25rem, 4.45vw, 4.15rem);
  overflow-wrap: normal;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffffff;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.55rem);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.32;
  font-weight: 800;
}

p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.72;
}

.hero-content > p:not(.eyebrow) {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.subhero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(34px, 6vw, 82px) clamp(18px, 4vw, 56px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.subhero.compact {
  min-height: 520px;
}

.subhero img {
  width: 100%;
  height: min(560px, 62svh);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.subhero h1 {
  font-size: clamp(2.1rem, 4.4vw, 4rem);
}

.subhero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1rem;
}

.corporate-hero {
  grid-template-columns: minmax(360px, 0.92fr) minmax(360px, 1fr);
  gap: clamp(32px, 5vw, 82px);
  padding-top: clamp(54px, 7vw, 104px);
  padding-bottom: clamp(54px, 7vw, 104px);
}

.corporate-hero img {
  width: min(100%, 760px);
  height: auto;
  max-height: none;
  object-fit: contain;
  justify-self: center;
  background: #f7f7f4;
}

.corporate-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4vw, 4.45rem);
  line-height: 1.04;
}

.corporate-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  padding: 0 20px;
  font-size: 0.92rem;
}

.button.primary {
  background: var(--ink);
  color: #ffffff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #fff;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.quick-links a {
  display: grid;
  min-height: 72px;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(720px, 100%);
  margin-bottom: 38px;
}

.section-heading.wide {
  width: min(1180px, 100%);
}

.section-heading p {
  max-width: 610px;
}

#hizmetler .section-heading h2 {
  font-size: clamp(2.25rem, 4.2vw, 4.35rem);
  white-space: nowrap;
}

#hizmetler .section-heading {
  width: min(1180px, 100%);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

.detail-copy {
  display: grid;
  gap: 14px;
}

.detail-copy p {
  margin: 0;
}

.values,
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 0;
}

.values article,
.process-list article {
  padding: clamp(22px, 3vw, 32px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(17, 17, 17, 0.04);
}

.values {
  counter-reset: value-card;
}

.values article {
  counter-increment: value-card;
  position: relative;
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 255px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.96), rgba(45, 45, 45, 0.92)),
    var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.values article::before {
  content: "0" counter(value-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(212, 0, 0, 0.32);
}

.values article::after {
  content: "";
  position: absolute;
  inset: auto 24px 0;
  height: 4px;
  background: var(--brand);
  border-radius: 999px 999px 0 0;
}

.values article h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1.12;
}

.values article p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.12vw, 1.08rem);
  line-height: 1.72;
}

.values article:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 0, 0, 0.45);
  box-shadow: 0 34px 95px rgba(17, 17, 17, 0.24);
}

.process-list article {
  min-height: 240px;
}

.process-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-list h2,
.work-detail-grid h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
}

.service-types {
  padding-top: 0;
}

.service-types .section-heading {
  width: min(1040px, 100%);
}

.service-types .section-heading h2 {
  max-width: 980px;
  font-size: clamp(1.95rem, 3.2vw, 3.1rem);
  line-height: 1.08;
  text-wrap: balance;
}

.service-types .portfolio-card h3 {
  max-width: 12ch;
  line-height: 1.18;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  display: grid;
  min-height: 220px;
  align-content: start;
  gap: 18px;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 238, 236, 0.72)),
    var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  background: var(--brand);
}

.service-card::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  content: "";
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
}

.service-card:hover {
  border-color: rgba(212, 0, 0, 0.32);
  box-shadow: 0 24px 65px rgba(17, 17, 17, 0.12);
  transform: translateY(-3px);
}

.service-card span {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 4px 0 0;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.statement {
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 70px);
  background: var(--ink);
  color: #fff;
}

.statement > img {
  width: 100%;
  height: auto;
  max-height: min(760px, 82svh);
  object-fit: contain;
  justify-self: center;
  border-radius: 8px;
}

.statement p {
  color: rgba(255, 255, 255, 0.74);
}

.statement h2 {
  color: #fff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.stats div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stats strong {
  display: block;
  color: #ffffff;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1;
}

.stats span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portfolio-slider {
  display: grid;
  grid-auto-columns: clamp(290px, 32vw, 430px);
  grid-auto-flow: column;
  gap: 18px;
  margin: 0 calc(clamp(18px, 4vw, 72px) * -1);
  padding: 4px clamp(18px, 4vw, 72px) 18px;
  overflow-x: auto;
  scroll-padding-left: clamp(18px, 4vw, 72px);
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--brand) var(--gray);
}

.portfolio-slider::-webkit-scrollbar {
  height: 8px;
}

.portfolio-slider::-webkit-scrollbar-track {
  background: var(--gray);
  border-radius: 999px;
}

.portfolio-slider::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 999px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
  scroll-snap-align: start;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 260ms ease;
}

.portfolio-card div {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), #ffffff),
    var(--surface);
}

.portfolio-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.portfolio-card p {
  margin-bottom: 0;
}

.portfolio-card span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 900;
  border-bottom: 2px solid var(--brand);
}

.portfolio-card:hover,
.portfolio-card:focus {
  border-color: rgba(212, 0, 0, 0.45);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  transform: translateY(-4px);
}

.portfolio-card:hover img,
.portfolio-card:focus img {
  transform: scale(1.045);
}

.portfolio-card:hover span,
.portfolio-card:focus span {
  color: var(--brand);
}

.work-detail-grid {
  display: grid;
  gap: 22px;
}

.work-detail-grid article {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(300px, 1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.work-detail-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.work-detail-grid p {
  max-width: 620px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 16px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
  border-bottom: 2px solid var(--brand);
}

.text-link:hover {
  color: var(--brand);
}

.project-hero {
  min-height: 440px;
}

.project-intro,
.project-links {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}

.project-intro p,
.project-links p {
  margin: 0;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(1260px, calc(100% - 36px));
  margin: 0 auto clamp(54px, 8vw, 96px);
}

.project-gallery figure {
  position: relative;
  aspect-ratio: 4 / 3;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-gallery figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.14), rgba(17, 17, 17, 0.48)),
    rgba(17, 17, 17, 0.2);
  transition: opacity 220ms ease;
  pointer-events: none;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.04);
  transition: transform 260ms ease, filter 260ms ease;
}

.project-gallery figure:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 0, 0, 0.34);
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.2);
}

.project-gallery figure:hover img {
  filter: saturate(1.08) contrast(1.02);
  transform: scale(1.045);
}

.project-gallery figure:hover::after {
  opacity: 0.08;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-links a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--soft-ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.category-links a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: clamp(12px, 2vw, 22px);
  background: var(--ink);
}

.gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.gallery figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.36);
  transition: opacity 220ms ease;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: clamp(160px, 18vw, 255px);
  object-fit: cover;
  filter: grayscale(0.45) brightness(0.68) contrast(1.05);
  transform: scale(1.01);
  transition: filter 240ms ease, transform 240ms ease;
}

.gallery figure:first-child,
.gallery figure:nth-child(2) {
  grid-column: span 3;
}

.gallery figure:nth-child(n + 3) {
  grid-column: span 2;
}

.gallery figure:first-child img,
.gallery figure:nth-child(2) img {
  min-height: clamp(210px, 24vw, 330px);
}

.gallery figure:hover img {
  filter: grayscale(0) brightness(1) contrast(1);
  transform: scale(1.045);
}

.gallery figure:hover::after {
  opacity: 0;
}

.about {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.about-copy {
  columns: 2 320px;
  column-gap: 38px;
}

.mission {
  break-inside: avoid;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mission h3:not(:first-child) {
  margin-top: 22px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(20px, 4vw, 44px);
  padding: clamp(28px, 5vw, 70px);
  background:
    linear-gradient(120deg, rgba(17, 17, 17, 0.96), rgba(46, 46, 46, 0.92)),
    url("public/images/1.jpg") center / cover;
  color: #fff;
}

.detail-contact {
  background:
    linear-gradient(120deg, rgba(17, 17, 17, 0.96), rgba(46, 46, 46, 0.92)),
    url("public/images/mutfakdlider-1920x1080.jpg") center / cover;
}

.centered-contact {
  grid-template-columns: minmax(320px, 820px);
  justify-content: center;
  min-height: clamp(460px, 58vw, 640px);
}

.centered-contact .contact-panel {
  align-self: center;
  width: 100%;
}

.contact-map-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.contact-map-section .contact-panel,
.map-card {
  position: relative;
  min-height: clamp(500px, 34vw, 620px);
}

.map-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.map-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.22) contrast(1.04);
}

.map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--ink);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

.map-link:hover {
  background: var(--brand);
  color: #ffffff;
}

.contact-panel {
  padding: clamp(24px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-list a {
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-weight: 800;
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 0.76rem;
}


.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(150px, 0.72fr) minmax(210px, 0.88fr) minmax(330px, 1.22fr);
  gap: clamp(28px, 3vw, 48px);
  align-items: start;
  padding: clamp(46px, 6vw, 76px) clamp(22px, 5vw, 80px);
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: grid;
  gap: 22px;
}

.footer-brand img {
  width: 128px;
}

.footer-brand p,
.footer-contact span {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand p {
  max-width: 410px;
}

.footer-col {
  justify-self: start;
  width: 100%;
  text-align: left;
}

.footer-col h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: start;
  justify-content: start;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  font-weight: 800;
}

.footer-links a {
  display: block;
  width: fit-content;
}

.footer-contact {
  display: grid;
  gap: 16px;
}

.footer-contact a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.footer-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  background: rgba(212, 0, 0, 0.14);
  border: 1px solid rgba(212, 0, 0, 0.52);
  border-radius: 6px;
  color: var(--brand);
  box-shadow: none;
}

.footer-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-contact strong {
  display: block;
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.footer-contact a:hover .footer-icon {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: 0;
  }

  .nav-item {
    position: relative;
  }

  .submenu {
    top: calc(100% + 12px);
    left: 50%;
    display: grid;
    min-width: 230px;
    visibility: hidden;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translate(-50%, 8px);
    position: absolute;
    gap: 0;
  }

  .submenu::before {
    display: block;
  }

  .submenu a {
    padding: 11px 12px;
  }

  .has-submenu {
    gap: 0;
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    visibility: visible;
    opacity: 1;
    transform: translate(-50%, 0);
  }

  #hizmetler .section-heading h2 {
    white-space: normal;
  }

  .quick-links,
  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .statement,
  .about,
  .contact,
  .subhero,
  .detail-grid,
  .project-intro,
  .project-links,
  .work-detail-grid article {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

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

  .gallery figure:nth-child(n) {
    grid-column: auto;
  }

  .project-gallery figure:nth-child(n) {
    grid-column: auto;
  }

  .project-gallery figure:nth-child(n) img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
    gap: 13px;
  }

  .brand img {
    width: 108px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.8rem;
  }

  nav {
    justify-content: flex-start;
    gap: 12px 18px;
  }

  .submenu {
    left: 0;
    transform: translate(0, 8px);
  }

  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    transform: translate(0, 0);
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding: 64px 0;
  }

  .hero-content h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 10vw, 3rem);
  }

  .hero-actions {
    display: grid;
  }

  .quick-links,
  .service-grid,
  .portfolio-grid,
  .values,
  .process-list,
  .stats,
  .gallery,
  .project-gallery,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-col {
    justify-self: stretch;
  }

  .quick-links a {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gallery figure:first-child,
  .gallery figure:nth-child(2) {
    grid-column: auto;
  }

  .gallery img,
  .gallery figure:first-child img,
  .gallery figure:nth-child(2) img {
    min-height: 220px;
  }
}
