/* === YigiTech Anasayfa === */

.yt-home {
  background: var(--yt-paper);
  font-family: var(--yt-font-body);
  color: var(--yt-text);
  overflow-x: hidden;
}

.yt-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.yt-section-head__left {
  max-width: 640px;
}

.yt-section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--yt-brand);
  border-radius: 999px;
  color: var(--yt-ink);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.yt-section-head .eyebrow i {
  font-size: 0.75rem;
}

.yt-section-head h1,
.yt-section-head h2 {
  margin: 0 0 12px;
  font-family: var(--yt-font-display);
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--yt-text);
}

.yt-section-head p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--yt-muted);
}

.yt-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.yt-section-head--center .yt-section-head__left {
  max-width: 560px;
}

/* === Hero === */

.yt-hero {
  position: relative;
  padding: 0;
}

.yt-slider {
  position: relative;
  overflow: hidden;
  height: clamp(420px, 56vw, 660px);
  background: var(--yt-ink);
}

.yt-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.yt-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.yt-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

@media (prefers-reduced-motion: no-preference) {
  .yt-slider__slide.is-active img {
    animation: yt-kenburns 8s ease-out forwards;
  }
}

@keyframes yt-kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

.yt-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(15, 16, 18, 0.28) 0%, rgba(15, 16, 18, 0) 34%);
}

.yt-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 24, 27, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s, transform 0.2s;
  backdrop-filter: blur(6px);
}

.yt-slider:hover .yt-slider__arrow,
.yt-slider__arrow:focus-visible {
  opacity: 1;
}

.yt-slider__arrow:hover {
  background: var(--yt-brand);
  border-color: var(--yt-brand);
  color: var(--yt-ink);
}

.yt-slider__arrow--prev { left: 24px; }
.yt-slider__arrow--next { right: 24px; }

.yt-slider__dots {
  position: absolute;
  bottom: 22px;
  right: clamp(24px, 4vw, 64px);
  z-index: 4;
  display: flex;
  gap: 8px;
}

.yt-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s var(--yt-ease), background 0.2s;
}

.yt-slider__dots button.is-active {
  width: 30px;
  background: var(--yt-brand);
}

/* === Güven Şeridi === */

.yt-trust {
  position: relative;
  z-index: 5;
  margin-top: -44px;
}

.yt-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--yt-surface);
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius-lg);
  box-shadow: var(--yt-shadow-lift);
  overflow: hidden;
}

.yt-trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 28px;
  border-right: 1px solid var(--yt-line);
}

.yt-trust__item:last-child {
  border-right: 0;
}

.yt-trust__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(250, 193, 11, 0.14);
  border-radius: 14px;
  color: var(--yt-brand-strong);
  font-size: 1.25rem;
}

.yt-trust__text strong {
  display: block;
  font-family: var(--yt-font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yt-text);
  margin-bottom: 2px;
}

.yt-trust__text span {
  font-size: 0.8125rem;
  color: var(--yt-muted);
}

/* === Kategoriler Bento === */

.yt-cats {
  padding: 64px 0 12px;
}

.yt-cats__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 22px;
}

.yt-cat {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--yt-radius-lg);
  box-shadow: var(--yt-shadow);
  transition: transform 0.4s var(--yt-ease), box-shadow 0.4s;
}

.yt-cat--big {
  grid-row: span 2;
}

.yt-cat:hover {
  transform: translateY(-5px);
  box-shadow: var(--yt-shadow-lift);
  text-decoration: none;
}

.yt-cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.62) contrast(1.05);
  transition: transform 0.7s var(--yt-ease), filter 0.4s;
}

.yt-cat:hover img {
  transform: scale(1.06);
  filter: saturate(0.95) contrast(1.05);
}

.yt-cat__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px 32px;
  background: linear-gradient(to top, rgba(18, 19, 22, 0.92) 0%, rgba(18, 19, 22, 0.42) 46%, rgba(18, 19, 22, 0.06) 100%);
}

.yt-cat__tag {
  position: absolute;
  top: 22px;
  left: 24px;
  padding: 6px 13px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.yt-cat__title {
  font-family: var(--yt-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.yt-cat--big .yt-cat__title {
  font-size: 2.125rem;
}

.yt-cat__desc {
  max-width: 34ch;
  margin-bottom: 4px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.yt-cat__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--yt-brand);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.yt-cat__cta i {
  font-size: 0.75rem;
  transition: transform 0.3s var(--yt-ease);
}

.yt-cat:hover .yt-cat__cta i {
  transform: translateX(5px);
}

/* === Ürünler === */

.yt-products {
  padding: 76px 0 84px;
}

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

.yt-product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--yt-surface);
  border: 1px solid var(--yt-line);
  border-radius: var(--yt-radius-lg);
  transition: transform 0.3s var(--yt-ease), box-shadow 0.3s, border-color 0.3s;
}

.yt-product:hover {
  transform: translateY(-5px);
  border-color: var(--yt-brand);
  box-shadow: var(--yt-shadow-lift);
}

.yt-product__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 258px;
  padding: 28px 22px;
  background: radial-gradient(circle at 50% 35%, #ffffff 0%, #f3f4f1 100%);
}

.yt-product__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--yt-ease);
}

.yt-product:hover .yt-product__media img {
  transform: scale(1.06);
}

.yt-product__noimg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #d3d3ce;
  font-size: 3.25rem;
}

.yt-product__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  background: var(--yt-ink);
  border-radius: 8px;
  color: var(--yt-brand);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.yt-product__color {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.yt-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 20px 22px 22px;
}

.yt-product__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
}

.yt-product__name a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
  color: var(--yt-text);
  text-decoration: none;
  transition: color 0.2s;
}

.yt-product__name a:hover {
  color: var(--yt-brand-strong);
  text-decoration: none;
}

.yt-product__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.yt-product__price strong {
  font-family: var(--yt-font-display);
  font-size: 1.3125rem;
  font-weight: 700;
  color: var(--yt-text);
}

.yt-product__price del {
  font-size: 0.875rem;
  color: var(--yt-muted);
}

.yt-product__wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f1f2f0;
  border-radius: 999px;
  color: var(--yt-ink);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.yt-product__wa i {
  font-size: 1.0625rem;
  color: #1da851;
  transition: color 0.2s;
}

.yt-product__wa:hover {
  background: #25d366;
  color: #fff;
  text-decoration: none;
}

.yt-product__wa:hover i {
  color: #fff;
}

.yt-products__more {
  margin-top: 48px;
  text-align: center;
}

/* === Teknik Servis (full-bleed) === */

.yt-service {
  padding: 0 0 84px;
}

.yt-service__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  padding: clamp(48px, 6vw, 80px);
  background: var(--yt-ink);
  border-radius: 28px;
  overflow: hidden;
}

.yt-service__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.6;
}

.yt-service__card::after {
  content: "";
  position: absolute;
  right: -160px;
  top: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 193, 11, 0.22) 0%, rgba(250, 193, 11, 0) 70%);
  pointer-events: none;
}

.yt-service__text {
  position: relative;
  z-index: 1;
}

.yt-service__text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(250, 193, 11, 0.14);
  border: 1px solid rgba(250, 193, 11, 0.32);
  border-radius: 999px;
  color: var(--yt-brand);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.yt-service__text h2 {
  margin: 0 0 16px;
  font-family: var(--yt-font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #fff;
}

.yt-service__text h2 span {
  color: var(--yt-brand);
}

.yt-service__text p {
  margin: 0 0 30px;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.65;
  color: #b9bab6;
}

.yt-service__list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yt-service__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--yt-ink-line);
  border-radius: var(--yt-radius);
  color: #e6e7e3;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.yt-service__list li:hover {
  background: rgba(250, 193, 11, 0.1);
  border-color: rgba(250, 193, 11, 0.32);
  transform: translateY(-2px);
}

.yt-service__list i {
  color: var(--yt-brand);
  font-size: 1.375rem;
  width: 26px;
  text-align: center;
  flex-shrink: 0;
}

/* === Markalar === */

.yt-brands {
  padding: 0 0 84px;
}

.yt-brands__inner {
  padding: 48px clamp(32px, 5vw, 72px);
  background: var(--yt-surface);
  border: 1px solid var(--yt-line);
  border-radius: 28px;
}

.yt-brands__label {
  margin: 0 0 32px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--yt-muted);
}

.yt-brands__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(40px, 7vw, 110px);
  flex-wrap: wrap;
}

.yt-brands__row img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.42;
  transition: opacity 0.3s, filter 0.3s, transform 0.3s;
}

.yt-brands__row img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

/* === Responsive === */

@media (max-width: 1199px) {
  .yt-trust {
    margin-top: -36px;
  }

  .yt-trust__grid {
    grid-template-columns: 1fr 1fr;
  }

  .yt-trust__item:nth-child(2) {
    border-right: 0;
  }

  .yt-trust__item:nth-child(1),
  .yt-trust__item:nth-child(2) {
    border-bottom: 1px solid var(--yt-line);
  }

  .yt-cats__grid {
    grid-template-rows: 240px 240px;
  }

  .yt-products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .yt-service__card {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 991px) {
  .yt-cats {
    padding-top: 52px;
  }
}

@media (max-width: 767px) {
  .yt-slider {
    height: clamp(360px, 68vw, 460px);
  }

  .yt-hero__caption {
    bottom: 32px;
  }

  .yt-trust {
    margin-top: 24px;
  }

  .yt-trust__grid {
    grid-template-columns: 1fr;
  }

  .yt-trust__item {
    border-right: 0;
    border-bottom: 1px solid var(--yt-line);
    padding: 20px 22px;
  }

  .yt-trust__item:last-child {
    border-bottom: 0;
  }

  .yt-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 32px;
  }

  .yt-cats {
    padding-top: 40px;
  }

  .yt-cats__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

  .yt-cat,
  .yt-cat--big {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .yt-cat--big .yt-cat__title {
    font-size: 1.625rem;
  }

  .yt-products {
    padding: 52px 0 60px;
  }

  .yt-products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .yt-product__media {
    height: 188px;
    padding: 18px 14px;
  }

  .yt-product__body {
    padding: 14px 15px 16px;
    gap: 10px;
  }

  .yt-product__name {
    font-size: 0.8125rem;
  }

  .yt-product__price strong {
    font-size: 1.125rem;
  }

  .yt-product__wa {
    font-size: 0.75rem;
    padding: 10px 12px;
  }

  .yt-service {
    padding-bottom: 56px;
  }

  .yt-service__card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .yt-service__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .yt-brands {
    padding-bottom: 56px;
  }

  .yt-brands__inner {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .yt-brands__row img {
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yt-home *,
  .yt-slider__slide,
  .yt-slider__slide img {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}
