/* 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 Section */
.intro {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 6rem 0;
  width: 100%;
  padding: 0 3rem;
}

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

.intro-container {
  display: flex;    
  width: 100%;
  max-width: 1000px;
  padding: 0;
  justify-content: center;
  gap: 1rem;
}

.intro-text {
  display: flex;
  width: fit-content;
  align-items: center;
}

.long-line {
  display: flex;
  width: 100%;
  align-items: center;
}

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










/* Grid Gallery */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 6rem;   
}

.portrait {
    aspect-ratio: 4 / 5;
}

.landscape {
    aspect-ratio: 5 / 4;
}

.gallery-photo {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}

.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.gallery-photo img:hover {
  opacity: 0.8;
  transition: all 0.4s ease;
}

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

#lightbox-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
}

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








/* 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;
}





.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;
}

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

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





.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;
  }






  

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
    margin-bottom: 6rem;   
}





 .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;
  }
}






/* 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;
}
