
/* ===== Base ===== */
#ig-hero{
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
#ig-hero *{ box-sizing:border-box; }

/* Outer wrap */
#ig-hero .ig-hero-wrap{
  width:100%;
  max-width:1920px;
  margin:0 auto 40px;
  position:relative;
  overflow:hidden;
  border-radius:8px;
  background:#fff; /* ensures action bar background is clean */
}

/* Hero image container */
#ig-hero .ig-hero{
  position:relative;
  width:100%;
  height:520px;
  overflow:hidden;
  border-radius:8px;
}

/* Image */
#ig-hero .ig-hero-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .5s ease-in-out;
  transform-origin:center center;
}

/* Dark overlay on image */
#ig-hero .ig-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.20);
  z-index:1;
  pointer-events:none;
}

/* Centered title */
#ig-hero .ig-hero-content{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:0 20px;
  pointer-events:none;
}

#ig-hero .ig-hero-content-inner{
  width:100%;
  max-width:1100px;
  margin:0 auto;
}

#ig-hero .ig-hero-title{
  margin:0;
  color:#fff;
  font-weight:600;
  font-size:clamp(52px, 4.2vw, 68px);
  line-height:1.12;
  letter-spacing:-0.015em;
  text-shadow:0 2px 4px rgba(0,0,0,.30);
}

/* ✅ Actions BELOW image (no absolute positioning) */
#ig-hero .ig-hero-actions{
  padding:28px 20px 18px;
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  align-items:center;
  border-top:1px solid rgba(0,0,0,.06); /* subtle separation */
  background:#fff;
}

/* Buttons */
#ig-hero .ig-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  min-height:44px;
  border-radius:10px;
  text-decoration:none;
  background:#8B5A2B;
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.01em;
  box-shadow:0 8px 20px rgba(0,0,0,.14);
  transition:transform .2s ease, opacity .2s ease, filter .2s ease;
  white-space:nowrap;
}

#ig-hero .ig-btn:hover{
  transform:translateY(-2px);
  filter:brightness(1.05);
}

#ig-hero .ig-btn-disabled{
  opacity:.62;
  cursor:not-allowed;
  pointer-events:none;
  filter:saturate(.9);
}

/* Hover zoom (desktop only) */
@media (hover:hover) and (pointer:fine){
  #ig-hero .ig-hero-wrap:hover .ig-hero-img{
    transform:scale(1.25);
  }
}

/* ===== Mobile ===== */
@media (max-width:768px){

  #ig-hero .ig-hero{
    height:360px;
    border-radius:0;
  }

  #ig-hero .ig-hero-wrap{
    margin:0 auto 30px;
    border-radius:0;
  }

  #ig-hero .ig-hero-title{
    font-size:clamp(34px, 6vw, 44px);
    line-height:1.14;
    letter-spacing:-0.012em;
  }

  /* Buttons stack */
  #ig-hero .ig-hero-actions{
    padding:16px 16px 18px;
    gap:10px;
    flex-direction:column;
  }

  #ig-hero .ig-btn{
    width:100%;
    max-width:360px;
    white-space:normal;
    text-align:center;
  }
}

/* Disable hover zoom on touch devices */
@media (hover:none){
  #ig-hero .ig-hero-wrap:hover .ig-hero-img{
    transform:none;
  }
}
