/* =========================================================================
   SOOPLE CELEBRATIONS - COMPLETE HERO SECTION
   ========================================================================= */

/* Root & Variables */
:root {
  --soople-primary: #c50058;
  --soople-primary-hover: #a30048;
  --soople-text-heading: #111111;
  --soople-text-body: #333333;
  --soople-text-muted: #555555;
  --soople-border-light: #fce8f0;
  --soople-divider: #f0c2d5;
}

.soople-homepage {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  background-color: #ffffff;
}

.soople-homepage *,
.soople-homepage *::before,
.soople-homepage *::after {
  box-sizing: border-box;
}

/* =========================================================================
   HERO CONTAINER & BACKGROUND
   ========================================================================= */
.soople-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
  margin-top: -50px; /* Ensures no outer spacing from the header */
}

.soople-hero__container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(450px, 1fr) 1fr;
  align-items: center;
  padding: 0 60px 100px; /* Top padding set to 0 to flush with header */
}

/* =========================================================================
   HERO CONTENT
   ========================================================================= */
.soople-hero__content {
  position: relative;
  z-index: 5;
  max-width: 580px;
}

/* Title */
.soople-hero__title {
  margin-top: 40px;
  font-family: "Bodoni Moda", "Playfair Display", Georgia, serif;
  font-size: clamp(48px, 4.2vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--soople-text-heading);
}

.soople-hero__title span {
  display: block;
}

.soople-hero__title strong {
  display: block;
  margin-top: 2px;
  font-family: "Allura", "Great Vibes", cursive;
  font-size: clamp(70px, 6vw, 105px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--soople-primary);
}

/* Description */
.soople-hero__description {
  max-width: 500px;
  margin: 28px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--soople-text-body);
}

/* Buttons */
.soople-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.soople-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

/* Primary Button */
.soople-btn--primary {
  color: #ffffff;
  background-color: var(--soople-primary);
  border: 2px solid var(--soople-primary);
  box-shadow: none;
}

.soople-btn--primary:hover {
  background-color: var(--soople-primary-hover);
  border-color: var(--soople-primary-hover);
}

/* Outline Button */
.soople-btn--outline {
  color: var(--soople-primary);
  background-color: #ffffff;
  border: 2px solid var(--soople-primary);
}

.soople-btn--outline:hover {
  background-color: var(--soople-primary);
  color: #ffffff;
}

.soople-btn__arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.soople-btn--primary:hover .soople-btn__arrow {
  transform: translateX(4px);
}

/* =========================================================================
   HERO VISUAL & FADE OVERLAY
   ========================================================================= */
.soople-hero__visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 65%;
  z-index: 1;
  overflow: hidden;
}

.soople-hero__image-wrap {
  position: absolute;
  inset: 0;
}

.soople-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Smooth white blend on left edge of photograph */
.soople-hero__image-wrap::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.92) 25%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0) 100%
  );
}

/* =========================================================================
   BENEFITS BAR (FLOATING CARDS - DESKTOP)
   ========================================================================= */
.soople-hero-benefits {
  position: relative;
  z-index: 10;
  max-width: 1360px;
  margin: -60px auto 40px;
  padding: 0 30px;
}

.soople-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 24px 30px;
  background-color: var(--soople-primary, #c50058);
  border: none;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(197, 0, 88, 0.25);
}

.soople-benefit {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}

/* Vertical Divider Lines */
.soople-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.25);
}

/* Benefit Icon */
.soople-benefit__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--soople-primary, #c50058);
  background-color: #ffffff;
  font-size: 24px;
}

/* Benefit Content */
.soople-benefit__content h2 {
  margin: 0 0 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #ffffff;
}

.soople-benefit__content p {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================================================
   SOOPLE CELEBRATIONS - MOBILE BREAKOUT (<= 768px)
   ========================================================================= */

@media screen and (max-width: 768px) {
  /* Hero Container Reset */
  .soople-hero {
    min-height: auto;
    margin-top: 0;
    padding-top: 20px;
  }

  .soople-hero__container {
    grid-template-columns: 1fr;
    padding: 0 20px 30px;
  }

  /* Content Alignment & Sizing */
  .soople-hero__content {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  .soople-hero__title {
    margin-top: 20px;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.5px;
  }

  .soople-hero__title strong {
    font-size: 56px;
    margin-top: -4px;
  }

  .soople-hero__description {
    max-width: 100%;
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.45;
  }

  /* Button Stack */
  .soople-hero__actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 24px;
  }

  .soople-btn {
    width: 100%;
    min-height: 48px;
  }

  /* Hero Visual Background */
  .soople-hero__visual {
    width: 100%;
    height: 100%;
    opacity: 0.25;
  }

  .soople-hero__image-wrap::before {
    width: 100%;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  /* =========================================================================
     ACCURATE 2x2 BENEFITS CARD & DIVIDERS
     ========================================================================= */
  .soople-hero-benefits {
    margin: 0 auto 30px;
    padding: 0 16px;
  }

  .soople-benefits {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 20px 16px;
    border-radius: 20px;
    background-color: var(--soople-primary, #c50058);
    box-shadow: 0 12px 35px rgba(197, 0, 88, 0.25);
  }

  /* Continuous Horizontal Line */
  .soople-benefits::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 2;
  }

  /* Individual Benefit Block */
  .soople-benefit {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 8px;
  }

  /* Clear desktop dividers */
  .soople-benefit:not(:last-child)::after {
    display: none;
  }

  /* Centered Vertical Dividers for Left Items (Item 1 & Item 3) */
  .soople-benefit:nth-child(1)::after,
  .soople-benefit:nth-child(3)::after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 1px;
    height: 48px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 3;
  }

  /* Icon Style */
  .soople-benefit__icon {
        flex: 0 0 52px;

        width: 52px;
        height: 52px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 50%;

        background-color: #ffffff;

        color: var(--soople-primary, #c50058);

        line-height: 0;

        overflow: hidden;
    }

    /* SVG icon */
    .soople-benefit__icon svg {
        display: block;

        width: 30px;
        height: 30px;

        max-width: 30px;
        max-height: 30px;

        color: currentColor;

        fill: none;

        overflow: visible;
    }

    /* SVG strokes */
    .soople-benefit__icon svg path {
        stroke: currentColor;
        vector-effect: non-scaling-stroke;
    }

    /* SVG circles/dots */
    .soople-benefit__icon svg circle {
        fill: currentColor;
        stroke: none;
    }


  /* Typography Style */
  .soople-benefit__content h2 {
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
    margin: 0 0 3px 0;
    color: #ffffff;
    text-transform: uppercase;
  }

  .soople-benefit__content p {
    font-size: 11px;
    line-height: 1.3;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
  }
}