/* CTA Section Styles */
.cta-section {
  min-height: 100vh;
  background: var(--Primary-100, #680144);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-container {
  width: 100%;
  position: relative;
  min-height: 100vh;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .cta-container {
    min-height: 100vh;
    padding: 2rem 1rem;
  }
}

.cta-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
  color: var(--Tertiary-100, #F6E0DF);
  text-align: center;
  margin: 0;
  line-height: 140%;
}

.cta-title-part-1 {
  color: var(--Tertiary-100, #F6E0DF);
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 3rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 4.2rem */
  letter-spacing: -0.06rem;
}

.cta-title-part-2 {
  color: var(--Tertiary-100, #F6E0DF);
  font-family: "Calluna", serif;
  font-size: 3.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.065rem;
}

.cta-title-separator {
  white-space: pre;
  display: inline;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .cta-title-part-1 {
    font-size: 2.25rem;
    letter-spacing: -0.045rem;
  }
  
  .cta-title-part-2 {
    font-size: 2.4375rem;
    letter-spacing: -0.04875rem;
  }
}

.cta-description {
  color: var(--Tertiary-100, #F6E0DF);
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
}

@media (max-width: 768px) {
  .cta-description {
    font-size: 16px;
    letter-spacing: -0.32px;
  }
}

.cta-button {
  color: var(--Primary-100, #680144);
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 25.2px */
  letter-spacing: -0.36px;
  border-radius: 8px;
  border: 0 solid var(--Tertiary-100, #F6E0DF);
  background: var(--Secondary-100, #FF7D78);
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: var(--Secondary-80, #FD9591);
}

/* Central Content */
.cta-content {
  position: absolute;
  left: 50%;
  top: 120px;
  transform: translateX(-50%);
  width: 538px;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 10;
}

.cta-title-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cta-title {
  width: 100%;
  text-align: center;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
}

.cta-description {
  width: 100%;
  margin: 0;
}

.cta-button {
  width: 192px;
  padding: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
}

/* Image Positioning - Desktop */
.cta-section .cta-image-wrapper {
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
}

.cta-section .cta-image-wrapper img {
  filter: grayscale(100%);
  transition: filter 0.5s ease, transform 0.3s ease;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

.cta-section .cta-image-wrapper:hover {
  z-index: 10;
}

.cta-section .cta-image-wrapper:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* Image 1 - Bottom Left - Always stuck to bottom left */
.cta-section .cta-image-1 {
  left: 0;
  bottom: 0;
  width: 384px !important;
  height: 320px !important;
  max-width: 384px !important;
  max-height: 320px !important;
  z-index: 1;
  box-sizing: border-box;
}

/* Image 2 - Top Left - Stuck to left side, above image 1 */
.cta-section .cta-image-2 {
  left: 0;
  bottom: 350px;
  width: 320px !important;
  height: 240px !important;
  max-width: 320px !important;
  max-height: 240px !important;
  z-index: 1;
  box-sizing: border-box;
}

/* Image 3 - Bottom Center - Stuck bottom between image 1 and 5 */
.cta-section .cta-image-3 {
  left: 50%;
  bottom: 0;
  transform: translateX(50px);
  width: 288px !important;
  height: 208px !important;
  max-width: 288px !important;
  max-height: 208px !important;
  z-index: 1;
  box-sizing: border-box;
}

/* Image 4 - Top Right - Stuck to right side, above image 5 */
.cta-section .cta-image-4 {
  right: 0;
  bottom: 400px;
  width: 256px !important;
  height: 192px !important;
  max-width: 256px !important;
  max-height: 192px !important;
  z-index: 1;
  box-sizing: border-box;
}

/* Image 5 - Bottom Right - Always stuck to bottom right */
.cta-section .cta-image-5 {
  right: 0;
  bottom: 0;
  width: 288px !important;
  height: 384px !important;
  max-width: 288px !important;
  max-height: 384px !important;
  z-index: 1;
  box-sizing: border-box;
}

/* Image 6 - Bottom Center - Stuck bottom between image 1 and 5 */
.cta-section .cta-image-6 {
  left: 50%;
  bottom: 0;
  transform: translateX(-250px);
  width: 176px !important;
  height: 240px !important;
  max-width: 176px !important;
  max-height: 240px !important;
  z-index: 1;
  box-sizing: border-box;
}

/* Responsive adjustments for medium-large screens (1280px - 1919px) */
@media (min-width: 1280px) and (max-width: 1919px) {
  .cta-content {
    width: 538px;
  }
  
  /* Slightly scale down images for medium-large screens, maintain positioning */
  .cta-section .cta-image-1 {
    width: 340px !important;
    height: 284px !important;
    max-width: 340px !important;
    max-height: 284px !important;
  }
  
  .cta-section .cta-image-2 {
    bottom: 320px;
    width: 300px !important;
    height: 225px !important;
    max-width: 300px !important;
    max-height: 225px !important;
  }
  
  .cta-section .cta-image-3 {
    transform: translateX(40px);
    width: 260px !important;
    height: 188px !important;
    max-width: 260px !important;
    max-height: 188px !important;
  }
  
  .cta-section .cta-image-4 {
    bottom: 360px;
    width: 230px !important;
    height: 173px !important;
    max-width: 230px !important;
    max-height: 173px !important;
  }
  
  .cta-section .cta-image-5 {
    width: 260px !important;
    height: 347px !important;
    max-width: 260px !important;
    max-height: 347px !important;
  }
  
  .cta-section .cta-image-6 {
    transform: translateX(-220px);
    width: 160px !important;
    height: 218px !important;
    max-width: 160px !important;
    max-height: 218px !important;
  }
}

/* Responsive adjustments for large screens - maintain positioning */
@media (min-width: 1920px) {
  /* Move content lower on large screens */
  .cta-content {
    top: 300px;
  }
  
  /* Scale up images for large monitors */
  .cta-section .cta-image-1 {
    width: 512px !important;
    height: 427px !important;
    max-width: 512px !important;
    max-height: 427px !important;
  }
  
  .cta-section .cta-image-2 {
    bottom: 467px;
    width: 427px !important;
    height: 320px !important;
    max-width: 427px !important;
    max-height: 320px !important;
  }
  
  .cta-section .cta-image-3 {
    transform: translateX(67px);
    width: 384px !important;
    height: 277px !important;
    max-width: 384px !important;
    max-height: 277px !important;
  }
  
  .cta-section .cta-image-4 {
    bottom: 533px;
    width: 341px !important;
    height: 256px !important;
    max-width: 341px !important;
    max-height: 256px !important;
  }
  
  .cta-section .cta-image-5 {
    width: 384px !important;
    height: 512px !important;
    max-width: 384px !important;
    max-height: 512px !important;
  }
  
  .cta-section .cta-image-6 {
    transform: translateX(-333px);
    width: 235px !important;
    height: 320px !important;
    max-width: 235px !important;
    max-height: 320px !important;
  }
}

/* Responsive adjustments for laptop screens - smaller images, maintain bottom/left/right positioning */
@media (max-width: 1279px) {
  .cta-container {
    max-width: 100%;
  }
  
  .cta-content {
    top: 100px;
    width: 90%;
    max-width: 500px;
  }
  
  /* Scale down all images for laptop screens, maintain positioning */
  .cta-section .cta-image-1 {
    width: 280px !important;
    height: 234px !important;
    max-width: 280px !important;
    max-height: 234px !important;
  }
  
  .cta-section .cta-image-2 {
    bottom: 260px;
    width: 240px !important;
    height: 180px !important;
    max-width: 240px !important;
    max-height: 180px !important;
  }
  
  .cta-section .cta-image-3 {
    transform: translateX(30px);
    width: 210px !important;
    height: 152px !important;
    max-width: 210px !important;
    max-height: 152px !important;
  }
  
  .cta-section .cta-image-4 {
    bottom: 290px;
    width: 190px !important;
    height: 142px !important;
    max-width: 190px !important;
    max-height: 142px !important;
  }
  
  .cta-section .cta-image-5 {
    width: 210px !important;
    height: 280px !important;
    max-width: 210px !important;
    max-height: 280px !important;
  }
  
  .cta-section .cta-image-6 {
    transform: translateX(-180px);
    width: 130px !important;
    height: 176px !important;
    max-width: 130px !important;
    max-height: 176px !important;
  }
}

@media (max-width: 1200px) {
  /* Scale down right images instead of hiding them */
  .cta-section .cta-image-4 {
    bottom: 260px;
    width: 160px !important;
    height: 120px !important;
    max-width: 160px !important;
    max-height: 120px !important;
  }
  
  .cta-section .cta-image-5 {
    width: 180px !important;
    height: 240px !important;
    max-width: 180px !important;
    max-height: 240px !important;
  }
  
  .cta-section .cta-image-3 {
    transform: translateX(30px);
    width: 210px !important;
    height: 152px !important;
    max-width: 210px !important;
    max-height: 152px !important;
  }
}

/* Tablet: scale down left two images so they don't dominate the layout */
@media (min-width: 769px) and (max-width: 1024px) {
  .cta-section .cta-image-1 {
    width: 200px !important;
    height: 167px !important;
    max-width: 200px !important;
    max-height: 167px !important;
  }
  
  .cta-section .cta-image-2 {
    bottom: 190px;
    width: 160px !important;
    height: 120px !important;
    max-width: 160px !important;
    max-height: 120px !important;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .cta-container {
    min-height: 100vh;
    padding: 2rem 1rem;
  }

  .cta-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-bottom: 2rem;
  }

  .cta-section .cta-image-wrapper {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    margin-bottom: 1rem;
    aspect-ratio: 3/2;
  }

  /* Show only first image on mobile; hide the rest */
  .cta-section .cta-image-2,
  .cta-section .cta-image-3,
  .cta-section .cta-image-4,
  .cta-section .cta-image-5,
  .cta-section .cta-image-6 {
    display: none !important;
  }

  /* Single visible image full width on mobile */
  .cta-section .cta-image-1 {
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    transform: none !important;
    margin-bottom: 0;
  }
}
