/* ============================================================
   JP Modelling Studio — Couples Portfolio & Story Styles
   ============================================================ */

/* ── Couples List Page (couples.html) ────────────────────────── */
.couples-list-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.couples-list-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.35) 0%, rgba(15, 15, 15, 0.8) 100%);
}

.couples-list-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding-bottom: 3.5rem;
  max-width: 800px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.couples-page {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  background: var(--bg);
}

.couples-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.couples-header .section-title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.couples-header .section-subtitle {
  max-width: 640px;
  margin: 0 auto;
  color: var(--body);
  font-size: 1.05rem;
}

/* Category Filter Buttons */
.couples-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.couples-filter-btn {
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--body);
  background: var(--bg-card);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
  box-shadow: var(--shadow-soft);
}

.couples-filter-btn:hover,
.couples-filter-btn.active {
  border-color: var(--accent);
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(244, 106, 46, 0.25);
  transform: translateY(-2px);
}

/* Couples Cards Grid */
.couples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.couple-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.couple-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(34, 34, 34, 0.12);
}

.couple-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 125%;
  /* 4:5 aspect ratio */
  overflow: hidden;
  background: var(--bg-alt);
}

.couple-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.couple-card:hover .couple-card-img {
  transform: scale(1.06);
}

.couple-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  transition: background 0.4s var(--ease);
}

.couple-card-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.couple-card-title {
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.couple-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 400;
}

.couple-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--peach);
  font-weight: 500;
  transition: gap 0.3s var(--ease);
}

.couple-card:hover .couple-card-link {
  gap: 0.6rem;
  color: #ffffff;
}

/* ── Individual Couple Story Page (couples/index.html) ──────── */

/* Half Page Hero Banner */
.couple-hero {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
}

.couple-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.3) 0%, rgba(15, 15, 15, 0.75) 100%);
}

.couple-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding-bottom: 3.5rem;
  max-width: 800px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.couple-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 1.25rem;
  transition: all 0.3s var(--ease);
}

.couple-hero-back:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.couple-hero-category {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--peach);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.couple-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  font-family: var(--font-main);
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  color: var(--accent);
}

.couple-hero-subtitle {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--sand);
  font-weight: 400;
}

/* Story Narrative Section */
.couple-story-section {
  padding: 4.5rem 1.5rem 3rem;
  background: var(--bg);
  text-align: center;
}

.couple-story-container {
  max-width: 760px;
  margin: 0 auto;
}

.couple-story-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
  opacity: 0.9;
}

.couple-story-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--heading);
  font-weight: 400;
  font-style: italic;
  position: relative;
}

.couple-story-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 2rem auto 0;
  border-radius: 2px;
}

/* Single Column Image Stack */
.couple-gallery-section {
  padding: 0 0 6rem;
  background: var(--bg);
}

.couple-gallery-single {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.couple-single-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none;
  transition: transform 0.5s var(--ease);
  cursor: pointer;
}

.couple-single-card:hover {
  transform: none;
  box-shadow: none;
}

.couple-single-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  transition: transform 0.7s var(--ease);
}

.couple-single-card:hover .couple-single-img {
  transform: scale(1.01);
}

.couple-single-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: background 0.4s var(--ease);
}

.couple-single-card:hover .couple-single-overlay {
  background: rgba(0, 0, 0, 0.25);
}

.couple-single-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading);
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.3s var(--ease);
}

.couple-single-card:hover .couple-single-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .couples-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
  }

  .couple-hero {
    height: 48vh;
    min-height: 350px;
  }

  .couple-hero-content {
    padding-bottom: 2.5rem;
  }

  .couple-gallery-single {
    gap: 0;
  }

  .couple-story-text {
    font-size: 1.05rem;
  }
}