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

html, body {
  height: 100%;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  color: #2a3439;
  min-height: 100%;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  z-index: 100;
  background: transparent;
}

.logo {
  flex: 1;
}

.logo a {
  text-decoration: none;
}

.logo-img {
  width: 100px;
  height: auto;
}

.main-nav {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.main-nav a {
  color: #2a3439;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.main-nav a:hover {
  opacity: 0.6;
}

.main-nav .nav-svg {
  display: flex;
  align-items: center;
  position: relative;
}

.main-nav .nav-svg img {
  height: 28px;
  width: auto;
}

.main-nav .nav-svg .squiggle {
  display: none;
  width: 40px;
  height: auto;
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
}

.main-nav .nav-svg.active .squiggle {
  display: block;
}

.header-spacer {
  flex: 1;
}

/* Three.js Canvas */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Welcome Block */
.welcome-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.welcome-block {
  background-color: #2a3439;
  padding: 60px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-block span {
  font-size: 24px;
  letter-spacing: 8px;
  text-transform: lowercase;
  color: #fff;
}

/* Page Container */
#page-content {
  position: relative;
  z-index: 10;
  background: transparent;
  min-height: 100%;
}

.page {
  display: none;
  background: transparent;
}

.page.active {
  display: block;
}

/* Home Page */
.home-page.active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-signature {
  display: block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.home-signature:hover {
  opacity: 0.7;
  transform: scale(1.02);
}

.home-signature img {
  width: 280px;
  height: auto;
}

.page-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 100px;
  box-sizing: border-box;
}

.shows-page.active {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.shows-page .page-inner {
  height: 100%;
  min-height: 100%;
  max-height: 100%;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 20px;
}

.shows-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.show-link {
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.show-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.show-link img {
  height: 60px;
  width: auto;
}

.show-poster-link {
  display: block;
}

.show-poster {
  max-height: calc(100vh - 180px);
  max-width: 95vw;
  width: auto;
  height: auto !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* GoFundMe Button & Progress */
.gofundme-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.gofundme-btn {
  display: inline-block;
  background-color: #00b964;
  color: #ffffff;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.gofundme-btn:hover {
  background-color: #009e54;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 185, 100, 0.3);
}

.gofundme-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 200px;
}

.gofundme-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(42, 52, 57, 0.15);
  border-radius: 4px;
  overflow: hidden;
}

.gofundme-bar-fill {
  height: 100%;
  background-color: #00b964;
  border-radius: 4px;
  width: 0%;
  transition: width 0.8s ease-out;
}

.gofundme-amounts {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  color: #2a3439;
}

.gofundme-raised {
  font-weight: 500;
}

.gofundme-goal {
  opacity: 0.7;
}

/* Page Title */
.page-title {
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 60px;
  color: #2a3439;
}

/* About Page */
.about-page.active {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-container {
  display: flex;
  align-items: center;
  padding: 120px 60px 60px;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.about-gallery {
  flex: 1.2;
  max-width: 55%;
  overflow: hidden;
  position: relative;
}

.view-all-photos {
  position: absolute;
  top: 0;
  right: 0;
  color: #2a3439;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.view-all-photos:hover {
  opacity: 1;
}

.about-gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #2a3439 transparent;
}

.about-gallery-scroll::-webkit-scrollbar {
  height: 6px;
}

.about-gallery-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.about-gallery-scroll::-webkit-scrollbar-thumb {
  background: #2a3439;
  border-radius: 3px;
}

.about-photo {
  flex-shrink: 0;
  scroll-snap-align: start;
}

.about-photo img {
  height: 400px;
  width: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.about-bio {
  flex: 0.8;
  max-width: 400px;
  padding-right: 40px;
}

.about-name {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: #2a3439;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #2a3439;
  margin-bottom: 20px;
  font-weight: 300;
}

.about-contact {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-link {
  color: #2a3439;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.contact-link:hover {
  opacity: 0.6;
}

.about-support {
  transform: scale(0.8);
  transform-origin: top right;
}

/* About Photo Lightbox */
.about-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 52, 57, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-lightbox.active {
  display: flex;
  opacity: 1;
}

.about-lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

.about-photo {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.about-photo:hover {
  transform: scale(1.02);
}

/* Photos Page */
.photos-page {
  position: relative;
}

.photos-back-btn {
  display: inline-block;
  margin-bottom: 20px;
  background: transparent;
  border: 1px solid #2a3439;
  color: #2a3439;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.photos-back-btn:hover {
  background-color: #2a3439;
  color: #ffffff;
}

.photos-container {
  min-height: 100%;
  padding: 120px 60px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.photos-item {
  width: 100%;
}

.photos-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Room Container */
/* Coming Soon Overlay */
.coming-soon-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.coming-soon-overlay.active {
  display: flex;
}

.coming-soon-img {
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
}

.coming-soon-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #2a3439;
  font-size: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  line-height: 1;
  z-index: 201;
  padding: 10px;
}

.coming-soon-close:hover {
  opacity: 0.6;
}

/* Room Container */
.room-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  background-color: #ffffff;
}

.room-container.active {
  display: block;
}

#wins-room-canvas {
  width: 100%;
  height: 100%;
}

.room-back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: transparent;
  border: 1px solid #2a3439;
  color: #2a3439;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.room-back-btn:hover {
  background-color: #2a3439;
  color: #ffffff;
}

.controls-helper {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #2a3439;
  opacity: 0.7;
}

.control-item {
  text-align: right;
}

/* Mobile controls helper */
.controls-helper-mobile {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 20px;
  z-index: 15;
}

.controls-info-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #2a3439;
  color: #ffffff;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.controls-info-bubble {
  display: none;
  position: absolute;
  bottom: 50px;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  min-width: 160px;
}

.controls-info-bubble.active {
  display: block;
}

.controls-info-bubble .control-item {
  text-align: left;
  padding: 4px 0;
}

/* Gallery */
.gallery-container {
  min-height: 100%;
  padding: 120px 60px 60px;
  background-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-item {
  cursor: pointer;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-frame {
  background: #2a3439;
  padding: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.4s ease;
}

.gallery-item:hover .gallery-frame {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

.gallery-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-info {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 12px;
  padding: 0 4px;
}

.gallery-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-title {
  font-size: 14px;
  font-weight: 400;
  color: #2a3439;
  letter-spacing: 0.5px;
}

.gallery-size {
  font-size: 12px;
  color: #2a3439;
  opacity: 0.6;
}

.gallery-price {
  font-size: 22px;
  font-weight: 500;
  color: #2a3439;
  display: flex;
  align-items: flex-start;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(42, 52, 57, 0.95);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.lightbox-content {
  max-width: 85vw;
  height: 60vh;
  background: #2a3439;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 50px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  line-height: 1;
  z-index: 1001;
  padding: 10px;
}

.lightbox-close:hover {
  opacity: 0.6;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 30px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: #ffffff;
  color: #2a3439;
}

.lightbox-purchase {
  display: block;
  margin: 15px auto 0;
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #2a3439;
  padding: 14px 50px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.lightbox-purchase:hover {
  background: transparent;
  color: #ffffff;
}

.lightbox-info {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  margin-top: 15px;
  flex-shrink: 0;
}

.lightbox-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.lightbox-title {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.lightbox-size {
  font-size: 13px;
  color: #ffffff;
  opacity: 0.6;
}

.lightbox-price {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  flex-shrink: 0;
}

/* Hide mobile buttons on desktop */
.lightbox-prev-mobile,
.lightbox-next-mobile {
  display: none;
}

/* Mobile Navigation */
.mobile-nav-btn {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 150;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease;
}

.mobile-nav-btn:hover {
  transform: scale(1.1);
}

.mobile-nav-btn img {
  width: 60px;
  height: 60px;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  bottom: 100px;
  left: 30px;
  z-index: 140;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.mobile-nav-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-link {
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
  opacity: 0.6;
}

.mobile-nav-link img {
  height: 24px;
  width: auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-nav-btn {
    display: block;
  }

  .mobile-nav-menu {
    display: block;
  }

  header {
    padding: 15px 20px;
  }

  .logo-img {
    width: 70px;
  }

  .header-spacer {
    display: none;
  }

  .gallery-container {
    padding: 100px 20px 40px;
  }

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

  .page-inner {
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-container {
    flex-direction: column;
    padding: 100px 20px 100px;
    gap: 40px;
  }

  .about-gallery {
    max-width: 100%;
    width: 100%;
  }

  .about-photo img {
    height: 280px;
  }

  .about-bio {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
  }

  .about-contact {
    flex-direction: column;
    align-items: center;
  }

  .contact-links {
    align-items: center;
  }

  .about-support {
    transform-origin: center center;
  }

  .view-all-photos {
    position: static;
    display: block;
    text-align: center;
    margin-bottom: 15px;
  }

  .photos-container {
    padding: 100px 20px 40px;
  }

  .photos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .photos-item img {
    height: 200px;
  }

  .photos-back-btn {
    padding: 8px 16px;
    font-size: 11px;
  }

  .about-name {
    font-size: 24px;
  }

  .about-text {
    font-size: 14px;
  }

  /* Lightbox mobile layout */
  .lightbox-content {
    height: 50vh;
  }

  .lightbox-prev-desktop,
  .lightbox-next-desktop {
    display: none;
  }

  .lightbox-prev-mobile,
  .lightbox-next-mobile {
    display: flex;
    position: static;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .lightbox-purchase {
    margin: 0;
    padding: 12px 30px;
  }

  /* WINS room mobile controls */
  .controls-helper-desktop {
    display: none;
  }

  .controls-helper-mobile {
    display: block;
  }

  .room-back-btn {
    top: 15px;
    left: 20px;
    padding: 8px 16px;
    font-size: 11px;
  }

  .home-signature img {
    width: 200px;
  }
}
