/* GENERAL */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0f0f3d;
  background: url('image/idk girl.png') no-repeat center top;
  background-size: cover;
  min-height: 5000px;
}

/* MENU TOGGLE */
.toggle-button {
  position: fixed;
  top: 20px;
  right: 2%;
  width: 150px;
  height: 150px;
  cursor: pointer;
  z-index: 11;
  transition: transform 0.3s;
}
.toggle-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.toggle-button:hover {
  transform: rotate(40deg) scale(1.2);
}

/* MENU TOGGLE CHECKBOX */
#menu-toggle {
  display: none;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 9;
  pointer-events: none;
  transition: background-color 0.5s ease;
}
#menu-toggle:checked ~ .overlay {
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: all;
}

/* MENU ITEMS */
.menu-item {
  position: fixed;
  transform: scale(0) rotate(0);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 10;
}
.menu-item img {
  width: 380px;
  height: 380px;
  cursor: pointer;
  transition: transform 0.3s;
}
.menu-item img:hover {
  transform: rotate(10deg) scale(1.1);
}
#home {
  top: 50vh;
  left: 40vw;
}
#about {
  top: 30vh;
  left: 15vw;
}
#portfolio {
  top: 5vh;
  left: 35vw;
}
#contact {
  top: 20vh;
  left: 55vw;
}
#menu-toggle:checked ~ .menu-item {
  opacity: 1;
  transform: scale(1);
}

/* PORTFOLIO ITEMS */
.portfolio-item {
  position: absolute;
  transition: transform 0.3s, filter 0.3s;
}
.portfolio-item img {
  width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.3s, filter 0.3s;
}
.portfolio-item:hover img {
  opacity: 0.6;
  filter: brightness(40%);
}
.description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 18px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.portfolio-item:hover .description {
  opacity: 1;
}

/* Specific Portfolio Item Positions */
.item-1 { top: 88%; right: 28%; }
.item-2 { top: 120%; left: 17%; }
.item-3 { top: 175%; right: 17%; }
.item-4 { top: 240%; left: 22%; }
.item-5 { top: 290%; right: 25%; }
.item-6 { top: 340%; left: 17%; }
.item-7 { top: 375%; right: 3%; }
.item-8 { top: 420%; left: 23%; }
.item-9 { top: 485%; right: 17%; }
.item-10 { top: 530%; left: 15%; }
.item-11 { top: 200%; right: 15%; }
.item-11 {
  pointer-events: none;
}

.item-1 img { width: 350px !important; height: auto!important; }
.item-2 img { width: 420px !important; height: auto!important; }
.item-3 img { width: 420px!important; height: auto!important; }
.item-4 img { width: 330px!important; height: auto!important; }
.item-5 img { width: 430px!important; height: auto!important; }
.item-6 img { width: 480px!important; height: auto!important; }
.item-7 img { width: 490px!important; height: auto!important; }
.item-8 img { width: 400px!important; height: auto!important; }
.item-9 img { width: 500px!important; height: auto!important; }
.item-10 img { width: 500px!important; height: auto!important; }

/* VOLUME BUTTON */
#volumeButton {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 100px;
  height: auto;
  cursor: pointer;
  z-index: 100;
  transition: transform 0.3s;
}
#volumeButton:hover {
  transform: rotate(40deg) scale(1.2);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
  overflow-y: auto; /* Allows scrolling when content is too large */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}
.lightbox::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome/Safari/Opera */
}

/* LIGHTBOX CONTENT */
.lightbox-content {
  display: flex;
  flex-direction: row;
  gap: 40px;
  max-width: 100vw;
  max-height: none; /* Allow full expansion */
}

.lightbox-img {
  max-width: 90%;
  height: auto;
  transition: transform 0.3s ease;
}

/* Hover effect to slightly enlarge lightbox images */
.lightbox-img:hover {
  transform: scale(1.05);
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  transition: transform 0.3s ease, scale 0.3s ease;
  cursor: pointer;
}
.close-btn:hover {
  transform: rotate(90deg) scale(1.2);
}

/* CALENDARS GALLERY */
.calendars-gallery {
  flex-direction: column;
  overflow-y: auto; /* Allow scrolling when needed */
  align-items: center;
  max-height: none; /* Prevent cut-off */
}

.calendars:first-child {
  margin-top: 50px;
}

/* Make calendars images bigger */
.calendars {
  max-width: 70%;
}

/* Hide scrollbar for cleaner look */
.calendars-gallery::-webkit-scrollbar {
  display: none;
}

.calendars-gallery {
  scrollbar-width: none;
}

/* Make bot1.jpg, bot2.jpg, and bot3.jpg smaller */
.lightbox-img[src*="bot1.jpg"],
.lightbox-img[src*="bot2.jpg"],
.lightbox-img[src*="bot3.jpg"] {
  max-width: 20%; /* Adjust size */
  height: auto;
  display: block;
  margin: 0 auto; /* Center horizontally */
  gap: 40px
}

/* Wrap and center bot images with spacing */
.bot-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* Space between images */
}
