/* ==========================================================================
   DMD (Didascou Media Digital) — Galeri Multimedia CSS (Foto & Video)
   File Terisolasi: css/galeri.css (DEC-006 & DEC-013 Compliant)
   Aestetik: Deep Royal Purple (#1A0231 ke #3B0764), Bright Gold (#FFDD00),
   Surface Light (#F8FAFC), Card Elevation & Smooth Micro-Animations.
   ========================================================================== */

:root {
  --dmd-purple-dark: #1A0231;
  --dmd-purple-brand: #3B0764;
  --dmd-purple-medium: #6B21A8;
  --dmd-purple-soft: #F3E8FF;
  --dmd-purple-border: #E9D5FF;
  --dmd-yellow-gold: #FFDD00;
  --dmd-yellow-hover: #E6C700;
  --dmd-bg-portal: #F8FAFC;
  --dmd-text-main: #0F172A;
  --dmd-text-muted: #64748B;
  --dmd-text-light: #94A3B8;
  --dmd-card-bg: #FFFFFF;
  --dmd-card-border: #E2E8F0;
  --dmd-card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --dmd-card-hover: 0 16px 32px -4px rgba(59, 7, 100, 0.12), 0 6px 12px -2px rgba(59, 7, 100, 0.06);
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior-x: none;
}

body {
  font-family: var(--font-base);
  background-color: var(--dmd-bg-portal);
  color: var(--dmd-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  overscroll-behavior-x: none;
}

/* ─── 1. Agency Navbar ──────────────────────────────────────────────────────── */
.agency-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 2, 49, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.navbar-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-link img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--dmd-yellow-gold);
}

.nav-link.active {
  color: var(--dmd-yellow-gold);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--dmd-yellow-gold);
  border-radius: 4px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  outline: none;
}

.dropdown-arrow {
  font-size: 0.75rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #230444;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 8px;
  min-width: 200px;
  z-index: 1001;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
  animation: dropFadeIn 0.2s ease forwards;
}

@keyframes dropFadeIn {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.nav-dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #E2E8F0;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-dropdown-item:hover {
  background: rgba(255, 221, 0, 0.15);
  color: var(--dmd-yellow-gold);
}

.btn-cta-contact {
  background: var(--dmd-yellow-gold);
  color: var(--dmd-purple-dark);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 221, 0, 0.3);
}

.btn-cta-contact:hover {
  background: var(--dmd-yellow-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(255, 221, 0, 0.45);
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.nav-mobile-cta {
  display: none;
}

/* ─── 2. Hero Galeri Section ────────────────────────────────────────────────── */
.gallery-hero {
  background: linear-gradient(135deg, #1A0231 0%, #3B0764 60%, #4C0B82 100%);
  position: relative;
  padding: 56px 24px 64px 24px;
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.gallery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.gallery-hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.gallery-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 221, 0, 0.4);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dmd-yellow-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
  color: #FFFFFF;
}

.gallery-title span {
  color: var(--dmd-yellow-gold);
}

.gallery-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 680px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

/* ─── 3. Tab Switcher (Foto vs Video) ───────────────────────────────────────── */
.gallery-nav-tabs {
  display: inline-flex;
  background: rgba(15, 2, 28, 0.7);
  padding: 6px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  margin-bottom: 8px;
}

.gallery-tab-btn {
  background: transparent;
  border: none;
  color: #E2E8F0;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-tab-btn .tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 0.75rem;
  padding: 2px 9px;
  border-radius: 20px;
  font-weight: 700;
  transition: all 0.2s;
}

.gallery-tab-btn:hover {
  color: #FFFFFF;
}

.gallery-tab-btn.active {
  background: var(--dmd-yellow-gold);
  color: var(--dmd-purple-dark);
  box-shadow: 0 6px 16px rgba(255, 221, 0, 0.35);
}

.gallery-tab-btn.active .tab-badge {
  background: var(--dmd-purple-dark);
  color: var(--dmd-yellow-gold);
}

/* Divider Wave */
.gallery-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #3B0764;
}

.gallery-wave-divider svg {
  display: block;
  width: 100%;
  height: 48px;
}

/* ─── 4. Main Gallery Body ──────────────────────────────────────────────────── */
.gallery-main-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px 80px 24px;
}

/* Filter Strip & Search Row */
.gallery-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-filter-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-filter-strip::-webkit-scrollbar {
  display: none;
}

.cat-pill-btn {
  background: #FFFFFF;
  border: 1px solid var(--dmd-card-border);
  color: var(--dmd-text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill-btn:hover {
  background: #F1F5F9;
  color: var(--dmd-purple-brand);
  border-color: #CBD5E1;
}

.cat-pill-btn.active {
  background: var(--dmd-purple-brand);
  color: #FFFFFF;
  border-color: var(--dmd-purple-brand);
  box-shadow: 0 4px 12px rgba(59, 7, 100, 0.2);
}

.gallery-search-box {
  position: relative;
  min-width: 260px;
}

.gallery-search-box input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  font-size: 0.88rem;
  border: 1px solid var(--dmd-card-border);
  border-radius: 50px;
  background: #FFFFFF;
  color: var(--dmd-text-main);
  outline: none;
  transition: all 0.2s ease;
}

.gallery-search-box input:focus {
  border-color: var(--dmd-purple-medium);
  box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.15);
}

.gallery-search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dmd-text-light);
  font-size: 0.88rem;
  pointer-events: none;
}

/* ─── 5. Grid Galeri Foto ───────────────────────────────────────────────────── */
.gallery-tab-pane {
  display: none;
}

.gallery-tab-pane.active {
  display: block;
  animation: fadeInPane 0.3s ease;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.photo-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.photo-card {
  background: var(--dmd-card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--dmd-card-border);
  box-shadow: var(--dmd-card-shadow);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dmd-card-hover);
  border-color: #D8B4FE;
}

.photo-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #E2E8F0;
}

.photo-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card:hover .photo-thumb-wrapper img {
  transform: scale(1.06);
}

.photo-badge-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 2, 49, 0.85);
  backdrop-filter: blur(4px);
  color: var(--dmd-yellow-gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.photo-zoom-indicator {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--dmd-purple-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.25s ease;
}

.photo-card:hover .photo-zoom-indicator {
  opacity: 1;
  transform: scale(1);
}

.photo-meta-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.photo-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dmd-text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--dmd-text-muted);
  border-top: 1px solid #F1F5F9;
  padding-top: 10px;
  margin-top: 8px;
}

.photo-author {
  font-weight: 600;
  color: var(--dmd-purple-brand);
}

/* ─── 6. Grid Galeri Video ──────────────────────────────────────────────────── */
.video-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.video-card {
  background: var(--dmd-card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--dmd-card-border);
  box-shadow: var(--dmd-card-shadow);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dmd-card-hover);
  border-color: #D8B4FE;
}

.video-thumb-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0F172A;
}

.video-thumb-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s;
}

.video-card:hover .video-thumb-wrapper img {
  transform: scale(1.05);
  opacity: 0.9;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--dmd-yellow-gold);
  color: var(--dmd-purple-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(255, 221, 0, 0.5);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.video-play-btn svg {
  margin-left: 3px;
  fill: currentColor;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #FFFFFF;
  color: #DC2626;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.video-source-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.video-duration-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.video-meta-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dmd-text-main);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--dmd-text-muted);
  border-top: 1px solid #F1F5F9;
  padding-top: 10px;
  margin-top: 10px;
}

/* ─── 7. Empty State ────────────────────────────────────────────────────────── */
.gallery-empty-state {
  text-align: center;
  padding: 64px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px dashed #CBD5E1;
  max-width: 600px;
  margin: 30px auto;
}

.gallery-empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.8;
}

.gallery-empty-state h3 {
  font-size: 1.25rem;
  color: var(--dmd-text-main);
  margin-bottom: 8px;
}

.gallery-empty-state p {
  color: var(--dmd-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ─── 8. Lightbox Viewer Modal (Foto) ───────────────────────────────────────── */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 2, 22, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
  animation: modalFadeIn 0.25s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.lightbox-content-box {
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #18032E;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-image-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0B0116;
  max-height: 65vh;
  position: relative;
  overflow: hidden;
}

.lightbox-image-area img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.lightbox-info-area {
  padding: 24px;
  background: #1A0231;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lightbox-text-col {
  flex: 1;
  min-width: 280px;
}

.lightbox-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--dmd-yellow-gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.lightbox-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.lightbox-caption {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

.lightbox-actions-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-btn {
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-share-wa {
  background: #25D366;
  color: #FFFFFF;
  border: none;
}

.btn-share-wa:hover {
  background: #20BA5A;
}

.btn-copy-link {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-copy-link:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ─── 9. Video Player Modal ─────────────────────────────────────────────────── */
.video-player-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 1, 18, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-player-modal.open {
  display: flex;
  animation: modalFadeIn 0.25s ease forwards;
}

.video-player-box {
  max-width: 960px;
  width: 100%;
  background: #140226;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.video-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  position: relative;
}

.video-frame-wrap iframe,
.video-frame-wrap video {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-player-details {
  padding: 22px 26px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ─── 10. Footer DMD ────────────────────────────────────────────────────────── */
.agency-footer {
  background: #140226;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 24px 32px 24px;
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  height: 32px;
}

.footer-copy {
  color: #64748B;
  font-size: 0.85rem;
}

/* ─── 11. Mobile Responsiveness ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-mobile-toggle {
    display: block;
  }

  .btn-cta-contact {
    display: none;
  }

  .nav-links-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #1A0231;
    border-bottom: 2px solid var(--dmd-purple-medium);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-links-menu.open {
    display: flex;
    animation: slideDownMenu 0.25s ease forwards;
  }

  @keyframes slideDownMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.05rem;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.25);
    margin: 8px 0;
    border-radius: 8px;
  }

  .nav-mobile-cta {
    display: block;
    margin-top: 16px;
    background: var(--dmd-yellow-gold);
    color: var(--dmd-purple-dark);
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    text-decoration: none;
  }

  .gallery-title {
    font-size: 2rem;
  }

  .gallery-tab-btn {
    padding: 10px 20px;
    font-size: 0.92rem;
  }

  .photo-grid-container {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }

  .video-grid-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .gallery-hero {
    padding: 40px 16px 48px 16px;
  }

  .gallery-title {
    font-size: 1.65rem;
  }

  .gallery-desc {
    font-size: 0.92rem;
  }

  .gallery-nav-tabs {
    width: 100%;
    justify-content: center;
  }

  .gallery-tab-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 0.85rem;
    justify-content: center;
  }

  .photo-grid-container {
    grid-template-columns: 1fr;
  }

  .lightbox-content-box {
    border-radius: 12px;
  }

  .lightbox-info-area {
    padding: 16px;
  }

  .lightbox-title {
    font-size: 1.05rem;
  }
}
