body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Swiss 721', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #000;
  color: #fff;
  scroll-behavior: smooth;
}

.page-content {
  position: relative;
  z-index: 2;
  filter: grayscale(1);
  /* REMOVE this line: background: #000; */
}

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.video-bg iframe {
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  filter: brightness(0.5);
  /* no grayscale anymore */
}

.overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
}

.overlay h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
  letter-spacing: 0.1em;
}

.overlay p {
  max-width: 600px;
  margin: 0 auto 2em auto;
  font-size: 1.2em;
  line-height: 1.5em;
}

.about-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 2vw;
  background: #000;
  position: relative;
  z-index: 2;
}

/* Glass Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
  transition: all 0.4s ease;
}

nav {
  display: flex;
  gap: 1rem;
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  border: none;
  background: transparent;
}

nav a:hover,
nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(0);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Landing Page Typography & Layout */
.overlay {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.overlay h1 {
  font-size: 4em;
  font-weight: 300;
  margin-bottom: 0.2em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInDown 1s ease-out;
}

.overlay p {
  font-size: 1.1em;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2em;
  animation: fadeInUp 1s ease-out 0.3s backwards;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  nav {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }

  .overlay h1 {
    font-size: 2.2em;
  }
}

/* About & Other Sections Typography Override */
.about-box h2 {
  font-size: 3em !important;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.about-box p {
  font-size: 1.1em !important;
  line-height: 1.7;
  color: #ccc;
}

/* Add @font-face for Swiss 721 if available as webfont */
@font-face {
  font-family: 'Swiss 721';
  src: url('https://fonts.cdnfonts.com/s/16218/Swiss721BT-BlackCondensed.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Project shared layout (Film, Photo & Video) */
.film-container,
.photo-container,
.video-container,
.experiments-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 160px 2vw 4vh 2vw;
}

.film-row,
.photo-row,
.video-row,
.experiments-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 8rem;
  /* Space between projects */
  gap: 4rem;
}

.film-row:last-child,
.photo-row:last-child,
.video-row:last-child {
  margin-bottom: 2rem;
}

/* Left Column: Poster/Main Image */
.film-poster-col,
.photo-poster-col,
.video-poster-col,
.experiments-poster-col {
  flex: 0 0 400px;
  max-width: 400px;
  position: sticky;
  top: 100px;
}

.main-poster {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Right Column: Info & Gallery */
.film-info-col,
.photo-info-col,
.video-info-col,
.experiments-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.film-info-col h2,
.photo-info-col h2,
.video-info-col h2,
.experiments-info-col h2 {
  font-size: 3rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.film-meta,
.photo-meta,
.video-meta,
.experiments-meta {
  font-size: 1.2rem;
  color: #bbb;
  margin-bottom: 2rem;
  font-weight: 300;
}

.film-synopsis,
.photo-description,
.video-description,
.experiments-description {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #eee;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.film-credits,
.photo-credits,
.experiments-credits {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-left: 2px solid #333;
  padding-left: 1rem;
}

/* Gallery Grid */
.film-gallery-grid,
.photo-gallery-grid,
.video-gallery-grid,
.experiments-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.film-gallery-grid img,
.photo-gallery-grid img,
.experiments-gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  filter: grayscale(1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.film-gallery-grid img:hover,
.photo-gallery-grid img:hover,
.experiments-gallery-grid img:hover {
  filter: grayscale(0);
  transform: scale(1.02);
}


/* Video Page Layout - Refined Grid (Interleaved) */

.video-section-divider {
  width: 100%;
  height: 1px;
  background: #222;
  margin: 4rem 0;
}

/* Horizontal Video Grid (16:9) */
.video-grid-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2 columns on desktop */
  gap: 3rem;
  margin-bottom: 4rem;
}

.video-card-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.video-card-minimal iframe {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.video-meta-minimal h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 0.3rem 0;
  color: #fff;
  letter-spacing: 0.02em;
}

.video-meta-minimal .meta-details {
  font-size: 0.9rem;
  color: #888;
  font-weight: 300;
}

/* Vertical Video Grid (9:16) */
.video-grid-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* 3-4 columns usually */
  gap: 2rem;
  margin-bottom: 5rem;
}

.vertical-video-card-minimal {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.vertical-video-card-minimal iframe,
.vertical-video-card-minimal .instagram-media {
  width: 100%;
  background: #000;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 900px) {
  .video-grid-horizontal {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 4rem;
  }
}


/* Video specific iframe/embed styling inside grid/main */
.video-poster-col iframe,
.video-info-col iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

/* Vertical Video Section */
.video-section-title {
  font-size: 2.5rem;
  color: #fff;
  margin: 4rem 0 2rem 0;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 4rem;
}

.vertical-video-card {
  background: #111;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.vertical-video-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {

  .film-row,
  .photo-row,
  .video-row {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 6rem;
  }

  .film-poster-col,
  .photo-poster-col,
  .video-poster-col {
    flex: none;
    max-width: 100%;
    width: 100%;
    /* Full width mainly for video embeds */
    margin: 0 auto;
    position: static;
  }

  .film-info-col h2,
  .photo-info-col h2,
  .video-info-col h2 {
    text-align: center;
    font-size: 2.5rem;
  }

  .film-meta,
  .photo-meta,
  .video-meta {
    text-align: center;
  }

  .film-gallery-grid,
  .photo-gallery-grid,
  .video-gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {

  .film-poster-col,
  .photo-poster-col,
  .video-poster-col {
    width: 100%;
  }

  .film-info-col h2,
  .photo-info-col h2,
  .video-info-col h2 {
    font-size: 2rem;
  }
}

/* --- Restored Layout Styles --- */

.landing-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.image-collage {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #000;
  position: relative;
  z-index: 2;
}

.image-container {
  position: relative;
  margin: 0;
  padding: 0;
  height: 33.33vh;
  flex-grow: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  box-sizing: border-box;
  border: none;
}

.image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  border: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  filter: grayscale(1) !important;
}

.hue-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg,
      rgba(255, 0, 0, 0.07),
      rgba(0, 255, 0, 0.07),
      rgba(0, 0, 255, 0.07));
  mix-blend-mode: overlay;
  transition: all 0.3s ease;
  pointer-events: none;
  opacity: 0.12;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.about-img-desktop {
  flex: 1 1 70%;
  height: 80vh;
  background: url('https://i.imgur.com/dm1CMl2.jpeg') center center/contain no-repeat;
  background-attachment: fixed;
  filter: grayscale(1);
  min-width: 400px;
  max-width: 1100px;
  margin-right: 0;
  position: relative;
  z-index: 2;
}

.about-box {
  flex: 1 1 50%;
  max-width: 600px;
  margin: 0 2vw;
  padding: 0;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 0 #000;
  font-size: 1.15em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 300px;
  position: relative;
  z-index: 2;
}

.contact-info {
  margin-top: 1.5em;
}

.contact-info a {
  color: #fff;
  border-bottom: 1px solid #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-info a:hover {
  color: #000;
  background: #fff;
  border-bottom-color: #000;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  align-items: center;
}

.social-icon {
  color: #fff;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: #ffd700;
  transform: translateY(-2px);
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon.imdb-icon {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Mobile Adjustments Restored */
.about-me-mobile-image-container {
  display: none;
  width: 100%;
  height: 50vh;
  background-image: url('https://i.imgur.com/EqDmTNm.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: grayscale(1);
  margin-bottom: 2em;
  max-width: 100%;
}

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    justify-content: flex-start;
    padding: 5vh 2vw;
    min-height: auto;
  }

  .about-section::before {
    display: none;
  }

  .about-img-desktop {
    display: none;
  }

  .about-me-mobile-image-container {
    display: block;
    width: 95vw;
    max-width: 800px;
    height: 45vh;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
  }

  .about-box {
    margin: 0 auto;
    max-width: 90vw;
    width: 100%;
    font-size: 1.05em;
    padding: 1.5em;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 8px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
  }
}

@media (max-width: 700px) {
  .image-collage {
    height: 70vh;
  }

  .image-container {
    height: 50vh !important;
  }
}


/* --- Scroll Indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  opacity: 0;
  /* Hidden by default */
  transition: opacity 1s ease;
  z-index: 10;
  pointer-events: none;
}

.scroll-indicator.visible {
  opacity: 1;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* --- Redesigned About Me Typography --- */
.about-box {
  /* Extending width slightly for better reading rhythm */
  max-width: 680px !important;
}

.about-box h2 {
  font-family: 'Swiss 721', 'Helvetica Neue', Arial, sans-serif;
  font-size: 3.5rem !important;
  font-weight: 700 !important;
  /* Bold for contrast */
  text-transform: uppercase;
  letter-spacing: -0.02em !important;
  background: linear-gradient(to right, #fff, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Gradient text effect */
  margin-bottom: 1rem !important;
}

.about-box p {
  font-family: 'Swiss 721', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.35rem !important;
  /* Larger text */
  font-weight: 300;
  line-height: 1.6 !important;
  color: #e0e0e0 !important;
  /* Brighter than #ccc */
  letter-spacing: 0.01em;
  margin-bottom: 2rem !important;
}

.contact-info h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1.1rem !important;
  color: #fff !important;
  margin-bottom: 0.5rem !important;
}

.contact-info a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
}

.contact-info a:hover {
  border-bottom-color: #fff;
  background: none;
  /* Removed background hover for cleaner look */
  opacity: 0.8;
}