html, body {
  overflow-x: hidden;
}
/* ===== CUSTOM SCROLLBAR ===== */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(30, 94, 255, 0.6) transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(30, 94, 255, 0.8),
    rgba(0, 194, 255, 0.8)
  );
  border-radius: 10px;
  transition: background 0.4s ease, width 0.3s ease;
}

/* Hover animation */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(0, 194, 255, 1),
    rgba(249, 168, 37, 1)
  );
}

/* Optional: subtle glow on hover */
::-webkit-scrollbar-thumb:hover {
  box-shadow: 0 0 8px rgba(30, 94, 255, 0.6);
}
@keyframes scrollPulse {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

::-webkit-scrollbar-thumb {
  animation: scrollPulse 3s ease-in-out infinite;
}

@keyframes solarGlow {
  0% {
    background-position: 50% 0%;
    filter: brightness(1);
  }
  50% {
    background-position: 50% 100%;
    filter: brightness(1.08);
  }
  100% {
    background-position: 50% 0%;
    filter: brightness(1);
  }
}

.animate-gradient {
  background-image: linear-gradient(
    to bottom,
    #FFE8B5 0%,
    #E5C07A 45%,
    #B08A45 75%,
    #6E5326 100%
  );
  background-size: 100% 200%;
  animation: solarGlow 6s ease-in-out infinite;
}


.hero-item {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}

.hero-item.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.6s ease-out;
}

.magic-float {
    animation: alavideenFloat 6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes alavideenFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
    100% {
        transform: translateY(0);
    }
}



/* Base hidden state */
.reveal {
  opacity: 0;
  transition: all 0.8s ease-out;
  will-change: transform, opacity;
}

/* Directions */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-top {
  transform: translateY(-60px);
}

.reveal-bottom {
  transform: translateY(60px);
}

/* Active state */
.reveal.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}



.gallery-tile {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  position: relative;
  background: rgba(255,255,255,0.05);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.45),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-tile:hover img {
  transform: scale(1.08);
}

.gallery-tile:hover::after {
  opacity: 1;
}


.glass-icon-light {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    color: #111;
    transition: all 0.3s ease;
}

.glass-icon-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}


.preview-card-light {
    position: absolute;
    bottom: 150%;
    left: 10%;
    transform: translateX(-50%) translateY(10px);
    width: 140px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 30px 60px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    overflow: hidden;
    z-index: 50;
}

.preview-card-light img {
    width: 100%;
    display: block;
}

.group:hover .preview-card-light {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}



