/* STEP 1: Container dasar hero */
body.home .si-hero-row {
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
  height: 65vh;
  min-height: 400px;
  background: #2c3e50;
}

body.home .si-hero-row .so-panel {
  margin: 0;
}

/* STEP 2: Image positioning */
body.home .si-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

body.home .si-hero-img picture,
body.home .si-hero-img img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

/* STEP 3: Text overlay positioning */
body.home .si-hero-copy {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 10%;
  z-index: 2;
  max-width: 760px;
}

/* STEP 4: Typography styling */
body.home .si-hero-copy h1 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.22;
  margin: 0 0 .45em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

body.home .si-hero-copy h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  line-height: 1.55;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
  font-weight: 500;
}

body.home .si-hero-copy a {
  display: inline-block;
  background: #c8102e;
  color: #fff;
  font-weight: 700;
  padding: .66em 1.12em;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: filter .15s ease, transform .05s ease;
  text-decoration: none;
}

body.home .si-hero-copy a:hover {
  filter: brightness(1.07);
}

body.home .si-hero-copy a:active {
  transform: translateY(1px);
}


/* STEP 5: MOBILE RESPONSIVE */
@media (max-width: 780px) {
  body.home .si-hero-row {
    height: 60vh;
    min-height: 350px;
  }
  
  body.home .si-hero-img picture,
  body.home .si-hero-img img {
    object-position: 50% 75%;
  }
  
  body.home .si-hero-copy {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 5%;
    right: 5%;
    max-width: 90%;
  }
  
  body.home .si-hero-copy h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  
  body.home .si-hero-copy h2 {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    margin-bottom: .8rem;
  }
}

/* DESKTOP ENHANCEMENT */
@media (min-width: 992px) {
  body.home .si-hero-row {
    height: 70vh;
    min-height: 500px;
  }
  
  body.home .si-hero-copy {
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 6%;
  }
  
  body.home .si-hero-img picture,
  body.home .si-hero-img img {
    object-position: 40% 50%;
  }
}

/* STEP 6: PERFORMANCE - Anti-Render-Delay */
body.home .si-hero-img,
body.home .si-hero-img picture,
body.home .si-hero-img img {
  /* Force visibility & prevent animation delays */
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

/* Overlay removal */
body.home .si-hero-row[data-overlay-color]::before,
body.home .si-hero-row[data-overlay-color]::after,
body.home .si-hero-row .panel-widget-style::before,
body.home .si-hero-row .panel-widget-style::after {
  display: none !important;
}



/* STEP 7: DESKTOP POSITIONING FIXES - FULL SCREEN */
@media (min-width: 992px) {
  /* Container full viewport - full screen height */
  body.home .si-hero-row {
    height: 100vh;
    min-height: 600px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  /* Image positioning - COMPLETE PROPERTIES */
  body.home .si-hero-img picture,
  body.home .si-hero-img img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 40% 50%;
  }

  /* Text positioning - left-aligned with better spacing */
  body.home .si-hero-copy {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 8%;
    max-width: 600px;
    z-index: 2;
  }

  /* Typography scaling for desktop */
  body.home .si-hero-copy h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 0.5em;
  }

  body.home .si-hero-copy h2 {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    max-width: 500px;
  }

  /* Button styling for desktop */
  body.home .si-hero-copy a {
    font-size: 1rem;
    padding: 0.8em 1.5em;
    margin-top: 0.5rem;
  }
}

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  body.home .si-hero-copy {
    left: 10%;
    max-width: 650px;
  }

  body.home .si-hero-copy h1 {
    font-size: 3.2rem;
  }

  body.home .si-hero-copy h2 {
    font-size: 1.25rem;
    max-width: 550px;
  }
}