/* ===========================================================================
   Corporate Events Page Styles (High Fidelity & Responsive)
   =========================================================================== */

.corporate-events-page {
  background: #FFFFFF;
  width: 100%;
}

/* ---- Common Event Section Styles ---- */
.events-section {
  padding-block: 40px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  width: 100%;
}
.events-section:first-of-type {
  border-top: none;
}

.events-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #00A896;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.events-eyebrow--center {
  margin-inline: auto;
}

.events-heading {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: #0B192C;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.events-line {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #00B4A0 0%, #38BDF8 100%);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.events-desc {
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.7;
  color: #526071;
  margin-bottom: 1.15rem;
}

/* ---- Quote Component ---- */
.events-quote {
  background: #F8FAFC;
  border-left: 4px solid #F5B82E;
  border-radius: 0 16px 16px 0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(11, 25, 44, 0.02);
}
.events-quote-mark {
  font-size: 2.25rem;
  line-height: 1;
  color: #F5B82E;
  font-family: Georgia, serif;
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  opacity: 0.5;
}
.events-quote-text {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  font-weight: 700;
  color: #0B192C;
  line-height: 1.45;
  position: relative;
  z-index: 1;
  padding-left: 1.25rem;
  margin: 0;
}

/* ===========================================================================
   1. Memories Section (3 Fan Cards Stack)
   =========================================================================== */
.memories-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .memories-wrapper {
    grid-template-columns: 1.1fr 1fr;
  }
}
.memories-wrapper > * { min-width: 0; }

.memories-content {
  text-align: left;
}

.memories-images {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-block: 20px;
}
.memories-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeLeft 15s linear infinite;
}
.memories-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.memories-card {
  width: clamp(260px, 60vw, 380px);
  height: clamp(320px, 50vw, 460px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(11, 25, 44, 0.14);
  background: #0B192C; /* Reverted to dark background, NO white border */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.memories-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.memories-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(11, 25, 44, 0.22);
}


/* ===========================================================================
   2. 5th Anniversary Section
   =========================================================================== */
.anniversary-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .anniversary-wrapper {
    grid-template-columns: 1.15fr 1fr;
  }
}
.anniversary-wrapper > * { min-width: 0; }

.anniversary-image-block {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(11, 25, 44, 0.16);
  background: #0B192C;
}
.anniversary-image-block img {
  width: 100%;
  height: auto;
  min-height: 360px;
  display: block;
  object-fit: cover;
}
.anniversary-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0) 35%, rgba(11, 25, 44, 0.92) 100%);
  pointer-events: none;
}
.anniversary-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1.25rem, 3.5vw, 2.25rem);
  color: #FFFFFF;
  z-index: 2;
  text-align: left;
}
.anniversary-caption-title {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.anniversary-caption-desc {
  font-size: 0.86rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.anniversary-content {
  text-align: left;
}

/* ===========================================================================
   3. Moments of Celebration Gallery (Bento Mosaic)
   =========================================================================== */
.celebrations-header {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 32px;
}
.celebrations-subtitle {
  font-size: clamp(0.92rem, 1.2vw, 1.02rem);
  color: #526071;
  line-height: 1.65;
  margin-inline: auto;
}

.celebrations-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.celebrations-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .celebrations-row--1 {
    grid-template-columns: 1.4fr 1fr;
  }
  .celebrations-row--2 {
    grid-template-columns: 1.2fr 0.85fr 1fr;
  }
}

.cel-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 25, 44, 0.08);
  background: #0B192C;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.cel-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 25, 44, 0.16);
}
.cel-img img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.cel-img:hover img {
  transform: scale(1.03);
}

/* ===========================================================================
   4. Sports & Turf Events Section
   =========================================================================== */
.sports-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .sports-wrapper {
    grid-template-columns: 1fr 1.15fr;
  }
}
.sports-wrapper > * { min-width: 0; }

.sports-content {
  text-align: left;
}

.sports-image-block {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(11, 25, 44, 0.16);
  background: #0B192C;
}
.sports-image-block img {
  width: 100%;
  height: auto;
  min-height: 320px;
  display: block;
  object-fit: cover;
}
.sports-image-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 25, 44, 0) 65%, rgba(11, 25, 44, 0.5) 100%);
  pointer-events: none;
}

/* ===========================================================================
   5. Lightbox Modal
   =========================================================================== */
.events-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.events-lightbox.is-active {
  opacity: 1;
  visibility: visible;
}

.events-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 25, 44, 0.75);
  cursor: pointer;
}

.events-lightbox__content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.events-lightbox.is-active .events-lightbox__content {
  transform: scale(1);
}

.events-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.events-lightbox__close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.events-lightbox__close:hover {
  opacity: 1;
  transform: scale(1.1);
}
@media (min-width: 768px) {
  .events-lightbox__close {
    right: -40px;
  }
}
