/* assets/css/style.css - SwitchGhor (switchghor.com) Pure White Apex4u-style Theme */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Noto+Sans+Bengali:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  --bg-dark: #ffffff;
  --bg-card: #ffffff;
  --gold-primary: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.2);
  --blue-neon: #0284c7;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-glass: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', 'Plus Jakarta Sans', sans-serif;
  background-color: #ffffff;
  color: #0f172a;
  overflow-x: hidden;
  line-height: 1.68;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #0f172a;
}

p {
  line-height: 1.68;
}

/* Glassmorphism & Panel Classes - Clean Crisp White */
.glass-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Apex4u Style Product Card Box */
.product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

/* Bottle Green Luxury Action Button */
.btn-bottle-green {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  color: #ffffff !important;
  border: 1px solid rgba(4, 120, 87, 0.45);
  box-shadow: 0 2px 5px rgba(6, 78, 59, 0.25);
  transition: all 0.2s ease-in-out;
}

.btn-bottle-green:hover {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 100%);
  border-color: #047857;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.35);
  transform: translateY(-1px);
}

.btn-bottle-green:active {
  transform: scale(0.97);
}

/* 3D Runway Perspective Stage */
.runway-perspective-stage {
  perspective: 1300px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  height: 270px;
  min-height: 260px;
  max-height: 280px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
}

.runway-switch-item {
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
}

/* Hero Selector Card (Right Side Column) */
.hero-selector-card {
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.hero-selector-card:hover {
  transform: translateX(4px);
  background: #f8fafc;
  border-color: #cbd5e1;
}
.hero-selector-card.active {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
  transform: translateX(6px);
}

/* Fixed Hero Cards Height (Both Left & Right Boxes) */
#heroRunwayCard {
  height: 460px !important;
  max-height: 460px !important;
}

@media (min-width: 1024px) {
  #heroSelectorContainer {
    height: 460px !important;
    max-height: 460px !important;
  }
  #heroSelectorList {
    height: 380px !important;
    max-height: 380px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
  }
}

/* Custom Visible Scrollbar for Right Series List */
#heroSelectorList::-webkit-scrollbar {
  width: 6px;
}
#heroSelectorList::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}
#heroSelectorList::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
#heroSelectorList::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}

/* Brand Badges */
.badge-walton {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.badge-ssg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.badge-gold {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #b45309;
}

/* Wall Room Simulation */
.room-preview-box {
  position: relative;
  background-size: cover;
  background-position: center;
  transition: filter 0.5s ease;
}

button, .btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
button:hover, .btn:hover {
  transform: translateY(-1px);
}
button:active, .btn:active {
  transform: translateY(0px);
}

/* Bedroom Simulator Styling */
.bedroom-viewport {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #050608;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
}

.bedroom-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.bedroom-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: background 0.6s ease, opacity 0.6s ease;
}

/* Day Mode */
.bedroom-mode-day .bedroom-bg {
  filter: brightness(1.02) contrast(1.02);
}
.bedroom-mode-day .bedroom-overlay {
  background: rgba(255, 235, 190, 0.04);
}

/* Soft Ambient / Night Mode */
.bedroom-mode-night .bedroom-bg {
  filter: brightness(0.28) contrast(1.15) saturate(0.85);
}
.bedroom-mode-night .bedroom-overlay {
  background: radial-gradient(circle at 50% 12%, rgba(255, 180, 70, 0.18) 0%, rgba(5, 7, 12, 0.65) 55%, rgba(2, 3, 6, 0.88) 100%);
}

/* Lamp Warm Ambient Glow */
.lamp-glow-radial {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(45px);
  mix-blend-mode: screen;
  transition: opacity 0.6s ease;
}

.bedroom-mode-day .lamp-glow-radial {
  opacity: 0.35;
}
.bedroom-mode-night .lamp-glow-radial {
  opacity: 0.85;
}

/* Bedside Mounted Switch */
.mounted-wall-switch {
  position: absolute;
  cursor: pointer;
  z-index: 35;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}
.mounted-wall-switch:hover {
  transform: scale(1.15);
}
.mounted-wall-switch:active {
  transform: scale(0.95);
}

.switch-led-indicator {
  transition: opacity 0.5s ease, box-shadow 0.5s ease;
}
.bedroom-mode-night .switch-led-indicator {
  opacity: 1 !important;
  box-shadow: 0 0 12px 3px rgba(56, 189, 248, 0.9);
}

.room-preview-box.light-off {
  filter: brightness(0.25) contrast(1.2);
}

.room-preview-box.light-on {
  filter: brightness(1.05) contrast(1.05);
}

.wall-switch-hotspot {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wall-switch-hotspot:hover {
  transform: scale(1.12);
}
.wall-switch-hotspot:active {
  transform: scale(0.96);
}

/* Custom Scrollbar - Clean Light Slate */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Continuous Text Scrolling Marquee */
@keyframes continuousMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: continuousMarquee 32s linear infinite;
  will-change: transform;
}

.marquee-content:hover {
  animation-play-state: paused;
}

/* Sleek light custom scrollbar for category and series menus */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f8fafc;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* 100% Solid Clean White Background for Category Flyouts & Dropdowns */
#desktopCategoryDropdown,
.brand-series-flyout,
#seriesFlyoutsContainer,
#seriesFlyoutsContainer > div {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12) !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}

#desktopCategoryBackdrop {
  background-color: rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(1px) !important;
}

#searchResultsDropdown {
  background-color: #ffffff !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
}
