/* Parallax Hero Section Component Styles */

.parallax-hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.parallax-hero-section-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* Background Image */
.parallax-hero-section-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  background-color: #d3d3d3;
}

.parallax-hero-section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(104, 1, 68, 0.20) 0%, rgba(104, 1, 68, 0.20) 100%);
  z-index: 2;
}

.parallax-hero-section-bg-image {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%; /* Extra height for parallax effect */
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0); /* Enable hardware acceleration */
  backface-visibility: hidden;
  z-index: 1;
}

/* Content Overlay */
.parallax-hero-section-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 2rem;
}

.parallax-hero-section-text {
  max-width: 567px;
  width: 100%;
  text-align: center;
  color: var(--Tertiary-100, #F6E0DF);
  font-family: "Calluna", serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 400;
  line-height: 120%; /* 52.8px */
  letter-spacing: -0.88px;
}

/* Responsive Styles - Large screens (1920px+) */
@media (min-width: 1920px) {
  .parallax-hero-section-container {
    max-width: 1440px;
  }
  
  .parallax-hero-section-text {
    max-width: 600px;
  }
}

/* Responsive - Laptop screens (1280px - 1919px) */
@media (min-width: 1280px) and (max-width: 1919px) {
  .parallax-hero-section-text {
    max-width: 550px;
    font-size: 42px;
    letter-spacing: -0.84px;
  }
}

/* Responsive - Desktop (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .parallax-hero-section-text {
    max-width: 500px;
    font-size: 38px;
    letter-spacing: -0.76px;
  }
}

/* Responsive - Tablet (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .parallax-hero-section {
    min-height: 80vh;
  }
  
  .parallax-hero-section-content {
    padding: 2rem;
  }
  
  .parallax-hero-section-text {
    max-width: 600px;
    font-size: 32px;
    letter-spacing: -0.64px;
  }
}

/* Responsive - Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .parallax-hero-section {
    min-height: 70vh;
  }
  
  .parallax-hero-section-content {
    padding: 1.5rem;
  }
  
  .parallax-hero-section-text {
    max-width: 100%;
    font-size: 24px;
    letter-spacing: -0.48px;
    line-height: 130%;
  }
}

/* Responsive - Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .parallax-hero-section {
    min-height: 60vh;
  }
  
  .parallax-hero-section-content {
    padding: 1rem;
  }
  
  .parallax-hero-section-text {
    font-size: 20px;
    letter-spacing: -0.4px;
  }
}
