/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow: hidden;
  height: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow: hidden;
  line-height: 1.6;
  height: 100%;
  position: fixed;
  width: 100%;
}

/* Hide scrollbar but keep functionality */
body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Section container for pinned sections */
.section-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.section-container.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.section-container.exiting {
  opacity: 0;
  pointer-events: none;
}

/* Exit Button */
.exit-btn {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 9999;
  width: 80px;
  height: 80px;
  transition: transform 0.6s ease;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.exit-btn:hover {
  transform: rotate(360deg);
}

.exit-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* Progress Indicator */
.progress-indicator {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(201, 125, 96, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.progress-dot:hover {
  background: rgba(201, 125, 96, 0.5);
  transform: scale(1.3);
}

.progress-dot.active {
  background: #c97d60;
  border-color: #c97d60;
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(201, 125, 96, 0.8);
}

/* Scroll Indicator */
.scroll-indicator {
  position: fixed;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-text {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.7);
}

.scroll-arrow {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  margin: 0 auto;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 24px; opacity: 0.3; }
}

/* Section 1: Hero Dawn */
.hero-dawn {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 1;
  transition: opacity 1s ease;
  z-index: 10;
}

.dawn-layers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-out;
}

.dawn-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.dawn-layer:first-child {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  opacity: 0;
  transform: translateY(30px);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Section 2: Story Intro */
.story-intro {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: #0a0a0a;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
  overflow: hidden;
}

.story-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../assets/pinfold/george-and-dragon.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.6;
  z-index: 0;
}

.story-intro::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.6) 100%);
  z-index: 1;
}

.story-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.story-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 2rem;
  font-weight: 700;
}

.story-content p {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
  opacity: 0.95;
  line-height: 1.8;
}

.fade-in-text {
  opacity: 0;
  transform: translateY(30px);
}

.story-image-container {
  display: none;
}

.story-image {
  display: none;
}

/* Section 3: Transformation */
.transformation {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.transform-content {
  max-width: 1200px;
  width: 100%;
}

.transform-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 700;
}

.transform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.transform-item {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
}

.transform-number {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 900;
  color: #c97d60;
  margin-bottom: 1rem;
}

.transform-item h3 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.transform-item p {
  font-size: 1.2rem;
  opacity: 0.8;
  line-height: 1.8;
}

/* Section 4: Opening Night */
.opening-night {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.opening-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.opening-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s ease-out;
}

.opening-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 3rem 4rem;
  opacity: 0;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 4px 40px rgba(0,0,0,0.8);
}

.opening-overlay h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.opening-date {
  font-size: clamp(3rem, 8vw, 6rem);
  font-family: 'Cinzel', serif;
  font-weight: 900;
  color: #c97d60;
  margin-bottom: 1rem;
}

.opening-overlay p:last-child {
  font-size: clamp(1.2rem, 3vw, 2rem);
  opacity: 0.9;
}

/* Section 5: Real Ales */
.real-ales-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1810 100%);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
  overflow: hidden;
}

.ales-content {
  max-width: 1400px;
  width: 100%;
  text-align: center;
}

.real-ales-section .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.ales-intro {
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.ales-tagline {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: #c97d60;
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ales-description {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.ales-carousel {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ales-carousel::-webkit-scrollbar {
  display: none;
}

.ales-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.ales-carousel:active {
  cursor: grabbing;
}

.ale-card-flip {
  height: 425px;
  min-width: 425px;
  max-width: 425px;
  flex-shrink: 0;
  perspective: 1000px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.ale-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.ale-card-flip.flipped .ale-card-inner {
  transform: rotateY(180deg);
}

.ale-card-front,
.ale-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ale-card-front {
  background: transparent;
  border: none;
}

.ale-card-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ale-card-flip.featured .ale-card-front {
  border: none;
}

.ale-card-flip.guest .ale-card-front {
  border: none;
  background: transparent;
}

.ale-card-back {
  background: linear-gradient(135deg, #2a2520 0%, #1a1510 100%);
  border: 2px solid #8b6f47;
  transform: rotateY(180deg);
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.ale-card-flip:hover .ale-card-front {
  border: none;
  box-shadow: 0 12px 30px rgba(201, 125, 96, 0.4);
  animation: cardWiggle 0.5s ease-in-out;
}

@keyframes cardWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  75% { transform: rotate(-2deg); }
}

.ale-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #c97d60;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}

.ale-badge.guest-badge {
  background: linear-gradient(135deg, #c97d60 0%, #d68d70 100%);
  box-shadow: 0 4px 12px rgba(201, 125, 96, 0.4);
}

.ale-card-front h3,
.ale-card-back h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  color: #c97d60;
}

.ale-type {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.ale-desc {
  font-size: 0.85rem;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 0.6rem;
}

.ale-story {
  font-size: 0.8rem;
  line-height: 1.3;
  opacity: 0.8;
  font-style: italic;
  margin-bottom: 0.6rem;
}

.ale-meta {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: auto;
}

.click-hint {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: auto;
  font-style: italic;
}

.ale-icon {
  display: none;
}

/* Old ale-card styles removed */

.ales-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201, 125, 96, 0.3);
  opacity: 0;
  transform: translateY(30px);
}

.ales-note {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-style: italic;
}

.ales-craft {
  font-size: 0.9rem;
  opacity: 0.7;
  max-width: 700px;
  margin: 0 auto;
}

/* Section 6: Features Immersive */
.features-immersive {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0a0a0a;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  margin-bottom: 4rem;
  font-weight: 700;
}

.features-scroll {
  position: relative;
  height: 100%;
  width: 100%;
}

.feature-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

.feature-panel.active {
  opacity: 1;
  pointer-events: auto;
}

.feature-panel:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.feature-panel:nth-child(even) .feature-image {
  order: 2;
}

.feature-panel:nth-child(even) .feature-text {
  order: 1;
}

.feature-image {
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease-out;
}

.feature-text {
  padding: 4rem;
  max-width: 600px;
  margin: 0 auto;
}

.feature-text h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
  font-weight: 700;
}

.feature-text p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  line-height: 1.8;
  opacity: 0.9;
}

/* Section 7: Interactive Interior Tour */
.interior-tour {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.tour-intro {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  font-style: italic;
}

.tour-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 70vh;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tour-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: grab;
}

.tour-track:active {
  cursor: grabbing;
}

.tour-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.tour-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  color: #c97d60;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
}

.tour-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(201, 125, 96, 0.9);
  border: none;
  color: white;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.tour-nav:hover {
  background: rgba(201, 125, 96, 1);
  transform: translateY(-50%) scale(1.1);
}

.tour-prev {
  left: 1rem;
}

.tour-next {
  right: 1rem;
}

.tour-progress {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
  color: white;
  font-weight: 600;
}

.tour-current {
  color: #c97d60;
}

/* Mobile optimizations for tour */
@media (max-width: 768px) {
  .tour-container {
    height: 60vh;
    border-radius: 10px;
  }
  
  .tour-nav {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .tour-prev {
    left: 0.5rem;
  }
  
  .tour-next {
    right: 0.5rem;
  }
  
  .tour-caption {
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  .tour-progress {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .tour-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .interior-tour .section-title {
    font-size: 2rem;
  }
}

/* Section 6: Atmosphere */
.atmosphere {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.atmosphere-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.atmos-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4/3;
  opacity: 0;
  transform: scale(0.9);
}

.atmos-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.atmos-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.atmos-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  font-size: 1.2rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.atmos-item:hover .atmos-caption {
  transform: translateY(0);
}

/* Section 8: Bands Showcase */
.bands-showcase {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 100%);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
  overflow: hidden;
}

.bands-showcase .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  text-align: center;
}

.bands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.band-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  transform: translateY(50px) scale(0.9);
  transition: all 0.5s ease;
}

.band-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.band-card:hover img {
  transform: scale(1.1);
}

.band-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.95));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.band-card:hover .band-overlay {
  transform: translateY(0);
}

.band-overlay h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #c97d60;
}

.band-overlay p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section 9: Community Faces */
.community-faces {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem;
  background: #1a1a1a;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
  overflow: hidden;
}

.community-faces .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
  flex-shrink: 0;
}

.faces-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  max-width: 1400px;
  width: 100%;
  height: calc(100vh - 200px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 1rem;
  scrollbar-width: thin;
  scrollbar-color: #c97d60 rgba(255, 255, 255, 0.1);
  animation: autoScroll 60s linear infinite;
  animation-play-state: paused;
}

.faces-mosaic:hover {
  animation-play-state: paused;
}

.community-faces.active .faces-mosaic {
  animation-play-state: running;
}

@keyframes autoScroll {
  0% {
    scroll-behavior: smooth;
  }
  100% {
    scroll-behavior: smooth;
  }
}

.faces-mosaic::-webkit-scrollbar {
  width: 8px;
}

.faces-mosaic::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.faces-mosaic::-webkit-scrollbar-thumb {
  background: #c97d60;
  border-radius: 10px;
}

.face-tile {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.face-tile::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 125, 96, 0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.face-tile:hover::after {
  opacity: 1;
}

.face-tile:hover {
  transform: scale(1.05);
  z-index: 10;
}

.face-tile.large {
  grid-column: span 2;
  grid-row: span 2;
}

.faces-caption {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  text-align: center;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  color: #c97d60;
  margin-top: 1rem;
  flex-shrink: 0;
}

/* Section 10: Past Events Posters */
.past-events-posters {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1010 100%);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
  overflow: hidden;
}

.past-events-posters .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  text-align: center;
}

.events-intro {
  font-size: clamp(1rem, 2vw, 1.3rem);
  text-align: center;
  margin-bottom: 1.5rem;
  color: #c97d60;
  opacity: 0;
  transform: translateY(30px);
}

.posters-wall {
  position: relative;
  max-width: 1800px;
  width: 100%;
  height: 75vh;
  padding: 0 2rem;
}

.poster-item {
  position: absolute;
  width: 220px;
  height: 293px;
  background-size: cover;
  background-position: center;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.8) rotate(-5deg);
  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
}

/* Position each poster with slight overlaps and random rotations */
.poster-item:nth-child(1) { top: 5%; left: 2%; transform: rotate(-3deg); }
.poster-item:nth-child(2) { top: 8%; left: 15%; transform: rotate(2deg); }
.poster-item:nth-child(3) { top: 3%; left: 28%; transform: rotate(-1deg); }
.poster-item:nth-child(4) { top: 6%; left: 41%; transform: rotate(4deg); }
.poster-item:nth-child(5) { top: 4%; left: 54%; transform: rotate(-2deg); }
.poster-item:nth-child(6) { top: 7%; left: 67%; transform: rotate(1deg); }
.poster-item:nth-child(7) { top: 5%; left: 80%; transform: rotate(-4deg); }

.poster-item:nth-child(8) { top: 28%; left: 1%; transform: rotate(2deg); }
.poster-item:nth-child(9) { top: 30%; left: 14%; transform: rotate(-3deg); }
.poster-item:nth-child(10) { top: 26%; left: 27%; transform: rotate(1deg); }
.poster-item:nth-child(11) { top: 29%; left: 40%; transform: rotate(-2deg); }
.poster-item:nth-child(12) { top: 27%; left: 53%; transform: rotate(3deg); }
.poster-item:nth-child(13) { top: 31%; left: 66%; transform: rotate(-1deg); }
.poster-item:nth-child(14) { top: 28%; left: 79%; transform: rotate(2deg); }

.poster-item:nth-child(15) { top: 51%; left: 3%; transform: rotate(-2deg); }
.poster-item:nth-child(16) { top: 53%; left: 16%; transform: rotate(3deg); }
.poster-item:nth-child(17) { top: 49%; left: 29%; transform: rotate(-4deg); }
.poster-item:nth-child(18) { top: 52%; left: 42%; transform: rotate(1deg); }
.poster-item:nth-child(19) { top: 50%; left: 55%; transform: rotate(-3deg); }
.poster-item:nth-child(20) { top: 54%; left: 68%; transform: rotate(2deg); }
.poster-item:nth-child(21) { top: 51%; left: 81%; transform: rotate(-1deg); }

.poster-item:nth-child(22) { top: 74%; left: 2%; transform: rotate(3deg); }
.poster-item:nth-child(23) { top: 76%; left: 15%; transform: rotate(-2deg); }
.poster-item:nth-child(24) { top: 72%; left: 28%; transform: rotate(1deg); }
.poster-item:nth-child(25) { top: 75%; left: 41%; transform: rotate(-3deg); }
.poster-item:nth-child(26) { top: 73%; left: 54%; transform: rotate(4deg); }
.poster-item:nth-child(27) { top: 77%; left: 67%; transform: rotate(-1deg); }
.poster-item:nth-child(28) { top: 74%; left: 80%; transform: rotate(2deg); }
.poster-item:nth-child(29) { top: 40%; left: 10%; transform: rotate(-4deg); }

.poster-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(201, 125, 96, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.poster-item:hover {
  transform: scale(1.1) rotate(0deg) !important;
  z-index: 100;
  box-shadow: 0 20px 50px rgba(201, 125, 96, 0.4);
}

.poster-item:hover::after {
  opacity: 1;
}

.poster-item.poster-active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(2.5) rotate(0deg) !important;
  z-index: 1000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  width: 400px;
  height: 533px;
  border: 3px solid #c97d60;
}

.poster-item.poster-active::after {
  opacity: 0;
}

.poster-item.large {
  grid-column: span 1;
  grid-row: span 1;
}

/* Section 11: Events Timeline */
.events-timeline {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  background: #0a0a0a;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
  overflow: hidden;
}

.events-timeline .section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 2rem;
  text-align: center;
}

.timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c97d60;
  transform: translateX(-50%);
}

.timeline-event {
  position: relative;
  opacity: 0;
  transform: translateY(50px);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  background: #c97d60;
  border-radius: 50%;
  border: 3px solid #0a0a0a;
  z-index: 10;
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.timeline-event:nth-child(even) .timeline-content {
  direction: rtl;
}

.timeline-event:nth-child(even) .timeline-text {
  direction: ltr;
}

.timeline-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  height: 220px;
}

.timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline-text h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.timeline-date {
  color: #c97d60;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.timeline-text p:last-child {
  font-size: 1.1rem;
  opacity: 0.8;
  line-height: 1.7;
}

/* Section 12: Opening Hours */
.opening-hours-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1810 100%);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.hours-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.opening-hours-section .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
  margin-top: 2rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.hours-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(201, 125, 96, 0.2);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

.hours-day:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 125, 96, 0.4);
  transform: translateY(-5px);
}

.hours-day.highlight {
  background: rgba(201, 125, 96, 0.1);
  border-color: rgba(201, 125, 96, 0.4);
}

.day-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #c97d60;
}

.day-hours {
  font-size: 1.3rem;
  font-weight: 400;
}

.hours-day .day-hours {
  color: rgba(255, 255, 255, 0.9);
}

.hours-day:has(.day-hours:contains("Closed")) .day-hours {
  opacity: 0.5;
  font-style: italic;
}

.hours-note {
  font-size: 1rem;
  opacity: 0.7;
  font-style: italic;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

/* Section 13: Heart */
.heart-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.heart-content {
  max-width: 900px;
  margin: 0 auto;
}

.heart-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 3rem;
  font-weight: 700;
}

.heart-text {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  line-height: 1.6;
}

.heart-text.large {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 600;
  color: #c97d60;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.heart-signature {
  font-family: 'Brush Script MT', 'Segoe Script', cursive;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #c97d60;
  margin-top: 3rem;
  font-style: italic;
  opacity: 0;
  transform: translateY(30px);
}

/* Section 14: CTA */
.cta-section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: #1a1a1a;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin-bottom: 2rem;
  font-weight: 700;
}

.cta-content p {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1.5rem 3rem;
  background: #c97d60;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.5s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cta-button:hover {
  background: #d68d70;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(201, 125, 96, 0.4);
}

/* Footer */
.immersive-footer {
  display: none;
}

/* Lightbox for atmosphere gallery */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.lightbox-close:hover {
  transform: scale(1.2);
  color: #c97d60;
}

/* Responsive Design */
@media (max-width: 768px) {
  .exit-btn {
    width: 60px;
    height: 60px;
    top: 1rem;
    left: 1rem;
  }

  .feature-panel {
    grid-template-columns: 1fr !important;
    min-height: auto;
    position: fixed;
  }

  .feature-panel:nth-child(even) .feature-image,
  .feature-panel:nth-child(even) .feature-text {
    order: initial;
  }

  .feature-image {
    height: 50vh;
    position: relative;
  }

  .feature-text {
    padding: 1rem 1.5rem;
  }

  .feature-text h3 {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
    margin-bottom: 0.75rem;
  }

  .feature-text p {
    font-size: clamp(0.85rem, 2vw, 1rem);
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .transformation {
    padding: 2rem 1rem;
  }

  .transform-content h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
  }

  .transform-grid {
    gap: 1.5rem;
  }

  .transform-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .transform-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  .transform-item p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 20px;
  }

  .timeline-content {
    grid-template-columns: 1fr;
    padding-left: 60px;
  }

  .timeline-event:nth-child(even) .timeline-content {
    direction: ltr;
  }

  .atmosphere-grid {
    grid-template-columns: 1fr;
  }

  .atmos-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}
