/* ============================================
   MY NAME IS SARA -- Official Film Website
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* --- Font Face --- */
@font-face {
  font-family: 'MB Picture House';
  src: url('../assets/fonts/MBPictureHouseOne-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MB Picture House';
  src: url('../assets/fonts/MBPictureHouseOne-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}



/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Custom Properties --- */
:root {
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-accent: #ffffff;
  --color-gray: #666666;
  --color-dark-gray: #333333;
  --font-primary: 'MB Picture House', Helvetica, Arial, Lucida, sans-serif;
  --font-secondary: 'Inter', Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: bold;
  line-height: 1.2;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease;
  height: var(--header-height);
}

.site-header.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  font-family: var(--font-primary);
  font-size: 24px;
  color: var(--color-text);
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: var(--color-accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-accent);
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Social icons in header */
.header-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-social a {
  color: var(--color-text);
  transition: color 0.3s ease;
}

.header-social a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.header-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/cover.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  animation: kenBurns 40s ease-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.2) 75%,
    rgba(0, 0, 0, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 56px;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0,0,0,0.5);
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}



.hero-quote {
  font-family: var(--font-secondary);
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
  opacity: 0;
  transform: translateY(20px);
}

.hero-quote a {
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.hero-quote a:hover {
  border-color: rgba(255, 255, 255, 1);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
  animation: fadeUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
  opacity: 0;
  transform: translateY(20px);
}

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

.hero-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 35px;
  transition: all 0.3s ease;
  cursor: pointer;
  min-width: 200px;
}

/* Secondary Button: Trailer */
.hero-cta a:first-child {
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.hero-cta a:first-child:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

/* Primary Button: Streaming */
.hero-cta a:last-child {
  background-color: var(--color-text);
  color: var(--color-bg);
  border: 1px solid var(--color-text);
}

.hero-cta a:last-child:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}



/* --- Trailer Modal --- */
.trailer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trailer-modal.active {
  display: flex;
}

.trailer-modal-inner {
  width: 90%;
  max-width: 960px;
  position: relative;
}

.trailer-modal-close {
  position: fixed;
  top: 30px;
  right: 40px;
  font-size: 50px;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 300;
  z-index: 3001;
}

/* --- Section Styles --- */
section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-primary);
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

/* --- Video Wrapper (Trailer Modal) --- */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Synopsis Section --- */
.synopsis-section {
  padding: 80px 0;
  text-align: center;
}

.synopsis-section h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 40px;
}

.synopsis-produced {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #aaaaaa;
}

.synopsis-logo {
  max-width: 300px;
  margin: 0 auto;
}

.synopsis-body {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin: 30px auto 40px;
  text-align: center;
}

/* --- Signup Section --- */
.signup-section {
  padding: 60px 0;
  text-align: center;
}

.signup-section h2 {
  font-family: var(--font-primary);
  font-size: 40px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
  line-height: 1.4;
}

.signup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.signup-form input {
  width: 100%;
  padding: 18px 24px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 300;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-text);
  transition: all 0.3s ease;
}

.signup-form input:hover,
.signup-form input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
  outline: none;
}

.signup-form input::placeholder {
  color: var(--color-gray);
  letter-spacing: 1px;
}

.signup-form input[name="email"] {
  grid-column: 1 / -1;
}

.signup-form button {
  grid-column: 1 / -1;
  justify-self: center;
  padding: 16px 50px;
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 20px;
  background: var(--color-text);
  color: var(--color-bg);
  border: 2px solid var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-form button:hover {
  background: transparent;
  color: var(--color-text);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

/* --- History Section --- */
.history-section {
  padding: 0 0 80px 0;
  text-align: center;
}

.history-map-wrapper {
  width: 100%;
  margin-bottom: 60px;
}

.history-map {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

.history-text {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  padding: 0 20px;
}

.history-text p {
  margin-bottom: 20px;
  color: var(--color-text);
}

/* --- Photos Gallery --- */
.photos-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.load-more-btn {
  display: inline-block;
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text);
  background: transparent;
  border: 2px solid var(--color-text);
  padding: 14px 35px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.load-more-btn:hover {
  background-color: var(--color-text);
  color: var(--color-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: var(--color-text);
  cursor: pointer;
  font-family: var(--font-secondary);
  font-weight: 300;
  line-height: 1;
  z-index: 2001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: var(--color-text);
  cursor: pointer;
  padding: 20px;
  user-select: none;
  font-family: var(--font-secondary);
  font-weight: 300;
  z-index: 2001;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

/* --- Cast & Crew Section --- */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 850px;
  margin: 0 auto;
}

.team-member {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 15px 40px;
  text-align: left;
  align-items: center;
}

.team-member-photo {
  grid-row: span 2;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  place-self: center;
}

.team-member h4 {
  font-family: var(--font-primary);
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0;
  align-self: end;
}

.team-member p {
  font-family: var(--font-secondary);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 600px;
  margin: 0;
  align-self: start;
}

/* --- Festivals Section --- */
.festivals-section {
  padding: 80px 0;
}

.festival-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.festival-item {
  text-align: center;
  flex: 0 1 300px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

a.festival-item:hover {
  transform: translateY(-5px);
}

a.festival-item:hover h3 {
  color: var(--color-accent);
}

.festival-laurel {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 20px;
}

.festival-laurel.invert {
  filter: invert(1);
}

.festival-laurel.mix-blend-screen {
  mix-blend-mode: screen;
}

.festival-laurel.tofifest-fix {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
}

.festival-item h3 {
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 15px;
  flex-grow: 1;
}

.festival-award {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}



/* --- Press Section --- */
.press-section {
  padding: 80px 0;
}

.press-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.press-item {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 0 15px;
  transition: transform 0.3s ease;
}

.press-item:hover {
  transform: translateY(-5px);
}

.press-logo-container {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}



.press-logo-text {
  margin: 0;
  color: #fff;
}
.press-logo-text.latimes {
  font-family: 'Times New Roman', Times, serif;
  font-size: 26px;
  font-weight: bold;
}
.press-logo-text.ebert {
  font-family: 'Helvetica', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
}
.press-logo-text.nyt {
  font-family: 'Times New Roman', Times, serif;
  font-size: 32px;
  font-weight: normal;
  font-style: italic;
  text-transform: none;
}

.press-item .press-headline {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  font-style: italic;
  flex-grow: 1;
}

.press-item .press-link {
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  display: inline-block;
  padding-top: 10px;
  letter-spacing: 1px;
}

/* --- Contact Section --- */
.contact-section {
  padding: 80px 0;
  text-align: center;
}

.contact-block {
  margin-bottom: 50px;
}

.contact-block h3 {
  font-family: var(--font-primary);
  font-size: 24px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.contact-block h4 {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  margin-top: 30px;
}

.contact-block p {
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.contact-block a {
  color: var(--color-accent);
}

.contact-logo {
  max-width: 250px;
  margin: 15px auto;
}

/* --- Footer --- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.footer-nav a {
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social a {
  color: var(--color-text);
}

.footer-social a:hover {
  color: var(--color-accent);
  opacity: 1;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .team-grid {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .hamburger {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .main-nav a {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .header-social {
    display: none;
  }

  .hero-title {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-quote {
    font-size: 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .team-grid {
    gap: 50px;
  }

  .team-member {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 15px;
  }

  .team-member-photo {
    grid-row: auto;
  }

  .team-member h4,
  .team-member p {
    align-self: auto;
    margin: 0 auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2px;
  }

  section {
    padding: 50px 0;
  }

  .footer-nav ul {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero-cta a {
    padding: 12px 25px;
    font-size: 12px;
  }

  .team-member-photo {
    width: 150px;
    height: 150px;
  }

  .press-item h3 {
    font-size: 18px;
  }

  .signup-form {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
