/* ==========================================================================
   HALAMEEN — "LOVE NOTES" SCRAPBOOK REVIEWS EXPERIENCE
   Dedicated stylesheet for reviews.html (Strictly Scoped)
   ========================================================================== */

/* --------------------------------------------------------------------------
   SECTION A: THE INTRODUCTION
   -------------------------------------------------------------------------- */
.love-notes-intro {
  padding: 42px 20px 20px;
  text-align: center;
  background: transparent;
}

.love-notes-intro-inner {
  max-width: 680px;
  margin: 0 auto;
}

.love-notes-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-dusty-rose);
  margin-bottom: 12px;
}

.love-notes-label .sparkle {
  color: var(--color-gold-thread);
  font-size: 0.85rem;
}

.love-notes-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  color: var(--color-burgundy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 14px;
}

/* Delicate ornamental thread divider with butterfly */
.thread-ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 240px;
  margin: 0 auto 16px;
}

.thread-ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 141, 145, 0.5), transparent);
}

.thread-ornament-butterfly {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  display: block;
}

.love-notes-desc {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  color: var(--color-cocoa);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 560px;
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   SECTION B: THE REVIEWS COLLECTION (SCRAPBOOK BOARD & EDITORIAL GRID)
   -------------------------------------------------------------------------- */
.love-notes-section {
  padding: 10px 16px 50px;
}

.love-notes-scrapbook-board {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 24px 40px;
  background: linear-gradient(180deg, #FFFDF9 0%, #FAF5EE 100%);
  border: 1.5px solid rgba(200, 141, 145, 0.38);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(79, 13, 14, 0.04), 0 1px 4px rgba(79, 13, 14, 0.02);
  position: relative;
}

/* Subtle antique scrapbook corner embellishments */
.love-notes-scrapbook-board::before,
.love-notes-scrapbook-board::after {
  content: '❦';
  position: absolute;
  font-size: 1.1rem;
  color: rgba(200, 141, 145, 0.38);
  line-height: 1;
}
.love-notes-scrapbook-board::before {
  top: 14px;
  left: 18px;
}
.love-notes-scrapbook-board::after {
  bottom: 14px;
  right: 18px;
}

/* Desktop 3-Column Editorial Grid: Strictly Centered & Explicit Columns */
.love-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 240px);
  justify-content: center;
  column-gap: 28px;
  row-gap: 36px;
  margin: 0 auto;
  align-items: start;
}

/* --------------------------------------------------------------------------
   INDIVIDUAL REVIEW KEEPSAKE CARD (Explicit 220–260px Width)
   -------------------------------------------------------------------------- */
.love-note-card {
  width: 240px;
  max-width: 240px;
  background: #FFFDF9;
  border: 1.5px solid rgba(200, 141, 145, 0.55);
  border-radius: 14px;
  padding: 14px 10px 10px 10px;
  box-shadow: 0 4px 14px rgba(79, 13, 14, 0.06), 0 1px 3px rgba(79, 13, 14, 0.04);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.2s ease;
  transform-origin: center center;
}

/* Washi Tape / Keepsake Top Accent */
.love-note-tape {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 13px;
  background: rgba(232, 196, 196, 0.72);
  border-left: 2px dashed rgba(200, 141, 145, 0.6);
  border-right: 2px dashed rgba(200, 141, 145, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border-radius: 2px;
  z-index: 2;
}

/* Card Header Badge / Micro Tag */
.love-note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2px 4px 6px;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-dusty-rose);
}

.love-note-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.love-note-tag img,
.love-note-tag svg {
  width: 12px;
  height: 12px;
  opacity: 0.85;
}

.love-note-stamp {
  font-size: 0.7rem;
  color: var(--color-dusty-rose);
  opacity: 0.8;
}

/* Subtle Natural Tilts */
.love-note-card:nth-child(1) { transform: rotate(-1.1deg); }
.love-note-card:nth-child(2) { transform: rotate(0.8deg); }
.love-note-card:nth-child(3) { transform: rotate(-0.6deg); }
.love-note-card:nth-child(4) { transform: rotate(1deg); }
.love-note-card:nth-child(5) { transform: rotate(-0.8deg); }
.love-note-card:nth-child(6) { transform: rotate(0.7deg); }

@media (hover: hover) and (pointer: fine) {
  .love-note-card:hover {
    transform: translateY(-5px) rotate(0deg) scale(1.02);
    box-shadow: 0 12px 26px rgba(79, 13, 14, 0.12), 0 3px 8px rgba(79, 13, 14, 0.06);
    border-color: var(--color-burgundy-light);
    z-index: 4;
  }
}

/* Inner Frame with Fine Border */
.love-note-inner {
  width: 100%;
  background: #FFFBF7;
  border: 1px dashed rgba(200, 141, 145, 0.45);
  border-radius: 9px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Photo Box Strictly Constraining Image Size to ~150-190px */
.love-note-photo-box {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #180A0C;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

/* EXPLICIT SMALL IMAGE SIZING: Locked to ~170px wide, max 210px high */
.love-note-photo-box img,
.love-note-card img.love-note-img {
  width: 100% !important;
  max-width: 175px !important;
  max-height: 210px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.love-note-card:hover .love-note-photo-box img {
  transform: scale(1.02);
}

/* Hover Zoom Pill */
.love-note-overlay {
  position: absolute;
  inset: 0;
  background: rgba(79, 13, 14, 0.3);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.love-note-card:hover .love-note-overlay {
  opacity: 1;
}

.love-note-zoom-pill {
  background: rgba(79, 13, 14, 0.94);
  color: #FFF8F2;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transform: translateY(3px);
  transition: transform 0.2s ease;
}

.love-note-card:hover .love-note-zoom-pill {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   VISUAL VARIATIONS (CARDS 1 THROUGH 6)
   -------------------------------------------------------------------------- */
/* Card 1: Warm Ivory + Blush Tape + Butterfly icon */
.love-note-card--1 {
  background: #FFFDF9;
}
.love-note-card--1 .love-note-tape {
  background: rgba(232, 196, 196, 0.75);
}

/* Card 2: Warm Cream + Beige Tape + Floral stamp */
.love-note-card--2 {
  background: #FAF6EF;
}
.love-note-card--2 .love-note-tape {
  background: rgba(220, 205, 190, 0.75);
}

/* Card 3: Ivory + Rose Accent */
.love-note-card--3 {
  background: #FFFDF9;
}
.love-note-card--3 .love-note-tape {
  background: rgba(230, 190, 195, 0.75);
}

/* Card 4: Soft Blush-Tinted Ivory */
.love-note-card--4 {
  background: #FFF9F7;
}
.love-note-card--4 .love-note-tape {
  background: rgba(225, 195, 195, 0.75);
}

/* Card 5: Warm Sand-Cream */
.love-note-card--5 {
  background: #FAF5ED;
}
.love-note-card--5 .love-note-tape {
  background: rgba(215, 200, 185, 0.75);
}

/* Card 6: Warm Ivory + Heart Stamp */
.love-note-card--6 {
  background: #FFFDF9;
}
.love-note-card--6 .love-note-tape {
  background: rgba(232, 196, 196, 0.75);
}

/* --------------------------------------------------------------------------
   RESPONSIVE LAYOUTS: TABLET (600px - 859px) & MOBILE (<= 599px)
   -------------------------------------------------------------------------- */
@media (max-width: 859px) {
  .love-notes-scrapbook-board {
    max-width: 560px;
    padding: 26px 18px 30px;
  }
  .love-notes-grid {
    grid-template-columns: repeat(2, 240px);
    column-gap: 24px;
    row-gap: 32px;
  }
}

@media (max-width: 599px) {
  .love-notes-intro {
    padding: 30px 16px 14px;
  }
  .love-notes-heading {
    font-size: 2.1rem;
  }
  .love-notes-desc {
    font-size: 0.92rem;
  }
  .love-notes-section {
    padding: 6px 10px 42px;
  }
  .love-notes-scrapbook-board {
    padding: 20px 10px 24px;
    border-radius: 18px;
    max-width: 420px;
  }
  .love-notes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
    max-width: 380px;
  }
  .love-note-card {
    width: 100%;
    max-width: 180px;
    padding: 10px 6px 8px 6px;
    border-radius: 11px;
  }
  .love-note-card .love-note-photo-box img {
    max-width: 140px !important;
    max-height: 175px !important;
  }
  .love-note-tape {
    width: 32px;
    height: 10px;
    top: -6px;
  }
  .love-note-header {
    font-size: 0.58rem;
    padding: 1px 2px 4px;
  }
  .love-note-inner {
    padding: 4px;
    border-radius: 7px;
  }
  /* Allow wide banner cards (Cards 3 and 6) to span 2 columns nicely on mobile */
  .love-note-card--wide-mobile {
    grid-column: span 2;
    max-width: 280px;
    justify-self: center;
  }
  .love-note-card--wide-mobile .love-note-photo-box img {
    max-width: 240px !important;
    max-height: 130px !important;
  }
}

/* --------------------------------------------------------------------------
   SECTION C: TASTEFUL CLOSING SECTION
   -------------------------------------------------------------------------- */
.love-notes-closing {
  padding: 20px 20px 68px;
  text-align: center;
}

.love-notes-closing-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.closing-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 180px;
  margin-bottom: 2px;
}

.closing-thread-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 141, 145, 0.5), transparent);
}

.closing-butterfly {
  width: 24px;
  height: 24px;
  opacity: 0.85;
}

.closing-heading {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  color: var(--color-burgundy);
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
}

.closing-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-cocoa);
  margin: 0;
  opacity: 0.88;
  line-height: 1.5;
}

.closing-heart {
  font-size: 1.1rem;
  color: var(--color-dusty-rose);
  opacity: 0.85;
}

/* --------------------------------------------------------------------------
   SECTION D: FULL-SCREEN INTERACTIVE LIGHTBOX WITH PREV/NEXT NAVIGATION
   -------------------------------------------------------------------------- */
.love-notes-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(38, 10, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.love-notes-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  background: var(--color-ivory-pure);
  border-radius: 20px;
  max-width: 580px;
  width: 100%;
  max-height: 92vh;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(200, 141, 145, 0.45);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px;
  transform: scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.love-notes-lightbox.active .lightbox-dialog {
  transform: scale(1);
}

/* Close button */
.lightbox-btn-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.98);
  border: 1.5px solid rgba(200, 141, 145, 0.55);
  color: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lightbox-btn-close:hover {
  background: var(--color-burgundy);
  color: #FFF8F2;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.lightbox-btn-close:focus-visible {
  outline: 2px solid var(--color-dusty-rose);
  outline-offset: 3px;
}

.lightbox-btn-close:active {
  transform: scale(0.95);
}

/* Previous & Next Navigation Buttons (Desktop Balanced Placement) */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.98);
  border: 1.5px solid rgba(200, 141, 145, 0.55);
  color: var(--color-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--color-burgundy);
  color: #FFF8F2;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
}

.lightbox-nav-btn:focus-visible {
  outline: 2px solid var(--color-dusty-rose);
  outline-offset: 3px;
}

.lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* Desktop positioning: Generous outward floating offset outside the dialog */
.lightbox-nav-btn--prev {
  left: -58px;
}

.lightbox-nav-btn--next {
  right: -58px;
}

/* Narrow Tablets & Medium Screens: Controlled offset */
@media (max-width: 767px) and (min-width: 600px) {
  .lightbox-btn-close {
    top: -12px;
    right: -12px;
    width: 38px;
    height: 38px;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }
  .lightbox-nav-btn--prev {
    left: -20px;
  }
  .lightbox-nav-btn--next {
    right: -20px;
  }
}

/* Mobile Screen Layout */
@media (max-width: 599px) {
  .lightbox-btn-close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(255, 253, 249, 0.92);
  }
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-nav-btn--prev {
    left: 8px;
    background: rgba(255, 253, 249, 0.92);
  }
  .lightbox-nav-btn--next {
    right: 8px;
    background: rgba(255, 253, 249, 0.92);
  }
}

/* High-Resolution Screenshot Media Wrapper */
.lightbox-media {
  background: #110608;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 76vh;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  display: block;
}

/* Meta Footer with Navigation Indicator */
.lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 0 4px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dusty-rose);
  font-weight: 700;
}

.lightbox-brand-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lightbox-counter {
  color: var(--color-burgundy);
  font-weight: 800;
}
