/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scrollbar-width: none;  /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

*::-webkit-scrollbar {
  display: none;  /* Chrome, Safari and Opera */
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #000;
  font-family: 'Montserrat', sans-serif;
  color: white;
  overflow-x: hidden;
  overflow-y: auto;
}

/* Navigation Styles */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transition: all 0.3s ease;
  background-color: transparent;
  backdrop-filter: blur(0);
}

nav.scrolled {
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

nav.scrolled a {
  color: white;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.logo a {
  font-size: 1.5rem;
  letter-spacing: 0.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: white;
  text-decoration: none;
}

nav.scrolled .logo a {
  color: white;
}

.nav-left {
  text-align: left;
}

.nav-right {
  text-align: right;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  position: relative;
  padding: 2px 0;
}

nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 0;
  height: 0.5px;
  background-color: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: right;
  transition: width 0.2s ease, transform 0.2s ease;
}

nav.scrolled a::after {
  background-color: rgba(255, 255, 255, 0.7);
}

nav a:hover::after {
  width: 30%;
  transform: scaleX(1);
}

/* Add styles for active navigation link */
nav a.active {
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 0.5px;
  background-color: rgba(255, 255, 255, 0.7);
  transform: scaleX(1);
  transform-origin: right;
}

nav.scrolled a.active::after {
  background-color: rgba(255, 255, 255, 0.7);
}

/* Slider Styles */
.slider-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out;
  background-color: #000;
  transform: translateZ(0);
  will-change: opacity, transform;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.slide.next {
  z-index: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  opacity: 1;
}

/* Remove loading indicator */
.loading-indicator {
  display: none;
}

/* Content Styles */
main {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 2rem 2rem;
  overflow: hidden;
}

.content {
  max-width: 1200px;
  margin: 0;
  padding-left: 5%;
  padding-top: 0;
}

.content h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  padding-top: 3rem;
}

.content p {
  font-family: 'Raleway', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  font-weight: 300;
}

/* Navigation Buttons */
.navigation {
  position: absolute;
  bottom: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  transform: translateY(50%);
  z-index: 1002;
  pointer-events: auto;
}

.navigation button {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-weight: 300;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.3rem 0.8rem;
  transition: opacity 0.3s ease;
  position: relative;
}

.navigation button:hover {
  opacity: 0.8;
}

/* Project Button */
.view-project {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 1002;
  pointer-events: auto;
}

.view-project button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: white;
  background: transparent;
  border: 1px solid white;
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-project button:hover {
  background: white;
  color: black;
}

/* Social Icons */
.social {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  z-index: 1002;
  pointer-events: auto;
}

.social img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social img:hover {
  opacity: 1;
}

/* Exhibition Marquee */
.exhibition-marquee {
  position: relative;
  z-index: 2;
  background: black;
  color: white;
  overflow: hidden;
  padding: 2rem 0;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-content {
  display: inline-block;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

/* Create a second instance of the content for seamless looping */
.marquee-content {
  display: inline-flex;
  justify-content: flex-start;
  min-width: 100%;
}

.marquee-content span {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  padding: 0 2rem;
  position: relative;
  color: white;
  white-space: nowrap;
}

.marquee-content span::after {
  content: '•';
  margin-left: 2rem;
  opacity: 0.3;
  color: white;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Update white section to remove it since we're replacing it */
.white-section {
  display: none;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 16px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: white;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger.active span:nth-child(3) {
  display: none;
}

.mobile-menu {
  display: none;
}

/* Media Queries */
@media (max-width: 768px) {
  nav {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-left, .nav-right {
    display: none;
  }
  
  .hamburger {
    display: block;
    margin-top: -3px;
  }
  
  .logo {
    position: static;
    transform: none;
    margin: 0;
    margin-left: -1.25rem;
  }
  
  .logo a {
    font-size: 1.2rem;
  }

  /* Remove line effect for mobile navigation */
  nav a::after,
  nav a.active::after,
  nav.scrolled a::after,
  nav.scrolled a.active::after {
    display: none;
  }

  .mobile-menu a:hover::after {
    display: none;
  }

  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 1rem 0;
    text-align: center;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
  }

  .mobile-menu a {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    margin: 0;
    transition: background-color 0.3s ease;
  }

  .mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  nav.scrolled {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
  }

  nav.scrolled.with-active-menu {
    background-color: rgba(17, 17, 17, 0.95);
  }

  nav.scrolled .mobile-menu.active {
    background-color: rgba(17, 17, 17, 0.95);
  }

  nav.scrolled .hamburger span {
    background-color: white;
  }

  nav.scrolled .mobile-menu a {
    color: white;
  }

  nav.scrolled .mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Content adjustments for mobile */
  .content {
    padding-left: 0.5rem;
    padding-top: 15%;
    margin: 0;
    max-width: 100%;
  }

  .content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0;
    padding-right: 1rem;
  }

  .content p {
    font-size: 1rem;
    padding-right: 1rem;
  }

  .navigation {
    bottom: 45%;
    padding: 0 1rem;
  }

  .navigation button {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }

  .view-project {
    bottom: 8rem;
    right: 1rem;
    transform: none;
  }

  .view-project button {
    font-size: 0.8rem;
    padding: 10px 20px;
  }

  .exhibition-marquee {
    margin-top: 0;
    position: absolute;
    bottom: -5.15rem;
    left: 0;
    width: 100%;
    z-index: 3;
  }

  .exhibition-marquee .marquee-content span {
    font-size: 0.75rem;
    padding: 0 1.5rem;
  }

  .exhibition-marquee .marquee-content span::after {
    margin-left: 1.5rem;
  }

  .social {
    bottom: 8rem;
    left: 1.8rem;
    transform: none;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .logo a {
    font-size: 0.9rem;
  }

  .mobile-menu a {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .content {
    padding-left: 0.5rem;
    padding-right: 1rem;
    padding-top: 12%;
  }

  .content h1 {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 0.9rem;
  }
}

/* Horizontal Scroll Section */
.horizontal-scroll-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
  z-index: 3;
}

.horizontal-scroll-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.horizontal-scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.scroll-content {
  display: inline-flex;
  height: 100%;
}

.scroll-item {
  flex: 0 0 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  white-space: normal;
  color: white;
  text-align: center;
}

.scroll-item h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.scroll-item p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  font-weight: 400;
  text-align: center;
  max-width: 800px;
  line-height: 1.6;
  opacity: 0.9;
}

/* Video Gallery Section */
.video-gallery {
  position: relative;
  background-color: #000;
  padding: 4rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 4;
  margin-bottom: 0;
}

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

.video-item {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  opacity: 1;
  transition: all 0.5s ease;
  background: #111;
}

.video-item.large {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.video-overlay h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

.video-overlay p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.1em;
  transform: translateY(20px);
  transition: transform 0.5s ease;
}

/* Video Hover Effects */
.video-item:hover {
  opacity: 1;
}

.video-item:hover .video-wrapper video {
  transform: scale(1.05);
}

.video-item:hover .video-overlay {
  opacity: 1;
}

.video-item:hover .video-overlay h3,
.video-item:hover .video-overlay p {
  transform: translateY(0);
}

/* Media Queries for Video Gallery */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-item.large {
    grid-column: span 1;
    aspect-ratio: 16/9;
  }

  .video-overlay h3 {
    font-size: 1.4rem;
  }

  .video-overlay p {
    font-size: 0.9rem;
  }

  .video-gallery {
    padding: 2rem 1rem;
  }
}

/* Footer Styles */
.site-footer {
  background-color: #111111;
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
  position: relative;
  z-index: 5;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

.footer-section p {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-section p a {
  color: #fff;
  text-decoration: none;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  opacity: 1;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reach-out-text {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
  opacity: 0.8;
  padding: 0;
  text-align: left;
}

.newsletter-form input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-family: 'Raleway', sans-serif;
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .site-footer {
    padding: 3rem 1.5rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .scroll-item {
    padding: 2rem;
  }

  .scroll-item h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .scroll-item p {
    font-size: 1.2rem;
    max-width: 100%;
  }
}

.social-icons {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 1000;
}

.social-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-link img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
}

.social-link:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .social-icons {
    bottom: 1.5rem;
    left: 0.25rem;
  }
  
  .social-link img {
    width: 20px;
    height: 20px;
  }
}
