/* Load Bebas Neue font */
@font-face {
  font-family: 'BebasNeue';
  src: url('fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Mistral';
  src: url('fonts/Mistral.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* General page styling */
body {
  background-color: #0b0b0b;
  color: white;
 font-family: 'Inter', sans-serif;
  margin: 50px;
}

/* Header bar */
.header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

/* Subheader bar */
h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
}

/* Name in top left */
.site-name {
  font-family: 'BebasNeue';
  font-size: 80px;
  color: #FFD400;
}

/* Navigation links */
nav a {
  font-family: 'BebasNeue';
  font-size: 24px;
  color: #FFD400;
  text-decoration: none;
  margin-left: 25px;
}

nav a:hover {
  color: white;
}

/* Page headings */
h2 {
  font-family: 'BebasNeue';
  font-size: 40px;
  color: #FFD400;
}

/* About section */
.about {
  display: flex;
  margin-top: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.about img {
  width: 450px;
  margin-right: 40px;
}

.about-text {
  font-size: 18px;
  line-height: 1.2;
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 0px;
}

.about-text p {
  margin-top: 0px;
}

/* Director page posters */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 40px;
  justify-content: center;
}

.poster-grid img {
  width: 270px;
  height: 400px;
  object-fit: cover;
}

.poster-grid img:hover {
  transform: scale(1.05);
  transition: 0.2s;
}

/* Film text under posters */

.film {
  text-align: center;
}

.film-title {
  font-family: 'BebasNeue';
  color: #FFD400;
  font-size: 24px;
  letter-spacing: 1px;
  margin-top: 14px;
}

.film-year {
  font-family: Arial, sans-serif;
  color: #cccccc;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* Camera resume preview */

.resume-preview {
  margin-top: 40px;
  text-align: center;
}

.resume-preview img {
  width: 650px;
  border: 2px solid #FFD400;
  transition: transform 0.2s;
}

.resume-preview img:hover {
  transform: scale(1.05);
}

.resume-caption {
  margin-top: 10px;
  font-size: 14px;
  color: #bbbbbb;
}

/* Hero section */

.hero {
  margin-top: 10px;
  margin-bottom: 80px;

  margin-left: -50px;
  margin-right: -50px;

  height: 400px;

  background-image: url("images/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-left: 50px;

  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero h2 {
  font-size: 50px;
  color: #FFD400;
  margin-bottom: -24px;
  z-index: 2;
}

.hero p {
  font-size: 20px;
  color: white;
  max-width: 700px;
  margin-bottom: -50px;
  z-index: 2;
}

/* Film grain overlay */

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.1;

  background-image: url("images/grain.png");
  background-size: cover;
  background-repeat: no-repeat;
}

/* General link styling */

a {
  color: #FFD400;
  text-decoration: none;
}

a:visited {
  color: #FFD400;
}

a:hover {
  color: white;
}

/* Video container */

.video-wrapper {
  max-width: 750px;  /* Controls size */
  margin: 40px auto; /* Centers horizontally and adds spacing */
  z-index: 10000;
}

/* Contact page styling */

.contact-links a {
  font-family: 'BebasNeue';
  font-size: 26px;
  letter-spacing: 1px;
}

.contact-links a:hover {
  color: white;
}

.contact-links p {
  font-family: 'BebasNeue';
  font-size: 26px;
  color: white;
  margin-bottom: 5px;
}

.contact-links p {
  margin: 0 0 6px 0;
}

h2 {
  margin-bottom: 5px;
}

.contact-links {
  margin-top: 20px;
  margin-left: 50px;
}

.camera-section {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  margin-top: 10px;
  margin-right: 550px;
}

#skills ul {
  font-size: 20px;
  line-height: 1.6;
   margin-right: 150px;
   margin-left: 20px;
}

/*Script font colour */

.script-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background-color: #f9f9f9;
    color: #222;
    font-family: "Courier New", monospace;
}

/* Scene headings */
.scene {
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 30px;
}

/* Action text */
.action {
    margin: 15px 0;
}

/* Character names */
.character {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

/* Dialogue */
.dialogue {
    max-width: 400px;
    margin: 0 auto 15px auto;
    text-align: left;
}

/* Parentheticals */
.parenthetical {
    text-align: center;
    font-style: italic;
    margin: 0;
}

/* Script watermark */

.watermark {
    position: fixed;
    bottom: 10px;
    right: 20px;
    opacity: 0.4;
    font-size: 20px;
    color: white;
    z-index: 9999;
    pointer-events: none;
}

.watermark-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: 80px;
    color: rgba(0, 0, 0, 0.08); /* very faint */
    white-space: nowrap;
    pointer-events: none;
    z-index: 9999;
    user-select: none;
}