/* =========================================================
   WedLounge – homepage content sections (index.php)
   Builds on wl-rental.css (colours, buttons, heads, FAQ).
   All classes here are prefixed "hm-".
========================================================= */

/* Each added block is its own .st-page wrapper */
.hm-block { position: relative; }

/* ===============================
   INTRO (H1)
================================ */
.hm-intro {
  padding: 120px 20px 110px;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(139,31,47,.35), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(61,18,30,.9), transparent 55%),
    var(--st-maroon);
  overflow: hidden;
}
.hm-intro::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(197,168,128,.12);
  border-radius: 28px;
  pointer-events: none;
}
.hm-intro .st-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
}
.hm-intro__sub {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  color: var(--st-gold);
  margin: 18px 0 0 !important;
}
.hm-intro__text {
  color: var(--st-muted);
  line-height: 1.9;
  max-width: 560px;
  margin: 20px 0 30px !important;
}
.hm-pins {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hm-pins li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--st-gold-line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--st-cream);
  transition: background .35s ease, color .35s ease;
}
.hm-pins li i { color: var(--st-gold); font-size: 11px; transition: color .35s ease; }
.hm-pins li:hover { background: var(--st-gold); color: var(--st-maroon); }
.hm-pins li:hover i { color: var(--st-maroon); }

/* Rent · Sale · Tailoring trio */
.hm-trio { display: grid; gap: 16px; }
.hm-trio__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid rgba(197,168,128,.22);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(61,18,30,.85), rgba(36,10,17,.4));
  overflow: hidden;
  transition: transform .5s var(--st-ease), border-color .5s ease;
}
.hm-trio__item:nth-child(2) { margin-left: 40px; }
.hm-trio__item:nth-child(3) { margin-left: 80px; }
.hm-trio__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,240,215,.12), transparent);
  transform: skewX(-20deg);
  transition: left .9s ease;
}
.hm-trio__item:hover { transform: translateX(-10px); border-color: rgba(197,168,128,.6); }
.hm-trio__item:hover::after { left: 130%; }
.hm-trio__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--st-gold);
  color: var(--st-maroon);
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(197,168,128,.25);
}
.hm-trio__item strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--st-cream);
}
.hm-trio__item span { color: var(--st-muted); font-size: 13.5px; line-height: 1.6; }

/* ===============================
   COLLECTIONS GRID
================================ */
.hm-cats { padding: 110px 20px 120px; background: var(--st-maroon-2); }
.hm-cats__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "suit suit groom groom"
    "sher jodh usth kids"
    "dress dress dress dress";
  gap: 20px;
}
.hm-cat--suit  { grid-area: suit;  min-height: 520px; }
.hm-cat--groom { grid-area: groom; min-height: 520px; }
.hm-cat--sher  { grid-area: sher;  min-height: 440px; }
.hm-cat--jodh  { grid-area: jodh;  min-height: 440px; }
.hm-cat--usth  { grid-area: usth; }
.hm-cat--kids  { grid-area: kids; }
.hm-cat--dress { grid-area: dress; min-height: 320px; }

.hm-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(197,168,128,.18);
  box-shadow: 0 26px 50px rgba(0,0,0,.35);
  transition: transform .6s var(--st-ease), box-shadow .6s ease, border-color .5s ease;
}
.hm-cat:hover { transform: translateY(-8px); box-shadow: 0 36px 60px rgba(0,0,0,.5); border-color: rgba(197,168,128,.5); }
.hm-cat > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: -2;
  transition: transform 1.2s var(--st-ease);
}
.hm-cat:hover > img { transform: scale(1.07); }
.hm-cat--img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(20,5,10,0) 30%, rgba(20,5,10,.94) 88%);
}
.hm-cat::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(197,168,128,.45);
  border-radius: 14px;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .5s ease, transform .6s var(--st-ease);
  pointer-events: none;
}
.hm-cat:hover::after { opacity: 1; transform: scale(1); }
.hm-cat__body { position: relative; padding: 30px 30px 32px; }
.hm-cat__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(20,5,10,.6);
  border: 1px solid rgba(197,168,128,.35);
  backdrop-filter: blur(4px);
  color: var(--st-gold);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.st-page .hm-cat h3 { font-size: clamp(1.5rem, 2.4vw, 2rem) !important; margin: 14px 0 10px; }
.hm-cat p { color: var(--st-muted); line-height: 1.7; font-size: 14px; margin: 0 0 18px !important; max-width: 460px; }
.hm-cat__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--st-gold);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}
.hm-cat__cta::after { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole card clickable */
.hm-cat__cta i { transition: transform .4s ease; }
.hm-cat:hover .hm-cat__cta { color: var(--st-cream); }
.hm-cat:hover .hm-cat__cta i { transform: translateX(6px); }
.hm-cat__cta:focus-visible { outline: none; }
.hm-cat:focus-within { border-color: var(--st-gold); }

/* Icon cards (no photo) */
.hm-cat--icon {
  justify-content: space-between;
  background:
    radial-gradient(circle at 80% 10%, rgba(197,168,128,.16), transparent 45%),
    linear-gradient(160deg, var(--st-maroon-3), var(--st-maroon));
}
.hm-cat__icon {
  margin: 30px 30px 0;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid var(--st-gold-line);
  display: grid;
  place-items: center;
  color: var(--st-gold);
  font-size: 26px;
  transition: background .4s ease, color .4s ease, transform .6s var(--st-ease);
}
.hm-cat--icon:hover .hm-cat__icon { background: var(--st-gold); color: var(--st-maroon); transform: rotateY(180deg); }
.hm-cat__glyph {
  position: absolute;
  right: -20px;
  top: -10px;
  font-size: 150px;
  color: rgba(197,168,128,.05);
  z-index: -1;
  pointer-events: none;
}

/* Wide dress-code banner */
.hm-cat--dress { justify-content: center; }
.hm-cat--dress::before {
  background: linear-gradient(90deg, rgba(20,5,10,.95) 25%, rgba(20,5,10,.55) 60%, rgba(20,5,10,.2));
}
.hm-cat--dress > img { object-position: center 35%; }
.hm-cat--dress .hm-cat__body { max-width: 620px; padding: 40px 50px; }

/* ===============================
   WHY CHOOSE
================================ */
.hm-why { padding: 110px 20px; }
.hm-why__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.hm-why__item {
  position: relative;
  padding: 34px 24px 30px;
  text-align: center;
  border: 1px solid rgba(197,168,128,.2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(61,18,30,.75), rgba(36,10,17,.3));
  overflow: hidden;
  transition: transform .5s var(--st-ease), border-color .5s ease;
}
.hm-why__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--st-gold);
  transform: translateX(-50%);
  transition: width .6s var(--st-ease);
}
.hm-why__item:hover { transform: translateY(-8px); border-color: rgba(197,168,128,.55); }
.hm-why__item:hover::before { width: 100%; }
.hm-why__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--st-gold-line);
  display: grid;
  place-items: center;
  color: var(--st-gold);
  font-size: 22px;
  position: relative;
}
.hm-why__icon::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(197,168,128,.3);
  transition: transform 1.2s var(--st-ease);
}
.hm-why__item:hover .hm-why__icon::after { transform: rotate(180deg); }
.hm-why__item p { color: var(--st-cream); font-size: 14.5px; line-height: 1.65; margin: 0 !important; }

/* ===============================
   HOW IT WORKS – timeline
================================ */
.hm-steps { padding: 110px 20px 120px; background: var(--st-maroon-2); overflow: hidden; }
.hm-tl {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  list-style: none;
  padding: 0;
}
.hm-tl__line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(197,168,128,.18);
}
.hm-tl__line span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--st-gold), var(--st-gold-2));
  transform-origin: left;
}
.hm-tl__step { position: relative; text-align: center; }
.hm-tl__dot {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--st-maroon);
  border: 1px solid var(--st-gold);
  display: grid;
  place-items: center;
  color: var(--st-gold);
  font-size: 22px;
  box-shadow: 0 0 0 8px var(--st-maroon-2);
  transition: background .4s ease, color .4s ease, transform .5s var(--st-ease);
}
.hm-tl__step:hover .hm-tl__dot { background: var(--st-gold); color: var(--st-maroon); transform: scale(1.08); }
.hm-tl__no {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--st-gold);
  color: var(--st-maroon);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.st-page .hm-tl__step h3 { font-size: 1.45rem !important; margin-bottom: 10px; }
.hm-tl__step p { color: var(--st-muted); font-size: 14px; line-height: 1.7; margin: 0 !important; }
.hm-tl__step .st-step__tag { margin-top: 14px; }

/* ===============================
   FINAL CTA
================================ */
.hm-final .st-btns { margin-top: 34px; }

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 1100px) {
  .hm-why__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .hm-intro .st-wrap { grid-template-columns: 1fr; gap: 50px; }
  .hm-trio__item:nth-child(2), .hm-trio__item:nth-child(3) { margin-left: 0; }

  .hm-cats__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "suit groom"
      "sher jodh"
      "usth kids"
      "dress dress";
  }
  .hm-cat--suit, .hm-cat--groom { min-height: 460px; }
  .hm-cat--sher, .hm-cat--jodh { min-height: 420px; }

  .hm-tl { grid-template-columns: 1fr; gap: 0; max-width: 560px; }
  .hm-tl__line { top: 0; bottom: 0; left: 35px; right: auto; width: 2px; height: auto; }
  .hm-tl__line span { transform-origin: top; }
  .hm-tl__step { display: grid; grid-template-columns: 72px 1fr; gap: 22px; text-align: left; padding-bottom: 34px; }
  .hm-tl__dot { margin: 0; }
}
@media (max-width: 767px) {
  .hm-intro { padding: 84px 20px; }
  .hm-intro::before { inset: 10px; border-radius: 20px; }
  .hm-trio__item { padding: 20px; gap: 16px; }
  .hm-trio__icon { width: 48px; height: 48px; font-size: 17px; }
  .hm-trio__item strong { font-size: 1.25rem; }

  .hm-cats, .hm-why, .hm-steps { padding-top: 84px; padding-bottom: 84px; }
  .hm-why__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hm-why__item { padding: 26px 14px 22px; }
  .hm-why__item:last-child { grid-column: 1 / -1; }
  .hm-why__item p { font-size: 13px; }
}
@media (max-width: 600px) {
  .hm-cats__grid {
    grid-template-columns: 1fr;
    grid-template-areas: "suit" "groom" "sher" "jodh" "usth" "kids" "dress";
    gap: 16px;
  }
  .hm-cat--suit, .hm-cat--groom, .hm-cat--sher, .hm-cat--jodh { min-height: 440px; }
  .hm-cat--dress { min-height: 380px; justify-content: flex-end; }
  .hm-cat--dress::before { background: linear-gradient(180deg, rgba(20,5,10,.1) 20%, rgba(20,5,10,.95) 75%); }
  .hm-cat--dress .hm-cat__body, .hm-cat__body { padding: 24px 22px 26px; }
  .hm-cat__icon { margin: 24px 22px 0; width: 60px; height: 60px; font-size: 22px; }
  .hm-tl__step { grid-template-columns: 60px 1fr; gap: 16px; }
  .hm-tl__dot { width: 60px; height: 60px; font-size: 18px; }
  .hm-tl__line { left: 29px; }
}

/* Existing tailoring section – second button added next to "Explore Wedding Collections" */
.hm-ws-btn-2 { margin-left: 12px; }
@media (max-width: 600px) { .hm-ws-btn-2 { margin-left: 0; margin-top: 12px; } }
