/* ============================================
   ACTIVITIES PAGES — activities.css
   Shared by: annualday.html, gk.html, scienceexhibition.html
============================================ */

.act-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.act-reveal.act-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SHARED LABEL ── */
.act-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #a87442;
  background: #fdf0e0;
  border: 1px solid #f0d9b8;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.act-label-light {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f7e0b8;
  background: rgba(247,189,96,0.1);
  border: 1px solid rgba(247,189,96,0.22);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.act-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.act-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 8, 2, 0.92) 0%,
    rgba(43, 20, 8, 0.7) 50%,
    rgba(90, 50, 15, 0.3) 100%
  );
}

.act-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 80px;
  max-width: 860px;
}

.act-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(247,189,96,0.14);
  border: 1px solid rgba(247,189,96,0.3);
  color: #f7bd60;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.act-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.act-hero-content h1 em {
  font-style: italic;
  color: #f7bd60;
}

.act-hero-content p {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.act-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.act-breadcrumb a { color: #f7bd60; text-decoration: none; }
.act-breadcrumb span { opacity: 0.4; }

/* Hero meta strip */
.act-hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.act-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.act-meta-item i { color: #f7bd60; font-size: 0.9rem; }
.act-meta-item strong { color: #fff; }
/* ── SPLIT HERO (image right, fades left) ── */
.act-hero-split {
  background: linear-gradient(135deg, #1a0804 0%, #3d2010 50%, #5c3215 100%) !important;
  position: relative;
}

.act-hero-split {
  background: linear-gradient(135deg, #1a0804 0%, #3d2010 50%, #5c3215 100%) !important;
}

.act-hero-img-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.2) 20%,
    rgba(0,0,0,0.6) 40%,
    black 65%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.2) 20%,
    rgba(0,0,0,0.6) 40%,
    black 65%,
    black 100%
  );
  z-index: 1;
}

.act-hero-split .act-hero-overlay {
  background: none;
  z-index: 2;
}

.act-hero-split .act-hero-content {
  z-index: 3;
}

/* ══════════════════════════════
   ABOUT SECTION
══════════════════════════════ */
.act-about {
  padding: 80px 80px;
  background: #fdf8f3;
}

.act-about-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.act-about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: #4b2e1e;
  line-height: 1.3;
  margin-bottom: 18px;
}

.act-about-text p {
  font-size: 0.95rem;
  color: #6b4226;
  line-height: 1.88;
  margin-bottom: 16px;
}

.act-about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(75,46,30,0.2);
}
.act-about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.act-about-img:hover img { transform: scale(1.04); }

.act-about-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(43,20,8,0.82);
  border: 1px solid rgba(247,189,96,0.25);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.act-about-img-badge i { color: #f7bd60; font-size: 1rem; }

/* Highlights list */
.act-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.act-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #6b4226;
  line-height: 1.65;
}
.act-highlights li i {
  color: #c49a6c;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ══════════════════════════════
   HIGHLIGHTS STRIP (dark)
══════════════════════════════ */
.act-strip {
  background: linear-gradient(135deg, #2d1608, #6b3a12);
  padding: 60px 80px;
}

.act-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.act-strip-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 42px;
}

.act-strip-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.act-strip-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.28s ease;
  backdrop-filter: blur(6px);
}
.act-strip-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-5px);
}
.act-strip-card i {
  font-size: 1.8rem;
  color: #f7bd60;
  display: block;
  margin-bottom: 12px;
}
.act-strip-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.act-strip-card p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.6;
}

/* ══════════════════════════════
   PHOTO GALLERY
══════════════════════════════ */
.act-gallery {
  padding: 80px 80px;
  background: #fff;
}

.act-gallery-header {
  max-width: 1140px;
  margin: 0 auto 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.act-gallery-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #4b2e1e;
}

.act-gallery-header p {
  font-size: 0.9rem;
  color: #7a5c3a;
  max-width: 360px;
  line-height: 1.6;
  text-align: right;
}

/* Masonry-style grid */
.act-photo-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.act-photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

/* Span variations for visual interest */
.act-photo-item.wide  { grid-column: span 2; }
.act-photo-item.tall  { grid-row: span 2; }
.act-photo-item.big   { grid-column: span 2; grid-row: span 2; }

.act-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.act-photo-item:hover img { transform: scale(1.07); }

.act-photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,8,2,0.78), transparent);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 28px 14px 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}
.act-photo-item:hover .act-photo-caption {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════
   MOMENTS / QUOTES SECTION
══════════════════════════════ */
.act-moments {
  padding: 80px 80px;
  background: #fdf8f3;
}

.act-moments-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.act-moments-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #4b2e1e;
  margin-bottom: 40px;
}

.act-moments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.act-moment-card {
  background: #fff;
  border: 1px solid #f0e4d4;
  border-radius: 16px;
  padding: 30px 26px;
  text-align: left;
  transition: all 0.28s ease;
  position: relative;
  overflow: hidden;
}
.act-moment-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f7bd60, #c49a6c);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.act-moment-card:hover::after { transform: scaleX(1); }
.act-moment-card:hover {
  box-shadow: 0 10px 32px rgba(196,154,108,0.18);
  transform: translateY(-4px);
}

.act-mc-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #f7bd60, #c49a6c);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(196,154,108,0.3);
}
.act-mc-icon i { font-size: 1.05rem; color: #4b2e1e; }

.act-moment-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: #4b2e1e;
  margin-bottom: 8px;
}
.act-moment-card p {
  font-size: 0.86rem;
  color: #7a5c3a;
  line-height: 1.7;
}

/* ══════════════════════════════
   CTA
══════════════════════════════ */
.act-cta {
  padding: 80px 80px;
  background: linear-gradient(135deg, #4b2e1e, #7a4a20);
  text-align: center;
}

.act-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.act-cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: #fff;
  margin-bottom: 14px;
}
.act-cta-inner p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 32px;
}

.act-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.act-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f7bd60, #c49a6c);
  color: #4b2e1e;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(247,189,96,0.3);
  transition: all 0.3s ease;
}
.act-btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(247,189,96,0.4); }

.act-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.act-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-3px);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 960px) {
  .act-hero-content { padding: 50px 40px; }
  .act-hero-content h1 { font-size: 2.8rem; }
  .act-about { padding: 60px 40px; }
  .act-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .act-about-img img { height: 320px; }
  .act-strip { padding: 56px 40px; }
  .act-strip-cards { grid-template-columns: repeat(2, 1fr); }
  .act-gallery { padding: 60px 40px; }
  .act-photo-grid { grid-auto-rows: 180px; }
  .act-moments { padding: 60px 40px; }
  .act-moments-grid { grid-template-columns: 1fr 1fr; }
  .act-cta { padding: 60px 40px; }
}

@media (max-width: 640px) {
  .act-hero { min-height: 420px; }
  .act-hero-content { padding: 40px 24px; }
  .act-hero-content h1 { font-size: 2.1rem; }
  .act-about { padding: 50px 24px; }
  .act-strip { padding: 50px 24px; }
  .act-strip-cards { grid-template-columns: 1fr 1fr; }
  .act-gallery { padding: 50px 24px; }
  .act-gallery-header { flex-direction: column; align-items: flex-start; }
  .act-gallery-header p { text-align: left; }
  .act-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .act-photo-item.big { grid-column: span 2; grid-row: span 1; }
  .act-photo-item.wide { grid-column: span 2; }
  .act-photo-item.tall { grid-row: span 1; }
  .act-moments { padding: 50px 24px; }
  .act-moments-grid { grid-template-columns: 1fr; }
  .act-cta { padding: 50px 24px; }
}

/* ══ LIGHTBOX ══ */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,4,2,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  animation: lbFadeIn 0.25s ease;
}
.lb-overlay.lb-open { display: flex; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img-wrap img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: block;
  transition: opacity 0.2s ease;
}

.lb-caption {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  margin-top: 14px;
  text-align: center;
  letter-spacing: 0.3px;
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10000;
}
.lb-close:hover { background: rgba(255,255,255,0.22); transform: scale(1.1); }

.lb-arrow {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
}
.lb-arrow:hover { background: rgba(247,189,96,0.2); border-color: #f7bd60; color: #f7bd60; }

/* Make grid items show pointer */
.act-photo-item { cursor: pointer; }


/* ══ ADD TO activities.css ══ */

/* Split hero — image right, fades left */
.act-hero-split {
  background: linear-gradient(135deg, #1a0804 0%, #3d2010 50%, #5c3215 100%) !important;
}

.act-hero-img-right {
  position: absolute;
  top: 0; right: 0;
  width: 60%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.2) 20%,
    rgba(0,0,0,0.6) 40%,
    black 65%,
    black 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(0,0,0,0.2) 20%,
    rgba(0,0,0,0.6) 40%,
    black 65%,
    black 100%
  );
  z-index: 1;
}

.act-hero-split .act-hero-overlay { background: none; z-index: 2; }
.act-hero-split .act-hero-content { z-index: 3; }

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,4,2,0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  animation: lbFadeIn 0.25s ease;
}
.lb-overlay.lb-open { display: flex; }
@keyframes lbFadeIn { from { opacity:0; } to { opacity:1; } }
.lb-img-wrap { position: relative; max-width: 90vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; }
.lb-img-wrap img { max-width: 90vw; max-height: 80vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); display: block; }
.lb-caption { color: rgba(255,255,255,0.75); font-size: 0.88rem; margin-top: 14px; text-align: center; }
.lb-close { position: fixed; top: 20px; right: 24px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color:#fff; width:44px; height:44px; border-radius:50%; font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.2s ease; z-index:10000; }
.lb-close:hover { background: rgba(255,255,255,0.22); transform: scale(1.1); }
.lb-arrow { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color:#fff; width:50px; height:50px; border-radius:50%; font-size:1rem; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.22s ease; }
.lb-arrow:hover { background: rgba(247,189,96,0.2); border-color: #f7bd60; color: #f7bd60; }
.act-photo-item { cursor: pointer; }

/* Convocation Quote */
.conv-quote-section {
  padding: 70px 80px;
  background: #fff;
}
.conv-quote-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.conv-quote-mark {
  font-size: 3rem;
  color: #f0d9b8;
  display: block;
  margin-bottom: 20px;
}
.conv-quote-inner blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  color: #4b2e1e;
  line-height: 1.8;
  margin: 0 0 30px;
  border: none;
  padding: 0;
  background: none;
}
.conv-quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.conv-quote-line {
  width: 40px; height: 2px;
  background: #c49a6c;
  margin-bottom: 10px;
}
.conv-quote-author span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #a87442;
}
.conv-quote-author small {
  font-size: 0.8rem;
  color: #9a7a5a;
}

@media (max-width: 768px) {
  .conv-quote-section { padding: 50px 24px; }
  .conv-quote-inner blockquote { font-size: 1.1rem; }
}