/* Icons */

.right-arrow-icon {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.footer-icon {
  width: 20px;
  height: 20px;
}

a.icon-link {
  transition: transform 200ms ease-in-out;
}

a.icon-link:hover {
  cursor: pointer;
  stroke-width: 5;
  margin: 0;
  transform: rotate(15deg);
}


/* Button Styling */

a.button {
  padding: 8px 16px;
  border: 3px solid #141414;
  border-radius: 50px;
  color: black;
  text-decoration: none;
  width: fit-content;
  display: flex;
  gap: 5px;
  align-items: center;
}

a.button:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  cursor: pointer;
}


a.button#home-button {
  background-color: var(--COLOR-3);
}

/* Footer Styling */
#footer {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

/* Link Styling */
a.no-underline {
  text-decoration: none;
  color: black
}

a.no-underline:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* Small devices */
@media only screen and (max-width: 800px) {
  #footer {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    gap: 12px;
  }

  .footer-icon {
    width: 18px;
    height: 18px;
  }
}


/* --- Image Gallery Module --- */

.image-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  align-items: center;
}

.gallery-main {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-main:hover {
  opacity: 0.9;
}

.gallery-main-video {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  cursor: pointer;
  transition: opacity 0.2s;
}

.gallery-main-video:hover {
  opacity: 0.9;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-thumbs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s, opacity 0.2s;
}

.gallery-thumbs img:hover {
  transform: scale(1.08);
  opacity: 0.8;
}

.gallery-thumbs img.active-thumb {
  outline: 3px solid var(--COLOR-1, #007bff);
}

.gallery-thumbs video {
  width: 70px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s, opacity 0.2s;
}

.gallery-thumbs video:hover {
  transform: scale(1.08);
  opacity: 0.8;
}

.gallery-thumbs video.active-thumb {
  outline: 3px solid var(--COLOR-1, #007bff);
}


/* Footer email button (clipboard copy) */
.footer-email-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast notification — position is set dynamically in footer.js */
#footer-toast {
  position: fixed;
  background: rgba(20, 20, 20, 0.85);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  white-space: nowrap;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateX(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 1000;
}

#footer-toast.footer-toast-visible {
  opacity: 1;
  transform: translateX(0);
}


/* --- Lightbox Modal --- */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-video {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Small devices */
@media only screen and (max-width: 800px) {
  .lightbox-content {
    max-width: 95%;
    max-height: 95%;
  }

  .lightbox-image {
    max-height: 85vh;
  }

  .lightbox-video {
    max-height: 85vh;
  }

  .lightbox-close {
    top: -35px;
    font-size: 35px;
    width: 35px;
    height: 35px;
  }
}