@font-face {
  font-family: 'Montserrat-Regular';
  src:  url('fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Light';
  src:  url('fonts/Montserrat-Light.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-ExtraLightItalic';
  src:  url('fonts/Montserrat-ExtraLightItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat-Italic';
  src:  url('fonts/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}


 @font-face {
  font-family: 'AvenirNextProRegular';
  src: url('fonts/AvenirNextProRegular/font.woff2') format('woff2'),
       url('fonts/AvenirNextProRegular/font.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'BodoniStdBookRegular';
  src: url('fonts/BodoniStdBookRegular/font.woff2') format('woff2'),
       url('fonts/BodoniStdBookRegular/font.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'BatrisyiaScriptAlternates';
  src: url('fonts/BatrisyiaScriptAlternates/font.woff2') format('woff2'),
       url('fonts/BatrisyiaScriptAlternates/font.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}






/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'AvenirNextProRegular',Arial, sans-serif;
  background: #111;
  color: white;
  font-weight: 100;
}

/* Header and Nav */
header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;

}


  nav.show {
    display: flex;
  }

  #hamburger {
    display: block;
  }

.header-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	z-index: 1000; /*always on top*/
	
}




/* --------------- hamburger overlay --------------- */

.film-title {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 auto;
}

.movie-title {
  display: block;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: normal;
  font-size: 2.5rem;
  font-family: 'BodoniStdBookRegular';
}


.movie-subtitle {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.2rem);
  font-weight: normal;
}

.logo-container-menu	{
    margin-bottom: 40px;
    padding: 1rem;
     border-bottom: 2px solid #444; /* thick dark gray bottom border */
}





/* Video Container */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Behind content */
  overflow: hidden;
  
}



.video-container video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.10); /* <---- shift up or down */
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.video-container::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('images/kati-looking-out-barn.jpg') no-repeat center center / cover;
  z-index: -1;
}

.video-container {
  transition: opacity 1s ease-out;
}

body {
  margin: 0;
  padding: 0;
}

.main-content { /* or `.parent` in your case */
  position: relative;
  z-index: 1;
  margin-top: 100vh; /* pushes content below the fixed video */
}


.overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo-image {
  /*width: 800px;*/
  max-width: 40%;
  min-width: 300px;
  margin-bottom: 2rem;
   transition: transform 2s ease, opacity 2s ease;
  transform-origin: top center; /* ensures it scales from the top down */
}

#headlineImage.shrink {
  transform: scale(0.9); /* adjust scale factor to your preference */
  opacity: 0; /* fades it out completely */
}

.buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  
}

.spaceabove {
	margin-top: 120px;
}

.btn {
  background: #c65336;
  color: white;
  padding: 1rem 1.2rem;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 8px; /* standard rounded corners */
  font-size: 1rem;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

.btn.transparent {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn:hover {
  background: #a84329;
}

/* Modal Trailer */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(17, 17, 17, 0.9);
  
}




.modal-content {
  margin: auto auto;
/*  max-width: 800px;*/
  background: #111;
  position: relative;
/*  padding-top: 40px;*/
/*  max-width: 1920px;   Increase this value as needed */
  width: 95%;         /* Ensures it scales with screen size */
}

.modal-content video {
  width: 100%;
  height: auto;
}

.modal-responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 54.054%; /* 3996x2160 ratio */
  overflow: hidden;
}


.modal-responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
 height: 100%;
  border: none;
 /* pointer-events: none;*/
}



.close {
  position: absolute;
  top: 0px;
  right: 0px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 30;
}


/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 2rem;
 
}

footer .socials img {
  width: 16px;
  margin: 0 0.5rem;
  filter: invert(1);
}

footer p {
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-size: 12px;
	 margin: 12px 0 12px 0;
}


/*Jody*/
.fullscreen-background {
  position: absolute;  /* or use 'fixed' if you want it to stay during scroll */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -9999;       /* ensures itâ€™s behind everything else */
  background: url('your-image.jpg') no-repeat center center;
  background-size: cover;
}



.parent {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 5px;
  background: #111; /* match rest of site */
  color: white;
}

.postercontainer {
  display: flex;
  width: 70%;
  flex-direction: row;
  align-items: center;      /* ðŸ’¥ Vertically center children */
  justify-content: space-between;
}


.box {
  flex: 1;
  display: flex;
  justify-content: center;   /* horizontal centering */
  align-items: center;       /* vertical left or center */
  max-height: 1000px;             /* set a height so vertical centering is visible */
 /* border: 1px solid #ccc; */
  box-sizing: border-box;
}

.right-align {
  justify-content: flex-end;
  text-align: right;
}

.left-align {
  justify-content: flex-start;
  text-align: left;
}

/* Responsive stacking on small screens */
@media (max-width: 1500px) {
  .postercontainer {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .box {
    width: 100%;
    max-width: 600px;
   
  }
}


html {
  scroll-behavior: smooth;
}



#poster img {
  border: 8px solid white;   /* thickness + color */
  height: auto;
  width: 70%; /* Keeps the aspect ratio */
  max-width: 420px;
         
}

@media (max-width: 600px) {
  #poster img {
      width: 100%;
      max-width: 420px;
  }
}


#moviedescription {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertically center content inside box */
  margin-top: 20px;
  text-align: center;
}

#moviedescription h2 {
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}

#moviedescription p{
 font-size: 20px;
/* line-height: 30px;*/
 font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

#videos {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertically center content inside box */
  padding: 10px;
  text-align: left;
}

#cast {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* ðŸ’¥ Vertically center content inside box */
  padding: 20px;
  text-align: left;
}

#cast h3 {
	margin-top: 15px;
	font-size: 16px;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}
#cast p {
	margin-left:8px;
	font-size: 16px;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}
/*
* {
  outline: 1px solid red; /* shows all element boundaries 
}
*/

h2 {
	font-size: 30px;
	padding:4px;
	font-weight: 100;
}
p {
	padding:4px;
}

#watchcontainer {
	width: 40%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#watch {
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

.watch-responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}


.watch-responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 800px) {
	#watchcontainer {
		width: 100%;	
	}	
}



#videos h2 {
	margin-bottom: 10px;
	font-weight: 100;
}






/* --- MENU TOGGLE (Hamburger + "Menu" text) --- */

#menuToggle {
  color:white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
 /*font-size: 0.8rem;*/
  cursor: pointer;
  z-index: 9999;
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
}


#returnHome {
	color: white;              /* ensure it's white */
  z-index: 9999;    
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  position: fixed;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
}

#menuToggle span {
  user-select: none;
}

/* --- FULLSCREEN MENU --- */
#fullscreenMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #111;
  color: white;
  z-index: 1500;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
   overflow: hidden;
}

#fullscreenMenu nav a {
  display: block;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 1.8rem;
  margin: 5px;
  transition: color 0.3s;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

#fullscreenMenu nav a:hover {
  color: #a84329;
}

.main-nav h1 {
	font-size: 50px;
	text-align: center;
	margin-bottom: 30px;
	font-weight:100;
	
}

.main-nav h1 span.subtitle {
	font-size: 40px;
	text-align: center;
	font-weight: 100;
	
}

.main-nav h1 span.comingsoon {
	font-size: 20px;
	text-align: center;
	color: #c65336;
	font-style: italic;
	font-weight: 100;
	
}

.main-nav a {
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

#headlineImageNav {
  max-width: 600px;
  width: 90%; /* or auto, depending on your needs */
}

/* --- PAGE CONTENT (slides down when menu opens) --- */
#pageContent {
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1000;
}

/* --- MENU OPEN STATE --- */
body.menu-open #fullscreenMenu {
  transform: translateY(0);
}

body.menu-open #pageContent {
  transform: translateY(100vh);
}

.hide {
	display:none;
}


#fullscreenMenu nav {
  display: flex;
  flex-direction: column; /* stack children vertically */
  align-items: center;    /* center horizontally */
}


#fullscreenMenu nav a.active {
  color: #a84329;
  
}

/*share button*/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 3000;
  background: transparent;
  padding: 1rem 2rem;
  height: 80px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




/* Share Button */
#shareButton {
  color: white;
  display:flex;
  align-items:center;
  gap:0.5rem;
 /* font-size: .8rem;*/
  cursor: pointer;
  z-index: 9999;
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
}

#shareWord, #menuLabel {
	 font-size: 1rem !important;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}


#shareDropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #111;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  z-index: 3002;
  flex-direction: column;
  font-size: 1rem;
}

#shareButton:hover #shareDropdown {
  display: flex;
}

#shareDropdown a {
  color: white;
  text-decoration: none;
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

#shareDropdown img {
  width: 16px;
  height: 16px;
  margin-right: 0.5rem;
}

/*blacken header on scroll*/
header {
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;

}

/* When scrolled */
header.scrolled {
  background-color: rgba(17,17,17,0.75);
}

#shareDropdown.show {
  display: flex;
}



/*---------------------------------*/
/*for upcoming screenings page*/

#page-content-screenings {
	margin-top: 80px;
	
}

#screeningsheading {
	margin-top: 30px;
	margin-bottom: 20px;
}

/* Default: side by side */
.responsive-container-screenings {
  display: flex;
  gap: 0px; /* optional spacing between boxes */
}

.box-screenings {
  flex: 1; /* equal width */
  background-color: #111;
}


#screeningsheading {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertically center content inside box */
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  margin-top: 0px;
}

#screeningsheading h1 {
	margin-top:30px;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}

#scheduleanddetails {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-right: 10px;
	padding-left: 10px;

}

#barnimage{
  height: 100vh;
  overflow: hidden;
  position: relative;
  width: 50%;

}

.panning-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: auto;
  animation: panRightTranslate 200s linear infinite;
}

@keyframes panRightTranslate {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Adjust based on image width */
}
#tableofscreenings {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 150px;
	width: 90%;
	border-collapse: collapse;
}

#tableofscreenings td, #tableofscreenings th {
	padding: 4px;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

/* Responsive: stack on small screens */
@media (max-width: 768px) {
  .responsive-container-screenings {
    flex-direction: column;
  }
}

/* When screen is big enough, display panning picture on left */
@media (min-width: 1000px) {
    /* Make the table a portion of the screen*/
	#tablecontainer {
		max-height: 50vh;
		width:100%;	
		overflow-x: auto; /*enables horizontal scroll on small screens */
	}
  	 /*Prevent scrolling on the entire page 
		
			
			.no-scroll-page,
			.no-scroll-page html {
				height: 100vh;
				overflow: hidden;
			}*/
  
  /* Scroll only this container */
	.scrollable-container {
	height: calc(100vh - 80px); /* Adjust if you have a header/footer */
	overflow-y: auto;
	}
}

#ScreeningImageNav {
  display: block;
  margin: 0 auto; /* Horizontally centers block elements */
  max-width: 200px; /* Prevents overflow */
  height: auto;
}

.screening-note {
	font-style: italic;
	color: #c65336;
	margin-top: 10px;
}

.request-screening-button {
  background-color: #c65336;
  color: white;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  display: inline-block;
  transition: background 0.3s;
}

.request-screening-button:hover {
  background-color: #a84329;
}



/*about the filmmakers page*/
.filmmaker-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 100px auto;
}

.filmmaker-section h1 {
	text-align: center;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}


.filmmaker {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* prevent wrapping */
  gap: 2rem;
}

.filmmaker.reverse {
  flex-direction: row-reverse;
}

.filmmaker-image {
  flex: 1;
  min-width: 0;
}

.filmmaker-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.filmmaker-text {
  flex: 1;
  min-width: 0;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
  
}

.filmmaker-section h3 {
  margin-top: 0;
  font-size: 2rem;
  color: #c65336;
  text-align: left;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}

.filmmaker-section .actor-title {
	font-size: 1rem;
	font-weight: normal;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	
}

.filmmaker-section .interviewee-title {
	font-size: 1rem;
	font-weight: normal;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	
}


.filmmaker-section h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #c65336;
  text-align: left;
  font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
  font-weight: 100;
}

.filmmaker-section h2.white {
	color:white;
	font-weight: 100;
}

.filmmaker-section p.actor-name {
	color: #c65336;
	font-size: 1.3rem;
}



.filmmaker-text p {
  font-size: 1.1rem;
  line-height: 1.6;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}

.filmmaker-text a {
    color: white;
}

.filmmaker-text a:hover {
  font-weight: bold;
}

.italic p {
	font-style: italic;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .filmmaker {
    flex-direction: column;
    text-align: center;
  }

  .filmmaker.reverse {
    flex-direction: column;
  }

  .filmmaker-text {
    text-align: justify;
    padding: 0 1rem;
    font-weight: 100;
  }
  
 
  
 
}

#hamburger svg {
  vertical-align: -.1em;
}

/*about the filmmakers page*/
.education-section {
  
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 100px auto 200px auto;
}

.education-section h1 {
	text-align: center;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}


.ed-coming-soon {
	text-align: center;
}

/* Holocaust Education page*/
.ed-responsive-section {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.ed-section-box {
  flex: 1 1 45%;
  background-color: #111;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.ed-section-box h2 {
	text-align: center;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-size: 40px;
	font-weight: 100;
}

.ed-section-box p {
	text-align: justify;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}

.ed-donate-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: #c65336;
  color: white;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.ed-donate-button:hover {
  background-color: #a84329;
}

/* Stack vertically on smaller screens */
@media (max-width: 768px) {
  .ed-responsive-section {
    flex-direction: column;
  }

  .ed-section-box {
    flex: 1 1 100%;
  }
}

/*Contact Us page*/

.contactus-section {
  
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1200px;
  margin: 100px auto 50px auto;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}

.contactus-section h1, .contactus-section p, #bathroomscene p {
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
	font-weight: 100;
}

#bathroomscene {
	text-align: center;
	
}

#bathroomscene img {
	width: 75%;
	max-width:1200px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 15px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
  font-size: 14px;
}

.contact-form button {
  padding: 10px 20px;
  background-color: #c65336;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
	font-family: 'AvenirNextProRegular', Helvetica Neue,sans-serif;
}


 .contact-form button[type="submit"]:hover {
    background-color: #a84329;
  }
  




/* to show background video on home page better on small screens */
/* On mobile screens, adjust scaling */
@media screen and (max-width: 768px) {
  .video-container video {
   transform: translate(-50%, -50%) scale(.8); /* <---- shift up or down */
  }
} 
  
  /* so that we can have an H1 on the home page*/
  .visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/*About kati Preston page*/

#katiThankYouVideo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}


/*actor grid*/

.actor-grid {
  display: grid;
  grid-template-columns: 1fr; /* One column only */
  gap: 2rem;
  padding: 2rem;
}

.actor-card {
  background-color: #111;
  color: white;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
 /* box-shadow: 0 0 10px rgba(255,255,255,0.1);*/
  transition: transform 0.3s;
}

.actor-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.actor-card p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}

.fsp-logo-small {
	width:100px;
}
