﻿/* ==========================================================================
   MARKZMANIA ANNIVERSARY CELEBRATIONS - MINIMALIST & PROFESSIONAL STYLES
   ========================================================================== */

:root {
  --anniv-red: #fc1817;
  --anniv-red-hover: #d90f0e;
  --anniv-red-light: #fff1f1;
  --anniv-dark: #0f172a;
  --anniv-slate: #1e293b;
  --anniv-muted: #64748b;
  --anniv-border: #e2e8f0;
  --anniv-bg-light: #f8fafc;
  --anniv-card-bg: #ffffff;
  --anniv-radius: 16px;
  --anniv-radius-sm: 10px;
  --anniv-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --anniv-shadow-hover: 0 16px 32px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

/* BASE CONTAINER & SECTION */
.anniv-section {
  padding: 70px 0;
  position: relative;
  background: #ffffff;
}

.anniv-section-alt {
  background: var(--anniv-bg-light);
  border-top: 1px solid var(--anniv-border);
  border-bottom: 1px solid var(--anniv-border);
}

.anniv-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* MILESTONE SWITCHER BAR - GENEROUS PADDING TOP & BOTTOM */
.anniv-switcher-wrap {
  padding: 34px 0 34px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--anniv-border);
}

.anniv-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 6px 10px;
  background: var(--anniv-bg-light);
  border: 1px solid var(--anniv-border);
  border-radius: 50px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.anniv-switch-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 0.90rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  color: var(--anniv-slate);
  line-height: 1.4;
  white-space: nowrap;
}

.anniv-switch-link:hover {
  color: var(--anniv-red);
  background: #ffffff;
  transform: translateY(-1px);
}

.anniv-switch-link.active {
  background: var(--anniv-red);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(252, 24, 23, 0.3);
}

/* SECTION HEADERS */
.anniv-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 45px auto;
}

.anniv-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--anniv-red-light);
  color: var(--anniv-red);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
  border: 1px solid rgba(252, 24, 23, 0.15);
}

.anniv-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--anniv-dark);
  line-height: 1.25;
  margin-bottom: 16px;
  word-wrap: break-word;
}

.anniv-title span {
  color: var(--anniv-red);
}

.anniv-desc {
  font-size: 1.05rem;
  color: var(--anniv-muted);
  line-height: 1.65;
}

/* OVERVIEW STORY GRID */
.anniv-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.anniv-story-text h3 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--anniv-dark);
  line-height: 1.35;
  margin-bottom: 18px;
}

.anniv-story-text p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 18px;
}

.anniv-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.anniv-metric-card {
  background: #ffffff;
  border: 1px solid var(--anniv-border);
  border-radius: var(--anniv-radius-sm);
  padding: 22px 18px;
  box-shadow: var(--anniv-shadow);
  text-align: center;
  transition: transform 0.25s ease;
}

.anniv-metric-card:hover {
  transform: translateY(-3px);
  border-color: var(--anniv-red);
}

.anniv-metric-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--anniv-red);
  line-height: 1;
  margin-bottom: 6px;
}

.anniv-metric-lbl {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--anniv-dark);
  margin-bottom: 4px;
}

.anniv-metric-sub {
  font-size: 0.78rem;
  color: var(--anniv-muted);
}

/* FEATURED MOMENTS SLIDER / CAROUSEL */
.anniv-slider-section {
  padding: 70px 0 80px 0;
  background: var(--anniv-bg-light);
  border-top: 1px solid var(--anniv-border);
  border-bottom: 1px solid var(--anniv-border);
  position: relative;
}

.anniv-slider-container {
  position: relative;
  overflow: hidden;
}

.anniv-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.anniv-slider-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--anniv-muted);
}

.anniv-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.anniv-slider-nav {
  display: flex;
  gap: 10px;
}

.anniv-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--anniv-border);
  background: #ffffff;
  color: var(--anniv-slate);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
}

.anniv-nav-btn:hover {
  background: var(--anniv-red);
  color: #ffffff;
  border-color: var(--anniv-red);
  transform: scale(1.05);
}

.anniv-slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 28px 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.anniv-slider-track::-webkit-scrollbar {
  height: 6px;
}

.anniv-slider-track::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.anniv-slider-track::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.anniv-slider-item {
  flex: 0 0 calc(33.333% - 16px);
  scroll-snap-align: start;
  border-radius: var(--anniv-radius);
  overflow: hidden;
  border: 1px solid var(--anniv-border);
  box-shadow: var(--anniv-shadow);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  cursor: pointer;
}

.anniv-slider-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--anniv-shadow-hover);
  border-color: rgba(252, 24, 23, 0.3);
}

.anniv-slider-img-wrap {
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #f1f5f9;
}

.anniv-slider-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.anniv-slider-item:hover .anniv-slider-img-wrap img {
  transform: scale(1.05);
}

.anniv-slider-caption {
  padding: 20px 22px 26px 22px;
  /* Generous bottom padding! */
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anniv-slider-caption h4 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--anniv-dark);
  margin: 0;
  line-height: 1.35;
}

.anniv-slider-caption p {
  font-size: 0.88rem;
  color: var(--anniv-muted);
  line-height: 1.55;
  margin: 0;
}

/* GALLERY FILTER TABS */
.anniv-filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.anniv-filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--anniv-border);
  background: #ffffff;
  color: var(--anniv-slate);
  cursor: pointer;
  transition: all 0.2s ease;
}

.anniv-filter-btn:hover {
  border-color: var(--anniv-red);
  color: var(--anniv-red);
  transform: translateY(-2px);
}

.anniv-filter-btn.active {
  background: var(--anniv-red);
  color: #ffffff;
  border-color: var(--anniv-red);
  box-shadow: 0 4px 14px rgba(252, 24, 23, 0.28);
}

/* PHOTO MASONRY GRID */
.anniv-masonry-grid {
  column-count: 3;
  column-gap: 22px;
}

.anniv-photo-card {
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--anniv-border);
  box-shadow: var(--anniv-shadow);
  background: #ffffff;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.anniv-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--anniv-shadow-hover);
}

.anniv-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.anniv-photo-card:hover img {
  transform: scale(1.025);
}

.anniv-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #ffffff;
}

.anniv-photo-card:hover .anniv-photo-overlay {
  opacity: 1;
}

.anniv-overlay-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.anniv-overlay-info span {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.anniv-overlay-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* CULTURE & SPIRIT BANNER */
.anniv-culture-box {
  background: #ffffff;
  border: 1px solid var(--anniv-border);
  border-radius: var(--anniv-radius);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--anniv-shadow);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.anniv-culture-box::before {
  content: '“';
  font-family: serif;
  font-size: 6rem;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 30px;
  color: rgba(252, 24, 23, 0.12);
}

.anniv-culture-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--anniv-slate);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.anniv-culture-author {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--anniv-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* NEXT MILESTONE PROMO CARD */
.anniv-next-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--anniv-radius);
  padding: 45px 40px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.anniv-next-content h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.anniv-next-content p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

.anniv-next-action {
  text-align: right;
}

.anniv-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--anniv-dark) !important;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.anniv-btn-white:hover {
  background: var(--anniv-red);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(252, 24, 23, 0.35);
}

/* LIGHTBOX MODAL */
.anniv-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.anniv-lightbox.active {
  display: flex;
  opacity: 1;
}

.anniv-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anniv-lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.anniv-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  color: #ffffff;
  font-size: 0.92rem;
}

.anniv-lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.anniv-lightbox-close:hover {
  color: var(--anniv-red);
}

.anniv-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.anniv-lightbox-nav:hover {
  background: var(--anniv-red);
}

.anniv-lightbox-prev {
  left: 20px;
}

.anniv-lightbox-next {
  right: 20px;
}

/* RESPONSIVE DESIGN - MOBILE FRIENDLY PERFECTION */
@media (max-width: 1024px) {
  .anniv-story-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .anniv-slider-item {
    flex: 0 0 calc(50% - 12px);
  }

  .anniv-masonry-grid {
    column-count: 2;
  }

  .anniv-next-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .anniv-next-action {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .anniv-section {
    padding: 50px 0;
  }

  .anniv-slider-section {
    padding: 50px 0 60px 0;
  }

  .anniv-container {
    padding: 0 18px;
  }

  .anniv-title {
    font-size: 1.85rem;
    word-break: break-word;
  }

  .anniv-slider-item {
    flex: 0 0 85%;
  }

  .anniv-slider-img-wrap {
    height: 230px;
  }
}

@media (max-width: 640px) {
  .anniv-switcher-wrap {
    padding: 24px 0 24px 0;
  }

  .anniv-switcher {
    flex-direction: column;
    width: 100%;
    border-radius: 18px;
    padding: 12px;
    gap: 10px;
  }

  .anniv-switch-link {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.92rem;
  }

  .anniv-slider-item {
    flex: 0 0 88%;
  }

  .anniv-slider-caption {
    padding: 16px 18px 22px 18px;
  }

  .anniv-slider-caption h4 {
    font-size: 1.05rem;
  }

  .anniv-filter-bar {
    gap: 8px;
    margin-bottom: 30px;
  }

  .anniv-filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .anniv-masonry-grid {
    column-count: 1;
  }

  .anniv-culture-box {
    padding: 32px 20px;
  }

  .anniv-culture-text {
    font-size: 1.05rem;
  }

  .anniv-next-box {
    padding: 30px 20px;
  }
}