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

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;  
  font-style: normal;
}



/*NAVIGATION*/


.navbar {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1000;
  font-family: "Inter", sans-serif;
}


#menu-toggle {
  display: none;
}


.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 2000; 
  position: relative; 
}


.menu {
  list-style: none;
  position: fixed;
  top: 0;
  right: -250px; 
  height: 100vh;
  width: 250px;
  background: rgba(0, 0, 0, 0.95);
  padding: 100px 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: right 0.3s ease;
  z-index: 1500; 
}


.menu-icon span {
  display: block;
  height: 3px;
  width: 100%;
  background: rgb(0, 0, 0);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu li a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.menu li a:hover {
  color: #433843;
}


#menu-toggle:checked ~ .menu {
  right: 0;
}


#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}




.gallery-intro {
  max-width: 800px;
  margin: 100px auto 10px; 
  text-align: center;
  padding: 0 20px;
}

.design-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 0 40px 40px; 
  max-width: 1200px;
  margin: 0 auto;
}

/*GALLERY*/
.design-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px 40px 40px; 
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 250px;           
  object-fit: contain;       
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item p {
  margin-top: 8px;
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
}

/* Lightbox overlay */
.lightbox {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

/* Lightbox image */
.lightbox-content {
  margin-top: 5%;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

/* Caption */
#lightbox-caption {
  margin: 20px;
  color: #fff;
  font-style: italic;
  font-size: 1rem;
}

/* Close button */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover {
  color: #c0a7c0; /* accent color */
}



