/* ==========================================================================
   BOLIVIA CRAFT REMODELING • DESIGN SYSTEM & STYLESHEET
   Typography: Neuzeit Grotesk Bold (Headlines) + Manrope (Body/UI)
   Palette: Deep Slate Navy (#0E1726), Warm Off-White (#FBFBF9), Vibrant Cyan (#00D4D4)
   ========================================================================== */

:root {
  --color-canvas-light: #FBFBF9;
  --color-surface-light: #FFFFFF;
  --color-canvas-dark: #0E1726;
  --color-surface-dark: #162032;
  --color-ink-primary: #0E1726;
  --color-ink-secondary: #475569;
  --color-ink-muted: #64748B;
  --color-light-primary: #F8FAFC;
  --color-light-secondary: #94A3B8;
  --color-cyan-accent: #00D4D4;
  --color-cyan-hover: #00B5B5;
  --color-border-subtle: #E2E8F0;
  --color-border-dark: rgba(255, 255, 255, 0.1);
  --font-heading: 'Neuzeit Grotesk', 'Neuzeit S', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--color-canvas-light);
  color: var(--color-ink-primary);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Typography Classes - Modern Architectural Grotesque */
.font-serif, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.font-sans {
  font-family: var(--font-body);
}

/* Custom Letter Spacing */
.tracking-architectural {
  letter-spacing: 0.15em;
}

/* Restrained Transitions */
.transition-luxury {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Keyframe animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

/* Image Zoom Effect */
.image-zoom-container {
  overflow: hidden;
}

.image-zoom-container img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-zoom-container:hover img {
  transform: scale(1.03);
}

/* Before / After Slider (Zero Zoom - Pure GPU Clip-Path Reveal) */
.ba-slider-container {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  border-radius: 0.75rem;
  touch-action: pan-y;
  --ba-pos: 50%;
}

.ba-slider-container > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-before-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  pointer-events: none;
}

.ba-before-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-divider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 3px;
  background-color: #00D4D4;
  transform: translateX(-50%);
  z-index: 15;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0, 212, 212, 0.6);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos, 50%);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: #00D4D4;
  color: #0E1726;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  cursor: ew-resize;
  z-index: 20;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0E1726;
}

::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00D4D4;
}

/* Subtle glow for Cyan accents */
.cyan-glow {
  box-shadow: 0 0 20px rgba(0, 212, 212, 0.25);
}

/* Form input focus styles */
.input-premium {
  border: 1px solid #CBD5E1;
  background-color: #FFFFFF;
  color: #0E1726;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-premium:focus {
  outline: none;
  border-color: #00D4D4;
  box-shadow: 0 0 0 3px rgba(0, 212, 212, 0.15);
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(14, 23, 38, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1rem;
}

/* reCAPTCHA v3 badge adjustments for mobile sticky bar */
@media (max-width: 1023px) {
  .grecaptcha-badge {
    bottom: 74px !important;
  }
}

