@font-face {
    font-family: nb;
    src: url(fonts/nb.woff);
}
@font-face {
    font-family: nblight;
    src: url(fonts/nblight.woff);
}
@font-face {
    font-family: integral;
    src: url(fonts/integral.woff2);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  }

body {
  background-color: rgb(255, 255, 255);
}


:root {
  --z-tooltip: 10;
  --z-fixed: 100;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  margin-inline: 24px;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 0 0;
  background-color: white;
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  height: 32px;
  transition: 0.4s ease;
  background-color: #bf3;
}

.nav__logo:hover {
    height: 32px;
    transform: scale(1.05);
    background-color: #bf3;
  }

.nav__close, 
.nav__toggle {
  display: flex;
  color: #141414;
  font-size: 24px;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: #bf3;
    width: 100%;
    height: 100%;
    padding: 96px 56px 72px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left .4s;
  }

  .nav__item {
    font-family: 'nb';
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform .4s ease-out, visibility .4s;
  }

  .nav__item:nth-child(1) {
    transition-delay: .1s;
  }
  .nav__item:nth-child(2) {
    transition-delay: .2s;
  }
  .nav__item:nth-child(3) {
    transition-delay: .3s;
  }
  .nav__item:nth-child(4) {
    transition-delay: .4s;
  }
  .nav__item:nth-child(5) {
    transition-delay: .5s;
  }
}

.nav__list, 
.nav__social {
  display: flex;
}

.nav__list {
  flex-direction: column;
  row-gap: 48px;
}

.nav__link {
  position: relative;
  color: #141414;
  font-family: 'nb';
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  transition: opacity .4s;
}

.nav__link i {
  font-size: 32px;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

.nav__link span {
  position: relative;
  transition: margin .4s;
}

.nav__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: #141414;
  transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
  margin-left: 40px;
}

.nav__link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav__link:hover span::after {
  width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
  opacity: .4;
}

.nav__close {
  position: absolute;
  top: 16px;
  right: 24px;
}

.nav__social {
  column-gap: 16px;
}

.nav__social-link {
  color: #141414;
  font-size: 24px;
  transition: transform .4s;
}

.nav__social-link:hover {
  transform: translateY(-4px);
}

/* Show menu */
.show-menu {
  left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
  visibility: visible;
  transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: 24px;
  }

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .nav__link i {
    font-size: 24px;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 56px;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 56px;
    
  }
}

h1 {font-weight: normal;}

#hero {
  margin-bottom: 0;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  width: 100%;
  margin-top: 64px;
  opacity: 1;  /* Make sure opacity is set to 1 */
  visibility: visible;  /* Make sure the images are visible */
  transition: opacity 0s, visibility 0s; /* No transition delay for visibility and opacity */
  overflow: hidden;
}

#layer1 {
  z-index: 10;
  transform-origin: bottom center;
  transition: transform 0.5s ease;
}

#layer2 {
  z-index: 20;
  transition: transform 0.5s ease;
  overflow: hidden;
}

#layer3 {
  z-index: 30;
  filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.3));
  position: relative;
  overflow: hidden;
}

/* To avoid a delayed load, ensure images are visible immediately */
.hero-img {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Make sure the images appear together on page load */
@media screen and (max-width: 1150px) {
  .hero-img {
    width: 100%;
  }

  #layer3 {
    filter: drop-shadow(0 0 16px rgba(0, 0, 0, 0.3));
    overflow: hidden;
  }
}



/* Base styling for the section */
#about {
  padding: 48px 24px;
  background-color: #f5f5f5;
}

/* Flex container for the about section */
.about-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Styling for the left column (headline) */
.about-left {
  flex: 1;
}

/* Styling for the right column (paragraph) */
.about-right {
  flex: 1;
}

/* Add specific width control for the content */
.about-right-content {
  width: 66.67%;  /* 2/3 of the right column */
  margin-top: 48px;
  
}

/* Headline styles */
.about-headline {
  font-family: 'integral', sans-serif;
  font-size: 32px;
  font-weight: bold;
  background-color: #bf3;
  color: #141414;
}

.about-subheadline {
  font-family: 'nb', sans-serif;
  font-size: 16px;
  font-weight: normal;
  color: #141414;
}

/* Font family for the paragraph */
.about-right p {
  font-family: 'nblight', sans-serif;
  font-size: 32px;
  line-height: 1.4;
  color: #141414;
}

/* Media query for mobile */
@media screen and (max-width: 768px) {
  .about-container {
      flex-direction: column; /* Stacks the columns vertically */
      align-items: center; /* Center the content on mobile */
  }

  .about-left, .about-right {
      width: 100%; /* Make both sections full width */
  }

  .about-headline {
      font-size: 24px; /* Adjust font size for smaller screens */
  }

  .about-subheadline {
      font-size: 12px; /* Adjust font size for smaller screens */
  }

  /* Adjust the width for smaller screens */
  .about-right-content {
      width: 100%;  /* Full width on small screens */
  }

  .aboutphoto {
    max-width: 100%; /* Full width on mobile */
  }
}


p2 {
  font-family: 'nblight';
  font-size: 16px;
  line-height: 1.4;
  color: #14141450;
}

.getintouch-btn {
  font-family: 'nblight';
  font-size: 16px;
  border-style: none;
  border-radius: 32px;
  color: #141414;
  background-color: #bf3;
  padding: 8px 16px;
  margin-top: 48px;
  transition: 0.4s ease;
}

.getintouch-btn:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}

.getintouch-btn:active {
  color: #bf3;
  background-color: #141414;
}

.readmore-btn {
  font-family: 'nblight';
  font-size: 16px;
  border-style: none;
  border-radius: 32px;
  color: #141414;
  background-color: #14141410;
  padding: 7px 15px;
  margin-top: 48px;
  margin-right: 8px;
  transition: 0.4s ease;
}

.readmore-btn:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}

.readmore-btn:active {
  color: #ffffff;
  background-color: #14141450;
  border-style: none;
}


.photo-section {
  background-color: #121212;
  padding: 48px 0;
  display: flex;
  justify-content: center;
}

.photo-container {
  display: flex;
  justify-content: center;
}

.aboutphoto {
  width: 100%;
  max-width: 100%; /* Control width on larger screens */
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transition: 1s ease;
}

.aboutphoto:hover {
  scale: 0.9;
}



/* Design section container */
#design {
  margin-top: 48px;
  text-align: center;
}

/* Design items container */
.design-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 24px 24px 0 24px;
}

.designhead-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hidden {
  display: none;
}


.design-item {
  text-align: left;
  padding-bottom: 48px;
}

.design-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: 0.4s ease;
}

.design-item img:hover {
  transform: scale(1.04);
}

.design-headline {
  font-family: 'integral', sans-serif;
  font-size: 48px;
  font-weight: bold;
  background-color: #bf3;
  color: #141414;
  margin-left: 24px;
}

.design-subheadline {
  font-family: 'nb', sans-serif;
  font-size: 24px;
  font-weight: normal;
  color: #141414;
  background-color: white;
}

.design-title {
  font-family: 'nblight';
  font-size: 24px;
  font-weight: normal;
  line-height: 1.4;
  color: #141414;
  margin: 12px 0px;
}

.design-link {
  font-family: 'nblight';
  font-size: 16px;
  color: #14141450;
}

/* View more button */
.viewmore-btn {
  font-family: 'nblight';
  font-size: 16px;
  border-style: none;
  border-radius: 32px;
  color: #141414;
  background-color: #f5f5f5;
  padding: 8px 16px;
  margin-bottom: 48px;
  transition: 0.4s ease;
}

.viewmore-btn:hover {
  transform: scale(1.05);
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}


.extra-project {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.extra-project.hidden {
  display: none;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
  .design-container {
    grid-template-columns: 1fr;
    gap: 0px;
    margin: 24px;
  }
  
  .design-item {
    margin: 0;
  }

  .design-link {
    display: block;
    text-align: right;
  }

  .design-headline {
    font-size: 32px;
  }

  .design-subheadline {
    font-size: 16px;
  }

  
}

.circle {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #bf3;
  border-radius: 50%;
  vertical-align: middle;
}




#photo {
  background-color: transparent;
  margin: 48px 24px;
  padding: 0;
  display: block;
}

.photohead-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.photo-headline {
  font-family: 'integral', sans-serif;
  font-size: 48px;
  font-weight: bold;
  background-color: #bf3;
  color: #141414;
}

.photo-subheadline {
  font-family: 'nb', sans-serif;
  font-size: 24px;
  font-weight: normal;
  color: #141414;
  background-color: white;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  background-color: #ffffff;
  gap: 24px;
  margin: 48px 0 24px 0;
}

.photo-gallery img {
  display: block;
  width: 100%;
  border-radius: 8px;
  transition:0.4s ease;
}

.photo-gallery img:hover {
  transform: scale(1.04)
}


.photo-item {
  transition: .4s ease;
}

.photo-item:hover {
  scale: 1.04;
}


@media screen and (max-width: 768px) {
  
.photo-headline {
  font-size: 32px;
}

.photo-subheadline {
  font-size: 16px;
}

.photo-gallery {
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); /* Smaller columns for mobile */
  gap: 12px;
  margin: 24px 0;
}

.photo-gallery img {
  width: 100%;
  border-radius: 8px;
}
}


/* Button Styling */
.photo-category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.category-btn {
  font-family: 'nblight', sans-serif;
  font-size: 16px;
  color: #141414;
  background-color: #f5f5f5;
  border: none;
  padding: 8px 16px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.4s ease;
}

.category-btn:hover {

  scale: 1.05;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.08);
}

.category-btn.active {
  background-color: #bf3;
}

@media (max-width: 768px) {
  .category-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
  .photo-category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
}



/* Lightbox Container */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
  justify-content: center;
  align-items: center;
  z-index: var(--z-fixed);
  transition: opacity 0.4s ease;
  opacity: 0;
}

/* Show lightbox with opacity transition */
.lightbox.show {
  display: flex;
  opacity: 1;
}

/* Lightbox Image */
.lightbox-content {
  max-width: 90%;
  max-height: 90%;

}

/* Close Icon Styling */
.close-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 24px;
  color: #141414;
  background-color: #f5f5f5;
  border-radius: 50%;
  padding: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Scale on hover */
.close-icon:hover {
  transform: scale(1.1);
} 





.indexfooter {
  background-color: #141414;
}

footer {
  background-color: #141414;
  padding: 24px;
  text-align: left;
  font-family: 'nblight', sans-serif;
  font-weight: normal;
  line-height: normal;
  letter-spacing: .2px;
  position: relative; /* To allow absolute positioning inside */
  text-decoration: none;
}

footer p {
  margin-bottom: 4px;
  text-decoration: none;
}

/* Desktop font sizes and colors */
footer p:first-of-type,
footer p:nth-of-type(3) {
  font-size: 10px;
  font-family: 'nblight', sans-serif;
  color: #ffffff80;
  text-decoration: none;
  font-weight: normal;
}

footer p:nth-of-type(2),
footer p:nth-of-type(4) {
  font-size: 12px;
  font-family: 'nblight', sans-serif;
  color: #ffffff;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
}

footer p:last-of-type {
  font-size: 10px;
  font-family: 'nblight', sans-serif;
  color: #ffffff80;
  display: flex;
  align-items: baseline;
}

footer p:last-of-type i {
  margin-right: 4px;
}

.footer-logo {
  height: 16px;
  position: absolute;
  bottom: 16px;/* Adjust to match footer padding */
  right: 12px; /* Adjust to match footer padding */
  transition: .4s ease;
}

.footer-logo:hover {
  transform: scale(1.04);
}

@media (max-width: 360px) {
  .footer-logo {
    opacity: 0;
  }
}