/* Hero Section Styles */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #F5EBD9;
  overflow: visible; /* Allow hand to be visible */
}

/* Left Gradient Stripe */
.hero-left-stripe {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(196, 92, 73, 0.95) 0%,
    rgba(242, 193, 187, 0.05) 100%
  );
  z-index: 10;
}

/* Right Gradient Panel */
.hero-right-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(196, 92, 73, 0.95) 0%,
    rgba(242, 193, 187, 0.12) 50%
  );
  z-index: 15;
}

/* Hero Content Container */
.hero-content {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 150px 60px 80px 120px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  z-index: 20;
}

/* Text Content */
.hero-text-container {
  flex: 0 0 auto;
  max-width: 600px;
  z-index: 30;
}

.hero-title {
  font-size: 7rem;
  font-weight: 900;
  color: #000;
  margin: 0;
  line-height: 1;
  letter-spacing: -3px;
}

.hero-subtitle {
  font-size: 7rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(30, 28, 28, 0.85);
  margin: 15px 0 40px;
  line-height: 1;
  letter-spacing: -3px;
}

.hero-button {
  display: inline-block;
  background-color: #B5482C;
  color: white;
  padding: 18px 36px;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  letter-spacing: 0.5px;
  text-align: center;
}

.hero-button:hover {
  background-color: #9a3a24;
}

/* =============================================
   DESKTOP: Hand wrapper - CONTAINED in hero section
   ============================================= */
.hero-hand-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 50;
  width: 600px;
  height: 600px;
  pointer-events: none;
  /* Debug - remove after testing */
  /* background: rgba(255,0,0,0.1); */
}

.hero-hand-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}

/* =============================================
   RESPONSIVE - Large Desktop
   ============================================= */
@media (min-width: 1920px) {
  .hero-content {
    max-width: 1600px;
    padding: 180px 80px 100px 150px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 9rem;
  }

  .hero-hand-wrapper {
    width: 800px;
    height: 800px;
  }
}

/* HD Desktop */
@media (max-width: 1440px) {
  .hero-content {
    padding: 130px 40px 60px 100px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 6rem;
  }

  .hero-hand-wrapper {
    width: 550px;
    height: 550px;
  }
}

/* Small Desktop */
@media (max-width: 1200px) {
  .hero-content {
    padding: 120px 30px 50px 80px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 5rem;
  }

  .hero-hand-wrapper {
    width: 450px;
    height: 450px;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-content {
    padding: 110px 30px 50px 60px;
  }

  .hero-text-container {
    max-width: 400px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 4rem;
  }

  .hero-hand-wrapper {
    width: 400px;
    height: 400px;
  }

  .hero-left-stripe {
    width: 60px;
  }
}

/* =============================================
   MOBILE: Hand wrapper - GLUED to TOP under navbar
   ============================================= */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh;
  }

  .hero-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 380px 20px 40px;
    min-height: 100vh;
  }

  .hero-text-container {
    max-width: 100%;
    text-align: center;
    z-index: 30;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    margin: 10px 0 25px;
  }

  .hero-button {
    padding: 15px 30px;
    font-size: 1.1rem;
  }

  /* Mobile: Hand wrapper GLUED right under navbar */
  .hero-hand-wrapper {
    position: absolute;
    top: 0px; /* Glued right under navbar */
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 320px;
  }

  .hero-hand-image {
    top: 0;
    left: 0;
    right: auto;
    transform: rotate(-90deg);
    transform-origin: center center;
    object-position: center center;
  }

  .hero-left-stripe {
    width: 40px;
  }

  .hero-right-panel {
    width: 55%;
    height: 60%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-content {
    padding: 100px 15px 30px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 2.8rem;
  }

  .hero-hand-wrapper {
    top: 0px; /* Glued right under navbar */
    width: 280px;
    height: 280px;
  }

  .hero-button {
    padding: 12px 24px;
    font-size: 1rem;
  }

  .hero-left-stripe {
    width: 30px;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero-content {
    padding: 310px 15px 30px;
  }

  .hero-title,
  .hero-subtitle {
    font-size: 2.3rem;
  }

  .hero-hand-wrapper {
    top: 0px; /* Glued right under navbar */
    width: 250px;
    height: 250px;
  }
}
