/* CSS Variables - Color palette from poster */
:root {
  --orange: #ff6a00;
  --orange-dark: #e55d00;
  --olive: #4a4a2a;
  --olive-light: #5c5c35;
  --cream: #fff8f0;
  --white: #ffffff;
  --black: #1a1a1a;
  --gray: #666666;
  --gray-light: #f5f5f5;

  --font-display: "cubano", sans-serif;
  --font-body: "aktiv-grotesk", "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: 3rem;
  color: var(--olive);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--olive);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--olive);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--olive-light);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--olive);
  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(6px, -6px);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--olive);
  color: var(--orange);
}

.btn-primary:hover {
  background-color: var(--olive-light);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}

.btn-secondary:hover {
  background-color: var(--olive);
  color: var(--white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background-color: var(--orange);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tagline {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--olive);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero-tagline .hero-director {
  font-weight: 600;
}

.hero-title {
  font-size: 6rem;
  color: var(--olive);
  text-transform: uppercase;
  line-height: 0.9;
  margin-bottom: 1.5rem;
  margin-left: -4px;
}

.hero-synopsis {
  font-size: 1.125rem;
  color: var(--olive);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  opacity: 0.9;
}

.hero-cast {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-cast span {
  font-weight: 400;
  color: var(--olive);
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-cast span.hero-last-name {
  font-weight: 600;
}

.hero-cta {
  text-align: center;
}

.hero-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-poster img {
  max-width: 100%;
  height: auto;
  max-height: 70vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.about-text .section-title {
  margin-bottom: 1.5rem;
}

.synopsis-full {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray);
  margin-bottom: 1rem;
}

.synopsis-full:last-child {
  margin-bottom: 0;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Trailer Section */
.trailer {
  padding: 100px 0;
  background-color: var(--olive);
}

.trailer .section-title {
  color: var(--orange);
}

.trailer-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background-color: var(--black);
  border-radius: 8px;
  overflow: hidden;
}

.trailer-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
}

.video-placeholder p {
  color: var(--gray);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Cast Section */
.cast {
  padding: 100px 0;
  background-color: var(--white);
}

.cast-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.cast-card {
  flex: 0 0 calc(33.333% - 2rem);
}

.cast-card {
  text-align: center;
}

.cast-photo {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: var(--gray-light);
  overflow: hidden;
}

.cast-photo.placeholder {
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    var(--orange-dark) 100%
  );
  opacity: 0.3;
}

.cast-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cast-card h3 {
  font-size: 1.75rem;
  color: var(--olive);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.cast-card .role {
  color: var(--gray);
  font-size: 1.125rem;
}

.crew-section {
  border-top: 1px solid var(--gray-light);
  padding-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.crew-member {
  text-align: center;
}

.crew-role {
  display: block;
  font-size: 1rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.crew-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--olive);
  text-transform: uppercase;
}

/* Crew Section */
.crew {
  padding: 100px 0;
  background-color: var(--cream);
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}

.crew-card {
  text-align: left;
}

.crew-card .crew-role {
  display: block;
  font-size: 1rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.crew-card .crew-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--olive);
  text-transform: uppercase;
  white-space: nowrap;
}

/* Screenings Section */
.screenings {
  padding: 100px 0;
  background-color: var(--orange);
}

.screenings .section-title {
  color: var(--olive);
}

.screenings-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
}

.screening-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.screening-date {
  text-align: center;
  min-width: 80px;
}

.screening-date .month {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.screening-date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--olive);
  line-height: 1;
}

.screening-info {
  flex: 1;
}

.screening-premiere {
  display: inline-block;
  background-color: var(--olive);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.screening-info h3 {
  font-size: 1.25rem;
  color: var(--olive);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.screening-info .venue {
  color: var(--black);
  font-weight: 500;
}

.screening-info .location {
  color: var(--gray);
  font-size: 0.9rem;
}

.screening-tickets {
  background-color: var(--olive);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.screening-tickets:hover {
  opacity: 0.85;
}

.screenings-note {
  margin-top: 2rem;
  color: var(--olive);
  font-style: italic;
  opacity: 0.8;
}

.screenings-note .follow-link {
  color: var(--olive);
  text-decoration: underline;
}

.screenings-note .follow-link:hover {
  opacity: 0.7;
}

/* Press Section */
.press {
  padding: 100px 0;
  background-color: var(--cream);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.press-card {
  display: block;
  background-color: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.press-source {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.press-headline {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--olive);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.press-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.3s ease;
}

.press-card:hover .press-link {
  color: var(--orange);
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--olive);
}

.contact .section-title {
  color: var(--orange);
}

.contact-icons {
  display: flex;
  gap: 2rem;
}

.contact-icons .social-icon img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px;
  max-height: 36px;
  transition: opacity 0.3s ease;
}

.contact-icons .social-icon:hover img {
  opacity: 0.7;
}

/* Footer */
.footer {
  background-color: var(--olive);
  padding: 20px 0;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

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

.footer-links .social-icon img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px;
  max-height: 36px;
  vertical-align: middle;
  display: inline-block;
}

.copyright {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-cast {
    justify-content: center;
  }

  .hero-poster {
    order: -1;
  }

  .hero-poster img {
    max-height: 50vh;
  }

  .cast-card {
    flex: 0 0 calc(50% - 1.5rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--orange);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a:hover {
    color: var(--black);
  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    font-size: 1.5rem;
    color: var(--olive);
  }

  .section-title {
    font-size: 2.25rem;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-synopsis {
    font-size: 1rem;
  }

  .about,
  .trailer,
  .cast,
  .crew,
  .screenings,
  .press,
  .contact {
    padding: 60px 0;
  }

  .cast-card {
    flex: 0 0 100%;
  }

  .cast-grid {
    gap: 2rem;
  }

  .cast-photo {
    width: 150px;
    height: 150px;
  }

  .screening-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
    margin-left: 0;
  }

  .hero-cast {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .about-text .section-title {
    white-space: nowrap;
    font-size: 1.75rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
