/* Custom styles */
body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

.title-text {
  font-size: 2rem;
  font-weight: bold;
  color: #9a3412; /* Tailwind orange-800 */
}

/* Custom transitions for elements */
.swiper-slide {
  transition: transform 0.5s ease;
}
/* Zoom Section */
.zoom-section {
  transition:
    transform 0.8s ease-out,
    opacity 0.8s ease-out;
  transform: scale(0.9);
  opacity: 0;
}
.zoom-section.is-visible {
  transform: scale(1);
  opacity: 1;
}

.distance-card {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.distance-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Slide Left */
.slide-left {
  transition:
    transform 1s ease-out,
    opacity 1s ease-out;
  transform: translateX(-100px);
  opacity: 0;
}
.slide-left.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Slide Right */
.slide-right {
  transition:
    transform 1s ease-out,
    opacity 1s ease-out;
  transform: translateX(100px);
  opacity: 0;
}
.slide-right.is-visible {
  transform: translateX(0);
  opacity: 1;
}

/* Blur Effect */
.blur-effect {
  transition:
    filter 1s ease-out,
    opacity 1s ease-out;
  filter: blur(10px);
  opacity: 0;
}
.blur-effect.is-visible {
  filter: blur(0px);
  opacity: 1;
}

/* Rotate In */
.rotate-in {
  transition:
    transform 0.8s ease-out,
    opacity 0.8s ease-out;
  transform: rotateY(-90deg);
  opacity: 0;
  perspective: 1000px;
}
.rotate-in.is-visible {
  transform: rotateY(0);
  opacity: 1;
}

/* Tilt and Rotate Animation State */
.animate-tilt-grid {
  transform: rotateY(-90deg);
  opacity: 0;
  transition:
    transform 1s ease-out,
    opacity 1s ease-out;
}

/* Final visible state */
.animate-tilt-grid.is-visible {
  transform: rotateY(0deg);
  opacity: 1;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item {
  height: 350px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tilt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  perspective: 1000px;
}

.gallery-item:hover .overlay {
  opacity: 1 !important;
}

.animate-tilt-grid {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.animate-tilt-grid.is-visible {
  opacity: 1;
}

/* GLightbox UI Fix */
.glightbox-container .gclose,
.glightbox-container .gnext,
.glightbox-container .gprev {
  z-index: 999999 !important;
}

.nav-link.active {
  color: #ea580c; /* Orange 600 */
  font-weight: bold;
  border-bottom: 2px solid #ea580c;
}

.mobile-nav-link {
  color: #111827 !important; /* Force dark color */
  display: block;
  width: 100%;
}

.mobile-nav-link.text-orange-600 {
  color: #ea580c !important;
  border-left: 4px solid #ea580c;
  padding-left: 1rem;
}

.tilt-grid img {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  border-radius: 1rem; /* rounded-2xl */
}

.tilt-grid img:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Enforce responsiveness on all assets and blocks */
main img,
main video,
main iframe,
main div,
main section {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ensure images and other replaced content scale down */
main img,
main video {
  height: auto;
}

.gdesc-inner {
  padding: 10px !important;
  background: #fff !important;
  color: #333 !important;
  text-align: center;
}

.gslide-description {
  background: white !important;
  position: relative !important;
  bottom: 0 !important;
  width: 100% !important;
  padding: 15px !important;
}
