body {
  min-height: 100vh;
  margin: 0;
  font-family: 'Montserrat', 'Bree Serif', serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 40%, #a6ffcb 100%);
  background-attachment: fixed;
  transition: background 0.5s;
}
body.dark-theme {
  background: linear-gradient(135deg, #18181b 0%, #312e81 50%, #a21caf 100%);
  background-attachment: fixed;
  transition: background 0.5s;
}
@keyframes smokyMove {
  0% { background-position: 0% 0%, 100% 100%, 0% 0%; }
  100% { background-position: 100% 100%, 0% 0%, 100% 100%; }
}
.gallery-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  width: 100%;
}
.gallery-hero-title {
  font-size: 3.5rem;
  font-family: 'Montserrat', 'Bree Serif', serif;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  text-align: center;
  z-index: 2;
}
.gallery-hero-gradient-text {
  background: linear-gradient(90deg, #ffd700, #1fa2ff, #a6ffcb, #ff512f, #ffd700);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: galleryGradientMove 4s linear infinite;
  display: inline-block;
  filter: drop-shadow(0 2px 16px #1fa2ff55);
}
@keyframes galleryGradientMove {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.gallery-hero-underline {
  display: block;
  width: 80%;
  height: 6px;
  margin: 0 auto;
  background: linear-gradient(90deg, #ffd700, #1fa2ff);
  border-radius: 3px;
  margin-top: 8px;
  animation: underlineGrow 1.2s cubic-bezier(.4,0,.2,1);
}
@keyframes underlineGrow {
  from { width: 0; }
  to { width: 80%; }
}
.gallery-hero-quote {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 18px;
  color: #232946;
  text-shadow: 0 2px 12px #e0e7ffcc;
  animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
body.dark-theme .gallery-hero-quote {
  color: #fff;
  text-shadow: 0 2px 12px #23294655;
}
.gallery-hero-img {
  width: 120px;
  margin-top: 12px;
  filter: drop-shadow(0 4px 24px #1fa2ff88);
  animation: fadeIn 1.5s cubic-bezier(.4,0,.2,1);
  z-index: 2;
}
keyframes fadeInUp { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.gallery-carousel-container {
  max-width: 900px;
  margin: 0 auto 32px auto;
  padding: 0 12px;
}
.gallery-swiper {
  border-radius: 18px;
  box-shadow: 0 2px 16px #1fa2ff22;
}
.swiper-slide img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 2px 12px #ffd70033;
}
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 32px 0 18px 0;
}
.gallery-filter-btn {
  background: linear-gradient(90deg, #1fa2ff, #ffd700);
  color: #232946;
  font-weight: 700;
  border: none;
  border-radius: 22px;
  padding: 10px 28px;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 12px #1fa2ff22;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: linear-gradient(90deg, #ffd700, #1fa2ff);
  color: #fff;
  transform: scale(1.08);
}
.masonry-gallery {
  column-count: 3;
  column-gap: 18px;
  max-width: 1200px;
  margin: 0 auto 48px auto;
  padding: 0 12px;
}
@media (max-width: 900px) { .masonry-gallery { column-count: 2; } }
@media (max-width: 600px) { .masonry-gallery { column-count: 1; } }
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 18px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  /* Soft, modern glow */
  box-shadow:
    0 0 32px 0 #ffd70055,
    0 0 64px 0 #1fa2ff33;
  transition: box-shadow 0.35s cubic-bezier(.4,0,.2,1), transform 0.3s cubic-bezier(.4,0,.2,1);
}

.gallery-item:hover {
  transform: scale(1.04);
  z-index: 2;
  /* Brighter, more colorful glow on hover */
  box-shadow:
    0 0 48px 8px #ffd700aa,
    0 0 96px 16px #1fa2ffaa;
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 18px;
  transition: filter 0.3s, transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}
.gallery-overlay {
  display: none !important;
}
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
}
.gallery-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 4px 32px #000a;
}
.gallery-modal-close {
  position: absolute;
  top: 24px; right: 40px;
  color: #fff;
  font-size: 2.5em;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}
