/* =========================
   WIDESCREEN (≥1920)
   ========================= */
@media (min-width: 1920px) {
  :root {
    --fs-display-xxl-max: 5.5rem;
    /* 88px */
    --fs-h-xl-max: 4rem;
    /* 64px */
    --fs-h-l-max: 3rem;
    /* 48px */
    --fs-h-s-max: 1.625rem;
    /* 26px */

    /* Body’leri sabit tutarak okuma ritmini koru */
    --fs-body-l-max: 1.1875rem;
    /* 19px */
    --fs-body-m-max: 1.125rem;
    /* 18px */
    --fs-body-s-max: 1rem;
    /* 16px */
    --lh-h-xl: 1.15;
  }
}

/* =========================================
   OVERRIDES (max-width)
   ========================================= */

/* <= 1365: Laptop ve altı */
@media (max-width: 1365px) {
  :root {
    --fs-display-xxl-max: 4.75rem;
    /* 76px */
    --fs-h-xl-max: 3.25rem;
    /* 52px */
    --fs-h-l-max: 2.5rem;
    /* 40px */
    --fs-h-m-max: 1.875rem;
    /* 30–32 bandı */
    --fs-h-s-max: 1.5625rem;
    /* 25px */

    --fs-body-l-max: 1.125rem;
    /* 18px */
    --fs-body-m-max: 1.125rem;
    /* 18px */
    --lh-h-xl: 1.2;
  }
}

/* <= 1023: Tablet (portrait/landscape) */
@media (max-width: 1023px) {
  :root {
    --fs-h-l-max: 2.375rem;
    /* 38px */
    --fs-h-m-max: 1.875rem;
    /* 30px */
    /* body tavanları erişilebilir bantta kalsın */
    --fs-body-l-max: 1.125rem;
    /* 18px */
    --fs-body-m-max: 1.125rem;
    /* 18px */
  }

  /* Tablet ve altı: tek kolon */
  .page-section {
    --align-items: center !important;
    --flex-direction: column !important;

    /* >.e-con-inner {
      flex-direction: column !important;
    } */

    .page-section__content {
      aspect-ratio: unset !important;
    }

    .page-section__content,
    .page-section__visual {
      --width: 100% !important;
      text-align: center !important;
      align-items: center;

    }
  }

  .section-info {
    text-align: center;
    justify-content: center;
    align-items: center;

    h2 {
      flex-direction: column;
      align-items: center;

      &::before {
        margin-left: 0;
      }
    }
  }

  .page-masthead {
    .page-masthead__content {

      .page-masthead__title,
      .page-masthead__title .heading-title {
        font-size: 3.5rem;
      }

      .page-masthead__subtitle,
      .page-masthead__subtitle .heading-title {
        font-size: 0.925rem;
      }

      .page-masthead__back_title,
      .page-masthead__back_title .heading-title {
        font-size: 5rem;
        left: -2.5%;
        transform: translateX(0) translateY(-25%);
      }
    }
  }
}

/* <= 767: Mobile */
@media (max-width: 767px) {
  :root {
    /* Başlıkları bir tık daha makul tut */
    --fs-h-xl-max: 2.5rem;
    /* ~40px */
    --fs-h-l-max: 2rem;
    /* 32px */
    --fs-h-m-max: 1.75rem;
    /* 28px */
    --fs-h-s-max: 1.5rem;
    /* 24px */

    --fs-body-l-max: 1.0625rem;
    /* ~17px */
    --fs-body-m-max: 1rem;
    /* 16px */
  }

  .footer {
    .footer__logo {
      max-width: 2.5rem;
      margin-right: 0.5rem;
    }

    .footer__bottom {
      .col-auto {
        padding: 0px !important;
      }
    }
  }

  .page-masthead {
    .page-masthead__content {

      .page-masthead__title,
      .page-masthead__title .heading-title {
        font-size: 2.5rem;
        text-align: center;
      }

      .page-masthead__subtitle,
      .page-masthead__subtitle .heading-title {
        font-size: 0.75rem;
        text-align: center;
      }
    }

    .page-masthead-bread {
      text-align: center;
    }
  }

  .project-carousel {
    .sliderNav {
      justify-content: var(--justify-content, center) !important;
    }
  }

  .icon-box-grid .elementor-widget-premium-addon-icon-box,
  .icon-box.elementor-widget-premium-addon-icon-box {
    .premium-icon-box-container-in {
      .premium-icon-wrapper {
        font-size: 5em;
      }
    }
  }

  .icon-card-grid {
    .elementor-widget-icon-box {
      .service {
        .service__content {
          display: flex;
          flex-direction: column;
          align-items: center;
          text-align: center;
        }
      }
    }
  }
}