/* Animasi fadeIn untuk menu overlay */
@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeInMenu 0.3s cubic-bezier(.4,0,.2,1);
}
/* Perbaikan background menu mobile agar solid putih dan tidak transparan/tumpang tindih */
#mobile-menu {
  background: #fff !important;
  backdrop-filter: none !important;
}
/* Screenshot Gallery Modal - Perbaikan */
.gallery-modal-open {
  overflow: hidden;
}

/* Gallery Modal Fullscreen & Slider */
#gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: none; /* Default hidden */
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.25s ease-out;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.95) !important;
}

#gallery-modal.hidden {
  display: none !important;
}

#gallery-modal:not(.hidden) {
  display: flex !important;
}

.gallery-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: transparent;
  transition: transform 0.3s ease-out;
}

/* Modal Controls */
#gallery-modal-prev,
#gallery-modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}

#gallery-modal-prev:hover,
#gallery-modal-next:hover {
  background: rgba(34, 197, 94, 0.8);
  transform: translateY(-50%) scale(1.1);
}

#gallery-modal-prev {
  left: 20px;
}

#gallery-modal-next {
  right: 20px;
}

#gallery-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

#gallery-modal-close:hover {
  color: #22c55e;
}

/* Indicator dots */
#gallery-modal-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10000;
}

#gallery-modal-indicator span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

#gallery-modal-indicator span.active {
  background: #22c55e;
  border-color: #22c55e;
  transform: scale(1.2);
}

#gallery-modal-indicator span:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-modal-img {
    max-width: 95vw;
    max-height: 85vh;
  }
  
  #gallery-modal-prev,
  #gallery-modal-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  #gallery-modal-prev {
    left: 10px;
  }
  
  #gallery-modal-next {
    right: 10px;
  }
  
  #gallery-modal-close {
    top: 10px;
    right: 15px;
    font-size: 30px;
  }
}

/* Custom styles for ExRestoPro landing page */

/* Example: Custom shadow for CTA button */
.cta-shadow {
  box-shadow: 0 4px 20px 0 rgba(16, 185, 129, 0.15);
}

/* Example: Parallax background for hero section */
.hero-parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Example: Smooth transition for hover effects */
.transition-smooth {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Responsive image mockup (if needed) */
.mockup-img {
  max-width: 320px;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(31, 41, 55, 0.15);
}

/* Accordion FAQ custom style (if needed) */
.faq-accordion {
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  margin-bottom: 1rem;
}
.faq-accordion.active {
  border-color: #10b981;
  background: #f0fdf4;
}
