@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@font-face {
  font-family: Jenn; /* set name */
  src: url('../fonts/AVGL.woff2'); /* url of the font */
}

@font-face {
  font-family: JennB; /* set name */
  src: url('../fonts/AGGM.woff2'); /* url of the font */
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  /*font-family: Jenn;*/
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background: url('../images/london-summer.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: 42% center;
}
.main-site {
  background: url('../images/bg3.webp');
  background-size: cover;
  background-attachment: fixed;
}
.photo-gallery {
  background: url('../images/bg5.webp');
  background-size: cover;
  background-attachment: fixed;
}

h1 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: #d55f2b;
  font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    font-size: 2.5rem;
}
h2 {
  margin-bottom: 1rem;
  color: #3D5257;
  font-family: "Merriweather", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
    font-size: 1.8rem;
}
.photoH2 {
color: white;
font-size: 1rem;
}
h3 {
  margin-bottom: 1rem;
}

p {
  line-height: 1.5rem;
}

a {
  text-decoration: none;
}

.list-standard {
  list-style-type: none;
  line-height: 1.6rem;
  margin-bottom: 2rem;
}

.oblique {
  /*font-family: JennB; */
  font-optical-sizing: auto;
  font-weight: 700;
  color: #29232C;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 4rem);
}

.header-wrapper {
  width: 100vw;
  position: fixed;
  background: #29232C;
  height: 5rem;
  z-index: 100;
}

header {
  position: fixed;
  width: 100vw;
  left: 50%;
  transform: translate(-50%);
  max-width: 75rem;
  background: #29232C;
  height: 5rem;
  padding: 1rem;
  z-index: 200;
}
#logo {
  width: 5.8rem;
  z-index: 4000;
}

nav {
  position: fixed;
  bottom: 0;
  height: 4rem;
  width: 100vw;
  background: #29232C;
  z-index: 100;
}
nav ul {
  display: flex;
  list-style-type: none;
  height: 4rem;
  align-items: center;
  text-align: center;
}
nav ul li {
  width: 25%;
}
nav a:link {
  color: #F2EFEF;
}
nav a:visited {
  color: #F2EFEF;
}
nav a:active {
  color: #F2EFEF;
}
nav a:hover {
  color: #e6550d;
  font-weight: 700;
}
.project-sub {
  display: none;
  position: absolute;
  background: #d55f2b;
  bottom: 4rem;
  padding: 1rem;
  width: 100vw;
}
.project-sub.active {
  display: block;
}
.project-sub a {
  display: block;
  width: 100vw;
  line-height: 2rem;
}
.project-sub a:link {
  color: white;
}
.project-sub a:visited {
  color: white;
}
.project-sub a:active {
  color: white;
}
.project-sub a:hover {
  color: #29232C;
  font-weight: 700;
}

main {
  flex: 1;
  padding-top: 5rem;
}

/*.display {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100dvw - 2rem);
  max-width: 30rem;
  background: url('../images/float-bg.png');
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
}*/

.display {
  position: absolute;
  bottom: 4.5rem;
  left: 0.5rem;
  background: url('../images/float-bg.png');
  padding: 1.5rem;
  color: #F2EFEF;
  width: 46%;
  max-width: 30rem;
}

section {
  padding: 1rem;
  padding-bottom: 6rem;
  max-width: 34rem;
}
.section-films {
  padding-bottom: initial; margin-bottom: initial;
}

.portrait {
  display: block;
  width: 100%;
  margin-bottom: 2rem;
  border-style: solid;
  border-color: #d55f2b;
  border-width: 0.3rem;
}

.services-layout {
  display: grid;
  gap: 1rem;
}
.image-wrapper-services img {
  border-width: 0.35rem;
  border-style: solid;
  border-color: #e6550d;
}
.quotation {
  width: 100%;
  margin-top: 4rem;
  margin-bottom: 5rem;
}
img.quote {width: 100%;}
.image-contain {
  margin-bottom: 2rem;
}

a.some-button:link {
  display: block;
  background: #c25526;
  border-style: none;
  width: 8rem;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
a.some-button:visited {
  background: #d55f2b;
  color: white;
}
a.some-button:active {
  background: #d55f2b;
  color: white;
}
a.some-button:hover {
  background: #3D5257;
  color: white;
}



.status {
  color: #e3983b;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-optical-sizing: auto;
}
.section-films {
  padding-bottom: 1rem; margin-bottom: 2rem;
}

.splash-runner {
  background: url('../images/bg6.webp');
}
.splash-ex {
  background: url('../images/bg7.webp');
}
.splash-lipstick {
  background: url('../images/bg5.webp');
}
.splash {
  background-size: cover;
  color: white;
  background-position: center;
}
.film-profile {
  display: grid;
  grid-template-areas:
    "trailer trailer"
    "poster logline";
  grid-template-columns: 1fr 2fr;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.poster {
  grid-area: poster;
}
.trailer {
  grid-area: trailer;
}
.logline {
  grid-area: logline;
  padding: 0.5rem;
}
#poster {
  display: block;
  width: 100%;
}
.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9; /* change to your ratio */
  overflow: hidden;
  background: black;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* or 'contain' depending on behavior */
}
.bolder {
  font-weight: 700;
  color: #d55f2b;
}

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.gallery > div {
  width: calc(50vw - 1.25rem);
  height: calc(50vw - 1.25rem);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/*PHOTOGRAPHY GALLERY PAGE*/
.photo-flex {
  z-index: 1;
  position: relative;
}
.photo-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}
.photo-grid > div {
  width: calc(50vw - 2rem);
  height: calc(50vw - 2rem);
  overflow: hidden;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
}






form * {
  font-size: 1rem;
}
form label {
  color: #29232C;

}
input[type=text], input[type=email], textarea {
  width: 100%;
  padding: 0.5rem;
  border-color: #3D5257;
  border-style: solid;
  margin-bottom: 1rem;
  margin-top: 0.4rem;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}
textarea {
  resize: none;
}

form button {
  padding: 0.5rem;
  background: #c25526;
  border-style: none;
  width: 8rem;
  height: 3rem;
  color: #F2EFEF;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}
form button:hover {
  background: #3D5257;
  color: #F2EFEF;
}
form select {
  height: 2.4rem;
  width: 100%;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 0.5rem;
  background: white;
  border-color: #3D5257;
  border-style: solid;
  padding: 0.5rem;
}
form option {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  background: white;
}
.signUp { /* SIGN UP FORM */
  margin-bottom: 2rem;
}
.form-message {
  font-weight: bold;
  color: #d55f2b;
}
.success {
  font-weight: bold;
  color: #d55f2b;
  margin-bottom: 1rem;
}
.error {
  font-weight: bold;
  color: red;
  margin-bottom: 1rem;
}

footer {
  position: absolute;
  left: -9999px;
  height: 4rem;
  background: #29232C;
  width: 100vw;
  text-align: center;
}
footer p {
  line-height: 4rem;
  color: #F2EFEF;
  font-size: 0.8rem;
}







.photo-grid img {
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 999;

  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  opacity: 0;
  transition: opacity .3s ease;
}

.lightbox img.show {
  opacity: 1;
}

.close,
.prev,
.next {
  position: absolute;
  color: #d55f2b;
  background: black;
  border: 0;
  font-size: 40px;
  cursor: pointer;
}

.close {
  top: 10px;
  right: 20px;
}

.prev {
  left: 20px;
  top: 50%;
}

.next {
  right: 20px;
  top: 50%;
}









@media (min-width: 480px) {

  section {
    max-width: 1200px;
  }
  .quotation img {
    height: 6rem;
  }

}


@media (min-width: 768px) {

  nav {
    position: fixed;
    width: calc(100vw - 5rem);
    max-width: 70rem;
    left: 50%;
    transform: translate(calc(-50% + 2.5rem));
    bottom: initial;
    height: 5rem;
    background: none;
  }
  nav ul {
    display: flex;
    list-style-type: none;
    height: 5rem;
    align-items: center;
    text-align: center;
  }
  nav ul li {
    width: 25%;
  }
  .project-sub {
    bottom: initial;
    top: 4.5rem;
    left: 25%;
    width: 25%;
    border-radius: 1rem;
  }
  .project-sub a {
    display: block;
    width: 100%;
    line-height: 2rem;
  }


  .film-profile {
    display: grid;
    grid-template-areas:
      " poster trailer trailer"
      " logline logline logline";
    grid-template-columns: 1fr 2.7fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  .poster {
    background: url('../images/poster-runner.webp');
    background-size: cover;
    background-position: center;
  }
  .poster-ex {
    background: url('../images/poster-i-take-you-to-be-my-ex.webp');
    background-size: cover;
    background-position: center;
  }
  .poster-lipstick {
    background: url('../images/poster-lipstick.webp');
    background-size: cover;
    background-position: center;
  }
  #poster {
    height: 90%;
    opacity: 0;
  }
  .logline {
    padding: 0;
  }
  .logline p {
    max-width:42rem;
    margin-top: 1rem;
  }

  .gallery {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .gallery > div {
    width: calc(25vw - 0.9rem);
    height: calc(25vw - 0.9rem);
  }


  /*PHOTOGRAPHY GALLERY PAGE*/

  .photo-grid {
    width: 100%;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    z-index: 1;
  }
  .photo-grid > div {
    width: calc((100vw / 2) - 1.5rem);
    height: calc((100vw / 2) - 1.5rem);
    background: initial;
    padding: initial;
    overflow: hidden;
    position: relative;
    cursor: pointer;
  }
  .photo-grid > div:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 5px #d55f2b;
    pointer-events: none;
  }
  .photo-grid img {
    display: block;
    object-fit: cover;
    transform: scale(1.2);
    opacity: 0.7;
  transition: opacity 0.3s ease;
  }
  .photo-grid > div:hover img {
    opacity: 1;
  }


  footer {
    display: initial;
    left: initial;
  }

}


@media (min-width: 992px) {

  h1 {
    margin-top: 2rem;
  }

  .display{
    transform: initial;
    top: initial;
    left: 2rem;
    bottom: 6rem;
  }

  section {
    max-width: 1200px;
    margin: 0 auto;
  }

  .layout {
    display: flex;
    gap: 4rem;
    flex-direction: row-reverse;
  }
  .layout div {

  }
  .contact-layout {
    flex-direction: initial;
  }
  .services-layout {
    display: grid;
    gap: 4rem;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 8rem;
  }
  .lift {
      margin-bottom: 0;
  }
  .services-layout div {
    height: 39rem;
  }
  .services-middle {
    height: 29rem;
    background: red;
  }
  .image-wrapper-services {
    height: 100%;
    width: 100%;
    z-index: 10;
  }
  .image-wrapper-services img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .studio1 {
    object-position: -7.5rem;
  }
  .studio2 {
    object-position: -5rem;
  }
  .left {
    width: 40%;
  }
  .right {
    width: 60%;
  }


  /*PHOTOGRAPHY GALLERY PAGE*/

  .photo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .photo-grid > div {
    width: calc((100vw / 3) - 1.5rem);
    height: calc((100vw / 3) - 1.5rem);
  }
  .photo-grid img {

    object-fit: cover;
    object-position: center;
    transform: scale(1.2);
  }


}


@media (min-width: 1200px) {

  .display {
    left: 0;
    left: 50%;
    transform: translate(-37rem);
  }

  .gallery > div {
    width: calc(19rem - 1.15rem);
    height: calc(19rem - 1.15rem);
  }



  /*PHOTOGRAPHY GALLERY PAGE*/

  .photo-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .photo-grid > div {
    width: calc((1200px / 4) - 1.5rem);
    height: calc((1200px / 4) - 1.5rem);
  }


}



}
