:root {
  --container-padding: 1.5rem;

  --color-base: #231f20;
  --color-brand: #ed1c24;
  --color-border: #dadcde;

  --transition: 250ms ease-in-out;

  --color-gradient: linear-gradient(
    117deg,
    var(--color-brand) 24.46%,
    #5e0000 100%
  );
}

@font-face {
  font-family: 'SF UI Text';
  src: url('assets/font/sfuitext-light.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF UI Text';
  src: url('assets/font/sfuitext-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF UI Text';
  src: url('assets/font/sfuitext-medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF UI Text';
  src: url('assets/font/sfuitext-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF UI Text';
  src: url('assets/font/sfuitext-semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'SF UI Text';
  src: url('assets/font/sfuitext-heavy.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

.container-large {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding: 0 var(--container-padding);
}
.container-medium {
  width: min(100%, 1300px);
  margin-inline: auto;
  padding: 0 var(--container-padding);
}
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding: 0 var(--container-padding);
}
.container-narrow {
  width: min(100%, 1024px);
  margin-inline: auto;
  padding: 0 var(--container-padding);
}

.font-sfuitext {
  font-family: 'SF UI Text', sans-serif;
}
.weight-light {
  font-weight: 200;
}
.weight-regular {
  font-weight: 400;
}
.weight-medium {
  font-weight: 500;
}
.weight-semibold {
  font-weight: 600;
}
.weight-bold {
  font-weight: 700;
}
.weight-black {
  font-weight: 900;
}

/* Banner */
.banner {
  position: relative;
  background-color: var(--color-brand);
  width: 100%;

  .banner__video {
    position: relative;
    display: flex;
    width: 100%;
    margin: 0 0 0 auto;

    @media screen and (min-width: 1024px) {
      width: calc(100% - 150px);
    }

    @media screen and (min-width: 1300px) {
      width: calc(50% + (min(100%, 1200px)) / 2 - 50px);
    }

    .video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .banner__text {
    position: absolute;
    top: 30px;
    left: 20px;
    max-width: 260px;
    color: #ffffff;
    font-size: 30px;
    line-height: 36px;

    @media screen and (min-width: 768px) {
      top: 60px;
      left: 60px;
      max-width: 200px;
      font-size: 40px;
      line-height: 48px;
    }

    @media screen and (min-width: 1024px) {
      top: 80px;
      left: 0;
      max-width: 350px;
      font-size: 50px;
      line-height: 60px;
      transform: translateX(-100px);
    }

    @media screen and (min-width: 1300px) {
      font-size: 70px;
      line-height: 84px;
    }
  }
}
/* /Banner */

/* Intro */
.intro {
  position: relative;
  background-color: var(--color-brand);
  padding: 50px 0 150px;
  color: #ffffff;

  &.intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 47%;
    height: 100%;
    width: 96%;
    max-width: 1200px;
    background-image: url('assets/svg/intro-bg.svg');
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(-47%);
    opacity: 0.2;
  }

  @media screen and (min-width: 768px) {
    padding: 100px 0;
  }

  .container-narrow {
    z-index: 1;
    position: relative;
    display: flex;
    flex-direction: column;

    @media screen and (min-width: 768px) {
      flex-direction: row;
      gap: 60px;
    }

    @media screen and (min-width: 1024px) {
      gap: 100px;
    }
  }

  .intro__title {
    color: #ffffff;
    font-size: 26px;
    line-height: 1.4;

    @media screen and (min-width: 768px) {
      font-size: 46px;
    }
  }

  p {
    font-size: 18px;
    line-height: 1.5;
  }
}
/* /Intro */

/* Values */
.values {
  position: relative;
  padding: 150px 0 100px;
  overflow: clip;

  @media screen and (min-width: 768px) {
    padding: 150px 0;
  }

  .values__title {
    color: var(--color-base);
  }

  .background-asset {
    z-index: 1;
    user-select: none;
    position: absolute;
    bottom: unset;
    left: 0;
    top: 0;
    object-fit: contain;
    aspect-ratio: 1;
    transform: translate(0, 10%);
    opacity: 0.2;

    @media screen and (min-width: 768px) {
      bottom: 0;
      left: 0;
      transform: translate(-25%, 10%);
      width: 1000px;
      height: 1000px;
    }
  }

  .values__wrapper {
    z-index: 1;
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;

    @media screen and (min-width: 768px) {
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }

  .values__content {
    max-width: 320px;
    text-align: center;
    margin: 0 auto;

    @media screen and (min-width: 768px) {
      max-width: 260px;
      text-align: start;
      margin: 0;
    }

    h2 {
      font-size: 28px;
      line-height: 1.4;
      margin: 0 0 16px 0;

      @media screen and (min-width: 768px) {
        font-size: 38px;
        line-height: 1.2;
      }
    }

    p {
      font-size: 20px;
      line-height: 1.5;

      @media screen and(min-width: 768px) {
        font-size: 22px;
      }
    }
  }

  .values__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-items: center;

    @media screen and (min-width: 768px) {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .values__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    max-width: 165px;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;

    &.values__item:nth-child(1):hover {
      .values__text {
        color: #ec2128;
      }
    }

    &.values__item:nth-child(2):hover {
      .values__text {
        color: #cd1b1e;
      }
    }

    &.values__item:nth-child(3):hover {
      .values__text {
        color: #b31519;
      }
    }

    &.values__item:nth-child(4):hover {
      .values__text {
        color: #9b0e11;
      }
    }

    &.values__item:nth-child(5):hover {
      .values__text {
        color: #820a0b;
      }
    }

    &.values__item:nth-child(6):hover {
      .values__text {
        color: #640202;
      }
    }
  }

  .values__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-base);
    transition: color var(--transition);
  }

  .values__image {
    width: 120px;
    height: 120px;
  }
}
/* /Values */

/* Achievements */
.achievements {
  background: var(--color-gradient);
  color: #ffffff;

  .container-large {
    padding: 0;
  }

  .achievements__title {
    padding: 50px 1.5rem;
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    line-height: 1.5;
    text-align: center;

    background: var(--color-gradient);

    @media screen and (min-width: 768px) {
      padding: 70px 1.5rem;
      font-size: 40px;
      line-height: 1.6;
    }

    @media screen and (min-width: 992px) {
      background: none;
    }
  }

  .achievements__list {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;

    @media screen and (min-width: 768px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media screen and (min-width: 1024px) {
      grid-template-columns: repeat(4, 1fr);
    }

    &.achievements__list::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 1px;
      height: 100%;
      background-color: #ffffff;
      mix-blend-mode: overlay;
      opacity: 0.5;
    }
  }

  .achievements__item {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 100px 50px 50px;
    min-height: 350px;
    cursor: default;

    @media screen and (min-width: 1024px) {
      &.achievements__item::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #ffffff;
        mix-blend-mode: overlay;
        opacity: 0.5;
      }

      &.achievements__item::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background-color: #ffffff;
        mix-blend-mode: overlay;
        opacity: 0.5;
      }
    }

    &.achievements__item:hover {
      .achievements__background {
        opacity: 1;
      }
    }
  }

  .achievements__text {
    z-index: 1;
    margin: 0;
    max-width: 250px;
    font-size: 18px;
    line-height: 1.5;

    @media screen and (min-width: 768px) {
      font-size: 20px;
    }
  }

  .achievements__background {
    opacity: 1;
    z-index: 0;
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #6a0606;
    aspect-ratio: 1;
    transition: opacity var(--transition);

    @media screen and (min-width: 1024px) {
      opacity: 0;
      top: 1px;
      width: calc(100% - 1px);
      height: calc(100% - 1px);
    }

    img {
      opacity: 0.2;
      width: calc(100%);
      height: calc(100%);
      object-fit: cover;
      aspect-ratio: 1;
    }
  }
}
/* /Achievements */

/* Business */
.business {
  overflow: clip;

  [hidden],
  .-burak {
    display: none !important;
  }

  .background-asset {
    user-select: none;
    z-index: -1;
    position: absolute;

    left: 0;
    bottom: 0;

    object-fit: cover;
    max-width: 100%;
    height: auto;
  }

  .business__selectbox {
    appearance: none;
    display: block;

    padding: 1rem 4.5rem 1rem 2.5rem;
    margin-top: 2rem;
    margin-inline: auto;

    max-width: 100%;

    white-space: normal;
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-base);

    border: 1px solid var(--color-brand);
    border-radius: 60px;
    outline: none;
    background-color: transparent;

    background-image: url('assets/svg/icon-arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 2rem center;
    background-size: 12px;

    @media screen and (min-width: 1200px) {
      display: none;
    }
  }

  .business__pagination {
    display: flex;
    flex-direction: row;

    margin-bottom: 4rem;
    padding: 5px;
    width: fit-content;

    border: 1px solid var(--color-border);
    border-radius: 60px;

    @media screen and (max-width: 1200px) {
      display: none;
    }
  }

  .business__pagination-button {
    position: relative;
    cursor: pointer;
    padding: 12px 22px;
    max-width: 180px;
    color: #666e74;

    font-size: 13px;
    line-height: 1.4;

    border-radius: inherit;
    border: 1px solid transparent;
    transition: border-color var(--transition), color var(--transition);
    background-color: transparent;
    outline: none;

    &:hover,
    &.-active {
      color: var(--color-base);
    }

    &.-active {
      border-color: var(--color-brand);
    }

    &::after {
      display: none;
      content: '';
      position: absolute;
      top: 50%;
      right: 0;
      width: 1px;
      height: 32px;
      background-color: var(--color-border);
      transform: translateY(-50%);
    }

    &:not(.-separate) {
      display: block;
    }
  }

  .business__buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    img {
      @media screen and (max-width: 1200px) {
        filter: invert(1);
      }
    }

    @media screen and (max-width: 1200px) {
      z-index: 1;
      position: absolute;
      bottom: 3rem;
      left: 0;
      right: 0;

      justify-content: center;
    }

    @media screen and (min-width: 1200px) {
      margin-top: 10rem;
    }

    &.-mobile {
      @media screen and (min-width: 1200px) {
        display: none;
      }
    }

    &.-desktop {
      @media screen and (max-width: 1200px) {
        display: none;
      }
    }
  }

  .business__button {
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;

    padding: 1rem;

    background-color: transparent;
    border: none;
    outline: none;

    font-size: 14px;
    line-height: 1.7;

    &:first-child {
      padding-right: 0;
    }

    &:last-child {
      padding-left: 0;
    }

    @media screen and (max-width: 1200px) {
      color: #ffffff;
    }
  }

  .business__title {
    display: block;
    margin: 0;
    color: var(--color-brand);
    font-size: 28px;
    line-height: 1.5;
    text-align: center;

    @media screen and (min-width: 768px) {
      font-size: 38px;
    }

    @media screen and (min-width: 1200px) {
      width: min-content;
      font-size: 46px;
      text-align: left;
    }
  }

  .business__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;

    @media screen and (min-width: 1200px) {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 50%));
    }
  }

  .business__part {
    z-index: 1;
    position: relative;

    padding: 4rem 0;
    width: 100%;

    @media screen and (min-width: 1200px) {
      padding: 100px 0;
    }
  }

  .business__content {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0 1.5rem;

    .business__part {
      @media screen and (min-width: 1200px) {
        width: min(100%, 600px);
      }
    }
  }

  .business__slider {
    z-index: 1;
    position: relative;
    background-color: var(--color-base);

    @media screen and (max-width: 1200px) {
      padding-bottom: 4rem;
    }

    &::before {
      content: '';
      z-index: -1;

      position: absolute;
      top: -1px;
      left: 0;
      right: 0;

      display: block;

      width: 100%;
      height: 38%;
      background-color: #ffffff;

      @media screen and (min-width: 1200px) {
        display: none;
      }
    }

    .business__part {
      @media screen and (max-width: 1200px) {
        padding-top: 0;
      }

      @media screen and (min-width: 1200px) {
        width: min(100%, 1000px);
      }
    }

    @media screen and (min-width: 1200px) {
      padding-top: 9rem;
    }
  }

  [pagination-page] {
    @media screen and (min-width: 1200px) {
      transform: translateX(-150px);
    }
  }

  [business-slider] {
    /* overflow: visible; */

    &::before {
      content: '';
      z-index: 2;
      position: absolute;
      top: 0;
      right: calc(100% + 2rem);

      width: 100vw;
      height: 100%;

      background-color: #ffffff;
    }
  }
}

.post-card {
  cursor: pointer;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  width: min(100%, 250px);

  &.-wide {
    width: min(calc(100% - 2rem), 480px);

    @media screen and (max-width: 1200px) {
      margin-inline: auto;
    }
  }

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

  &.-active {
    .post-card__content {
      opacity: 1;
      pointer-events: auto;
    }
  }

  .post-card__image {
    object-fit: cover;
  }

  .post-card__header,
  .post-card__content {
    background-color: #ffffff;
  }

  .post-card__title {
    margin: 1.2rem 0 2rem;
    color: var(--color-base);
    font-size: 20px;
    line-height: 1.4;
  }

  h3,
  p {
    padding: 0 1.25rem;
  }

  p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }

  .post-card__link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;

    padding: 1rem 1.25rem;

    font-size: 12px;
    line-height: 2;

    color: var(--color-brand);
  }

  .post-card__content {
    opacity: 0;
    pointer-events: none;
    width: 100%;

    transform: translateY(-1rem);
  }
}
/* /Business */

/* Sustainability */
.sustainability {
  display: grid;
  grid-template-rows: minmax(0, 400px) 1fr;
  align-items: stretch;

  @media screen and (min-width: 1024px) {
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr;
  }

  .background-image {
    z-index: -1;
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .background-asset {
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;

    transform: translate(-20%, -50%);
  }

  .sustainability__header {
    position: relative;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;

    padding: 2.5rem 2rem;

    @media screen and (min-width: 1024px) {
      justify-content: flex-end;
      padding: 5rem 3rem;
    }
  }

  .sustainability__title,
  .sustainability__list {
    @media screen and (min-width: 1024px) {
      max-width: 750px;
    }
  }

  .sustainability__title {
    margin: 0;
    color: #ffffff;

    font-size: 28px;
    line-height: 1.4;

    @media screen and (min-width: 1024px) {
      font-size: 46px;
    }
  }

  .sustainability__wrapper {
    position: relative;
  }

  .sustainability__content {
    border-bottom: 1px solid var(--color-border);
  }

  .sustainability__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    padding: 1.8rem 1.5rem;

    @media screen and (min-width: 1024px) {
      padding: 6rem 4rem;
    }
  }

  .sustainability__link {
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    gap: 1rem;

    padding: 1.875rem 0;
    width: 100%;

    text-decoration: none;
    color: var(--color-base);

    font-size: 20px;
    line-height: 1.5;

    border-bottom: 1px solid var(--color-border);

    transition: color var(--transition);

    &:hover {
      color: var(--color-brand);
    }

    &:hover .sustainability__icon {
      border-color: var(--color-brand);
    }

    &:last-child {
      border-bottom: none;
    }

    @media screen and (min-width: 1024px) {
      padding: 1.2rem 0;
    }
  }

  .sustainability__link-text {
    align-self: center;
    max-width: 450px;
  }

  .sustainability__link-title {
    display: block;

    font-size: 20px;
    line-height: 1.5;
  }

  .sustainability__link-subtitle {
    display: block;

    font-size: 16px;
    line-height: 2.5;
  }

  .sustainability__icon {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-left: auto;
    aspect-ratio: 1;

    padding: 1rem;
    border-radius: 50%;

    border: 1px solid var(--color-border);
    transition: border-color var(--transition);
  }
}
/* /Sustainability */

/* SDG Slider */
.sdg-slider {
  overflow: hidden;
  position: relative;
  z-index: 0;

  padding: 4rem 0;
  width: 100%;

  .sdg-slider__wrapper {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
  }

  .sdg-slider__button {
    cursor: pointer;
    z-index: 3;

    display: grid;
    place-items: center;

    padding: 1rem;
    background-color: transparent;
    border: none;
    outline: none;
    transition: opacity var(--transition);

    aspect-ratio: 1;

    &:hover {
      opacity: 0.8;
    }

    &.-disabled {
      opacity: 0.5;
      cursor: default;
    }
  }

  .swiper {
    padding: 0;
  }

  .swiper-slide {
    width: 90px;
    height: 90px;
  }
}
/* /SDG Slider */

/* Value Statement */
.value-statement {
  overflow: clip;
  position: relative;

  padding: 4rem 1.5rem;
  background: var(--color-gradient);

  @media screen and (min-width: 1024px) {
    padding: 6rem 0 0;
  }

  .container-large {
    padding: 0;
  }

  .background-asset {
    z-index: 1;
    user-select: none;

    position: absolute;
    top: 0;
    right: 0;

    object-fit: contain;
    aspect-ratio: 1;

    transform: translate(20%, -50%);

    opacity: 0.2;
  }

  .value-statement__wrapper {
    position: relative;
    z-index: 2;

    @media screen and (min-width: 1024px) {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
    }
  }

  .value-statement__video {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 720px;

    object-fit: cover;
    aspect-ratio: 1;
  }

  .value-statement__content {
    padding: 3rem 2rem;
    height: fit-content;

    background-color: white;

    @media screen and (min-width: 1024px) {
      padding: 4.5rem 4rem;
      transform: translateX(-100px);
    }
  }

  .value-statement__subtitle {
    color: var(--color-base);
    font-size: 1.5rem;
    line-height: 1.4;

    @media screen and (min-width: 1024px) {
      font-size: 2rem;
      line-height: 1.4;
    }
  }

  .value-statement__title {
    margin: 0.8rem 0 0;

    color: var(--color-base);
    font-size: 1.9rem;
    line-height: 1.3;

    @media screen and (min-width: 1024px) {
      font-size: 3rem;
      line-height: 1.3;
    }
  }
}
/* /Value Statement */
