/* Jaishivanya Boutique - Luxury Light-Mode Glassmorphism Stylesheet */
/* Strict Light Mode Only */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Cinzel:wght@500;600;700&display=swap');

:root {
  --color-canvas: #FDFBF7;
  --color-surface: rgba(255, 255, 255, 0.78);
  --color-wine: #722F37;
  --color-wine-dark: #581D24;
  --color-gold: #C5A059;
  --color-gold-light: #E8D3A2;
  --color-charcoal: #1E1E1E;
  --color-slate: #6B6862;
}

body {
  background-color: var(--color-canvas);
  color: var(--color-charcoal);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-display {
  font-family: 'Cinzel', serif;
}

/* Ambient Radial Lighting Layer */
.ambient-glow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.18;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 500px;
  height: 500px;
  background: #722F37;
  top: -100px;
  right: -50px;
}

.glow-orb-2 {
  width: 450px;
  height: 450px;
  background: #C5A059;
  bottom: 10%;
  left: -80px;
  animation-duration: 28s;
}

.glow-orb-3 {
  width: 400px;
  height: 400px;
  background: #F4C2C2;
  top: 45%;
  right: 15%;
  animation-duration: 18s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 40px) scale(1.08); }
  100% { transform: translate(-25px, -30px) scale(0.95); }
}

/* Glassmorphism Cards with Signature Atelier Brown (#722F37) Luxury Border */
.glass-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.2px solid rgba(114, 47, 55, 0.22) !important;
  box-shadow: 0 10px 30px -5px rgba(114, 47, 55, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(114, 47, 55, 0.48) !important;
  box-shadow: 0 16px 38px -6px rgba(114, 47, 55, 0.16);
}

.glass-card-hover {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -8px rgba(114, 47, 55, 0.18);
  border-color: rgba(114, 47, 55, 0.60) !important;
}

/* Global Section Dividers & Separators with Refined Atelier Brown (#722F37) */
section .border-t,
section .border-b,
section .border-gray-200\/60,
section .border-gray-100,
.section-divider {
  border-color: rgba(114, 47, 55, 0.20) !important;
}

/* macOS Floating Nav Dock - White Liquid Glass with Solid Prime Wine/Brown Border */
.macos-dock {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.94) 0%, 
    rgba(253, 251, 247, 0.86) 50%, 
    rgba(255, 255, 255, 0.90) 100%
  );
  backdrop-filter: blur(28px) saturate(190%) brightness(102%);
  -webkit-backdrop-filter: blur(28px) saturate(190%) brightness(102%);
  border: 2px solid #722F37;
  box-shadow: 
    0 20px 48px -8px rgba(114, 47, 55, 0.18),
    0 8px 18px -4px rgba(0, 0, 0, 0.06),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px 0 rgba(114, 47, 55, 0.06);
  position: relative;
  overflow: visible;
}

/* Liquid Meniscus Curvature Highlight overlay */
.macos-dock::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(
    140% 90% at 50% 0%, 
    rgba(255, 255, 255, 0.85) 0%, 
    rgba(255, 255, 255, 0.35) 30%, 
    rgba(255, 255, 255, 0.05) 60%, 
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Micro-magnification hover with High-Contrast Prime Wine Icons */
.dock-item {
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  transform-origin: bottom center;
  color: #722F37;
  position: relative;
  z-index: 2;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid transparent;
}

.dock-item svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 1px 2px rgba(114, 47, 55, 0.15));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.dock-item:hover {
  transform: scale(1.22) translateY(-8px);
  background: rgba(114, 47, 55, 0.10);
  color: #581D24;
  border: 1px solid rgba(114, 47, 55, 0.25);
  box-shadow: 
    0 10px 22px -4px rgba(114, 47, 55, 0.20),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.dock-item:hover svg {
  transform: scale(1.06);
  filter: drop-shadow(0 2px 4px rgba(114, 47, 55, 0.25));
}

.dock-item:active {
  transform: scale(0.95) translateY(-2px);
}

/* Active Item Capsule: Bold Solid Jewel Badge with High Contrast */
.dock-item-active {
  background: #722F37 !important;
  border: 1px solid #581D24 !important;
  box-shadow: 
    0 6px 16px rgba(114, 47, 55, 0.32),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.4) !important;
  color: #FFFFFF !important;
}

.dock-item-active svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35)) !important;
}

.dock-active-dot {
  position: absolute;
  bottom: 3px;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: #C5A059;
  box-shadow: 0 0 6px #C5A059, 0 0 2px #FFFFFF;
}

/* Dock Separator */
.dock-separator {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, rgba(114, 47, 55, 0.05) 0%, rgba(114, 47, 55, 0.30) 50%, rgba(114, 47, 55, 0.05) 100%);
  margin: 0 3px;
  z-index: 2;
}

/* Dock Tooltip - High-Contrast Luxury Liquid Glass */
.dock-tooltip {
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  background: #722F37;
  color: #FFFFFF;
  border: 1px solid #C5A059;
  box-shadow: 0 12px 28px rgba(114, 47, 55, 0.30), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dock-item:hover .dock-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -18px);
}

/* Sub-Menu Launchpad Tray - White Liquid Glass with Solid Prime Wine Border */
.dock-launchpad {
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.dock-launchpad.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -14px) scale(1);
  pointer-events: auto;
}

.launchpad-glass {
  background: linear-gradient(
    145deg, 
    rgba(255, 255, 255, 0.94) 0%, 
    rgba(253, 251, 247, 0.90) 100%
  );
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 2px solid #722F37;
  box-shadow: 
    0 35px 80px -15px rgba(114, 47, 55, 0.25),
    0 15px 30px -5px rgba(0, 0, 0, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.launchpad-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.2) 50%, transparent 80%);
  pointer-events: none;
}

/* Backend Sidebar Liquid Dock Styles */
.admin-sidebar-dock {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-right: 1px solid rgba(114, 47, 55, 0.12);
  box-shadow: 4px 0 30px rgba(114, 47, 55, 0.05);
}

.sidebar-nav-item {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-nav-item:hover {
  transform: translateX(4px);
}

/* Shimmer Effect */
.shimmer-badge {
  background: linear-gradient(90deg, #722F37 0%, #A34853 50%, #722F37 100%);
  background-size: 200% 100%;
  animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
  background: #D9C3A5;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #722F37;
}

/* Progressive Glass Blur Effect behind Nav Dock */
.dock-progressive-blur {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
  z-index: 45; /* Just behind nav dock at z-50 */
  background: linear-gradient(
    to top,
    rgba(253, 251, 247, 0.98) 0%,
    rgba(253, 251, 247, 0.90) 35%,
    rgba(253, 251, 247, 0.55) 70%,
    rgba(253, 251, 247, 0.18) 88%,
    transparent 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.95) 45%,
    rgba(0, 0, 0, 0.55) 75%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.95) 45%,
    rgba(0, 0, 0, 0.55) 75%,
    transparent 100%
  );
}

/* Festival Skyscraper Banners (Desktop Margins) with Signature Atelier Brown (#722F37) Border */
.skyscraper-banner {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid #722F37 !important;
  box-shadow: 
    0 18px 45px -8px rgba(114, 47, 55, 0.28),
    0 0 12px 1px rgba(114, 47, 55, 0.18);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: bannerAttentiveBreath 4.5s ease-in-out infinite;
  will-change: transform, box-shadow, border-color;
}

#skyscraperBannerRight .skyscraper-banner {
  animation-delay: 0.75s;
}

.skyscraper-banner:hover {
  animation-play-state: paused;
  transform: translateY(-8px) scale(1.03);
  border-color: #581D24 !important;
  box-shadow: 
    0 30px 70px -8px rgba(114, 47, 55, 0.45),
    0 0 25px 4px rgba(114, 47, 55, 0.25);
}

/* Attentive breathing float with atelier brown pulse glow */
@keyframes bannerAttentiveBreath {
  0%, 100% {
    transform: translateY(0) scale(1);
    border-color: #722F37;
    box-shadow: 
      0 16px 40px -8px rgba(114, 47, 55, 0.22),
      0 0 10px 0px rgba(114, 47, 55, 0.15);
  }
  38% {
    transform: translateY(-6px) scale(1.015);
    border-color: #8C333D;
    box-shadow: 
      0 26px 55px -6px rgba(114, 47, 55, 0.35),
      0 0 20px 3px rgba(114, 47, 55, 0.22);
  }
  75% {
    transform: translateY(-2px) scale(1.005);
    border-color: #722F37;
    box-shadow: 
      0 20px 48px -7px rgba(114, 47, 55, 0.26),
      0 0 12px 1px rgba(114, 47, 55, 0.16);
  }
}

/* Skyscraper Sheen Animation */
.skyscraper-sheen {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: bannerSheen 4.2s infinite;
}

@keyframes bannerSheen {
  0% { left: -100%; }
  30% { left: 220%; }
  100% { left: 220%; }
}

/* Mobile Fixed Festival Tab Buttons */
.festival-side-tab {
  background: linear-gradient(135deg, #722F37 0%, #581D24 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px -2px rgba(114, 47, 55, 0.45);
  border: 1.5px solid #C5A059;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.festival-side-tab:hover, .festival-side-tab:active {
  background: linear-gradient(135deg, #8E2800 0%, #722F37 100%);
  transform: scale(1.05);
}

.festival-side-tab-left {
  border-left: none;
  border-radius: 0 16px 16px 0;
}

.festival-side-tab-right {
  border-right: none;
  border-radius: 16px 0 0 16px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.vertical-text-right {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.animate-spin-slow {
  animation: spin 8s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero Carousel Lag-Free Transitions */
.hero-image-slide {
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-content-slide {
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: opacity, transform;
}

/* Dynamic Island Floating Header Capsule - Pure Apple/Luxury Liquid Glass */
.dynamic-island-capsule {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.70) 0%, 
    rgba(253, 248, 244, 0.45) 45%, 
    rgba(255, 255, 255, 0.65) 100%
  );
  backdrop-filter: blur(28px) saturate(210%) brightness(103%);
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(103%);
  border: 1.5px solid rgba(114, 47, 55, 0.45);
  border-radius: 9999px;
  box-shadow: 
    0 16px 40px -8px rgba(114, 47, 55, 0.16),
    0 6px 14px -3px rgba(0, 0, 0, 0.04),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px 0 rgba(114, 47, 55, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
}

.dynamic-island-capsule::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 20px;
  right: 20px;
  height: 40%;
  border-radius: 9999px 9999px 60% 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.05) 100%);
  pointer-events: none;
  z-index: 1;
}

.dynamic-island-capsule:hover {
  box-shadow: 
    0 22px 50px -8px rgba(114, 47, 55, 0.22),
    0 10px 22px -3px rgba(0, 0, 0, 0.08);
  border-color: rgba(114, 47, 55, 0.6);
  transform: translateY(-1px);
}

/* Hero Row 2: Atelier Silk Editorial Stage Card with Atelier Brown (#722F37) Border */
.hero-editorial-stage {
  background: linear-gradient(
    135deg, 
    rgba(255, 255, 255, 0.96) 0%, 
    rgba(253, 249, 243, 0.92) 50%, 
    rgba(254, 251, 247, 0.98) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(114, 47, 55, 0.32) !important;
  box-shadow: 
    0 14px 40px -10px rgba(114, 47, 55, 0.10),
    0 4px 12px -2px rgba(114, 47, 55, 0.05),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.hero-editorial-stage::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #722F37 50%, transparent 100%);
  pointer-events: none;
}

/* Heritage Trust Badge Feature Tiles with Atelier Brown (#722F37) Border */
.heritage-feature-tile {
  background: linear-gradient(
    145deg, 
    rgba(255, 255, 255, 0.95) 0%, 
    rgba(253, 250, 245, 0.90) 50%, 
    rgba(250, 246, 239, 0.85) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.2px solid rgba(114, 47, 55, 0.26) !important;
  box-shadow: 
    0 8px 24px -6px rgba(114, 47, 55, 0.08),
    0 2px 6px -1px rgba(114, 47, 55, 0.04),
    inset 0 1px 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.heritage-feature-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(114, 47, 55, 0.6), transparent);
  transition: all 0.3s ease;
}

.heritage-feature-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(114, 47, 55, 0.65) !important;
  box-shadow: 
    0 16px 36px -6px rgba(114, 47, 55, 0.18),
    0 6px 14px -2px rgba(114, 47, 55, 0.12);
}

.heritage-feature-tile:hover::before {
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #722F37, #923E48, #722F37);
}

/* Detached Floating Bag Side Popup with Solid Brown Border */
.bag-popup-glass {
  background: linear-gradient(
    145deg, 
    rgba(255, 255, 255, 0.97) 0%, 
    rgba(253, 251, 247, 0.95) 100%
  );
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  border: 2px solid #722F37;
  box-shadow: 
    0 30px 80px -15px rgba(114, 47, 55, 0.28),
    0 12px 28px -5px rgba(0, 0, 0, 0.08),
    inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
  position: relative;
}

.bag-popup-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.2) 60%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

