/* Page hero — matches index hero-fashion split + text-over-image overlap */

/* Prevent horizontal scrolling */
body, html {
  overflow-x: hidden;
}

.showroom-header,
.profile-header {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.showroom-header .container,
.profile-header .container {
  position: relative;
  width: 100%;
}

.showroom-header .row,
.profile-header .row {
  overflow: visible;
}

/* Custom column widths for desktop: left 45%, right 55% */
@media (min-width: 992px) {
  .col-lg-custom-left {
    flex: 0 0 45%;
    max-width: 45%;
  }
  
  .col-lg-custom-right {
    flex: 0 0 55%;
    max-width: 55%;
  }
}

/* Text column z-index */
.showroom-header .col-lg-6:first-child,
.profile-header .col-lg-6:first-child,
.showroom-header .col-lg-custom-left,
.profile-header .col-lg-custom-left {
  position: relative;
  z-index: 20;
}

/* Image column z-index */
.showroom-header .col-lg-6:last-child,
.profile-header .col-lg-6:last-child,
.showroom-header .col-lg-custom-right,
.profile-header .col-lg-custom-right {
  position: relative;
  z-index: 10;
}

.page-hero-grid {
  position: relative;
  z-index: 20; /* Higher than image collage */
  max-width: 650px;
}

.page-hero-collage {
  position: relative;
  z-index: 10; /* Lower than text */
  height: 520px;
  width: 100%;
}

/* Same scale as index .hero-title-big */
.page-hero-grid .display-giant {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 0.9;
  font-weight: 800;
  position: relative;
  z-index: 5;
  margin-bottom: 0;
  overflow-wrap: normal;
  word-break: normal;
}

.page-hero-grid .display-giant .fashion-italic {
  font-size: 0.8em; /* 20% smaller than parent */
}

.page-hero-subtitle {
  margin: 1.5rem 0 0;
  max-width: 520px;
  font-family: var(--body-font, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-muted, #666) !important;
  position: relative;
  z-index: 5;
}

/* Products pages — slightly smaller hero than index-style default */
.showroom-header.products-hero {
  min-height: 78vh;
  padding: 70px 0;
}

.products-hero .page-hero-grid .display-giant {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 0.92;
}

.products-hero .page-hero-grid .display-giant .fashion-italic {
  font-size: 0.82em; /* 18% smaller than parent */
}

.products-hero .page-hero-subtitle {
  font-size: 1rem;
  max-width: 480px;
  margin-top: 1.25rem;
}

.products-hero .page-hero-collage {
  height: 460px;
}

.products-hero .page-hero-collage .img-main {
  height: 380px;
  width: 62%;
  left: 8%;
}

.products-hero .page-hero-collage .img-sub1 {
  height: 230px;
  width: 42%;
}

/* Collage — same dimensions as index .collage-wrapper */

.page-hero-collage .collage-img {
  position: absolute;
  object-fit: cover;
  border: 1px solid var(--border-color, rgba(10, 10, 10, 0.08));
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.page-hero-collage .collage-img:hover {
  transform: scale(1.03) translateY(-5px);
  z-index: 10 !important;
  border-color: var(--text-dark, #0A0A0A);
}

.page-hero-collage .img-main {
  width: 65%;
  height: 440px;
  top: 0;
  left: 10%;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}

.page-hero-collage .img-sub1 {
  width: 45%;
  height: 260px;
  bottom: 0;
  right: 0;
  z-index: 3;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

@media (max-width: 991.98px) {
  .showroom-header,
  .profile-header {
    min-height: auto;
    padding: 2.5rem 0 3rem;
  }

  .page-hero-collage {
    height: 280px;
    margin-bottom: 0.5rem;
  }

  .page-hero-collage .img-main {
    width: 72%;
    height: 220px;
    left: 5%;
  }

  .page-hero-collage .img-sub1 {
    width: 50%;
    height: 150px;
    right: 0;
  }
}

@media (max-width: 767.98px) {
  .showroom-header,
  .profile-header {
    padding: 2.75rem 0 1.75rem;
  }

  .showroom-header .container,
  .profile-header .container {
    padding: 0 16px;
  }

  .page-hero-grid {
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 100%;
  }

  .page-hero-grid .display-giant {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: 1;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .hero-heading-main {
    display: block;
    line-height: 1;
  }

  .hero-heading-animated {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    color: var(--accent-ochre);
  }

  .page-hero-subtitle {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 1.25rem;
    max-width: 100%;
    text-align: center;
  }

  .page-hero-collage {
    height: 230px;
    width: 85%;
    margin: 0 auto;
  }

  .page-hero-collage .img-main {
    height: 180px;
  }

  .page-hero-collage .img-sub1 {
    height: 120px;
  }
}
