@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

/* Kuest Media — logodan: #FF1A00 kırmızı, #505ED9 mavi, #000 siyah */
:root {
  --red: #ff1a00;
  --red-soft: #ffe8e5;
  --blue: #505ed9;
  --blue-soft: #eceeff;
  --black: #101218;
  --cream: #f6f4f2;
  --white: #ffffff;
  --text-muted: rgba(16, 18, 24, 0.68);
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(16, 18, 24, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--cream);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(246, 244, 242, 0.92);
  border-bottom: 1px solid rgba(16, 18, 24, 0.06);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 51px;
  width: auto;
  display: block;
}

@media (max-width: 900px) {
  .logo img {
    height: 42px;
  }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--white);
  padding: 6px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav a:hover {
  background: var(--red-soft);
  color: var(--red);
}

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.lang-switch button {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-muted);
}

.lang-switch button.is-active {
  background: var(--black);
  color: var(--white);
}

.hero {
  padding: 72px 0 88px;
}

.hero-intro {
  max-width: 40rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
}

h1 .hero-ilk {
  margin-inline: 0.12em;
}

h1 .highlight {
  color: var(--red);
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0 0 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 26, 0, 0.28);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 18, 24, 0.08);
}

.btn-link {
  background: transparent;
  color: var(--blue);
  padding-inline: 0;
  box-shadow: none;
}

.hero-engagements {
  margin-top: 48px;
}

.engagements-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 5px solid var(--red);
}

.engagements-header__tag {
  font-size: clamp(0.875rem, 2.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.engagements-header__sub {
  font-size: clamp(1.0625rem, 2.8vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  max-width: 36rem;
}

.engagements-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.engagements-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  min-width: 0;
  width: 100%;
  container-type: inline-size;
  container-name: engagements;
}

.engagements-track {
  display: flex;
  gap: 12px;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.engagements-item {
  flex: 0 0 calc((100cqi - 36px) / 4);
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(16, 18, 24, 0.06);
  aspect-ratio: 9 / 16;
  max-height: min(52vh, 420px);
}

.engagements-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #0a0a0a;
}

.engagements-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.15s, background 0.15s;
}

.engagements-btn:hover {
  transform: scale(1.05);
  background: var(--blue-soft);
}

.engagements-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}

.engagements-dots button {
  width: 7px;
  height: 7px;
  border: none;
  border-radius: 999px;
  background: rgba(16, 18, 24, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.engagements-dots button.is-active {
  width: 24px;
  background: var(--red);
}

.stats {
  background: var(--black);
  color: var(--white);
  padding: 28px 0;
}

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

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

section {
  padding: 96px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

h2 em {
  font-style: normal;
  color: var(--red);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--blue);
}

.card:nth-child(1) {
  border-top-color: var(--red);
}

.card-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.4rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  flex: 1;
}

.card-tag {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(16, 18, 24, 0.08);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.studio-band {
  background: var(--white);
  border: 1px solid rgba(16, 18, 24, 0.08);
  border-radius: var(--radius);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.studio-band h2 {
  font-size: 1.5rem;
  margin: 8px 0 12px;
}

.studio-band p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.gallery-wrap {
  position: relative;
  margin-top: 40px;
}

.gallery-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-slide {
  min-width: 100%;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16 / 9;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 18, 24, 0.8);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.gallery-btn--prev {
  left: 16px;
}

.gallery-btn--next {
  right: 16px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 999px;
  background: rgba(16, 18, 24, 0.2);
  cursor: pointer;
  padding: 0;
}

.gallery-dots button.is-active {
  width: 28px;
  background: var(--red);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.person {
  display: flex;
  gap: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.person-photo {
  width: 110px;
  height: 130px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-soft);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 6px;
}

.person h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.person p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.contact {
  text-align: center;
  padding-bottom: 120px;
}

.contact h2 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin-bottom: 20px;
}

.contact .lead {
  margin-inline: auto;
}

.contact .btn-primary {
  font-size: 17px;
  padding: 20px 36px;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

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

.footer-links a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--red);
}

/* —— Tablet & mobil —— */
@media (max-width: 900px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .header-inner {
    padding: 12px 0;
  }

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

  .hero-engagements {
    margin-top: 32px;
  }

  .engagements-item {
    flex: 0 0 calc((100cqi - 12px) / 2);
    max-height: min(48vh, 380px);
  }

  .engagements-carousel {
    gap: 8px;
  }

  .engagements-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .engagements-header {
    padding: 16px;
    margin-bottom: 16px;
  }

  section {
    padding: 56px 0;
  }

  .stats {
    padding: 24px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }

  .stat-num {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .cards,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    margin-top: 32px;
    gap: 16px;
  }

  .card {
    min-height: auto;
    padding: 24px 20px;
  }

  #about .lead {
    margin-inline: 0;
  }

  .contact {
    padding-bottom: 72px;
  }

  .contact h2 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .studio-band {
    grid-template-columns: 1fr;
  }
}

/* —— Küçük telefon —— */
@media (max-width: 480px) {
  .container {
    width: min(1120px, calc(100% - 24px));
  }

  h1 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }

  .badge {
    font-size: 11px;
    padding: 8px 14px;
    margin-bottom: 16px;
  }

  .engagements-item {
    flex: 0 0 100cqi;
    max-height: min(62vh, 480px);
  }

  .engagements-carousel {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }

  .engagements-viewport {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .engagements-btn--prev {
    grid-row: 2;
    justify-self: end;
  }

  .engagements-btn--next {
    grid-row: 2;
    justify-self: start;
  }

  .engagements-dots {
    flex-wrap: wrap;
    max-width: 100%;
  }

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

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
