:root {
  --bg: #ffffff;
  --bg-soft: #f7f9fc;
  --text: #172033;
  --muted: #64748b;
  --primary: #0f62fe;
  --primary-dark: #0b4ed1;
  --primary-soft: #eaf1ff;
  --border: #e2e8f0;
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.05);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 2000;
  border: 1px solid var(--border);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-area {
  width: 180px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.menu a:hover,
.menu a:focus {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0f62fe, #0a4fd1);
  color: #fff;
  box-shadow: 0 10px 25px rgba(15, 98, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 98, 254, 0.35);
}

.btn-primary:active {
  transform: scale(0.98);
}

.hero {
  padding: 76px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image {
  min-height: 430px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.2)),
    url('https://www.ct.com.tr/images/slider.jpg') center/cover no-repeat;
  display: flex;
  align-items: end;
  padding: 30px;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 22px;
  max-width: 420px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.hero-overlay h2 {
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-overlay p {
  font-size: 15px;
  color: var(--muted);
}

section {
  padding: 70px 0;
  scroll-margin-top: 95px;
}

.section-head {
  max-width: 960px;
  margin: 0 auto 28px auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.about-box,
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.about-highlight {
  background: linear-gradient(135deg, #0f62fe 0%, #0a4fd1 100%);
  color: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(15, 98, 254, 0.18);
  position: relative;
  overflow: hidden;
}

.about-highlight::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -70px;
  right: -60px;
}

.about-highlight small {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.about-highlight h3 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.about-highlight p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

.about-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-box h3 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: #0f172a;
}

.about-box p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.about-point {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  font-weight: 600;
  color: #334155;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.brand-card {
  position: relative;
  min-height: 220px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.brand-overlay-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.brand-clickable {
  cursor: pointer;
}

.brand-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: 0.35s ease;
  background: #fff;
  z-index: 1;
}

.brand-logo-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed #cbd5e1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 12px;
}

.brand-logo img {
  max-width: 80%;
  max-height: 80px;
  object-fit: contain;
  transition: 0.3s;
}

.brand-content {
  position: absolute;
  inset: 0;
  padding: 26px;
  background: linear-gradient(180deg, rgba(15, 98, 254, 0.96), rgba(8, 47, 126, 0.96));
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.brand-card:hover .brand-logo,
.brand-card:focus-within .brand-logo {
  opacity: 0.18;
  transform: scale(1.03);
}

.brand-card:hover .brand-content,
.brand-card:focus-within .brand-content {
  opacity: 1;
  transform: translateY(0);
}

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

.brand-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.brand-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}

/* REFERANS LOGOLARI */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.client-box {
  min-height: 120px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: 0.25s ease;
}

.client-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.client-box img {
  display: block;
  width: auto;
  max-width: 150px;
  max-height: 90px;
  object-fit: contain;
  transition: 0.3s;
}

.client-box:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-item span,
.contact-card p {
  color: var(--muted);
  font-size: 15px;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text);
  outline: none;
  transition: 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: #9ec1ff;
  box-shadow: 0 0 0 4px rgba(15, 98, 254, 0.08);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .contact-grid,
  .brand-grid,
  .about-layout {
    grid-template-columns: 1fr 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero-grid,
  .contact-grid,
  .brand-grid,
  .clients-grid,
  .about-layout,
  .about-points {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-image {
    min-height: 320px;
    padding: 18px;
  }

  .hero-overlay {
    padding: 18px;
  }

  h1 {
    font-size: 36px;
  }

  .hero p,
  .section-head p,
  .about-box p,
  .about-highlight p {
    font-size: 16px;
  }

  section {
    padding: 56px 0;
  }

  .about-box,
  .contact-card,
  .about-highlight {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .logo-area {
    width: 150px;
    height: 48px;
  }

  .menu {
    gap: 12px 16px;
    font-size: 14px;
  }

  h1 {
    font-size: 31px;
  }

  .section-head h2,
  .about-highlight h3,
  .about-box h3 {
    font-size: 26px;
  }

  .brand-card {
    min-height: 200px;
  }

  .client-box {
    min-height: 120px;
    padding: 18px;
  }

  .client-box img {
    height: 90px;
    width: auto;
    max-width: 100%;
  }
}