:root {
  color-scheme: light;
  --brand-primary: #0c3b5e;
  --brand-secondary: #1a73e8;
  --brand-accent: #f3f6fb;
  --neutral-50: #f1f5f9;
  --neutral-100: #f8fafc;
  --neutral-400: #94a3b8;
  --neutral-600: #475569;
  --text-color: #0f172a;
  --card-border: rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--neutral-100);
  color: var(--text-color);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

header {
  background:
    radial-gradient(circle at 0% 0%, rgba(26, 115, 232, 0.18), transparent 55%),
    linear-gradient(135deg, rgba(12, 59, 94, 0.92), rgba(12, 59, 94, 0.72));
  color: #fff;
  position: relative;
  overflow: hidden;
}

header::after {
  content: "";
  position: absolute;
  inset: 15% -40% -10% 45%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(40px);
  transform: rotate(-8deg);
}

.inner {
  width: min(1120px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  gap: 24px;
}

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

.brand-logo {
  width: clamp(220px, 28vw, 360px);
  height: clamp(90px, 12vw, 140px);
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(12, 59, 94, 0.22);
  background: rgba(255, 255, 255, 0.18);
  padding: clamp(10px, 1.6vw, 16px);
  opacity: 0.9;
}

.contact-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pill-link {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.3s, transform 0.3s;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.pill-link:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(80px, 12vw, 140px);
  display: grid;
  gap: clamp(32px, 6vw, 72px);
}

.hero-content {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin: 0;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2.4vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.cta-button {
  padding: 14px 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-primary);
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
}

.cta-secondary {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.09);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.stat-card strong {
  display: block;
  font-size: 26px;
  margin-bottom: 4px;
}

main {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding-bottom: 120px;
}

/* References (logo wall) */
#referanslar {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(12,59,94,0.08);
  padding: clamp(20px, 3vw, 28px);
}

.refs-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  align-items: center;
}

.ref-item {
  margin: 0;
  background: #f7f9fb;
  border: 1px solid #e6eef5;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  place-items: center;
  min-height: 96px;
}

.ref-item img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
  filter: grayscale(10%);
  opacity: 0.96;
  transition: filter .2s ease, opacity .2s ease, transform .2s ease;
}

.ref-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.02);
}

section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: clamp(32px, 6vw, 56px);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

section + section {
  margin-top: clamp(32px, 6vw, 48px);
}

h1,
h2,
h3 {
  font-weight: 700;
  color: inherit;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
}

.section-intro {
  max-width: 620px;
  color: var(--neutral-600);
  margin-bottom: clamp(28px, 5vw, 40px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 4vw, 28px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(18px, 4vw, 28px);
}

.gallery-header {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(18px, 4vw, 28px);
}

.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(18px, 4vw, 28px);
}

.gallery-tab {
  border: 1px solid rgba(26, 115, 232, 0.28);
  background: rgba(26, 115, 232, 0.08);
  color: var(--brand-primary);
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.gallery-tab.is-active {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.85), rgba(12, 59, 94, 0.9));
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  transform: translateY(-2px);
}

.gallery-tab:focus-visible {
  outline: 3px solid rgba(26, 115, 232, 0.45);
  outline-offset: 2px;
}

.gallery-item {
  display: grid;
  gap: 12px;
  padding: 18px 16px 22px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(160deg, #fff, #f6f9ff 90%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.gallery-thumb {
  border: 1px solid rgba(26, 115, 232, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  padding: 18px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb:focus,
.gallery-thumb:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(26, 115, 232, 0.24);
  border-color: rgba(26, 115, 232, 0.55);
  outline: none;
}

.gallery-thumb img {
  max-height: 148px;
  object-fit: contain;
  width: auto;
}

.gallery-item figcaption {
  font-weight: 600;
  font-size: 14px;
  color: var(--neutral-600);
}

.card {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--card-border);
  background: linear-gradient(145deg, #fff, #f8fbff 90%);
  display: grid;
  gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--neutral-600);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(26, 115, 232, 0.1);
  color: var(--brand-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #f9fbff;
}

.list li::before {
  content: "";
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  margin-top: 6px;
  background: var(--brand-secondary);
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.14);
}

.list strong {
  font-size: 16px;
}

.list span {
  font-size: 14px;
  color: var(--neutral-600);
}

.contact-section {
  background: linear-gradient(135deg, rgba(26, 115, 232, 0.12), rgba(12, 59, 94, 0.08));
  display: grid;
  gap: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.contact-card {
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(26, 115, 232, 0.18);
  background: rgba(255, 255, 255, 0.65);
  display: grid;
  gap: 8px;
}

.contact-card strong {
  font-size: 16px;
}

.contact-card span {
  color: var(--neutral-600);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 6vw, 64px);
  z-index: 1000;
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  position: relative;
  max-width: min(860px, 92vw);
  width: 100%;
  background: #fff;
  border-radius: 24px;
  padding: clamp(16px, 4vw, 28px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
  display: grid;
  gap: 16px;
}

.lightbox img {
  width: 100%;
  max-height: min(70vh, 540px);
  object-fit: contain;
}

.lightbox figcaption {
  font-size: 15px;
  font-weight: 600;
  color: var(--neutral-600);
  justify-self: center;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.lightbox-close:hover,
.lightbox-close:focus {
  background: rgba(26, 115, 232, 0.18);
  transform: scale(1.04);
  outline: none;
}

.lightbox [data-close].backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
}

footer {
  width: min(1120px, 92vw);
  margin: 48px auto 72px;
  text-align: center;
  color: rgba(71, 85, 105, 0.85);
  font-size: 14px;
}

@media (max-width: 720px) {
  header {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: clamp(200px, 70vw, 300px);
    height: clamp(80px, 22vw, 120px);
    padding: 10px;
  }

  .contact-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 56px 0 96px;
  }

  main {
    margin-top: -48px;
  }

  section {
    padding: 28px;
    border-radius: 24px;
  }
}
