/* ================= ROOT VARIABLES ================= */

:root {
  --maroon: #7a0c0c;
  --gold: #f4c430;
  --cream: #fbf1de;
  --dark-red: #5a0000;
  --white: #ffffff;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--maroon);
  overflow-x: hidden;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251, 241, 222, 0.95);
  backdrop-filter: blur(6px);
  z-index: 1000;
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.college-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

/* Navigation */
.header-nav a {
  margin-left: 30px;
  text-decoration: none;
  font-weight: 600;
  color: var(--maroon);
  position: relative;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: 0.3s;
}

.header-nav a:hover::after {
  width: 100%;
}


/* ================= COMMON SECTION ================= */



.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;

}
section {
  padding: 40px 6%;
}
.section-subtitle {
  margin-bottom: 10px;   /* reduce gap */
}

/* ================= TIMELINE ================= */

.timeline-section {
  background: #fbf1de;
  padding: 40px 0;
  position: relative;
}


/* MAIN WRAPPER */
.timeline-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  height: 1200px;
   margin-top: -20px; 
  /* 🔑 THIS IS THE FIX */
  padding-left: 180px;
  padding-right: 180px;
}

/* ===== ROAD (SVG) ===== */
.timeline-road{
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
   stroke: #976617;
    stroke-width: 5px;   /* thinner */
  opacity: 0.9; 
}

/* SVG PATH */
.road-path {
  stroke: #8d5805;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5px;   /* thinner */
  opacity: 0.9;         /* lighter */

  /* animation */
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawRoad 2.2s ease forwards;
}

/* draw animation */
@keyframes drawRoad {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===== CARDS ===== */
/* ================= TIMELINE CARD (FINAL) ================= */

/* ================= MEMORY STRIP (FINAL) ================= */

.memory-strip {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 6px;
  border-top: 1px dashed rgba(244, 196, 48, 0.45);
  align-items: center;
  flex-wrap: wrap;
}

/* ================= MEMORY THUMB ================= */

.memory-thumb {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.memory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover feedback */
.memory-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

/* ================= + MORE (VIEW ALL) ================= */

.memory-more {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(244, 196, 48, 0.18);
  color: #7a0c0c;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.memory-more:hover {
  background: rgba(244, 196, 48, 0.3);
  transform: translateY(-2px);
}

/* ================= ADD MEMORY ================= */

.add-memory {
  border: 1.5px dashed #f4c430;
  background: transparent;
  color: #7a0c0c;
  font-size: 18px;
  font-weight: 600;
  position: relative;
}

.add-memory input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

/* ================= EMPTY STATE ================= */

.memory-strip.empty::before {
  content: "Memories will appear here";
  font-size: 0.75rem;
  color: #7a0c0c;
  opacity: 0.6;
}

/* ================= MOBILE SAFETY ================= */

@media (max-width: 768px) {
  .memory-strip {
    justify-content: center;
  }
}



/* LIGHTBOX */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox.show {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* ===== TIMELINE HEADING ===== */

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 3.6rem);
  color: #7a0c0c; /* maroon */
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 18px;
  position: relative;
}

/* golden underline accent */
.section-title::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background: linear-gradient(
    90deg,
    #f4c430,
    #ffd86b,
    #f4c430
  );
  margin: 18px auto 0;
  border-radius: 4px;
}

/* ===== SUBTITLE ===== */

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin-bottom: 30px; 
  margin: 0 auto 70px;
  font-size: 1.05rem;
  font-family: 'Poppins', sans-serif;
  color: #7a0c0c;
  opacity: 0.8;
  line-height: 1.6;
}


/* ===== ANIMATIONS ===== */
@keyframes drawRoad {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cardFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.timeline-road path {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: drawRoad 8s linear forwards;
}
.timeline-card,
.timeline-img {
  opacity: 0;
  transform: translateY(20px);
}
/* Group Day */
.timeline-card:nth-of-type(1),
.timeline-img:nth-of-type(1) {
  animation: revealCard 0.6s ease forwards;
  animation-delay: 1.2s;
}

/* Mismatch Day */
.timeline-card:nth-of-type(2),
.timeline-img:nth-of-type(2) {
  animation: revealCard 0.6s ease forwards;
  animation-delay: 2.4s;
}

/* Traditional Day */
.timeline-card:nth-of-type(3),
.timeline-img:nth-of-type(3) {
  animation-delay: 3.6s;
}

/* Signature Day */
.timeline-card:nth-of-type(4),
.timeline-img:nth-of-type(4) {
  animation-delay: 4.8s;
}

/* UMANG Day 1 */
.timeline-card:nth-of-type(5),
.timeline-img:nth-of-type(5) {
  animation-delay: 6s;
}

/* UMANG Day 2 */
.timeline-card:nth-of-type(6),
.timeline-img:nth-of-type(6) {
  animation-delay: 7.2s;
}
@keyframes revealCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .timeline-wrapper {
    height: auto;
    padding-left: 0;
    padding-right: 0;
      background: #fbf1de;
  overflow: hidden;
    margin-top: -20px;
  }

 .timeline-road {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}


  .timeline-card {
    position: relative;
    width: 90%;
    margin: 24px auto;
    left: auto;
    right: auto;
    top: auto !important;
    text-align: center;
    animation-delay: 0s;
  }
}
.timeline-img {
  width: 95px;
  position: absolute;
  opacity: 0.95;
  transform: scale(0.8) translateY(20px);
  animation: imgIn 0.8s ease forwards;
}

.timeline-wrapper.animate .timeline-img {
  opacity: 1;
}

@keyframes imgIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.timeline-road path {
  opacity: 0.75;
}



/* ===== MOVING DOT ===== */
.road-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #ff7a00;
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
}

.timeline-wrapper.animate .road-dot {
  animation: moveDot 3.2s ease-out forwards;
}

@keyframes moveDot {
  0% {
    opacity: 1;
    transform: translate(-57%, 0);
  }
  100% {
    opacity: 1;
    transform: translate(-59%, 1180px);
  }
}

/* ===== CARDS ===== */
.timeline-card {
  position: absolute;
  width: 280px;
  background: #ffffff;
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  z-index: 2;
  
  opacity: 0;
  transform: translateY(30px);
}

.timeline-wrapper.animate .timeline-card {
  animation: cardFade 0.8s ease forwards;
}

.timeline-card:nth-child(3) { animation-delay: 0.4s; }
.timeline-card:nth-child(4) { animation-delay: 0.6s; }
.timeline-card:nth-child(5) { animation-delay: 0.8s; }
.timeline-card:nth-child(6) { animation-delay: 1s; }
.timeline-card:nth-child(7) { animation-delay: 1.2s; }
.timeline-card:nth-child(8) { animation-delay: 1.4s; }
.timeline-card:nth-child(9) { animation-delay: 1.6s; }

@keyframes cardFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline-card.left {
  left: 0;
}

.timeline-card.right {
  right: 0;
}
.timeline-card:nth-last-child(2),
.timeline-card:nth-last-child(1) {
  transform: scale(1.05);
  border: 2px solid #f4c430;
}



/* ===== BUTTON ===== */
.upload-btn {
  padding: 8px 18px;
  border-radius: 20px;
  border: 2px solid #f4c430;
  background: transparent;
  color: #7a0c0c;
  font-weight: 600;
  cursor: pointer;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .timeline-wrapper {
    height: auto;
  }

  .timeline-road,
  .road-dot {
    display: none;
  }

  .timeline-card {
    position: relative;
    width: 90%;
    margin: 20px auto;
    left: auto;
    right: auto;
    opacity: 1;
    transform: none;
  }
}
/* ================= IMAGE NEAR CARD ================= */
.timeline-img {
  width: 110px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* LEFT SIDE CARD → image near right edge */
.timeline-card.left .timeline-img {
  right: -140px;
}

/* RIGHT SIDE CARD → image near left edge */
.timeline-card.right .timeline-img {
  left: -140px;
}

.timeline-img.left {
  right: -160px;
}

.timeline-img.right {
  left: -160px;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}



/* ================= GALLERY ================= */

.memories-section {
  background: var(--maroon);
  color: var(--white);
}

.gallery-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.memory-card {
  min-width: 300px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
}

.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= SECRETARIES ================= */

.secretaries-container {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.secretary-card {
  width: 280px;
  padding: 30px;
  background: var(--white);
  border-radius: 14px;
  text-align: center;
}

/* ================= TEAM ================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 25px;
}

.team-card {
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  text-align: center;
}

/* ================= FOOTER ================= */

footer {
  background: var(--dark-red);
  color: var(--white);
  padding: 30px;
  text-align: center;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .hero-visual {
    width: 300px;
    height: 300px;
  }

  .mandala {
    display: none;
  }

  .countdown-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .college-logo {
    height: 55px;
  }
}
/* ================= HERO (FINAL TIGHT VERSION) ================= */
/* ================= HERO ================= */

/* =========================
   HERO SECTION (FINAL)
   ========================= */
.hero {
  position: relative;
  min-height: 100vh;           /* ✅ NOT fixed height */
  padding-top: 95px;           /* header space */
  padding-bottom: 40px;        /* space for countdown */
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fbf1de;
  overflow: hidden;
}
.hero-content {
  animation: float 6s infinite;
}


/* ================= UMANG TITLE ================= */

.hero-title {
  position: relative;
  display: inline-block;
  font-family:'Times New Roman', Times, serif;
  font-size: clamp(5.5rem, 9vw, 8.5rem);
  letter-spacing: 10px;
  text-align: center;
  margin-bottom: 20px;
  z-index: 3;
}

.hero-title span {
  display: inline-block;

  color: #7a0c0c;                 /* deep maroon fill */
  -webkit-text-stroke: 2px #d4af37;
  text-stroke: 2px #d4af37;

  /* soft golden glow on letters */
  text-shadow:
    0 0 6px rgba(212, 175, 55, 0.55),
    0 0 14px rgba(212, 175, 55, 0.35);

  /* fall animation */
  opacity: 0;
  transform: translateY(-80px);
  animation: umangFall 0.9s ease forwards;
  animation-delay: calc(var(--i) * 0.18s);
}


.hero-title::before {
  content: "";
  position: absolute;
  inset: -30px -80px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 200, 90, 0.55),
    rgba(255, 200, 90, 0.30),
    rgba(238, 188, 37, 0.12),
    transparent 70%
  );
  border-radius: 60%;
  z-index: -1;
}
@keyframes umangFall {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  70% {
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ================= FALL EFFECT ================= */

@keyframes umangFall {
  0% {
    opacity: 0;
    transform: translateY(-80px);
  }
  70% {
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= GOLD SHIMMER ================= */

@keyframes shimmer {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* ================= YEAR ================= */

.hero-year {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
  z-index: 4;
}


/* ================= YEAR ================= */

.hero-year {
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
  z-index: 4;
}


/* =========================
   CENTER VISUAL BLOCK
   ========================= */


.hero-visual {
  position: relative;
  width: 360px;
  height: 360px;
  margin-top: -10px;
  margin-bottom: 0;            /* 🔥 remove extra gap */
  z-index: 4;
}
/* CENTER MANDALA (BIG & VISIBLE) */
.hero-mandala {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0.28;              /* clearly visible */
  z-index: 1;
  animation: slowRotate 180s linear infinite;
}

/* DANCER */
.hero-dancer {
  position: relative;
  width: 100%;
  z-index: 2;
  animation: dancerFloat 6s ease-in-out infinite;
}
.dancer {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}
.hero-title:hover {
  text-shadow:
    0 2px 0 #f5c542,
    0 0 8px rgba(245, 197, 66, 0.4);
}


/* ================= COUNTDOWN ================= */

.countdown-container {
  display: flex;
  gap: 16px;
  margin-top: -10px;           /* 🔥 pull UP */
  z-index: 10;
}

/* countdown cards */
.timer-card {
  background: rgba(255, 255, 255, 0.65);
  border: 1.5px solid #f4c430;
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 90px;
  text-align: center;
}

.timer-value {
  font-size: 2.1rem;
  font-weight: 700;
  color: #f4c430;
  font-family: 'Cinzel', serif;
}

.timer-label {
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7a0c0c;
}



/* Base mandala */
.mandala {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

/* =========================
   CENTER BIG MANDALA
   ========================= */
.hero-mandala {
  position: absolute;
  width: 490px;              /* BIG */
  height: 490px;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  opacity: 0.50;             /* visible but soft */
  z-index: 1;                /* behind dancer */
  animation: slowRotate 160s linear infinite;
}

/* =========================
   TOP LEFT
   ========================= */
.mandala-top-left {
  width: 360px;
  top: 320px;                /* below header */
  left: -140px;              /* overlap inward */
  opacity: 0.70;
}

/* =========================
   TOP RIGHT
   ========================= */
.mandala-top-right {
  width: 360px;
  top: 90px;
  right: -140px;
  opacity: 0.70;
  transform: rotate(180deg);
} 

/* =========================
   BOTTOM LEFT
   ========================= */
.mandala-bottom-left {
  width: 380px;
  bottom: -180px;
  left: -160px;
  opacity: 0.70;
}

/* =========================
   BOTTOM RIGHT
   ========================= */
.mandala-bottom-right {
  width: 380px;
  bottom: -180px;
  right: -160px;
  opacity: 0.70;
  transform: rotate(180deg);
}

/* =========================
   ROTATION (VERY SLOW)
   ========================= */
@keyframes slowRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}
/* ================= MEMORIES ================= */

.memories-section {
  background: #fbf1de;
  padding: 120px 6%;
}

.memory-year {
  margin-bottom: 80px;
}

/* YEAR TITLE */
.memory-year-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #7a0c0c;
  margin-bottom: 25px;
  position: relative;
}

.memory-year-title::after {
  content: "";
  width: 90px;
  height: 4px;
  background: #f4c430;
  display: block;
  margin-top: 10px;
  border-radius: 4px;
}

/* GRID */
.memory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

/* CARD */
.memory-card {
  position: relative;
  height: 230px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* HOVER EFFECT */
.memory-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.memory-card:hover img {
  transform: scale(1.15);
}

/* OVERLAY */
.memory-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.25),
    transparent
  );
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.memory-card:hover .memory-overlay {
  opacity: 1;
}

.memory-overlay span {
  color: #623902;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ================= SCROLL ANIMATION ================= */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .memory-year-title {
    font-size: 2.1rem;
    text-align: center;
  }

  .memory-year-title::after {
    margin: 10px auto 0;
  }

  .memory-card {
    height: 200px;
  }
}
/* ================= MEMORIES 2025 – REELS ================= */

/* ================= MEMORY REELS SECTION ================= */

.memories-reels-section {
  background: #fbf1de;
  padding: 90px 6% 110px;
  overflow: hidden;
}

/* ===== SECTION TITLE ALREADY EXISTS ===== */

/* ================= EACH EVENT BLOCK ================= */

/* ===== REEL HEADING (CENTERED & BEAUTIFUL) ===== */

.memory-reel-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: #7a0c0c;
  text-align: center;
  margin: 50px 0 22px;
  letter-spacing: 1.5px;
  position: relative;
  justify-content: center;
}

/* hide the emoji icon WITHOUT touching JSX */
.memory-reel-title span {
  display: none;
}

/* elegant golden underline */
.memory-reel-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    #f4c430,
    #ffd86b,
    #f4c430
  );
  border-radius: 4px;
  opacity: 0.9;
}


/* ================= MOVING STRIP ================= */

/* ===== REEL TRACK ===== */
.memory-reel-track {
  display: flex;
  gap: 18px;
  width: max-content;

  animation: reelMove 30s linear infinite;
  animation-play-state: paused;   /* ⛔ STOP by default */
}

/* ▶️ START ONLY ON HOVER */
.memory-reel:hover .memory-reel-track {
  animation-play-state: running;
}

/* ===== ANIMATION ===== */
@keyframes reelMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


/* ================= PHOTO CARD ================= */
.memory-reel {
  position: relative;
}

/* soft spotlight */
.memory-reel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    rgba(244,196,48,0.18),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* glow only on hover */
.memory-reel:hover::after {
  opacity: 1;
}

.memory-reel-item {
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;

  background: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.memory-reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* hover lift */
.memory-reel-item:hover {
  transform: scale(1.06);
  box-shadow: 0 28px 60px rgba(0,0,0,0.28);
}

/* ================= AUTO SLIDE ================= */

@keyframes reelMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .memory-reel-item {
    width: 180px;
    height: 130px;
  }

  .memory-reel-track {
    animation-duration: 24s;
  }
}

/* ================= LIGHTBOX ================= */

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#lightbox.show {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 14px;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
  .memory-reel-item {
    min-width: 180px;
    height: 130px;
  }

  .memory-reel-title {
    font-size: 1.5rem;
  }
}
.teaser-section {
  padding: 120px 6%;
  background: linear-gradient(
    to bottom,
    #fbf1de,
    #f6ead2
  );
  text-align: center;
}

.teaser-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.teaser-video {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}
.poster-section {
  padding: 100px 6% 120px;
  background: #fbf1de;
  text-align: center;
}

.poster-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.poster-image {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.poster-image:hover {
  transform: scale(1.05);
  box-shadow: 0 35px 80px rgba(0,0,0,0.35);
}
.gs-section {
  padding: 140px 6%;
  background: #fbf1de;
  text-align: center;
}

/* wrapper */
.gs-wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 90px;
}

/* SIDE HOLDERS */
.gs-side {
  width: 40%;
  display: flex;
  justify-content: center;
}

/* TRUE CENTER */
.gs-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
}

/* MANDALA */
.gs-symbol {
  width: 160px;
  opacity: 0.35;
  animation: slowRotate 120s linear infinite;
}

/* YEAR TEXT */
.gs-year {
  display: block;
  margin-top: 10px;
  font-family: 'Cinzel', serif;
  letter-spacing: 4px;
  color: #7a0c0c;
  font-size: 1rem;
}

/* GS CARD */
.gs-card {
  width: 260px;
  animation: fadeUp 0.8s ease forwards;
}

.gs-card.left {
  animation-delay: 0.2s;
}

.gs-card.right {
  animation-delay: 0.4s;
}

/* PHOTO */
.gs-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #f4c430, #7a0c0c);
}

.gs-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

/* TEXT */
.gs-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #7a0c0c;
  margin-bottom: 6px;
}

.gs-role {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: #7a0c0c;
  opacity: 0.8;
  text-transform: uppercase;
}

/* CENTER */
.gs-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.gs-symbol {
  width: 180px;
  opacity: 0.4;
  animation: slowRotate 120s linear infinite;
}

.gs-year {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: #7a0c0c;
}

/* MOBILE */
@media (max-width: 768px) {
  .gs-wrapper {
    gap: 60px;
  }

  .gs-center {
    order: -1;
  }
}
