@font-face {
  font-family: "classico";
  src: url("../assets/fonts/ClassicoBold.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html,
body {
  max-width: 100%;
}

/* Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0d1316;
}

html {
  scroll-behavior: smooth;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.commercial-showreel-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding-top: 1rem;
}

.commercial-showreel-title-container p {
  font-family: "classico";
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.showreel-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding-top: 5rem;
}

.showreel-title-container p {
  font-family: "classico";
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.showreel-container video {
  width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  padding: 2rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: hsla(120, 38%, 92%, 0.9);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 60px;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  font-family: "classico", sans-serif;
  font-size: 32px;
  font-weight: bold;
  color: #000000;
  flex: 1;
}

.logo a {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  justify-content: center;
  flex: 1;
  padding-right: 2rem;
}

.nav-links li a {
  position: relative;
  color: #000;
  text-decoration: none;
  font-weight: normal;
  font-size: 20px;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #dd0303;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.nav-links li a:hover::after {
  transform: scaleX(1);
}

.nav-links li a:hover {
  color: #dd0303;
}

.contact-wrapper-header {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex: 1;
}

.contact-wrapper-header img {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Hide nav links and show hamburger on small screens */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: hsla(120, 38%, 92%, 0.9);
    position: absolute;
    top: 60px; /* below navbar */
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    gap: 1rem;
    align-items: center;
  }

  .contact-wrapper-header {
    display: none; /* hide contact icons if desired */
  }
}

@media (max-width: 768px) {
  .logo {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem; /* Adjust as needed */
    font-size: 1.6rem;
  }
}

#contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: hsl(120, 38%, 92%);
  padding: 1rem 2rem;
  color: #000000;
  flex-wrap: wrap;
}

/* Match header icon styling */
.contact-wrapper-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-wrapper-footer img {
  width: 32px;
  height: 32px;
  height: auto;
}

/* Align copyright to right */
.footer-section {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.footer-section p {
  font-size: 1.1rem;
  color: #000000;
  margin: 0;
}

.contact-wrapper-header img {
  max-width: 50px;
  align-items: center;
}

.poster-container-streetfreak {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 3rem;
}

.poster-container-streetfreak img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.poster-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem 2rem;
}

.poster-container img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.poster-text {
  line-height: 1.8;
  flex: 1;
  font-family: sans-serif;
}

.synopsis {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #ffffff;
}

.credits p {
  line-height: 1.8;
  margin: 0.2rem 0;
  font-size: 1.1rem;
  color: #ffffff;
}

.musicvideo-credits {
  max-width: 1400px; /* keeps text from getting too wide */
  font-size: 1.2rem;
  font-family: "Arial", sans-serif; /* or any other font you prefer */
  margin: auto;
  text-align: center;

  padding-bottom: 2rem;
  line-height: 1.6; /* makes paragraphs easier to read */
  color: white;
}

.work-title {
  text-align: center;
  font-family: "classico", sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  margin-top: 6rem;
}

.work-title p {
  text-align: center;
  font-family: "classico", sans-serif;
  font-size: 1.2rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

.poster-video {
  padding-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  width: 100%;
  max-width: 1200px;
}

.thumbnail-link {
  position: relative;
  display: block;
  width: 100%;
  max-width: 935px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.youtube-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.poster-video iframe {
  width: 100%; /* fill the container */
  max-width: 935px; /* or whatever max you like */
  aspect-ratio: 16/9; /* keeps 16:9 automatically */
}

.local-video {
  width: 100%;
  max-width: 935px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.links-icon {
  padding-top: 1rem;
  height: 80px;
  width: 80px;
}

.image-works {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 1rem 0;
  padding-top: 3rem;
  max-width: 100%; /* prevent overflowing */
  margin: 0 auto; /* center the row */
}

.image-works img {
  width: 100%;
  max-width: 700px;
  height: auto;
  flex-shrink: 1;
}

.indroduction {
  max-width: 1400px; /* keeps text from getting too wide */
  font-size: 1.2rem;
  font-family: "Arial", sans-serif; /* or any other font you prefer */
  margin: auto;
  text-align: center;
  line-height: 1.6; /* makes paragraphs easier to read */
  color: white;
  padding-bottom: 3rem;
}

/* Mobile styles */

@media (max-width: 320px) {
  .footer-section {
    display: flex;
    justify-content: flex-end;
    flex: 1;
  }

  .footer-section p {
    font-size: 1.0rem;
    color: #000000;
    margin: 0;
    padding-left: 2rem;
  }
}

@media (max-width: 768px) {
  .showreel-title-container p {
    font-size: 1rem;
  }

  .commercial-showreel-title-container p {
    font-size: 1rem;
  }

  .showreel-container video {
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 1rem;
  }

  .footer-section p {
    font-size: 1.0rem;
    color: #000000;
    margin: 0;
    padding-left: 2rem;
  }

  .poster-container,
  .poster-container-streetfreak {
    flex-direction: column;
    align-items: center;
  }

  .poster-text {
    text-align: center;
    padding: 0 1rem;
  }

  .inproduction {
    text-align: center;
    font-size: 1rem;
    padding: 1rem;
  }

  .musicvideo-credits {
    padding-left: 0;
    text-align: center;
  }
}

@media (min-width: 1440px) {
  .showreel-container video {
    width: 70%;
    max-width: 75%;
    height: auto;
  }
}

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

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: hsla(120, 38%, 92%, 0.9);
    padding: 1rem 0;
    z-index: 999;
    flex-direction: column;
    align-items: center;
  }

  .nav-menu.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }

  .contact-wrapper-header {
    display: none;
  }
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Slide down animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
