/* ==========================================================================
   WEDPERFECT - INSPIRATION PAGE STYLESHEET
   Matches Inspirations.pdf with high visual fidelity
   ========================================================================== */

/* --- 1. ROOT VARIABLES & BASE STYLES --- */
:root {
  --insp-bg: #FCF5ED;
  --insp-maroon: #9e1c3f;
  --insp-maroon-dark: #7d1330;
  --insp-gold: #c59239;
  --insp-gold-light: #dfb988;
  --insp-gold-border: rgba(223, 185, 136, 0.65);
  --insp-text-dark: #1a1a1a;
  --insp-text-muted: #555555;
  --insp-font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --insp-font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --insp-font-script: "Alex Brush", cursive;
}

body.inspiration-page {
  background-color: var(--insp-bg);
  color: var(--insp-text-dark);
  font-family: var(--insp-font-sans);
  margin: 0;
  overflow-x: hidden;
}

/* --- 2. HERO SECTION --- */
.insp-hero-section {
  position: relative;
  background-color: var(--insp-bg);
  min-height: 640px;
  padding: 55px 0 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Background Media: Seamless blend on the right, finishes above the divider */
.insp-hero-bg-media {
  position: absolute;
  top: 0;
  right: max(0px, calc((100vw - 1320px) / 2 - 80px));
  width: min(65vw, 920px);
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.insp-hero-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0.6) 24%, black 44%, black 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 6%, black 15%, black 82%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0.6) 24%, black 44%, black 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.85) 6%, black 15%, black 82%, rgba(0, 0, 0, 0.5) 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  transition: transform 0.6s ease;
}

.insp-hero-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.insp-hero-content {
  max-width: 580px;
}

.insp-hero-title {
  font-family: 'Cormorant Garamond', var(--insp-font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(48px, 4.3vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.3px;
}

.insp-hero-title .highlight {
  color: var(--insp-maroon);
  font-weight: 500;
}

.insp-hero-divider-wrap {
  margin: 22px 0 22px;
  display: flex;
  align-items: center;
}

.insp-hero-divider {
  height: 22px;
  width: auto;
  display: block;
}

.insp-hero-desc {
  font-family: var(--insp-font-sans);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0 0 36px;
  max-width: 480px;
}

.insp-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

.insp-btn-plan {
  background-color: var(--insp-maroon);
  color: #ffffff !important;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--insp-font-sans);
  font-size: 15.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(158, 28, 63, 0.28);
  transition: all 0.3s ease;
  border: 1.5px solid var(--insp-maroon);
  white-space: nowrap;
}

.insp-btn-plan:hover {
  background-color: var(--insp-maroon-dark);
  border-color: var(--insp-maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(158, 28, 63, 0.35);
}

.insp-btn-explore {
  background-color: rgba(255, 255, 255, 0.5);
  color: #b38820 !important;
  border: 1.5px solid #d4af37;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: var(--insp-font-sans);
  font-size: 15.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.insp-btn-explore:hover {
  border-color: var(--insp-maroon);
  color: var(--insp-maroon) !important;
  transform: translateY(-2px);
  background: rgba(158, 28, 63, 0.04);
}

.insp-btn-plan svg,
.insp-btn-explore svg {
  transition: transform 0.25s ease;
}

.insp-btn-plan:hover svg,
.insp-btn-explore:hover svg {
  transform: translateX(4px);
}

/* --- 3. SECTION DIVIDER --- */
.insp-section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 55px auto 55px;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
}

.insp-section-divider-img {
  height: 22px;
  max-width: 300px;
  width: auto;
  display: block;
  margin: 0 auto;
}

/* Small divider variant for last section (below gallery cards) */
.insp-divider-small {
  max-width: clamp(220px, 22vw, 320px) !important;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.insp-gallery-bottom-divider {
  margin: 55px auto 55px;
}

/* --- 4. GALLERY SECTION --- */
.insp-gallery-section {
  position: relative;
  background-color: var(--insp-bg);
  padding: 0 0 80px;
  overflow: hidden;
}

.insp-gallery-floral-left {
  position: absolute;
  top: 120px;
  left: 0;
  width: clamp(150px, 10.5vw, 205px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transition: all 0.3s ease;
}

.insp-gallery-floral-right {
  position: absolute;
  top: clamp(480px, 30vw, 560px);
  right: 0;
  width: clamp(190px, 13vw, 260px);
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  transition: all 0.3s ease;
}

.insp-gallery-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Filter Pills Bar */
.insp-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto 44px;
}

.insp-filter-pill {
  background: #ffffff;
  border: 1.5px solid var(--insp-gold-light);
  color: var(--insp-text-dark);
  font-family: var(--insp-font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.insp-filter-pill:hover {
  border-color: var(--insp-maroon);
  color: var(--insp-maroon);
  transform: translateY(-1px);
}

.insp-filter-pill.active {
  background-color: var(--insp-maroon);
  border-color: var(--insp-maroon);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(158, 28, 63, 0.25);
}

/* 4-Column Gallery Grid */
.insp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.insp-gallery-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Card Styling */
.insp-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(185, 140, 95, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
  aspect-ratio: 1 / 1;
}

.insp-card.insp-card-tall {
  aspect-ratio: 1 / 1.34;
}

.insp-card.insp-card-compact {
  aspect-ratio: 1 / 0.83;
}

.insp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(158, 28, 63, 0.2);
}

.insp-card-media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background-color: #f7ede2;
}

.insp-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insp-card:hover .insp-card-img {
  transform: scale(1.035);
}

/* Floating White Badge on Card */
.insp-card-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(253, 248, 242, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(223, 185, 136, 0.45);
  padding: 6px 20px;
  min-width: 104px;
  text-align: center;
  border-radius: 10px;
  font-family: 'Cormorant Garamond', var(--insp-font-serif, 'Playfair Display', Georgia, serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--insp-maroon, #9e1c3f);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
  transition: all 0.3s ease;
}

.insp-card:hover .insp-card-tag {
  background: #ffffff;
  color: var(--insp-maroon-dark, #7d1330);
  box-shadow: 0 6px 20px rgba(158, 28, 63, 0.22);
  transform: translateY(-2px);
}

/* Hidden state for filtering */
.insp-card.is-hidden {
  display: none !important;
}

/* --- 5. IMPACT METRICS WRAPPER --- */
.insp-metrics-container {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.insp-metrics-container .services-metrics-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* --- 6. RESPONSIVE BREAKPOINTS --- */

/* Large Screen Expansion (1800px - 1999px) */
@media (min-width: 1800px) {
  .insp-hero-container,
  .insp-gallery-container,
  .insp-metrics-container {
    max-width: 1680px;
    width: 100%;
    padding: 0 36px;
    margin: 0 auto;
  }
  .insp-section-divider {
    max-width: 1680px;
    width: 100%;
    padding: 0 36px;
    margin: 55px auto 55px;
  }
  .insp-gallery-bottom-divider {
    margin: 55px auto 55px;
  }
}

/* Ultrawide Screens (>= 2000px) */
@media (min-width: 2000px) {
  .insp-hero-section {
    min-height: 920px;
    padding: 100px 0 0;
  }
  .insp-hero-bg-media {
    right: 0;
    width: 58vw;
    max-width: 1700px;
    height: 100%;
  }
  .insp-hero-main-img {
    object-position: 45% 20%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0.6) 24%, black 44%, black 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.92) 5%, black 14%, black 86%, rgba(0, 0, 0, 0.5) 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 10%, rgba(0, 0, 0, 0.6) 24%, black 44%, black 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.92) 5%, black 14%, black 86%, rgba(0, 0, 0, 0.5) 96%, transparent 100%);
  }
  .insp-hero-container,
  .insp-gallery-container,
  .insp-metrics-container {
    max-width: min(98vw, 2520px);
    width: 100%;
    padding: 0 28px;
    margin: 0 auto;
  }
  .insp-section-divider {
    max-width: min(98vw, 2520px);
    width: 100%;
    padding: 0 28px;
    margin: 75px auto 75px;
  }
  .insp-hero-content {
    max-width: 880px;
  }
  .insp-hero-title {
    font-size: 82px;
    font-weight: 500;
    line-height: 1.12;
    margin: 0;
  }
  .insp-hero-divider-wrap {
    margin: 28px 0 28px;
  }
  .insp-hero-divider {
    height: 36px;
  }
  .insp-hero-desc {
    font-size: 25px;
    max-width: 740px;
    line-height: 1.65;
    margin: 0 0 48px;
  }
  .insp-hero-actions {
    gap: 24px;
  }
  .insp-btn-plan,
  .insp-btn-explore {
    padding: 20px 48px;
    font-size: 22px;
    border-radius: 14px;
  }
  .insp-section-divider-img {
    height: 30px;
    max-width: 440px;
    width: auto;
  }
  .insp-divider-small {
    max-width: 380px !important;
  }
  .insp-gallery-bottom-divider {
    margin: 75px auto 75px;
  }
  .insp-filter-pill {
    padding: 13px 32px;
    font-size: 19px;
  }
  .insp-gallery-floral-left {
    width: clamp(230px, 10vw, 270px);
  }
  .insp-gallery-floral-right {
    top: clamp(720px, 32vw, 880px);
    width: clamp(250px, 12vw, 320px);
  }
  .insp-card-tag {
    bottom: 28px;
    left: 28px;
    padding: 10px 30px;
    min-width: 146px;
    font-size: 21px;
    border-radius: 14px;
  }
}

/* Large Desktop (1200px - 1440px) */
@media (max-width: 1440px) {
  .insp-hero-title {
    font-size: 50px;
  }
  .insp-hero-desc {
    font-size: 16px;
  }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
  .insp-hero-container,
  .insp-gallery-container,
  .insp-metrics-container,
  .insp-section-divider {
    padding: 0 24px;
  }
  .insp-hero-bg-media {
    width: 58vw;
  }
  .insp-hero-title {
    font-size: 44px;
  }
  .insp-gallery-grid {
    gap: 18px;
  }
  .insp-gallery-col {
    gap: 18px;
  }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
  .insp-hero-section {
    min-height: auto;
    padding: 36px 0 0;
    display: flex;
    flex-direction: column;
  }
  .insp-hero-bg-media {
    position: relative;
    right: auto;
    width: 100%;
    max-width: 540px;
    height: 380px;
    margin: 24px auto 0;
  }
  .insp-hero-main-img {
    -webkit-mask-image: linear-gradient(to bottom, #000000 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000000 85%, transparent 100%);
  }
  .insp-hero-container {
    text-align: center;
  }
  .insp-hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .insp-hero-title {
    margin-bottom: 0;
  }
  .insp-hero-divider-wrap {
    display: flex;
    justify-content: center;
    margin: 18px 0 18px;
  }
  .insp-hero-desc {
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
  }
  .insp-hero-actions {
    justify-content: center;
  }
  .insp-section-divider {
    margin: 45px auto 45px;
  }
  .insp-gallery-bottom-divider {
    margin: 45px auto 45px;
  }
  .insp-metrics-container {
    margin: 0 auto;
  }
  .insp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insp-gallery-floral-left,
  .insp-gallery-floral-right {
    opacity: 0.35;
    width: 160px;
  }
}

/* Mobile Devices (<= 767px) */
@media (max-width: 767px) {
  .insp-hero-section {
    padding: 28px 0 0;
  }
  .insp-hero-bg-media {
    position: relative;
    right: auto;
    width: 100%;
    height: 290px;
    margin: 20px auto 0;
  }
  .insp-hero-container,
  .insp-gallery-container,
  .insp-metrics-container,
  .insp-section-divider {
    padding: 0 24px;
  }
  .insp-hero-title {
    font-size: 34px;
    margin-bottom: 0;
  }
  .insp-hero-divider-wrap {
    margin: 16px 0 16px;
    justify-content: center;
  }
  .insp-hero-desc {
    font-size: 14.5px;
    line-height: 1.58;
    margin: 0 0 24px;
  }
  .insp-section-divider {
    margin: 36px auto 36px;
  }
  .insp-gallery-bottom-divider {
    margin: 36px auto 36px;
  }
  .insp-metrics-container {
    margin: 0 auto;
  }
  .insp-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .insp-btn-plan,
  .insp-btn-explore {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
  .insp-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .insp-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .insp-filter-pill {
    white-space: nowrap;
    padding: 8px 18px;
    font-size: 14px;
    flex-shrink: 0;
  }
  .insp-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .insp-gallery-col {
    gap: 16px;
  }
  .insp-card-tag {
    font-size: 13.5px;
    padding: 5px 16px;
    min-width: 86px;
    bottom: 14px;
    left: 14px;
    border-radius: 8px;
  }
  .insp-hero-floral-left {
    width: 180px;
    opacity: 0.5;
  }
  .insp-gallery-floral-left,
  .insp-gallery-floral-right {
    display: none;
  }
}

/* Small Mobile (<= 480px) */
@media (max-width: 480px) {
  .insp-hero-container,
  .insp-gallery-container,
  .insp-metrics-container,
  .insp-section-divider {
    padding: 0 16px;
  }
}
