/* ==========================================================================
   Hero Homes Mohali — /gallery page-only design system
   Scoped with the "gal-" prefix so nothing here touches the shared
   home / amenities / highlights / location / contact / emi page styles.
   ========================================================================== */

.gal-section {
  padding: 84px 0;
}

.gal-container {
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
}

.gal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ED1C24;
}

.gal-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #ED1C24;
  display: inline-block;
}

/* ---------- INTRO ---------- */
.gal-hero {
  background: #ffffff;
  padding: 56px 0 0;
}

.gal-hero-inner {
  max-width: 820px;
}

.gal-hero h1 {
  margin: 0 0 16px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.gal-hero-lede {
  margin: 0;
  color: #4a4a4a;
  font-size: 16.5px;
  line-height: 1.75;
}

.gal-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.gal-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f4f4f6;
  border: 1px solid #e9e9ec;
  border-radius: 999px;
  color: #101018;
  font-size: 13.5px;
  font-weight: 600;
}

.gal-chip i {
  color: #ED1C24;
  font-size: 13px;
}

/* ---------- FEATURED BANNER ---------- */
.gal-featured {
  padding: 44px 0 0;
  background: #ffffff;
}

.gal-featured-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(16, 16, 24, 0.18);
  cursor: zoom-in;
}

.gal-featured-media img {
  width: 100%;
  height: min(58vh, 560px);
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gal-featured-media:hover img {
  transform: scale(1.03);
}

.gal-featured-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 36px 26px;
  background: linear-gradient(0deg, rgba(8, 8, 12, 0.82) 0%, rgba(8, 8, 12, 0) 100%);
  color: #ffffff;
}

.gal-featured-caption p.gal-tag {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #ff9da1;
}

.gal-featured-caption h2 {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
}

/* ---------- GRID ---------- */
.gal-grid-section {
  background: #ffffff;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gal-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(16, 16, 24, 0.06);
}

.gal-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gal-photo:hover img {
  transform: scale(1.06);
}

.gal-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 20px 16px;
  background: linear-gradient(0deg, rgba(8, 8, 12, 0.80) 0%, rgba(8, 8, 12, 0) 100%);
  color: #ffffff;
}

.gal-photo-caption p.gal-tag {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ff9da1;
}

.gal-photo-caption h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 600;
}

.gal-photo-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 16, 24, 0.55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  backdrop-filter: blur(2px);
}

/* ---------- CONTEXT ---------- */
.gal-context {
  background: #f4f4f6;
}

.gal-context-wrap {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.gal-context h2 {
  margin: 0 0 16px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(22px, 2.6vw, 28px);
}

.gal-context p {
  margin: 0 0 16px;
  color: #4a4a4a;
  font-size: 15.5px;
  line-height: 1.75;
}

.gal-context p a {
  color: #ED1C24;
  font-weight: 600;
  text-decoration: underline;
}

.gal-context p a:hover {
  color: #101018;
}

.gal-trust-note {
  margin-top: 22px;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #e9e9ec;
  border-left: 4px solid #ED1C24;
  border-radius: 10px;
  color: #4a4a4a;
  font-size: 13.5px;
  line-height: 1.6;
}

.gal-trust-note strong {
  color: #101018;
}

/* ---------- CTA BANNER ---------- */
.gal-cta {
  position: relative;
  background: #101018;
  overflow: hidden;
}

.gal-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(237, 28, 36, 0.24), transparent 60%),
    radial-gradient(600px 300px at 88% 90%, rgba(237, 28, 36, 0.16), transparent 60%);
}

.gal-cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.gal-cta-text h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.gal-cta-text p {
  margin: 0;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
}

.gal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.gal-btn:hover {
  transform: translateY(-2px);
}

.gal-btn--primary {
  background: #ED1C24;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(237, 28, 36, 0.30);
}

.gal-btn--primary:hover {
  background: #C81219;
}

.gal-btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.gal-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

/* ---------- LIGHTBOX ---------- */
.gal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 12, 0.92);
  padding: 40px;
}

.gal-lightbox.is-open {
  display: flex;
}

.gal-lightbox-figure {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}

.gal-lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

.gal-lightbox-caption {
  margin-top: 16px;
  color: #fff;
  font-size: 14.5px;
}

.gal-lightbox-close,
.gal-lightbox-prev,
.gal-lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.18s ease;
}

.gal-lightbox-close:hover,
.gal-lightbox-prev:hover,
.gal-lightbox-next:hover {
  background: #ED1C24;
  border-color: #ED1C24;
}

.gal-lightbox-close {
  top: -54px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
}

.gal-lightbox-prev,
.gal-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 20px;
}

.gal-lightbox-prev {
  left: -64px;
}

.gal-lightbox-next {
  right: -64px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .gal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gal-lightbox {
    padding: 24px;
  }

  .gal-lightbox-prev {
    left: 6px;
  }

  .gal-lightbox-next {
    right: 6px;
  }

  .gal-lightbox-close {
    top: 6px;
    right: 6px;
  }
}

@media (max-width: 640px) {
  .gal-section {
    padding: 56px 0;
  }

  .gal-hero {
    padding: 40px 0 0;
  }

  .gal-grid {
    grid-template-columns: 1fr;
  }

  .gal-featured-media img {
    height: 320px;
  }

  .gal-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
