/* 恒翔装饰 专属主题样式 */
:root {
  --primary-navy: #0F172A;
  --primary-blue: #1E293B;
  --accent-gold: #D97706;
  --accent-gold-light: #F59E0B;
  --accent-gold-hover: #B45309;
  --bg-light: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #64748B;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 50%, #B45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
}

.gold-gradient-bg:hover {
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
}

/* Glassmorphism */
.glass-nav {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Before After Slider */
.ba-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  border-radius: 1rem;
}
.ba-img-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  width: 50%;
  border-right: 3px solid #F59E0B;
}
.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #D97706;
  border: 3px solid #FFF;
  border-radius: 50%;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

/* VR Panorama Simulation Viewer */
.vr-viewer-container {
  position: relative;
  overflow: hidden;
  cursor: grab;
  border-radius: 1rem;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.4);
}
.vr-viewer-container:active {
  cursor: grabbing;
}
.vr-canvas-bg {
  width: 250%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.1s linear;
}

/* Pulse animation */
@keyframes pulse-gold {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(217, 119, 6, 0);
  }
}
.pulse-gold {
  animation: pulse-gold 2.5s infinite;
}

/* Input sliders styling */
input[type=range] {
  accent-color: #D97706;
}
