/* Variables */
:root{
  --accent: #1f6fb2;
  --dark: #0b3553;
  --muted: #6b6f76;
  --bg: #f7f7f8;
  --card-bg: #fff;
}






/* =========================
   RESET
========================= */
body {
  margin: 0;
  overflow-x: hidden;
}

/* =========================
   LANDING SECTION
========================= */
.gallery-intro {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--dark);
  color: white;
  position: relative;
}

.gallery-title {
  font-size: clamp(42px, 6vw, 72px);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

.gallery-subtitle {
  font-size: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1.4s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-indicator {
  margin-top: 40px;
  height: 50px;
  width: 2px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.scroll-indicator span {
  position: absolute;
  width: 100%;
  height: 20px;
  background: white;
  animation: scrollAnim 1.5s infinite;
}

@keyframes scrollAnim {
  0% { top: -20px; }
  100% { top: 60px; }
}

/* =========================
   IMMERSIVE GALLERY
========================= */

.immersive-gallery {
  position: relative;
}

.immersive-slide {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.immersive-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
  transition: transform 1.2s ease, filter 1s ease;
}

.immersive-slide.hidden {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  height: 0;
  overflow: hidden;
}
/* Overlay content */
.slide-content {
  position: absolute;
  bottom: 15%;
  left: 10%;
  color: white;
  max-width: 600px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.slide-content h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 15px;
}

.slide-content p {
  font-size: 18px;
  opacity: 0.9;
}

/* =========================
   SCROLL ANIMATION STATES
========================= */

.immersive-slide.active img {
  transform: scale(1.05);
  filter: brightness(0.9);
}

.immersive-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}



/* =========================
   APPLE STYLE FILTERS
========================= */

.gallery-filter {
  padding: 60px 20px 40px;
  display: flex;
  justify-content: center;
  background: var(--dark);
}

.filter-wrapper {
  display: inline-flex;
  gap: 12px;
  padding: 8px;
  border-radius: 50px;
  background: --(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s ease;
  letter-spacing: 0.3px;
}

.filter-btn:hover {
  color: white;
}

.filter-btn.active {
  background: white;
  color: black;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}