/* ============================================
   AWESOME 90s THEME
   A Nickelodeon/Surge-inspired color explosion
   ============================================ */

/* --------------------------------------------
   COLOR PALETTE
   -------------------------------------------- */
:root {
  /* Core palette */
  --purple-deep: #471C8C;
  --red-bold: #B80C09;
  --cyan-electric: #01BAEF;
  --blue-calm: #1E91D6;
  --mint-slime: #6BFFB8;
  --green-vibrant: #23CE6B;
  --yellow-surge: #FFC914;
  --orange-warm: #E67F0D;
  --magenta-hot: #F038FF;
  --black-soft: #19180A;
  --white-soft: #FBFBFF;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;

  /* Typography */
  --font-body: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;

  /* Border radius for that organic feel */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-blob: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

/* --------------------------------------------
   LIGHT SCHEME (soft white background)
   -------------------------------------------- */
[data-scheme="light"] {
  --color-bg: var(--white-soft);
  --color-bg-alt: #f0f0f5;
  --color-text: var(--black-soft);
  --color-text-muted: #555;
  --color-link: var(--cyan-electric);
  --color-link-hover: var(--magenta-hot);
  --color-accent-primary: var(--yellow-surge);
  --color-accent-secondary: var(--purple-deep);
  --color-header-bg: var(--purple-deep);
  --color-header-text: var(--white-soft);
}

/* --------------------------------------------
   PURPLE SCHEME (deep purple background)
   -------------------------------------------- */
[data-scheme="purple"] {
  --color-bg: var(--purple-deep);
  --color-bg-alt: #5a2ba0;
  --color-text: var(--white-soft);
  --color-text-muted: #d0d0e0;
  --color-link: var(--cyan-electric);
  --color-link-hover: var(--mint-slime);
  --color-accent-primary: var(--yellow-surge);
  --color-accent-secondary: var(--magenta-hot);
  --color-header-bg: var(--black-soft);
  --color-header-text: var(--white-soft);
}

/* --------------------------------------------
   BASE RESET & TYPOGRAPHY
   -------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.5rem;
  color: var(--color-accent-primary);
  text-shadow: 3px 3px 0 var(--color-accent-secondary);
}

h2 {
  font-size: 2rem;
  color: var(--color-accent-secondary);
}

[data-scheme="purple"] h2 {
  color: var(--mint-slime);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: underline wavy;
}

/* --------------------------------------------
   LAYOUT
   -------------------------------------------- */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-lg);
  width: 100%;
}

/* --------------------------------------------
   HEADER
   -------------------------------------------- */
.site-header {
  background: var(--color-bg);
  padding: var(--space-lg) var(--space-xl);
  position: relative;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  gap: var(--space-lg);
}

/* Left side: Avatar + Title block */
.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-logo-link {
  flex-shrink: 0;
}

.header-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange-warm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.header-avatar:hover {
  transform: scale(1.05) rotate(-3deg);
  border-color: var(--cyan-electric);
}

.header-avatar-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--orange-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white-soft);
  border: 3px solid var(--orange-warm);
}

.header-title-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.site-title a {
  color: var(--cyan-electric);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-title a:hover {
  color: var(--mint-slime);
  text-decoration: none;
}

.site-tagline {
  margin: 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-text);
  opacity: 0.85;
  letter-spacing: -0.01em;
}

/* Right side: Navigation */
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 600;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover {
  background-color: var(--magenta-hot);
  color: var(--white-soft);
  text-decoration: none;
}

/* Header responsive */
@media (max-width: 768px) {
  .site-header {
    padding: var(--space-md) var(--space-lg);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .site-title {
    font-size: 1.8rem;
  }

  .header-avatar {
    width: 55px;
    height: 55px;
  }

  .main-nav ul {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------
   FOOTER
   -------------------------------------------- */
.site-footer {
  background: var(--color-header-bg);
  color: var(--color-header-text);
  padding: var(--space-lg);
  text-align: center;
  margin-top: auto;
}

.site-footer a {
  color: var(--cyan-electric);
}

/* --------------------------------------------
   SQUIGGLY DIVIDER (Animated Flow)
   -------------------------------------------- */
.squiggle-divider {
  width: 100%;
  height: 20px;
  margin: var(--space-lg) 0;
  overflow: hidden;
}

.squiggle-divider svg {
  width: calc(100% + 60px);
  height: 100%;
}

.squiggle-divider .squiggle-path {
  stroke: var(--color-accent-primary);
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  animation: squiggle-flow 2s linear infinite;
}

.squiggle-divider.alt .squiggle-path {
  stroke: var(--magenta-hot);
  animation-duration: 2.5s;
  animation-direction: reverse;
}

.squiggle-divider.mint .squiggle-path {
  stroke: var(--mint-slime);
  animation-duration: 2.2s;
}

/* 60px = one full wave cycle, so animation loops seamlessly */
@keyframes squiggle-flow {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-60px);
  }
}

/* Accessibility: Reduce motion for those who prefer it */
@media (prefers-reduced-motion: reduce) {
  .squiggle-divider .squiggle-path {
    animation: none;
  }
}

/* --------------------------------------------
   BUTTONS - SPLATTER STYLE
   -------------------------------------------- */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--yellow-surge);
  color: var(--black-soft);
  clip-path: polygon(5% 0%, 100% 5%, 95% 100%, 0% 95%);
}

.btn-primary:hover {
  transform: rotate(-2deg) scale(1.05);
  box-shadow: 4px 4px 0 var(--orange-warm);
}

.btn-secondary {
  background: var(--magenta-hot);
  color: var(--white-soft);
  clip-path: polygon(0% 10%, 95% 0%, 100% 90%, 5% 100%);
}

.btn-secondary:hover {
  transform: rotate(2deg) scale(1.05);
  box-shadow: -4px 4px 0 var(--purple-deep);
}

.btn-slime {
  background: linear-gradient(135deg, var(--mint-slime) 0%, var(--green-vibrant) 100%);
  color: var(--black-soft);
  clip-path: polygon(2% 5%, 98% 0%, 100% 92%, 3% 100%);
  text-shadow: none;
}

.btn-slime:hover {
  transform: rotate(-1deg) scale(1.08);
  box-shadow: 3px 5px 0 var(--cyan-electric);
}

/* --------------------------------------------
   POST CARDS
   -------------------------------------------- */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  position: relative;
  border-left: 5px solid var(--color-accent-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-card:hover {
  transform: translateX(5px);
  box-shadow: -5px 5px 0 var(--magenta-hot);
}

.post-card:nth-child(2n) {
  border-left-color: var(--cyan-electric);
}

.post-card:nth-child(3n) {
  border-left-color: var(--mint-slime);
}

.post-card:nth-child(4n) {
  border-left-color: var(--magenta-hot);
}

.post-card h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.post-card h2 a {
  color: inherit;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

/* --------------------------------------------
   SINGLE POST
   -------------------------------------------- */
.post-header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.post-content {
  line-height: 1.8;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
}

.post-content blockquote {
  border-left: 4px solid var(--magenta-hot);
  margin: var(--space-lg) 0;
  padding: var(--space-md) var(--space-lg);
  background: var(--color-bg-alt);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
}

.post-content code {
  font-family: var(--font-mono);
  background: var(--color-bg-alt);
  padding: 0.1em 0.3em;
  border-radius: var(--radius-sm);
  font-size: 0.9em;
}

.post-content pre {
  background: var(--black-soft);
  color: var(--white-soft);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  overflow-x: auto;
  border: 3px solid var(--cyan-electric);
}

.post-content pre code {
  background: transparent;
  padding: 0;
}

/* --------------------------------------------
   TAGS
   -------------------------------------------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: 0;
  list-style: none;
}

.tag {
  display: inline-block;
  background: var(--cyan-electric);
  color: var(--black-soft);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.tag:nth-child(2n) {
  background: var(--magenta-hot);
  color: var(--white-soft);
}

.tag:nth-child(3n) {
  background: var(--green-vibrant);
  color: var(--black-soft);
}

/* --------------------------------------------
   ANIMATIONS
   -------------------------------------------- */
@keyframes wobble {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px var(--magenta-hot); }
  50% { box-shadow: 0 0 20px var(--magenta-hot), 0 0 30px var(--cyan-electric); }
}

.wobble {
  animation: wobble 0.5s ease-in-out infinite;
}

.glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* --------------------------------------------
   RESPONSIVE
   -------------------------------------------- */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .header-inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 2rem;
  }

  .post-title {
    font-size: 1.8rem;
  }
}

/* ============================================
   PHOTO GALLERY STYLES
   ============================================ */

/* --------------------------------------------
   PHOTO GRID (Gallery List View)
   -------------------------------------------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.photo-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 3px solid transparent;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid-item:hover {
  transform: scale(1.03) rotate(-1deg);
  border-color: var(--cyan-electric);
  box-shadow: 5px 5px 0 var(--magenta-hot);
  text-decoration: none;
}

.photo-grid-item:nth-child(2n):hover {
  transform: scale(1.03) rotate(1deg);
  border-color: var(--magenta-hot);
  box-shadow: -5px 5px 0 var(--cyan-electric);
}

.photo-grid-item:nth-child(3n):hover {
  border-color: var(--mint-slime);
  box-shadow: 5px 5px 0 var(--yellow-surge);
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.1);
}

.photo-grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(25, 24, 10, 0.9));
  color: var(--white-soft);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.photo-grid-item:hover .photo-grid-overlay {
  transform: translateY(0);
}

.photo-grid-overlay h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: 1rem;
  color: var(--white-soft);
  text-shadow: none;
}

.photo-grid-location {
  font-size: 0.8rem;
  opacity: 0.8;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

/* --------------------------------------------
   PHOTO SINGLE (Individual Photo View)
   -------------------------------------------- */
.photo-post {
  max-width: 100%;
}

.photo-hero {
  margin: 0 calc(-1 * var(--space-lg));
  margin-bottom: var(--space-lg);
}

.photo-hero img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: var(--black-soft);
  border-radius: 0;
}

.photo-details {
  max-width: 600px;
  margin: 0 auto;
}

.photo-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.photo-title {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  text-shadow: 2px 2px 0 var(--color-accent-secondary);
}

.photo-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.photo-meta .meta-icon {
  margin-right: var(--space-xs);
}

.photo-location,
.photo-camera {
  display: inline-flex;
  align-items: center;
}

.photo-caption {
  font-style: italic;
  text-align: center;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* --------------------------------------------
   PHOTO NAVIGATION
   -------------------------------------------- */
.photo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.photo-nav-item {
  flex: 1;
  max-width: 150px;
  text-align: center;
  text-decoration: none;
}

.photo-nav-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-bg-alt);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.photo-nav-item:hover img {
  border-color: var(--cyan-electric);
  transform: scale(1.05);
}

.photo-nav-label {
  display: block;
  font-size: 0.8rem;
  margin-top: var(--space-xs);
  color: var(--color-text-muted);
}

.photo-nav-item:hover .photo-nav-label {
  color: var(--color-link);
}

.photo-nav-placeholder {
  flex: 1;
  max-width: 150px;
}

/* Responsive photo grid */
@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .photo-hero {
    margin: 0 calc(-1 * var(--space-md));
  }

  .photo-nav {
    flex-direction: column;
  }

  .photo-nav-item {
    max-width: 100%;
  }

  .photo-nav-item img {
    max-width: 120px;
  }
}

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

/* --------------------------------------------
   GALLERY LIST (Cover Grid)
   -------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 5px 8px 0 var(--magenta-hot);
  text-decoration: none;
}

.gallery-card:nth-child(2n):hover {
  transform: translateY(-5px) rotate(1deg);
  box-shadow: -5px 8px 0 var(--cyan-electric);
}

.gallery-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-cover {
  transform: scale(1.05);
}

.gallery-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.gallery-card-info {
  padding: var(--space-md);
}

.gallery-card-info h3 {
  margin: 0 0 var(--space-xs) 0;
  font-size: 1.2rem;
  color: var(--color-text);
}

.gallery-card-meta {
  display: flex;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------
   GALLERY SINGLE
   -------------------------------------------- */
.gallery-post {
  max-width: 100%;
}

.gallery-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.gallery-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.gallery-meta .meta-icon {
  margin-right: var(--space-xs);
}

.gallery-intro {
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: 1.8;
}

/* --------------------------------------------
   GALLERY IMAGE GRID
   -------------------------------------------- */
.gallery-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.gallery-image-item {
  margin: 0;
  position: relative;
}

.gallery-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 3px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-image-link:hover {
  border-color: var(--cyan-electric);
  transform: scale(1.02);
  box-shadow: 4px 4px 0 var(--magenta-hot);
}

.gallery-image-item:nth-child(2n) .gallery-image-link:hover {
  border-color: var(--magenta-hot);
  box-shadow: -4px 4px 0 var(--cyan-electric);
}

.gallery-image-item:nth-child(3n) .gallery-image-link:hover {
  border-color: var(--mint-slime);
  box-shadow: 4px 4px 0 var(--yellow-surge);
}

.gallery-image-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-image-link:hover img {
  transform: scale(1.1);
}

.gallery-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 24, 10, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-image-link:hover .gallery-image-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  font-size: 2rem;
  filter: grayscale(1) brightness(2);
}

.gallery-image-item figcaption {
  padding: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  font-style: italic;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-xl);
}

/* --------------------------------------------
   PURE CSS LIGHTBOX
   -------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(25, 24, 10, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.lightbox:target {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-size: 3rem;
  color: var(--white-soft);
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 1001;
}

.lightbox-close:hover {
  color: var(--magenta-hot);
  transform: rotate(90deg);
  text-decoration: none;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 4px solid var(--cyan-electric);
  box-shadow: 0 0 30px rgba(1, 186, 239, 0.3);
}

.lightbox-caption {
  margin-top: var(--space-md);
  color: var(--white-soft);
  font-style: italic;
  text-align: center;
  max-width: 600px;
}

.lightbox-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.lightbox-prev,
.lightbox-next {
  color: var(--cyan-electric);
  text-decoration: none;
  font-weight: 600;
  padding: var(--space-sm) var(--space-md);
  border: 2px solid var(--cyan-electric);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--cyan-electric);
  color: var(--black-soft);
  text-decoration: none;
}

.lightbox-disabled {
  opacity: 0.3;
  pointer-events: none;
  border-color: var(--color-text-muted);
  color: var(--color-text-muted);
}

.lightbox-counter {
  color: var(--white-soft);
  font-size: 0.9rem;
}

/* Responsive galleries */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-images {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .lightbox-close {
    top: var(--space-sm);
    right: var(--space-md);
    font-size: 2rem;
  }

  .lightbox-nav {
    flex-direction: column;
    gap: var(--space-md);
  }
}
