/* ═══════════════════════════════════════════
   fullscreen-modal.css — Modal xem chi tiết kỷ niệm
   ═══════════════════════════════════════════ */

.fullscreen-overlay {
  position: fixed; inset: 0;
  background: rgba(20,8,12,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.fullscreen-overlay.active {
  opacity: 1; pointer-events: auto;
}
.fullscreen-card {
  background: var(--bg-card);
  border-radius: 24px;
  width: 100%; max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(201,132,142,0.3);
  border: 1px solid var(--border-card);
  position: relative;
  transform: scale(0.94) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin; scrollbar-color: var(--petal) transparent;
}
.fullscreen-overlay.active .fullscreen-card {
  transform: scale(1) translateY(0);
}
.fullscreen-card::-webkit-scrollbar { width: 4px; }
.fullscreen-card::-webkit-scrollbar-thumb { background: var(--petal); border-radius: 2px; }

.fullscreen-close {
  position: sticky; top: 1rem;
  float: right; margin: 1rem 1rem 0 0;
  width: 34px; height: 34px;
  background: rgba(255,192,203,0.15);
  border: 1px solid rgba(255,192,203,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--rose-gold);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.fullscreen-close:hover { background: rgba(255,192,203,0.3); transform: rotate(90deg); }

.fullscreen-inner {
  padding: 1.5rem 2.5rem 2.5rem;
  clear: both;
}

/* Fullscreen layout: photo left, text right on desktop */
.fs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 640px) {
  .fs-layout { grid-template-columns: 1fr; }
  .fullscreen-inner { padding: 1rem 1.2rem 2rem; }
}
.fs-photo {
  width: 100%; aspect-ratio: 4/3;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFE4EC, #FFF0F5);
  border: 1.5px dashed var(--petal);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.fs-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
html.dark .fs-photo { background: linear-gradient(135deg, #2A1520, #1A0D12); }

.fs-content { display: flex; flex-direction: column; gap: 0.6rem; }
.fs-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem; font-style: italic;
  color: var(--rose-gold); letter-spacing: 0.06em;
}
.fs-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400; color: var(--ink); line-height: 1.3;
}
.fs-desc {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.95rem; font-weight: 300;
  color: var(--soft-ink); line-height: 1.85;
  max-height: 45vh; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--petal) transparent;
  padding-right: 4px;
}
.fs-desc::-webkit-scrollbar { width: 3px; }
.fs-desc::-webkit-scrollbar-thumb { background: var(--petal); border-radius: 2px; }
