
/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'PlayfairDisplay', 'Georgia', 'Times New Roman', serif;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
  scroll-padding-top: 170px;
}

body {
  line-height: 1.6;
  color: #fff;
  background: #0c0c0c;
  padding-top: 80px; 
}

h4 {
  font-size: 0.7rem;
  font-weight: normal;
  letter-spacing: 0.8px;
  text-decoration: none; 
}

h5 {
  font-size: 0.7rem;
  font-weight: normal;
  letter-spacing: 2px;
}

p {
  font-size: 0.8rem;
  letter-spacing: 1px;
}


/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  height: 80px;
  top: 0;
  z-index: 1000;
  letter-spacing: 3px;
}

#navbar-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #090909;
  z-index: -1;
  border-bottom: 0.5px solid #888888;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  width: 100%;
  height: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 0 3rem;



}

.nav-logo {
  text-decoration: none;
  color: white;
}

.logo {
  display: block;
  font-family: "GloriaRamsey";
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 2px;
  cursor: pointer;
}

h1.logo {
  font-size: 2.5rem;
  font-weight: normal;
}

.navbar img {
  height: 32px;
  width: auto;
  transition: opacity 0.4s ease;

}

.navbar img:hover {
  opacity: 0.5;
  transition: opacity 0.4s ease;
}



.burger {
  width: 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18px;
  display: none;
  pointer-events: none;
}

.burger span {
  height: 2px;
  width: 100%;
  background: white;
  opacity: 0.7;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.burger:hover {
  transition: all 0.4s ease;
}

ul.socials-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #ffff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.4s ease;
}

.nav-links a:hover {
  color: #888888;
  transition: color 0.4s ease;
}







.intro {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 6rem 0;
  width: 100%;
  opacity: 0.7;
}



.intro h4 {
  font-size: 0.66rem;
  letter-spacing: 2px;
  opacity: 0.8;
}

.intro img {
  height: 15px;
  width: auto;
  margin-right: 0.3rem;
}

.info-container {
  display: flex;
  flex-direction: row;
  width: fit-content;
  justify-content: right;  
  
  h4 {
    letter-spacing: 1px;
  }
}

.email {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
}

.line {
  display: flex;
  width: fit-content;
  padding: 2rem;
  align-items: center;
}

.line > div {
  width: 40px;
  height: 0.5px;
  top: 50%;
  background-color: #888888;
}

.location {
  display: flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
}





/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1rem;
}






/* Project and Reels Videos */
h2 {
  font-family: 'PlayfairDisplay', 'Georgia', 'Times New Roman', serif;
  font-weight: normal;
  letter-spacing: 2px;
  font-size: 2rem;
}

h3 {
  font-family: 'BebasNeue';
  letter-spacing: 4px;
  font-size: 2rem;
}

.section-title {
  text-align: center;
  justify-content: center;
  z-index: 100;
}

.projects {
  max-width: 1100px;
  margin: auto;
  padding: 0 3rem;
}

.project {
  position: relative;
  display: inline-block;
  border-radius: 10px;
}

.project video, .project img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
}

.project-title {
  position: absolute;
  bottom: 5%;
  left: 5%;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project:hover .project-title {
  opacity: 1;
  transition: opacity 0.4s ease;
}






/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 100%;
  max-width: 850px;
  max-height: 85vh;
  text-align: center;
}

#showreel-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-top: 1rem;
}

#showreel-wrapper iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close {
  position: absolute;
  top: 14px;
  right: 30px;
  font-size: 2rem;
  cursor: pointer;
  color: #fff;
}






.break-line {
  display: flex;
  justify-content: center;
  margin: 6rem 0;
}

.break-line div {
  width: 80px;
  height: 0.5px;
  background-color: #888888;
}






/* Reels */
.reels {
  max-width: 1300px;
  margin: auto;
  padding: 0 1rem;
}

.reels p {
  font-size: 0.6rem;
  text-align: right;
  opacity: 0.7;
}

.reels h4 {
  margin-top: 0.3rem;
  text-align: right;
  opacity: 0.7;

}

.reel {
  margin: 0.5rem 0;
}

.reel video{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  cursor: pointer;
  border-radius: 7px;  
  overflow: hidden;
}












/* Socials */
.socials {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6rem;
  padding: 0;
}

.video-container {
  display: flex;
  width: inherit;
  height: inherit;
  max-height: 400px;
  overflow: hidden;

  
}

.video-container video {
  width: inherit;
  height: inherit;
  opacity: 0.7;
  overflow: hidden;
  object-fit: cover;
}

.socials-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 10px;
}

.ig, .yt {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 40px;
  width: auto;
  gap: 0.5rem;

  img {
    height: 40px;
    transition: opacity 0.4s ease;
    cursor: pointer;

  }

  img:hover {
    opacity: 0.5;
    transition: opacity 0.4s ease;
  }

  
}






/* Contact */
.contact {
  text-align: center;
  padding: 0 3rem;
  margin-bottom: 12rem;
  
  

}

.contact h3 {
    margin-bottom: 1rem;
  }

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.contact input, .contact textarea {
  padding: 0.5rem;
  border: none;
  border-radius: 5px;
}

.contact button {
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  background: #888888;
  color: #fff;
  cursor: pointer;
  transition: background 0.4s ease;
}

.contact button:hover {
  background: #444444;
  transition: background 0.4s ease;
}







/* Footer */
footer {
  text-align: center;
  padding: 3rem;
  background: #000;
  margin-top: 2rem;
  font-size: 0.8rem;
  align-items: center;
  justify-content: center;
}

.footer-container-top {
  align-items: center;
  display: flex;
  flex-direction: row;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 3rem;
}

.footer-top-left {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-right: auto;
}

.footer-top-right {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: centerf;
  margin-left: auto;
}

.footer-top-left img {
  height: 15px;
  width: auto;
  transition: opacity 0.4s ease;
  margin-right: 0.3rem;
}

.socials-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.socials-footer img{
  height: 28px;
  width: auto;
  transition: opacity 0.4s ease;
}

.socials-footer img:hover {
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.footer h4 {
  font-size: 0.66rem;
  letter-spacing: 1px;
  opacity: 0.8;
}

.footer .logo {
  cursor: default;
}

.footer-container-bottom {
  background-color: #090909;
  padding: 3rem;
  margin: auto;
  max-width: 1000px;
  margin-bottom: 1rem;
  text-align: center;
  border-radius: 7px;  
}






  

/* Responsive */
@media (max-width: 768px) {
  nav {
    padding: 0;
  }

  #navbar-background {
    border-bottom: none;
  }

  .navbar-container {
    padding: 0 1.5rem;
  }

  .navbar .logo {
    position: relative;
    left: 0%;
    top: 0;
    transform: translate(0%, 0%);
    margin: 0;
  }
  
  .nav-links {
    display: flex;
    z-index: -10;
    position: absolute;
    pointer-events: none;
    border-bottom: 0.5px solid #888888;

    flex-direction: column;
    left: 0;
    top: calc(18px - 100%);
    width: 100%;
    height: auto;
    text-align: center;
    background-color: #090909;
    padding: 0.5rem 0;
    gap: 0.5rem;

    transition: all 0.4s ease;

  }

  .nav-links .socials-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }


  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    top: 100%;
    
    transition: all 0.4s ease;
  }

  header {
    flex-direction: column;
    gap: 1rem;
  }



  .burger {
    display: flex;
    pointer-events: auto;

  }

  .burger.active span:nth-child(2){
    width: 15px;
  }
  
  .burger.active span:nth-child(3){
    width: 15px;
  }






  
  .intro {
    padding: 0 0.5rem;  
    align-items: center;
  }

  .info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
  }

  .intro .line {
    display: none;
    pointer-events: none; 
  }




  



  /* Grids */
  .grid-2 {
    padding: 0.5rem;
    grid-template-columns: repeat(1,1fr);
    gap: 0.5rem;
  }







  .projects {
    padding: 0 1rem;
  }

  .project {
    width: 100%;
  }

  .reels {
    padding: 1rem;
  }






  

  .footer {
    padding: 1rem;
  }

  .footer-container-top {
    gap: 1rem;
    padding: 1rem;
  }

  .footer-top-left {
    flex-direction: column;
    align-items: flex-start;
    
  }

  .footer .line {
    display: none;
    pointer-events: none;
  }

  .footer-top-right {
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .footer-container-bottom {
    padding: 2rem;
    margin: 1rem;
  }
  
}






@media (max-width: 500px) {
  .intro{
    display: inline-block;
  }

  .info-container {
    margin-top: 2rem;
    align-items: flex-start;

  }

    
} 




/* Fonts */
@font-face {
    font-family: 'GloriaRamsey';
    src: url('fonts/GloriaRamsey.woff2') format('woff2');
    font-display: swap;
}

@font-face {
  font-family: 'BebasNeue';
  src: url('fonts/BebasNeue-Regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'PlayfairDisplay';
  src: url('fonts/PlayfairDisplay-Regular.woff2') format('woff2'); 
  font-display: swap;
  
}

