/* Krishna World Wide — Custom Premium Styles (Tailwind supplement) */

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Premium gradient text */
.gradient-text {
  background: linear-gradient(135deg, #c9a84c 0%, #f0d78c 50%, #c9a84c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Ken Burns hero carousel */
.hero-carousel { position: relative; height: 100vh; min-height: 600px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,.88) 0%, rgba(10,22,40,.6) 50%, rgba(10,22,40,.75) 100%);
}
.hero-slide.active .hero-slide-content {
  animation: slideUp .8s ease-out .3s both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-slide-content { position: relative; z-index: 2; }
.hero-indicators { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.hero-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,.5); background: transparent;
  cursor: pointer; transition: all .3s;
}
.hero-dot.active { background: #c9a84c; border-color: #c9a84c; transform: scale(1.2); }
.hero-arrows { position: absolute; top: 50%; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; padding: 0 24px; transform: translateY(-50%); pointer-events: none; }
.hero-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.3);
  color: #c9a84c; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s; pointer-events: all;
  backdrop-filter: blur(8px);
}
.hero-arrow:hover { background: #c9a84c; color: #0a1628; }

/* Animated counter */
@keyframes countUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Product card hover glow */
.product-card { transition: all .35s cubic-bezier(.4,0,.2,1); }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(201,168,76,.15); border-color: rgba(201,168,76,.3); }
.product-card .card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.95) 0%, transparent 60%);
  opacity: 0; transition: opacity .35s;
}
.product-card:hover .card-overlay { opacity: 1; }
.product-card .card-actions {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  display: flex; gap: 8px;
  opacity: 0; transform: translateY(10px);
  transition: all .35s .1s;
}
.product-card:hover .card-actions { opacity: 1; transform: translateY(0); }

/* Category card shimmer */
.cat-card { position: relative; overflow: hidden; }
.cat-card::before {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(201,168,76,.06) 50%, transparent 60%);
  transform: rotate(45deg) translateX(-100%);
  transition: transform .6s;
}
.cat-card:hover::before { transform: rotate(45deg) translateX(100%); }

/* Glass morphism */
.glass {
  background: rgba(15,31,56,.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.08);
}

/* Floating animation */
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.float { animation: float 4s ease-in-out infinite; }

/* Pulse ring */
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-fab { animation: pulseRing 2s infinite; }

/* Navbar glass */
.navbar { transition: all .3s; }
.navbar.scrolled {
  background: rgba(10,22,40,.97) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,.4);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: all .7s cubic-bezier(.4,0,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* Map dots animation */
@keyframes mapPulse {
  0%,100% { opacity: .4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}
.map-dot { animation: mapPulse 2s ease-in-out infinite; }

/* Premium divider */
.gold-divider { width: 80px; height: 3px; background: linear-gradient(90deg, #c9a84c, #f0d78c, #c9a84c); border-radius: 2px; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a1628; }
::-webkit-scrollbar-thumb { background: #c9a84c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #dfc478; }

/* Loading screen */
.loader { position: fixed; inset: 0; z-index: 99999; background: #0a1628; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; transition: opacity .5s, visibility .5s; }
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-spinner { width: 48px; height: 48px; border: 3px solid rgba(201,168,76,.2); border-top-color: #c9a84c; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
