@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap");

:root {
  --title-font: "Playfair Display", serif;
  --body-font: "Montserrat", sans-serif;

  --orange: hsl(30, 74%, 50%);
  --red: hsl(4, 72%, 53%);
  --blue: hsl(183, 28%, 59%);
  --green: hsl(91, 17%, 72%);
  --dark-blue: hsl(240, 19%, 26%);
}

body {
  margin: 0 auto;
}

.italics {
  font-style: italic;
}

/* Nav-------------------------------------------------------------------------------------*/
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--orange);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  display: none; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
  background-color: var(--red);
}

.up-arrow {
  width: 30px;
  height: 50px;
}

.menu {
  transition: 0.2s ease;
}

.menu:hover {
  transform: scaleY(1.1);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  align-self: start;
  justify-self: end;
  margin: 40px;
}

.nav-menu {
  display: none;
  position: fixed;
  top: 95px; 
  right: 40px; 
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 15px;
  border-radius: 8px;
  z-index: 700; 
  transition: 0.2s ease;
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 10px 0;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-family: var(--body-font);
  font-size: 30px;
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: var(--red);
}

.menu-toggle.active + .nav-menu {
  display: block;
}

/* header--------------------------------------------------------------------------------------*/
header {
  display: grid;
  justify-items: center;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  margin: 0;
  height: 700px;
}
.header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  grid-column: 1/4;
  grid-row: 1/4;
  z-index: -6;
}
.title {
  grid-row: 1/2;
  grid-column: 1/2;
  color: white;
  align-self: flex-start;
  justify-self: flex-start;
  margin: 40px;
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}
.title a {
  text-decoration: none;
  color: white;
  margin: 0;
  font-weight: bolder;
  font-size: 60px;
  font-family: var(--title-font);
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}
.title h2 {
  margin-top: 10px;
  font-size: 30px;
  font-family: var(--body-font);
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
  text-align: left;
}
.menu {
  width: 50px;
  height: 50px;
  grid-column: 3/4;
  grid-row: 1/2;
  fill: white;
  align-self: flex-start;
  justify-self: flex-end;
  margin: 10%;
}
header p {
  grid-column: 2/4;
  grid-row: 3/4;
  margin: 10%;
  color: white;
  font-family: var(--body-font);
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

.hero-img-quote {
  font-size: 20px;
  text-shadow: 2px 4px 3px rgba(0, 0, 0, 0.3);
}

/* 1st div index page---------------------------------------------------------------------------- */
.div1 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  margin: 50px 0;
}
.bio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10%;
}
.bio h3 {
  font-size: 50px;
  font-family: var(--title-font);
}
.bio p {
  font-size: 25px;
  font-family: var(--body-font);
  margin-bottom: 50px;
}

.bio-read-more {
  text-decoration: none;
  font-family: var(--title-font);
  font-size: 30px;
  border: 1px solid black;
  border-radius: 3px;
  padding: 20px;
  transition: 0.2s ease;
  color: black;
}

.bio-read-more:hover {
  background-color: var(--orange);
  border: 1px solid var(--orange);
  color: white;
}

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
}
.testimonials p {
  grid-column: 1/3;
  grid-row: 1/2;
  font-size: 17.5px;
  align-self: center;
  text-align: center;
  margin-left: 20px;
  border-radius: 10px;
  padding: 30px;
  color: white;
  font-family: var(--body-font);

}
.testimonials img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  z-index: -6;
  grid-column: 1/4;
  grid-row: 1/3;
  border-radius: 4px;
}

/* 2nd div index page------------------------------------------------------------------*/
.div2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-column-gap: 40px;
  padding: 50px;
  background: var(--green);
}
.div2 a {
  font-size: 40px;
  text-decoration: none;
  color: black;
}
.div2 img {
  overflow-clip-margin: unset;
  width: 100%;
  height: 350px;
  object-fit: cover;
  justify-content: center;

}
.links {
  display: grid;
  align-items: center;
}
.links a {
  text-align: center;
  transition: filter 0.3s ease;
  color: white;
  font-family: var(--title-font);
}

.links:hover {
  filter: brightness(.7);
}

.links a,
.links img {
  grid-row: 1/2;
  grid-column: 1/2;
  border-radius: 4px;
  filter: brightness(1);
  transition: filter 0.3s ease;
}

.div2 .links .images3 {
  color: white;
  font-size: 60px;
  z-index: 10;
}

/* footer-------------------------------------------------------- */
footer {
  display: flex;
  align-items: center;
  height: 150px;
  padding-left: 75px;
  background-color: var(--blue);
  justify-content: space-between;
}
footer a:nth-of-type(1) {
  margin-right: 15%;
}
footer a:nth-of-type(2) {
  margin-right: 55%;
}
footer a:last-child {
  font-size: 40px;
  text-decoration: none;
  color: black;
  font-family: var(--title-font);
  transition: 0.2s ease;
}

footer a:last-child:hover {
  color: #ffffff;
}

footer img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  transition: 0.3s ease;
}

footer img:hover {
  transform: scale(1.1);
}

/* Biography page-------------------------------------------------------------------------------------*/

.bio-body h3 {
  font-family: var(--title-font);
  text-align: center;
  font-size: 50px;
}

.bio-body {
  font-family: var(--body-font);
  font-size: 17.5px;
  margin: 50px 200px;
  line-height: 1.6;
}

.bio-header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 24%;
  grid-column: 1/4;
  grid-row: 1/4;
  z-index: -6;
}

.bio-container {
  margin-top: 50px;
}

.bio-container-img {
  border-radius: 100%;
  width: 300px;
  height: 300px;
  object-fit: cover;
  float: left;
  margin-right: 30px;
  margin-bottom: 30px;
}

/* Videos Page---------------------------------------------------------------------------------------*/
.header-image-videos {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 24%;
  grid-column: 1/4;
  grid-row: 1/4;
  z-index: -6;
}

.videos-page .title h2 {
  color: #f0f0f0;
  font-size: 2rem;
  text-align: left;
}

.video-gallery {
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
  padding: 50px;
}

.video-gallery h2 {
  font-family: var(--title-font);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.video-container iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container iframe:hover {
  transform: scale(1.05);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Photo Gallery Page Styles */

/* Photo Gallery Section-----------------------------------------------------------------------------*/
.photo-gallery {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 1rem;
  text-align: center;
  display: flex;
}

.photo-gallery h2 {
  font-family: var(--title-font);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

/* Gallery Grid Layout------------------------------------------------------------------------------- */
.photo-gallery {
  display: flex;
  flex-direction: column;
  width: 50%;
}
.gallery-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Section----------------------------------------------------------------------------------------------- */
.contact-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 4rem;
  background-color: #d0d8d7;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-container h2 {
  font-family: var(--title-font);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
  font-family: var(--body-font);
}

/* Form Styling--------------------------------------------------------------------------------------------------*/
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-header-img {
  object-position: 10% 27%;
}

.form-group {
  text-align: left;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #555;
  font-family: var(--title-font);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: var(--body-font);
}

input:focus,
textarea:focus {
  border-color: #81b5b3;
  outline: none;
}

.submit-btn {
  display: inline-block;
  background-color: var(--blue);
  color: black;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: var(--title-font);
}

.submit-btn:hover {
  background-color: var(--orange);
  transform: scale(1.05);
}  
.links {
  aspect-ratio: 1 / 1;
  width: 100%;
  background-size: cover;
}
/* press kit ------------------------------------------------------------------------------------------------------------ */
#presskit
{
  background-image: url("../images/Headshots/personal_headshot-1-2.webp");
  background-position: center;
}
#videos {
  background-image: url("../images/NUOVA-Flight/NUOVA\ Flight\ A-9218\ cropped.webp");
  background-position: center;
}
#photos {
  background-image: url("../images/Headshots/personal_headshot-7.webp");
  background-position: center;
}
.press-kit {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.press-kit a {
  padding: 10px 20px;
  background-color: var(--blue);
  color: black;
  border-radius: 5px;
  font-family: var(--title-font);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  width: 60%;
  margin: 0 auto;

}
.press-kit-intro{
  grid-column: 1/3;
  grid-row: 1/2;
  background-color: var(--green);
  color: black;
  font-size: 30px;
  font-family: var(--title-font);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
}
.directing-press-kit {
  grid-column: 1/2;
  grid-row: 2/3;
  background-color: var(--green);
  color: black;
  font-size: 30px;
  font-family: var(--title-font);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
}
.directing-press-kit a:hover, .performing-press-kit a:hover{
  background-color: var(--orange);
  color: white;
  transform: scale(1.05);
}

.download-button{
  height: 20px;
  width: 20px;
  padding: 10px 20px;
  color: white;
  border-radius: 5px;
  font-family: var(--title-font);
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.performing-press-kit {
  grid-column: 2/3;
  grid-row: 2/3;
  background-color: var(--green);
  color: black;
  font-size: 30px;
  font-family: var(--title-font);
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  margin: 20px;
}
.social {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
footer > a{
  justify-self: flex-end;
}

/* Responsive Adjustments -----------------------------------------------------------------------------------------*/
@media screen and (max-width: 700px) {
  .photo-gallery h2 {
    font-size: 2rem;
  }
  .gallery-container {
    gap: 1rem;
  }
  .bio-body {
    margin: 10px;
  }
  .bio-essay:last-of-type() {
    margin-bottom: 20px;
  }
  .photo-gallery h2 {
    font-size: 1.8rem;
  }
  header {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 4fr 1fr;
  }
  .title {
    margin-left: 15px;
    margin-top: 15px;
    max-width: 80%;
  }
  .div1 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    margin: 0;
  }
  .bio {
    padding-top: 5%;
  }
  .bio > h3 {
    margin: 0;
    grid-column: 1/2;
    grid-row: 1/2;
  }
  .hero-img-quote{
    width: 90%;
    grid-row: 2/3;
    grid-column: 1/4;
    text-align: center;
  }
  .testimonials {
    margin-bottom: 0;
    row-gap: 0;
  }
  .div2 {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  .div2 > a {
    height: 100%;
  }
  .links {
    margin-bottom: 10px;
  }
  body{
    margin: 0;
  }
  .testimonials {
    height: 500px;
  }
  .testimonials > img {
    border-radius: 0;
  }
  .bio-container-1-img {
    display: none;
  }
  .bio-container-2 {
    margin-left: 5%;
    margin-right: 5%;
    font-size: 1.2em;
  }
  #photoGallery {
    object-position: right top;
  }
  .photo-gallery {
    width: 70%;
  }
  .menu-toggle {
    margin: 20px 15px;
  }
  .bio-container > img {
    display: none;
  }
  .social {
    display: flex;
    flex-direction: column;
    margin: 0;
  }
  .social > a > img {
    aspect-ratio: 1 / 1;
    width: 30px;
    height: 30px;
    font-size: 0;
    margin: 0;
  }
  .social > a {
    font-size: 0;
    height: 30px;
    margin: 0;
  }
  footer {
    align-items: center;
    height: 110px;
    padding-left: 10%;
    justify-content: space-between;
    margin: 0;
  }
  .press-kit {
    display: flex;
    flex-direction: column;
  }
  .press-kit h1, .press-kit h2 {
    font-size: 1em;
  }
  .press-kit-intro p{
    font-size: .75em;
  }
  .testimonials p{
    align-self: start;
    margin: 0;
  }
  .testimonials img {
    object-position: 95%;
  }
  .bio-header-image {
    object-position: 40%;
  }
  .header-image-videos {
    object-position: 45%;
  }
  .contact-header-img {
    object-position: 17.5%;
  }
}

@media screen and (max-width: 1000px) {
  .testimonials p {
    grid-column: 1/4;
    align-self: start;
    margin: 0;
  }
  .testimonials img {
    object-position: 95%;
  }
  .bio h3{
    font-size: 35px;
  }
  .bio p {
    font-size: 20px;
  }
  .bio-read-more{
    font-size: 25px;
  }
  .div1{
    align-items: center;
  }
  .div2{
    padding: 30px;
  }
  .div2 .links .images3{
    font-size: 40px;
  }
  .bio-body{
    margin: 20px;
  }
  .photo-gallery{
    margin: 1rem auto;
  }
  #photoGallery{
    object-position: 90%;
  }
}