/* ===================================================================
   Rahul Dholi Entertainment — custom styles layered on top of Tailwind
   =================================================================== */

html { scroll-behavior: smooth; }

/* ---------- Navbar ---------- */
#site-navbar { background: rgba(250,247,242,0.96); }
#site-navbar .nav-text { color: #2B0D2D; }
#site-navbar.solid { background: #4A154B; box-shadow: 0 8px 24px rgba(43,13,45,0.25); }
#site-navbar.solid .nav-text { color: #FAF7F2; }

.nav-link { position: relative; color: inherit; padding-bottom: 4px; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: #D4AF37; transition: width .3s ease;
}
.nav-link:hover::after, .nav-link.nav-active::after { width: 100%; }

.mobile-link { padding: .65rem 0; border-bottom: 1px solid rgba(212,175,55,0.15); }

#mobile-menu { z-index: 60; background-color: #2B0D2D; }
#mobile-menu.open { transform: translateX(0); }

/* ---------- Buttons ---------- */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: linear-gradient(135deg, #D4AF37, #E8C968);
  color: #2B0D2D; font-weight: 700; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(212,175,55,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 12px 28px rgba(212,175,55,0.5); }

.btn-outline-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1.5px solid #D4AF37; color: #D4AF37; font-weight: 600; border-radius: 999px;
  transition: background .25s ease, color .25s ease;
}
.btn-outline-gold:hover { background: #D4AF37; color: #2B0D2D; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #4A154B; color: #FAF7F2; font-weight: 600; border-radius: 999px;
  transition: background .25s ease, transform .25s ease;
}
.btn-primary:hover { background: #2B0D2D; transform: translateY(-2px); }

/* ---------- Cards ---------- */
.service-card {
  background: #FFFFFF; border-radius: 1.25rem; overflow: hidden;
  border: 1px solid rgba(212,175,55,0.18);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(74,21,75,0.18);
  border-color: rgba(212,175,55,0.5);
}

.feature-card {
  background: #FFFFFF; border-radius: 1rem; border: 1px solid rgba(74,21,75,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(74,21,75,0.12); }

/* ---------- Section eyebrow / heading ---------- */
.section-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #4A154B; background: #F3EAF4; border: 1px solid rgba(212,175,55,0.4);
  border-radius: 999px; padding: .4rem 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}

.gold-underline {
  position: relative; display: inline-block;
}
.gold-underline::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -.35rem; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #D4AF37, transparent);
}

/* ---------- Glassmorphism ---------- */
.glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
}

/* ---------- Hero ---------- */
.hero-bg {
  background: linear-gradient(90deg, rgba(250,247,242,0.94), rgba(250,247,242,0.82)),
              radial-gradient(circle at 15% 20%, rgba(212,175,55,0.15), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(74,21,75,0.12), transparent 50%),
              url("../img/banner-1774-887.png") center / cover no-repeat,
              #FAF7F2;
}

.sound-ring {
  border: 1.5px solid rgba(212,175,55,0.35);
  border-radius: 50%;
  animation: pulse-ring 5s ease-in-out infinite;
}
.sound-ring.delay-1 { animation-delay: .8s; }
.sound-ring.delay-2 { animation-delay: 1.6s; }

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.06); opacity: .95; }
}

.float-slow { animation: float 9s ease-in-out infinite; }
.float-slower { animation: float 13s ease-in-out infinite; }
.float-med { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}

.spin-slow { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.drift { animation: drift 11s ease-in-out infinite; }
@keyframes drift {
  0%   { transform: translate(0,0); opacity: .5; }
  50%  { transform: translate(6px,-22px); opacity: 1; }
  100% { transform: translate(0,0); opacity: .5; }
}

.pulse-soft { animation: pulse-soft 3.2s ease-in-out infinite; }
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ---------- Decorative note ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; user-select: none; }

/* ---------- FAB buttons ---------- */
.fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  transition: transform .25s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: #4A154B; }
.fab-whatsapp::before {
  content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; opacity: .5; animation: pulse-soft 2.2s ease-out infinite;
  z-index: -1;
}

/* ---------- Gallery ---------- */
.gallery-item { position: relative; overflow: hidden; border-radius: .9rem; cursor: pointer; }
.gallery-item img { transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(43,13,45,0.55);
  opacity: 0; transition: opacity .35s ease;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid transparent;
}
.gallery-item:hover .gallery-overlay { opacity: 1; border-color: #D4AF37; }

.filter-btn { transition: all .25s ease; }
.filter-btn.active { background: #4A154B; color: #FAF7F2; }

/* ---------- FAQ ---------- */
.faq-item[open] summary .faq-icon { transform: rotate(45deg); }
.faq-item summary { cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .3s ease; }
.faq-answer { animation: fade-in .3s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px);} to { opacity:1; transform: translateY(0);} }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .float-slow, .float-slower, .float-med, .spin-slow, .drift, .pulse-soft, .sound-ring, .fab-whatsapp::before {
    animation: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@media (max-width: 767px) {
  .hero-heading { font-size: 2.5rem; line-height: 1.15; }
}
