/* ==========================================================================
   TESTIMONIALS PAGE STYLES — Darpan Studio
   ========================================================================== */

/* Solid White Header Override */
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #eaeaea !important;
  position: sticky !important;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
}

.site-header .brand-name {
  color: #111111 !important;
}

.site-header .nav-link {
  color: #222222 !important;
}

.site-header .nav-link.active-page {
  color: var(--color-accent-gold) !important;
  font-weight: 600;
}

.site-header .nav-link.active-page::after {
  width: 100% !important;
  background-color: var(--color-accent-gold) !important;
}

/* Page Section Container (Max Width 1520px with Extra Spacing) */
.testi-page-section {
  padding: 6.5rem 1.5rem 8rem 1.5rem;
  background-color: #ffffff;
  overflow: hidden;
}

.testi-page-container {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 9.5rem;
  /* Increased vertical gap between testimonial rows */
}

/* Individual Testimonial Block Item */
.testi-block {
  position: relative;
  width: 100%;
}

/* Background Watermark Title (Using Sloop font - Compact Size) */
.testi-watermark {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Sloop', 'Sloop Script', cursive;
  font-size: clamp(3rem, 5.4vw, 6rem);
  color: rgba(0, 0, 0, 0.12);
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
  text-transform: capitalize;
}

/* Grid Layout for Desktop Testimonial Block (Image + Content Box) */
.testi-block-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
  margin-top: 1.8rem;
  /* Pushes content down slightly so watermark sits comfortably above */
}

/* Image Wrapper */
.testi-img-box {
  width: 100%;
  height: 480px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testi-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Inward Facing Corner Curves (Left element curve-right, Right element curve-left) */
.curve-inward-left {
  border-top-right-radius: 150px;
}

.curve-inward-right {
  border-top-left-radius: 150px;
}

/* Sage Green Content Box */
.testi-content-box {
  background-color: #bdc1b3;
  /* Oragraphy sage-green shade */
  padding: 3.5rem 3rem;
  height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #111111;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.testi-couple-title {
  font-family: 'Edito A Regular', 'Editor Regular', serif;
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #111111;
  margin-bottom: 1.5rem;
}

.testi-quote-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #222222;
  margin: 0;
}

/* Mobile & Tablet Architecture */
@media (max-width: 992px) {
  .testi-page-container {
    gap: 5.5rem;
  }

  .testi-block-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1rem;
  }

  /* Force image always on top on mobile with top-left curved corner */
  .testi-img-box {
    order: 1;
    height: 320px;
    border-radius: 0 !important;
    border-top-left-radius: 80px !important;
  }

  /* Force content box always on bottom on mobile with bottom-right curved corner */
  .testi-content-box {
    order: 2;
    height: auto;
    padding: 2.2rem 1.6rem 2.8rem 1.6rem;
    text-align: center;
    border-radius: 0 !important;
    border-bottom-right-radius: 80px !important;
  }

  .testi-watermark {
    font-size: 2.2rem;
    top: -26px;
    color: rgba(0, 0, 0, 0.14);
  }

  .testi-couple-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .testi-quote-text {
    font-size: 0.88rem;
    line-height: 1.75;
  }
}