/* ═══════════════════════════════════════════
   D&D Designs & Dance LLC — 2026 Redesign
   Modern Dance/Energetic aesthetic
   ═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; }
::selection { background: #FF4D4D; color: #fff; }

/* ═══════════════════════════════════════════
   ANIMATED GRADIENT ORBS (Hero)
   ═══════════════════════════════════════════ */
.orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
  will-change: transform;
}
.orb--1 {
  width: 55vmax; height: 55vmax;
  background: radial-gradient(circle, #FF4D4D 0%, #FF6B35 45%, transparent 70%);
  top: -18%; left: -12%;
  animation: orb-float-1 18s ease-in-out infinite alternate;
}
.orb--2 {
  width: 45vmax; height: 45vmax;
  background: radial-gradient(circle, #00E5C7 0%, #00b396 50%, transparent 70%);
  bottom: -20%; right: -10%;
  animation: orb-float-2 22s ease-in-out infinite alternate;
}
.orb--3 {
  width: 35vmax; height: 35vmax;
  background: radial-gradient(circle, #FF4D4D 0%, #7c3aed 60%, transparent 72%);
  top: 40%; left: 40%;
  animation: orb-float-3 15s ease-in-out infinite alternate;
}
@keyframes orb-float-1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(10%, 8%) scale(1.15); }
}
@keyframes orb-float-2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-8%, -6%) scale(1.1); }
}
@keyframes orb-float-3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, -4%) scale(0.9); }
}

/* ─── NOISE OVERLAY ─── */
.noise-overlay {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 200px 200px;
}

/* ═══════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  animation: reveal-up 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.scroll-reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.35s; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
#navbar { transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease; }
#navbar.scrolled {
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04);
}
.nav-link { position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: #FF4D4D;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* ═══════════════════════════════════════════
   MONO RING (About decorative)
   ═══════════════════════════════════════════ */
.mono-ring {
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(255,77,77,0.04), 0 0 160px rgba(0,229,199,0.03);
  position: relative;
}
.mono-ring::before {
  content: ''; position: absolute; inset: -20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,77,77,0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse-ring 6s ease-in-out infinite;
}
@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ─── FLOATING EMOJI ─── */
.animate-float     { animation: float-up 5s  ease-in-out infinite; }
.animate-float-slow { animation: float-up 7s  ease-in-out infinite reverse; }
@keyframes float-up {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50%      { transform: translateY(-18px) rotate(3deg); }
}

/* ═══════════════════════════════════════════
   SERVICE CARDS
   ═══════════════════════════════════════════ */
.svc-card {
  position: relative; overflow: hidden;
  transition: transform 0.4s ease;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(255,255,255,0.015) 0%, transparent 100%);
  pointer-events: none; border-radius: inherit;
}
.svc-card:hover { transform: translateY(-4px); }

/* ═══════════════════════════════════════════
   TESTIMONIAL CARDS
   ═══════════════════════════════════════════ */
.testimonial-card {
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,77,77,0.1);
}

/* ═══════════════════════════════════════════
   SOCIAL ICON BUTTONS
   ═══════════════════════════════════════════ */
.social-icon { position: relative; }
.social-icon::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(255,77,77,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
}
.social-icon:hover::before { opacity: 1; }

/* ═══════════════════════════════════════════
   TIKTOK EMBED STYLING
   ═══════════════════════════════════════════ */
.tiktok-embed { margin: 0 auto; border-radius: 12px; overflow: hidden; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .mono-ring { width: 220px; height: 220px; }
  .mono-ring .w-48, .mono-ring .sm\\:w-56 { width: 160px; height: 160px; }
  .mono-ring .w-28, .mono-ring .sm\\:w-32 { width: 110px; height: 110px; }
}

/* Performance hints */
.orb, .reveal, .scroll-reveal, .svc-card, .testimonial-card {
  will-change: transform, opacity;
}
