/* ==========================================================================
   TAKFLOWERS V5.0 — Modern Minimal White-Turquoise (Limehome Edition)
   Single-Screen Tab Architecture + Silk Waves & Floating Botanical Petals
   ========================================================================== */

:root {
  --teal: #00a693;
  --teal-dark: #008575;
  --teal-light: #e6f7f5;
  --teal-glow: rgba(0, 166, 147, 0.22);
  --ink: #1e2426;
  --canvas: #f8fbfb;
}

/* Hide scrollbars on horizontal pill bars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ==========================================================================
   1. ANIMATED BACKGROUND: Style 1 (Silk Waves) + Style 2 (Bokeh & Petals)
   ========================================================================== */
.animated-bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(135deg, #ffffff 0%, #f4fbfa 45%, #eaf8f6 100%);
}

/* Silk Turquoise Waves (Style 1) */
.silk-wave {
  position: absolute;
  border-radius: 45% 55% 60% 40% / 50% 45% 55% 50%;
  filter: blur(65px);
  opacity: 0.55;
  will-change: transform;
}

.silk-wave-1 {
  width: 680px;
  height: 680px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(0, 166, 147, 0.24) 0%, rgba(94, 234, 212, 0.08) 70%, transparent 100%);
  animation: silkFloat1 22s ease-in-out infinite alternate;
}

.silk-wave-2 {
  width: 580px;
  height: 580px;
  bottom: -160px;
  left: -120px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, rgba(153, 246, 228, 0.08) 70%, transparent 100%);
  animation: silkFloat2 26s ease-in-out infinite alternate;
}

.silk-wave-3 {
  width: 460px;
  height: 460px;
  top: 35%;
  left: 38%;
  background: radial-gradient(circle, rgba(0, 166, 147, 0.12) 0%, rgba(255, 255, 255, 0.05) 70%, transparent 100%);
  animation: silkFloat3 19s ease-in-out infinite alternate;
}

@keyframes silkFloat1 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(-60px, 45px) rotate(12deg) scale(1.08); }
  100% { transform: translate(30px, 80px) rotate(-8deg) scale(0.95); }
}

@keyframes silkFloat2 {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50% { transform: translate(75px, -50px) rotate(-15deg) scale(1.1); }
  100% { transform: translate(-25px, -85px) rotate(10deg) scale(0.96); }
}

@keyframes silkFloat3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-55px, 40px) scale(1.14); }
}

/* Canvas for Floating Botanical Bokeh & Petals (Style 2) */
#botanical-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   2. TAB VIEW TRANSITIONS (No Long Scrolling, Instant Smooth Tab Switch)
   ========================================================================== */
.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(14px) scale(0.992);
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-panel.active {
  display: block;
  animation: tabReveal 0.48s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabReveal {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.992);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Navigation Tab Active States (Pill Capsule Style) */
.nav-tab-btn {
  position: relative;
  color: #475569;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-tab-btn:hover {
  color: #072623;
  background-color: rgba(255, 255, 255, 0.7);
}

.nav-tab-btn.active {
  color: #ffffff;
  background-color: #072623;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(7, 38, 35, 0.22);
}

.nav-tab-btn.active::after {
  display: none;
}

/* Mobile Bottom Bar Active State */
.mobile-tab-btn.active {
  color: var(--teal);
  font-weight: 600;
}
.mobile-tab-btn.active .mobile-tab-dot {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   3. STAGGERED CARD REVEAL & 3D HOVER EFFECTS
   ========================================================================== */
@keyframes cardFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.stagger-card {
  opacity: 0;
  animation: cardFadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hover-lift {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 42px -12px rgba(0, 166, 147, 0.16);
  border-color: rgba(0, 166, 147, 0.45);
}

/* Category Filter Pills */
.filter-btn {
  color: #64748b;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
}
.filter-btn:hover {
  color: var(--ink);
}
.filter-btn.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 600;
}

/* Occasion Buttons */
.occ-btn.active {
  background-color: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 8px 20px -4px rgba(0, 166, 147, 0.35);
}

/* Admin Sidebar Buttons */
.admin-nav-btn {
  transition: all 0.2s ease;
}
.admin-nav-btn.active {
  background-color: var(--teal);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(0, 166, 147, 0.35);
}
