/* Anasayfa — Hakkımızda, Vitrin, İstatistik, Neden Biz */

.ym-home-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-subtitle, #fa3b0e);
  margin-bottom: 0.85rem;
}

.ym-home-heading {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-heading, #043641);
  margin: 0 0 1rem;
}

.ym-home-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--color-heading, #043641) 78%, #fff);
  margin: 0;
}

/* —— Hakkımızda —— */
#ft-about-3.ym-home-about {
  padding: 88px 0 92px;
  background: var(--color-bg, #fff);
}

.ym-home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.ym-home-about__visual {
  position: relative;
}

.ym-home-about__frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(10, 61, 98, 0.14);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0a3d62) 10%, transparent);
}

.ym-home-about__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4, 54, 65, 0.35) 100%);
  z-index: 1;
  pointer-events: none;
}

.ym-home-about__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 576 / 492;
  object-fit: cover;
}

.ym-home-about__accent {
  position: absolute;
  top: -18px;
  left: -18px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--color-accent, #fa3b0e);
  opacity: 0.12;
  z-index: 0;
}

.ym-home-about__sign {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 32px rgba(10, 61, 98, 0.12);
}

.ym-home-about__sign-mark {
  flex: 0 0 auto;
  max-width: 72px;
}

.ym-home-about__sign-mark img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ym-home-about__sign-name {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-heading, #043641);
  line-height: 1.3;
}

.ym-home-about__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.75rem 0 1.85rem;
}

.ym-home-about__feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 16px 16px 14px;
  border-radius: 16px;
  background: var(--color-bg-alt, #f6f8fb);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0a3d62) 8%, transparent);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ym-home-about__feature:hover {
  border-color: color-mix(in srgb, var(--color-accent, #fa3b0e) 30%, transparent);
  box-shadow: 0 10px 28px rgba(10, 61, 98, 0.08);
}

.ym-home-about__feature-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary, #0a3d62);
  color: #fff;
  font-size: 0.85rem;
}

.ym-home-about__feature p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--color-heading, #043641) 82%, #fff);
}

.ym-home-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ym-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.ym-home-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.ym-home-btn--primary {
  background: var(--color-accent, #fa3b0e);
  color: #fff;
  border: 2px solid var(--color-accent, #fa3b0e);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--color-accent, #fa3b0e) 35%, transparent);
}

.ym-home-btn--primary:hover {
  background: var(--color-primary, #0a3d62);
  border-color: var(--color-primary, #0a3d62);
  color: #fff;
}

.ym-home-btn--ghost {
  background: transparent;
  color: var(--color-primary, #0a3d62);
  border: 2px solid color-mix(in srgb, var(--color-primary, #0a3d62) 22%, transparent);
}

.ym-home-btn--ghost:hover {
  background: var(--color-primary, #0a3d62);
  border-color: var(--color-primary, #0a3d62);
  color: #fff;
}

/* —— Vitrin (Case Study) —— */
#ft-case-study.ym-home-showcase {
  padding: 0;
  background: var(--color-heading, #043641);
}

.ym-home-showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 420px;
}

.ym-home-showcase__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ym-home-showcase__card:last-child {
  border-right: 0;
}

.ym-home-showcase__media {
  position: absolute;
  inset: 0;
}

.ym-home-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}

.ym-home-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 54, 65, 0.15) 0%,
    rgba(4, 54, 65, 0.55) 45%,
    rgba(4, 54, 65, 0.92) 100%
  );
  transition: background 0.35s ease;
}

.ym-home-showcase__body {
  position: relative;
  z-index: 2;
  padding: 28px 26px 32px;
}

.ym-home-showcase__no {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent, #fa3b0e);
  margin-bottom: 10px;
}

.ym-home-showcase__title {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #fff;
}

.ym-home-showcase__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ym-home-showcase__arrow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.ym-home-showcase__card:hover .ym-home-showcase__media img {
  transform: scale(1.08);
}

.ym-home-showcase__card:hover .ym-home-showcase__overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 61, 98, 0.2) 0%,
    rgba(10, 61, 98, 0.65) 50%,
    rgba(250, 59, 14, 0.88) 100%
  );
}

.ym-home-showcase__card:hover .ym-home-showcase__arrow {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary, #0a3d62);
  transform: translateX(4px);
}

/* —— İstatistikler —— */
#ft-funfact-2.ym-home-stats {
  position: relative;
  padding: 88px 0 80px;
  background: var(--color-bg-alt, #f6f8fb);
  overflow: hidden;
}

.ym-home-stats__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 18px,
    rgba(10, 61, 98, 0.03) 18px,
    rgba(10, 61, 98, 0.03) 19px
  );
  pointer-events: none;
}

.ym-home-stats__map {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(72%, 680px);
  opacity: 0.14;
  pointer-events: none;
}

.ym-home-stats__map img {
  width: 100%;
  height: auto;
  display: block;
}

.ym-home-stats__head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.ym-home-stats__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ym-home-stats__item {
  text-align: center;
  padding: 28px 18px 24px;
  border-radius: 22px;
  background: var(--color-bg, #fff);
  border: 1px solid color-mix(in srgb, var(--color-primary, #0a3d62) 8%, transparent);
  box-shadow: 0 14px 36px rgba(10, 61, 98, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ym-home-stats__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(10, 61, 98, 0.12);
}

.ym-home-stats__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--color-primary, #0a3d62), color-mix(in srgb, var(--color-primary, #0a3d62) 75%, #000));
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.22);
}

.ym-home-stats__value {
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-accent, #fa3b0e);
  margin: 0 0 8px;
}

.ym-home-stats__label {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: color-mix(in srgb, var(--color-heading, #043641) 75%, #fff);
  font-weight: 500;
}

.ym-home-stats__cta {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--color-heading, #043641) 80%, #fff);
}

.ym-home-stats__cta a {
  color: var(--color-primary, #0a3d62);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ym-home-stats__cta a:hover {
  color: var(--color-accent, #fa3b0e);
}

/* —— Neden Biz —— */
#ft-why-choose-2.ym-home-trust {
  position: relative;
  padding: 92px 0 88px;
  background: var(--color-bg, #fff);
  overflow: hidden;
}

.ym-home-trust__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(246, 248, 251, 0.95) 0%, rgba(255, 255, 255, 1) 55%, rgba(246, 248, 251, 0.6) 100%);
  pointer-events: none;
}

.ym-home-trust__bg::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 8%;
  width: 38%;
  height: 84%;
  border-radius: 40% 0 0 40%;
  background: radial-gradient(circle at 70% 50%, rgba(10, 61, 98, 0.06) 0%, transparent 68%);
  pointer-events: none;
}

.ym-home-trust__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

.ym-home-trust__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ym-home-trust__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--color-bg-alt, #f6f8fb);
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--color-heading, #043641) 85%, #fff);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.ym-home-trust__list li:hover {
  border-color: color-mix(in srgb, var(--color-primary, #0a3d62) 12%, transparent);
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.06);
}

.ym-home-trust__check {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-accent, #fa3b0e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin-top: 2px;
}

.ym-home-trust__panel {
  position: relative;
  height: 100%;
  min-height: 360px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 28px;
  background: linear-gradient(155deg, var(--color-primary, #0a3d62) 0%, color-mix(in srgb, var(--color-primary, #0a3d62) 82%, #000) 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(10, 61, 98, 0.22);
}

.ym-home-trust__panel::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.ym-home-trust__panel-title {
  position: relative;
  z-index: 1;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 1.25rem;
  color: #fff !important;
}

.ym-home-trust__panel p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
}

.ym-home-trust__panel strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.5rem;
  font-size: 1.05rem;
  color: #fff;
}

.ym-home-trust__truck {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: min(58%, 320px);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.25));
}

/* Responsive */
@media (max-width: 1199px) {
  .ym-home-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ym-home-showcase__card:nth-child(2) {
    border-right: 0;
  }

  .ym-home-showcase__card {
    min-height: 360px;
  }
}

@media (max-width: 991px) {
  .ym-home-about__grid,
  .ym-home-trust__grid {
    grid-template-columns: 1fr;
  }

  .ym-home-about__visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .ym-home-trust__truck {
    width: 45%;
    right: -4%;
    bottom: -4%;
    opacity: 0.55;
  }

  .ym-home-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  #ft-about-3.ym-home-about,
  #ft-funfact-2.ym-home-stats,
  #ft-why-choose-2.ym-home-trust {
    padding: 64px 0;
  }

  .ym-home-about__features {
    grid-template-columns: 1fr;
  }

  .ym-home-about__actions {
    flex-direction: column;
  }

  .ym-home-about__actions .ym-home-btn {
    width: 100%;
  }

  .ym-home-showcase__grid {
    grid-template-columns: 1fr;
  }

  .ym-home-showcase__card {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ym-home-showcase__card:last-child {
    border-bottom: 0;
  }

  .ym-home-trust__panel {
    min-height: auto;
    padding-bottom: 120px;
  }

  .ym-home-trust__truck {
    width: 55%;
    opacity: 0.4;
  }
}

@media (max-width: 575px) {
  .ym-home-stats__grid {
    grid-template-columns: 1fr;
  }

  .ym-home-stats__item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 16px;
    text-align: left;
    align-items: center;
    padding: 20px 18px;
  }

  .ym-home-stats__icon {
    grid-row: 1 / 3;
    margin: 0;
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
  }

  .ym-home-stats__value {
    margin: 0;
    align-self: end;
  }

  .ym-home-stats__label {
    align-self: start;
  }
}
