/* === Global Styles === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #0e0e0e;
  color: white;
}

/* === Header === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

header .logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

nav ul li.active a,
nav ul li a:hover {
  color: #ffe287;
}

/* === Hero === */
.hero {
  text-align: center;
  padding: 100px 20px 60px;
}

.hero h1 {
  font-size: 3rem;
  color: #ffe287;
}

.hero .tagline {
  margin-top: 10px;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.hero-buttons .button {
  padding: 12px 24px;
  background-color: #ffe287;
  color: #0e0e0e;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.hero-buttons .button:hover {
  transform: scale(1.05);
  background-color: #fff3b0;
}

/* === About Section === */
.about-full {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.about-full p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.about-columns .column {
  flex: 1;
  min-width: 280px;
}

.about-columns h3 {
  margin-bottom: 10px;
  color: #ffe287;
}

.about-columns ul {
  list-style: none;
  padding-left: 0;
}

.about-columns li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.about-columns li::before {
  content: "🎥";
  position: absolute;
  left: 0;
}

/* === Film Feature === */
.film-feature {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.film-poster img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.film-details {
  flex: 1;
  min-width: 280px;
}

.film-details h2 {
  color: #ffe287;
  margin-bottom: 12px;
}

.film-details p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.film-buttons .button {
  padding: 12px 24px;
  background-color: #ffe287;
  color: #0e0e0e;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.film-buttons .button:hover {
  transform: scale(1.05);
  background-color: #fff3b0;
}

/* === Contact Form === */
.contact-form-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form label {
  margin-bottom: 6px;
  display: block;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid #555;
  border-radius: 6px;
  color: white;
}

form textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
}

form .button {
  background-color: #ffe287;
  color: #0e0e0e;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

form .button:hover {
  transform: scale(1.05);
  background-color: #fff3b0;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 30px;
  background-color: #1a1a1a;
  margin-top: 60px;
}

footer p {
  margin: 6px;
}

footer a {
  color: #ffe287;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* === Grain and Flicker Effects === */
.grain-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/backgrounds/footer-texture-dark.png');
  opacity: 0.05;
  z-index: 9998;
  mix-blend-mode: overlay;
}

.flicker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(255, 226, 135, 0.02) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 9997;
  opacity: 0.03;
  animation: flicker 1.5s infinite;
}

/*.flicker-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.02);
  z-index: 9998;
  animation: flicker 2s infinite;
}*/

/*@keyframes flicker {
  0%, 100% { opacity: 0.01; }
  45% { opacity: 0.03; }
  50% { opacity: 0.06; }
  55% { opacity: 0.02; }
  60% { opacity: 0.04; }
}*/

@keyframes flicker {
  0%, 100% { opacity: 0.02; }
  10% { opacity: 0.05; }
  20% { opacity: 0.01; }
  30% { opacity: 0.06; }
  40% { opacity: 0.02; }
  50% { opacity: 0.05; }
  60% { opacity: 0.01; }
  70% { opacity: 0.04; }
  80% { opacity: 0.02; }
  90% { opacity: 0.06; }
}

/* === Page Transition === */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e0e0e;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.page-transition.active {
  opacity: 1;
}

.about-chair {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 100%;
  padding: 1rem 0;
}

.about-chair img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .about-chair img {
    width: 80%;
  }
}

.contact-wrapper {
  position: relative;
  z-index: 0;
}

/* contact page film scroll */

.filmstrip-scroll {
  position: absolute;
  top: 0;
  width: 110px; /* or try 100px */
  height: 100vh;
  background-image: url('../assets/decorative/filmstrip.png');
  background-repeat: repeat-y;
  background-size: contain; /* instead of cover or auto */
  animation: scrollFilmstrip 20s linear infinite;
  opacity: 0.3;
/*  filter: brightness(2) contrast(2); */
  filter: brightness(1.3) contrast(2.5);
  z-index: 1;
  will-change: background-position;
}

.filmstrip-left {
  left: 0;
}

.filmstrip-right {
  right: -60px; /* 🔧 Pushes it outside the visible nav margin */
  left: auto;
}

@keyframes scrollFilmstrip {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}

/* projector animation */

.background-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
 /* z-index: 0; */
}

.projector-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85; /* Even higher visibility */
  filter: brightness(2.8) contrast(1.4) saturate(1.2); /* Boost brightness, clarity, and a bit of color */
  background: url('../../assets/overlays/projector-background-2.png') center center / cover no-repeat;
 /* z-index: 1; */
  animation: pulseGlow 4s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1; /* ensures text stays above background */
  padding: 100px 20px;
  text-align: center;
  color: #fff;
  overflow: hidden; /* ⬅️ Helps contain absolute children */
}

.grain-overlay, .flicker-overlay {
  opacity: 0.2; /* or even 0.1 */
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 0.25; }
}

/* Background elements */
.projector-background{
  z-index: -1;
}

.filmstrip-scroll {
  z-index: 0;
}

/* Decorative overlays */
.grain-overlay,
.flicker-overlay {
  z-index: 1;
}

/* Main content (text, buttons) */
.hero,
main,
header {
  z-index: 2;
}

.filmstrip-scroll {
  opacity: 1;
  filter: brightness(2) contrast(2);
}

@media (max-width: 768px) {
  .filmstrip-left,
  .filmstrip-right {
    transform: scale(0.5);
    opacity: 0.2;
    left: -20px;
    right: -20px;
  }
}

.film-overlay-wrapper > *:not(.pitchfork-overlay) {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #0e0e0e;
  overflow: hidden;
}

.film-poster {
  position: relative;
  z-index: 0;
}

.pitchfork-overlay {
  box-shadow: 0 0 40px rgba(255, 226, 135, 0.05);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/overlays/pitchfork-overlay.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  opacity: 0.35;
  filter: brightness(2.2) contrast(2.2);
  z-index: 1;
  pointer-events: none;
}

@keyframes pulsePitchfork {
  0%, 100% { opacity: 0.05; transform: scaleY(1); }
  50% { opacity: 0.1; transform: scaleY(1.02); }
}

.film-overlay-wrapper > *:not(.pitchfork-overlay) {
  position: relative;
  z-index: 1;
}

/* noir page transitions */


body {
  opacity: 0;
  animation: fadeIn 1.2s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #000 30%, #111 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transition: opacity 0.7s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

.film-burn-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #fff 10%, #f5ae51 40%, #000 85%);
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  transform: scale(1);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.film-burn-transition.active {
  opacity: 1;
  transform: scale(2); /* creates a burst feel */
}
