/* NEXUS HOROLOGY - COMPONENTS & INTERACTIVE CONTROLS */

/* Bottom Interaction Control Hub */
.studio-control-hub {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1440px;
  padding: 20px 50px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* Material & Strap Switcher Pills */
.material-configurator {
  background: rgba(14, 15, 20, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 40px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.material-opt-btn, .strap-opt-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-family: var(--font-arabic-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.material-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.4);
}

.dot-obsidian { background: #12141A; border: 1px solid #333; }
.dot-gold { background: linear-gradient(135deg, #F5D77F, #8C6F24); border: 1px solid #D4AF37; }
.dot-titanium { background: linear-gradient(135deg, #E6EAEE, #6C727D); border: 1px solid #9AA0A8; }

.material-opt-btn:hover, .strap-opt-btn:hover {
  color: var(--text-main);
}

.material-opt-btn.active, .strap-opt-btn.active {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Studio Lighting Vector Slider */
.studio-light-control {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(14, 15, 20, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 40px;
  padding: 8px 24px;
}

.light-control-label {
  font-family: var(--font-arabic-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.light-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 120px;
  height: 4px;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  outline: none;
}

.light-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-gradient);
  cursor: pointer;
  box-shadow: 0 0 10px var(--gold-primary);
  transition: transform 0.2s;
}

.light-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* CHRONOGRAPH & HANDS OVERLAY */
.watch-hands-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -48%) translateZ(40px);
  pointer-events: none;
  z-index: 12;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: 50% 100%;
  border-radius: 4px;
  transition: transform 0.05s linear;
}

.hour-hand {
  width: 6px;
  height: 70px;
  margin-left: -3px;
  background: linear-gradient(180deg, #F5D77F 0%, #D4AF37 100%);
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.minute-hand {
  width: 4px;
  height: 95px;
  margin-left: -2px;
  background: linear-gradient(180deg, #FFFFFF 0%, #C5CBD3 100%);
  box-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.second-hand {
  width: 2px;
  height: 115px;
  margin-left: -1px;
  background: #FF3B5C;
  box-shadow: 0 0 12px rgba(255, 59, 92, 0.8);
}

.subdial-hand {
  width: 2px;
  height: 25px;
  margin-left: -1px;
  bottom: 28%;
  left: 50%;
  background: #00D2FF;
}

.center-cap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gold-gradient);
  border: 2px solid #000;
  box-shadow: 0 0 10px var(--gold-primary);
}

/* Chronograph Action Bar */
.chrono-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 15, 20, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 40px;
  padding: 6px 16px;
}

.chrono-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 20px;
  font-family: var(--font-arabic-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.chrono-btn:hover {
  background: var(--gold-gradient);
  color: #08080A;
}

.chrono-display {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0 8px;
}

/* Macro Detail X-Ray Toggle Button */
.macro-xray-btn, .tryon-trigger-btn {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--sapphire-blue);
  padding: 10px 20px;
  border-radius: 40px;
  font-family: var(--font-arabic-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.macro-xray-btn:hover, .tryon-trigger-btn:hover {
  background: rgba(0, 210, 255, 0.18);
  border-color: var(--sapphire-blue);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--sapphire-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sapphire-blue);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.8); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.6; }
}

/* VIRTUAL 360 TRY-ON MODAL */
.tryon-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(5, 5, 7, 0.93);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.tryon-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.tryon-modal-box {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: var(--bg-obsidian-solid);
  border: 1px solid var(--gold-primary);
  border-radius: 28px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.95), 0 0 50px var(--gold-glow);
}

.tryon-stage-view {
  position: relative;
  width: 100%;
  height: 380px;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, #08090d 70%);
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
}

.tryon-wrist-silhouette {
  position: absolute;
  width: 160px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  border-left: 2px dashed rgba(212, 175, 55, 0.15);
  border-right: 2px dashed rgba(212, 175, 55, 0.15);
  pointer-events: none;
}

.tryon-watch-render {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.tryon-strap-segment {
  width: 120px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(180deg, #181920 0%, #0d0e12 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 20px rgba(0,0,0,0.8);
  transition: background 0.4s ease;
}

.tryon-watch-body {
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: -20px 0;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.9));
  z-index: 2;
}

/* Modals General */
.macro-modal-overlay, .specs-drawer-overlay, .reservation-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.macro-modal-overlay.active, .reservation-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.macro-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: var(--bg-obsidian-solid);
  border: 1px solid var(--glass-border-hover);
  border-radius: 24px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.9), 0 0 40px var(--gold-glow);
}

.macro-image-container {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.macro-image-render {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.macro-hotspot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  border: 2px solid var(--gold-light);
  cursor: pointer;
  transform: translate(-50%, -50%);
  animation: hotspotPulse 2s infinite;
}

.macro-hotspot:hover {
  background: var(--gold-primary);
  transform: translate(-50%, -50%) scale(1.3);
}

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.macro-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.macro-title {
  font-family: var(--font-arabic-serif);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 15px;
}

.macro-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.telemetry-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 12px 16px;
  border-radius: 12px;
}

.telemetry-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.telemetry-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 25px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--gold-light);
}

/* TECHNICAL SPECIFICATIONS SHEET DRAWER */
.specs-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.specs-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.specs-drawer {
  position: fixed;
  top: 0;
  left: -500px;
  width: 460px;
  height: 100vh;
  background: var(--bg-obsidian-solid);
  border-right: 1px solid var(--glass-border);
  padding: 50px 40px;
  z-index: 95;
  box-shadow: 20px 0 50px rgba(0,0,0,0.8);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.specs-drawer.active {
  left: 0;
}

.drawer-title {
  font-family: var(--font-arabic-serif);
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 15px;
}

.specs-group {
  margin-bottom: 25px;
}

.specs-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-bottom: 12px;
}

.specs-list {
  list-style: none;
}

.specs-list-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.specs-key { color: var(--text-muted); }
.specs-val { color: var(--text-main); font-weight: 600; }

/* RESERVATION CONCIERGE MODAL */
.reservation-box {
  position: relative;
  width: 90%;
  max-width: 520px;
  background: var(--bg-obsidian-solid);
  border: 1px solid var(--gold-primary);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 50px var(--gold-glow);
  text-align: center;
}

.reservation-title {
  font-family: var(--font-arabic-serif);
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.reservation-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
  text-align: right;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gold);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-main);
  font-family: var(--font-arabic-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
}

.submit-reserve-btn {
  width: 100%;
  background: var(--gold-gradient);
  color: #08080A;
  border: none;
  padding: 16px;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
  transition: var(--transition-smooth);
}

.submit-reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
}

/* ============================================================
   DURRIY STUDIO - FLOATING CREDIT BADGE & PILL STYLES
   ============================================================ */
.durriy-badge-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  background: rgba(14, 15, 20, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--gold-primary);
  border-radius: 20px;
  padding: 16px 20px;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 0 25px var(--gold-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  transform: translateY(0) scale(1);
  opacity: 1;
  direction: ltr;
  text-align: left;
}

.durriy-badge-container.minimized {
  transform: translateY(30px) scale(0.9);
  opacity: 0;
  pointer-events: none;
}

.durriy-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.durriy-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}

.durriy-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}

.durriy-close-btn:hover {
  color: var(--gold-light);
}

.durriy-badge-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.durriy-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f222b 0%, #0d0e12 100%);
  border: 1px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-brand-serif);
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 12px var(--gold-glow);
}

.durriy-info {
  display: flex;
  flex-direction: column;
}

.durriy-agency-name {
  font-family: var(--font-arabic-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.durriy-agency-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.durriy-cta-btn {
  width: 100%;
  background: var(--bg-obsidian-solid);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  padding: 10px 16px;
  border-radius: 30px;
  font-family: var(--font-arabic-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.6);
  transition: var(--transition-smooth);
}

.durriy-cta-btn:hover {
  background: var(--gold-gradient);
  color: #08080A;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

.durriy-badge-pill {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 999;
  background: rgba(14, 15, 20, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gold-primary);
  padding: 10px 18px;
  border-radius: 30px;
  display: none;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0,0,0,0.8), 0 0 20px var(--gold-glow);
  transform: translateY(20px) scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  direction: ltr;
}

.durriy-badge-pill.active {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.durriy-badge-pill:hover {
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.durriy-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 8px var(--gold-primary);
  animation: pillPulse 1.5s infinite;
}

.durriy-pill-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
}
