/* ==========================================================================
   Solida Tekstil — Anasayfa
   ========================================================================== */

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 651px; color: var(--white); overflow: hidden; background: var(--navy); }
/* Arka plan videosu (tüm slaytlar için ortak) + karartma */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .6); pointer-events: none; }
.hero__slide { position: absolute; inset: 0; z-index: 2; }

.hero__content { position: relative; z-index: 1; padding-top: 185px; }
.hero__content > .container { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1400px) { .hero__content > .container { transform: translateX(-6px); } } /* Figma: x=54 */
.hero__text { display: flex; flex-direction: column; gap: 16px; }
.hero__title { font-size: 60px; font-weight: 400; line-height: normal; }
.hero__title strong { display: block; font-weight: 700; }
.hero__desc { font-size: 17px; max-width: 520px; }
.hero__actions { display: flex; align-items: flex-start; gap: 12px; }


/* ---------- Öne çıkan 3 kutu (hero'ya taşar) ---------- */
.features { position: relative; z-index: 3; margin-top: -74px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { padding: 30px 24px; color: var(--white); display: flex; flex-direction: column; gap: 12px; }
.feature--navy { background: var(--navy); }
.feature--beige { background: var(--beige-dark); }
.feature--dark { background: var(--navy-dark); }
.feature__title { font-size: 22px; font-weight: 700; }
.feature__text { font-size: 16px; }

/* ---------- Hakkımızda ---------- */
.about { padding: 100px 0; }
.about__grid { display: grid; grid-template-columns: 563px 725px; justify-content: space-between; align-items: start; gap: 32px; }
.about__content { margin-top: 45px; display: flex; flex-direction: column; gap: 12px; }
.about__body { display: flex; flex-direction: column; gap: 30px; }
.about__text-wrap { display: flex; flex-direction: column; gap: 16px; }
.about__title { white-space: nowrap; }
.about__title strong { display: block; }
.about__text { display: flex; flex-direction: column; gap: 19px; font-size: 16px; color: var(--gray-text); }
.about__body .btn { align-self: flex-start; }

.about__collage { position: relative; width: 100%; aspect-ratio: 725 / 507; }
.about__collage img { position: absolute; height: auto; }
.about__hex-main  { left: 6.51%;  top: 0;      width: 70.12%; }
.about__hex-small { left: 0.24%;  top: 51.48%; width: 35.38%; }
.about__hex-top   { left: 71.03%; top: 6.71%;  width: 28.35%; }

/* ---------- Ürün grupları ---------- */
.products { padding: 100px 0; }
.products__inner { display: flex; flex-direction: column; gap: 40px; }
.products__head { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.products__head .section-head { width: 563px; }
.products__head .section-head__label { font-weight: 400; }
.products__title strong { display: block; }
.products__aside { width: 563px; display: flex; flex-direction: column; align-items: flex-end; gap: 25px; text-align: right; color: var(--gray-text); }
.products__aside p { max-width: 430px; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card {
  position: relative; height: 282px; border-radius: 8px; overflow: hidden;
  display: flex; align-items: flex-end; padding: 24px;
  color: var(--white);
}
.category-card__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .4); }
.category-card:hover .category-card__bg { transform: scale(1.05); }
.category-card__body { position: relative; z-index: 2; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.category-card__text { display: flex; flex-direction: column; gap: 4px; max-width: 179px; }
.category-card__title { font-weight: 500; font-size: 20px; letter-spacing: 0.4px; }
.category-card__desc { font-size: 16px; line-height: 22px; letter-spacing: 0.32px; }
.category-card__arrow {
  flex-shrink: 0; padding: 8.261px; border-radius: 50%;
  border: 0.826px solid var(--white);
  transition: background-color .25s ease;
}
.category-card:hover .category-card__arrow { background: rgba(255, 255, 255, .15); }

/* ---------- Sürdürülebilirlik (SDG) ---------- */
.sustain { background: var(--cream); padding: 80px 0; }
.sustain__inner { display: flex; flex-direction: column; align-items: center; gap: 60px; }
.sustain__top { width: 100%; display: flex; flex-direction: column; gap: 40px; }

/* ---------- İş ortaklarımız ---------- */
.partners { position: relative; padding: 96px 0 86px; color: var(--white); overflow: hidden; }
.partners__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.partners::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .5); }
.partners__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 60px; }
.partners__top { width: 100%; display: flex; flex-direction: column; gap: 40px; }
.partners .section-head__title,
.partners .section-head__text { color: var(--white); }

.partners__viewport { overflow: hidden; width: 100%; }
.partners__track { display: flex; gap: 16px; transition: transform .6s ease; }
.partner {
  position: relative;
  flex: 0 0 calc((100% - 3 * 16px) / 4);
  aspect-ratio: 317.982 / 181.704;
  background: var(--white);
  overflow: hidden;
}
.partner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* UCLA logosu Figma'da beyaz kutu içinde kırpılmış olarak yerleştirilmiş */
.partner__crop { position: absolute; inset: 22% 15.71%; overflow: hidden; }
.partner__crop img { position: absolute; left: -32.73%; top: -73.66%; width: 167.27%; height: 251.71%; max-width: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1360px) {
  .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .about__title { white-space: normal; }
  .products__head .section-head,
  .products__aside { width: auto; }
}

@media (max-width: 1200px) {
  .hero { height: 600px; }
  .hero__content { padding-top: 150px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain .sdg-grid { gap: 16px 10px; }
}

@media (max-width: 992px) {
  .hero__title { font-size: 48px; }
  .features { margin-top: -60px; }
  .features__grid { grid-template-columns: 1fr; }
  .about { padding: 80px 0; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__content { margin-top: 0; }
  .about__collage { max-width: 725px; margin-inline: auto; }
  .products { padding: 80px 0; }
  .products__head { flex-direction: column; align-items: flex-start; }
  .products__aside { align-items: flex-start; text-align: left; }
  .partner { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 768px) {
  .hero { height: 560px; }
  .hero__content { padding-top: 110px; }
  .hero__title { font-size: 38px; }
  .hero__desc { font-size: 16px; }
  .feature__title { font-size: 20px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { height: 240px; }
  .sustain { padding: 64px 0; }
  .sustain__inner { gap: 40px; }
  .partners { padding: 64px 0; }
  .partners__inner { gap: 40px; }
}
