/* ==========================================================================
   Custom Social Media Section Styles (Fluid Proportional Sizing & Hover Opacity)
   ========================================================================== */

.section-custom-social-media {
  position: relative;
  width: 100%;
  min-height: clamp(520px, 36vw, 850px);
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 7vw, 160px) 0;
  overflow: hidden;
  border-radius: 0 0 140px 140px;
}

.section-custom-social-media .page-width {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0 4vw;
  margin: 0 auto;
  min-height: clamp(380px, 30vw, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CENTERED HEADER (Fluid scaling for 2K / 4K / Ultrawide screens) */
.custom-social-media__header {
  position: relative;
  z-index: 5;
  text-align: center;
  pointer-events: none;
  padding: 20px;
}

.custom-social-media__title-line1 {
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 80px;
  line-height: 1.25;
  color: #ffffff;
  display: block;
  margin-bottom: 10px;
}

.custom-social-media__title-line2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 80px;
  line-height: 1.25;
  color: #ffffff;
  text-transform: uppercase;
  display: block;
}

/* FLOATING DYNAMIC SOCIAL ITEMS */
.custom-social-media__blocks-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.custom-social-media__item {
  position: absolute;
  z-index: 4;
  pointer-events: auto;
  will-change: transform;
  transition: transform 0.15s cubic-bezier(0.1, 1, 0.1, 1);
}

/* POSITION PRESETS WITH FLUID PROPORTIONAL SIZING FOR 2K+ MONITORS */
.custom-social-media__item.position-top-left {
  top: 30%;
  left: 0%;
  width: clamp(140px, 12.5vw, 270px);
  height: clamp(140px, 12.5vw, 270px);
}

.custom-social-media__item.position-bottom-left {
  bottom: -10%;
  left: 20%;
  width: clamp(120px, 12.5vw, 230px);
  height: clamp(120px, 12.5vw, 230px);
}

.custom-social-media__item.position-bottom-right {
  bottom: 0%;
  right: 10%;
  width: clamp(130px, 11.5vw, 250px);
  height: clamp(130px, 11.5vw, 250px);
}

.custom-social-media__item.position-top-right {
  top: -20%;
  right: 0%;
  width: clamp(150px, 13.5vw, 250px);
  height: clamp(150px, 13.5vw, 250px);
}

/* ICON LINK STYLING & HOVER OPACITY (Dim on hover matching TikTok reference) */
.custom-social-media__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  opacity: 1;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.25, 1, 0.25, 1);
}

.custom-social-media__link:hover {
  opacity: 0.65;
  transform: scale(1.04);
}

.custom-social-media__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.custom-social-media__svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* RESPONSIVE DESIGN FOR TABLET AND MOBILE */
@media (max-width: 1024px) {
  .section-custom-social-media {
    padding: 70px 0;
    min-height: 440px;
    border-radius: 0 0 80px 80px;
  }

  .section-custom-social-media .page-width {
    min-height: 340px;
    padding: 0 24px;
  }

  .custom-social-media__header {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
  }

  .custom-social-media__title-line1 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 6px;
    text-align: left;
    letter-spacing: 0.5px;
  }

  .custom-social-media__title-line2 {
    font-size: 44px;
    line-height: 1.1;
    text-align: right;
    margin-left: 36px;
  }

  .custom-social-media__item.position-top-left {
    top: 8%;
    left: 2%;
    width: 90px;
    height: 90px;
  }

  .custom-social-media__item.position-bottom-left {
    bottom: 6%;
    left: 10%;
    width: 75px;
    height: 75px;
  }

  .custom-social-media__item.position-bottom-right {
    bottom: 8%;
    right: 8%;
    width: 80px;
    height: 80px;
  }

  .custom-social-media__item.position-top-right {
    top: 10%;
    right: 4%;
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 749px) {
  .section-custom-social-media {
    padding: 50px 0;
    min-height: 350px;
    border-radius: 0 0 50px 50px;
  }

  .section-custom-social-media .page-width {
    min-height: 280px;
    padding: 0 16px;
  }

  .custom-social-media__header {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
  }

  .custom-social-media__title-line1 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-align: left;
  }

  .custom-social-media__title-line2 {
    text-align: right;
    font-size: 32px;
    line-height: 1.1;
    margin-left: 20px;
  }


}