﻿/* Load custom fonts */
@font-face {
  font-family: 'NHaasGrotesk-Light';
  src: url('fonts/NHaasGroteskDSPro-45Lt.woff2') format('woff2');
}

@font-face {
  font-family: 'NHaasGrotesk-Medium';
  src: url('fonts/NHaasGroteskDSPro-65Md.woff2') format('woff2');
}

@font-face {
  font-family: 'NHaasGrotesk-Bold';
  src: url('fonts/NHaasGroteskDSPro-75Bd.woff2') format('woff2');
}

/* Base styles */
body {
  margin: 0;
  font-family: 'NHaasGrotesk-Light', sans-serif;
  background: #f5ff49;
  color: #000;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  padding-right: 4rem; /* Push nav left by increasing right padding */
}

.logo {
  height: 150px;
}

/* Default navigation styles (desktop) */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: -0.5rem;
}

.nav a {
  font-size: 3.5rem;
  font-family: 'NHaasGrotesk-Light', sans-serif;
  text-decoration: none;
  color: #000;
  position: relative;
}

.nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #000;
  transition: width .3s;
}

.nav a:hover::after {
  width: 100%;
}

/* Close button (hidden by default on desktop) */
.close-btn {
  position: absolute;
  top: 40px;
  left: 30px;
  font-size: 3rem;
  display: none; /* Hidden by default */
  font-weight: bold;
  color: #000;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

/* Mobile menu icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  margin: 4px;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  margin-top: -4rem;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-content {
  max-width: 60%;
}

.hero h1,
.hero h2,
.hero h3 {
  font-family: 'NHaasGrotesk-Light', sans-serif;
  font-weight: normal;
  font-size: clamp(2rem, 6vw, 10.5rem);
  line-height: 1.1;
  margin: 1rem 0;
}

.jp-title {
  font-size: clamp(1rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

/* Button */
.btn {
  font-size: clamp(1.2rem, 4vw, 3rem);
  padding: 0.8rem clamp(2rem, 6vw, 6rem);
  background: #000;
  color: #f5ff49;
  border-radius: 50px;
  display: inline-block;
  text-decoration: none;
  transition: transform .3s ease;
  margin-top: 1.5rem;
  text-align: center;
  max-width: 90%;
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.05);
}

/* Cat image & speech bubble */
.cat-container {
  position: fixed;
  right: -300px;
  top: 150px;
  transform: rotate(-20deg) translateX(500px);
  opacity: 1;
  transition: transform 0.8s ease, opacity 0.8s ease;
  z-index: 10;
}

.cat-container.visible {
  transform: rotate(-20deg) translateX(0);
}

.cat-container.fade-out {
  opacity: 0;
}

.cat-img {
  width: 700px;
  height: auto;
}

.speech-bubble {
  font-size: 4rem;
  padding: 25px 60px;
  background: #fff;
  color: #000;
  border: 6px solid #000;
  border-radius: 50px;
  position: absolute;
  top: 60px;
  right: 400px;
  transform: rotate(-5deg);
  font-weight: bold;
  font-family: 'NHaasGrotesk-Medium', sans-serif;
  white-space: nowrap;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.speech-bubble:hover {
  animation: bubble-bounce 0.6s ease;
}

@keyframes bubble-bounce {
  0%   { transform: rotate(-5deg) scale(1); }
  30%  { transform: rotate(-5deg) scale(1.1); }
  50%  { transform: rotate(-5deg) scale(0.95); }
  70%  { transform: rotate(-5deg) scale(1.05); }
  100% { transform: rotate(-5deg) scale(1); }
}

/* Screenings Section */
.screenings {
  padding: 2rem 4rem;
}

.screenings .grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 calc(33.333% - 1rem);
  background: transparent;
  transition: transform .3s ease;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  border-radius: 4px;
}

/* About & Contact */
.about, .contact {
  padding: 2rem 4rem;
}

.socials a img {
  width: 30px;
  margin-right: 1rem;
}

/* Info Icon */
.card {
  position: relative;
  padding-bottom: 2rem;
}

.info-icon {
  position: absolute;
  bottom: 100px;
  right: 10px;
  display: inline-block;
  width: 32px;
  height: 32px;
}

.info-icon img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.info-icon img:hover {
  transform: scale(1.15);
}

/* Typography for sections */
.screenings h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-family: 'NHaasGrotesk-Light', sans-serif;
}

.card p {
  font-size: 1.6rem;
  line-height: 1.4;
  font-family: 'NHaasGrotesk-Light', sans-serif;
}

.card p strong {
  font-size: 1.8rem;
  font-weight: normal;
}

.about h2, .contact h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  font-family: 'NHaasGrotesk-Light', sans-serif;
}

.about p {
  font-size: 1.6rem;
  line-height: 1.6;
  font-family: 'NHaasGrotesk-Light', sans-serif;
  max-width: 900px;
}

.about-contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 4rem;
  gap: 4rem;
}

.about {
  flex: 2;
  max-width: 60%;
}

.contact {
  flex: 1;
}

.socials a img {
  width: 50px;
  margin-right: 1rem;
  transition: transform 0.3s ease;
}

.socials a img:hover {
  transform: scale(1.1);
}

/* ✅ Film Page Layout (Desktop) */
.film-page {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4rem;
  padding: 2rem 4rem;
}

.film-poster {
  flex-shrink: 0;
}

.film-poster img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

.film-details {
  flex: 1;              /* ✅ Makes it take all remaining space */
  max-width: none;      /* ✅ Remove the 600px limit */
  font-size: 1.8rem;
  line-height: 1.6;
  margin-top: 1rem;
  margin-left: 0;
}


.film-details h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.film-details em {
  display: block;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.film-stills {
  padding: 0 4rem;
}

.stills-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1930px;
  margin: 0 auto;
}

.stills-container img {
  width: 100%;
  border-radius: 8px;
}

.ticket-btn-container {
  text-align: center;
  margin: 3rem 0;
}

/* ✅ Mobile Responsive */
@media screen and (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .logo {
    height: 100px;
    margin-left: 0;
  }

  /* Mobile nav */
  .nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #f5ff49;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: top 0.4s ease-in-out;
  }

  .nav a {
    font-size: 2rem;
    margin: 1rem 0;
  }

  .nav.active {
    top: 0;
  }

  .close-btn {
    display: block;
  }

  .hamburger {
    display: flex;
    z-index: 101;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .btn {
    margin-top: 1rem;
    display: inline-block;
  }

  /* Cat adjustments */
  .cat-container {
    right: -70px;
    top: 130px;
    transform: rotate(-10deg) translateX(280px);
    width: 220px;
  }

  .cat-container.visible {
    transform: rotate(-30deg) translateX(0);
  }

  .cat-img {
    width: 100%;
    height: auto;
  }

  .speech-bubble {
    font-size: 1.4rem;
    padding: 8px 20px;
    top: -35px;
    right: 90px;
    border-width: 4px;
    transform: rotate(0);
  }

  /* Screenings mobile */
  .screenings {
    padding: 0;
  }

  .screenings h2 {
    padding: 1.5rem 1.5rem 0 1.5rem;
  }

  .screenings .grid {
    flex-direction: column;
    padding: 0 1.5rem;
  }

  .card {
    flex: 1 1 100%;
  }

  .about-contact {
    flex-direction: column;
    padding: 2rem;
    gap: 2rem;
  }

  /* ✅ Film page mobile override */
  .film-page {
    flex-direction: column;    /* ✅ Stack poster and text vertically */
    align-items: flex-start;   /* ✅ Align text to the left instead of center for better readability */
    padding: 1.5rem;           /* ✅ Comfortable padding on mobile */
    gap: 2rem;                 /* ✅ Space between poster and text */
    width: 100%;               /* ✅ Make it use full width */
  }
  

  .film-details {
    margin-left: 0;
    text-align: left;
    max-width: 90%;
    font-size: 1.4rem;
  }

  .film-details h1 {
    font-size: 2rem;
  }

  .film-details em {
    font-size: 1.4rem;
  }

}
