/* -------------------- GENERAL BODY -------------------- */
body {
  margin: 0;
  background-color: black;
  color: white;
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
}

/* -------------------- DESKTOP NAVIGATION -------------------- */
nav {
  width: 100%;
  padding: 1rem 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

nav li {
  position: relative;
}

nav a {
  color: #bbbbbb;
  text-decoration: none;
  font-size: clamp(16px, 2vw, 22px);
  text-transform: lowercase;
}

nav a.current {
  font-weight: bold;
  text-decoration: underline;
}

/* DESKTOP DROPDOWN */
nav ul ul {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  min-width: 150px;
  background: rgba(0,0,0,0.9);
  padding: 0.5rem 0 0.25rem 0;
  transition: all 0.25s ease;
}

nav ul ul li {
  padding: 0.15rem 1rem;
}

nav ul ul li a {
  font-size: clamp(14px, 1.8vw, 18px);
}

nav li:hover > ul {
  display: flex;
}

/* DESKTOP ADJUSTMENTS */
@media (min-width: 769px) {
  .splash {
    justify-content: center; 
    padding-top: 5vh;
  }

  .trailer-container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    height: calc(100vh - 80px); 
  }

  nav ul ul li a[href="thomas-bartscherer.html"] {
    white-space: nowrap;
  }

  nav ul ul li:first-child {
    padding-top: 0.5rem; 
  }

  nav ul ul li:not(:first-child) {
    padding-top: 0.075rem;
    padding-bottom: 0.075rem;
  }
}

/* -------------------- SPLASH PAGE -------------------- */
.splash {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;
  min-height: 100vh;
  gap: 2rem;
}

.splash h1 {
  font-size: 8vw;
  letter-spacing: 0.16em;
  line-height: 1.1;
  margin: 0;
  text-transform: lowercase;
}

.splash h1 a {
  color: white;
  text-decoration: none;
}

.splash h1 a:hover {
  text-decoration: underline;
}

.splash-menu {
  display: none;
}

/* -------------------- MOBILE LAYOUT -------------------- */
@media (max-width: 768px) {
  nav {
    display: none; 
  }

  .splash {
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    gap: 5vw;
    padding-top: max(25vh, 10vw); 
  }

  .splash h1 {
    font-size: 10vw; 
  }

  .splash-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 3vw;
  }

  .splash-menu li a {
    font-size: 7vw; 
    color: white;
    text-decoration: none;
    text-transform: lowercase;
    text-align: center;
  }

  .splash-menu li a:hover {
    text-decoration: underline;
  }

  .trailer-container {
    display: flex;
    justify-content: center; 
    align-items: center;     
    height: 100vh;           
    padding: 0;              
  }

  .trailer-container iframe {
    width: 100vw;                  
    height: calc(100vw * 9 / 16);  
    max-height: 100vh;             
  }
}

/* -------------------- DESCRIPTION / BIO PAGE -------------------- */
.page-title {
  text-align: center;
  font-size: 3em;
  letter-spacing: 0.16em;
  line-height: 1.1;
  margin: 2rem 0;
}

p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  margin-bottom: 1.5em;
  color: white;
  text-align: left;
}

.credits {
  text-align: center;
  margin-top: 2rem;
  font-style: normal;
}

/* LINKS */
a {
  color: #7fd0b0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* -------------------- AUDIO PAGE -------------------- */
.audio-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem auto;
  max-width: 900px;
}

.audio-container .audio-title {
  color: #a8c686 !important;
  text-align: center;
  font-size: 6vw;
  white-space: nowrap;
  display: block;
  margin-top: 1rem;
}

.audio-container audio {
  margin-bottom: 2rem;
}

@media (min-width: 769px) {
  .audio-container .audio-title {
    font-size: 40px;
    white-space: nowrap;
  }
}

/* AUDIO PAGE TITLE LIKE VIDEO */
body.audio-page .page-title {
  font-size: 1.05em;
  text-align: center;
  letter-spacing: 0.15em;
}

/* -------------------- VIDEO PAGE -------------------- */
body.video-page .page-title {
  font-size: 1.05em;
  text-align: center;
  letter-spacing: 0.15em;
}

.video-label, .video-caption {
  text-align: center;
  color: #a8c686;
}

.video-label {
  font-size: 1.3em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.video-caption {
  font-size: 1em;
  margin-top: 0.5rem;
}

.video-separator {
  text-align: center;
  color: white;
  font-size: 1.5em;
  margin: 2rem 0;
  letter-spacing: 1em;
  line-height: 1;
}

/* -------------------- THOMAS BARTSCHERER BIO -------------------- */
.bio-container {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  text-align: left;
}

.bio-container img {
  float: left;
  height: 12em;
  width: auto;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0.6em; /* move image slightly down */
}

.bio-container p {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  margin: 0 0 1.5em 0;
  color: white;
  text-align: left;
}

/* -------------------- MOBILE SPECIFIC DESCRIPTION PAGE -------------------- */
@media (max-width: 768px) {
  p {
    font-size: 5vw;
    text-align: left;
  }

  .page-title {
    font-size: 9vw;
    text-align: center;
    margin: 4vw 0;
  }

  .credits {
    font-size: 5vw;
  }
}
