/* Custom Styles for Dourado Obras Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700;800&display=swap');

:root {
  --color-chumbo-dark: #090d16;
  --color-chumbo-main: #0f172a;
  --color-chumbo-card: #1e293b;
  --color-chumbo-border: #334155;
  --color-yellow-main: #eab308;
  --color-yellow-hover: #facc15;
  --color-yellow-glow: rgba(234, 179, 8, 0.25);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-chumbo-dark);
  color: #f8fafc;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Space Grotesk', sans-serif;
}

/* Blueprint & Technical Grid Pattern Background */
.bg-tech-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.bg-yellow-grid {
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, rgba(234, 179, 8, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(234, 179, 8, 0.05) 1px, transparent 1px);
}

/* Custom Yellow Glow Utilities */
.shadow-yellow-glow {
  box-shadow: 0 0 30px -5px rgba(234, 179, 8, 0.35);
}

.shadow-yellow-glow-lg {
  box-shadow: 0 0 50px 0px rgba(234, 179, 8, 0.45);
}

.text-gradient-yellow {
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 60%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Engineering Accent Border */
.border-engineering {
  border-left: 4px solid var(--color-yellow-main);
}

/* Glassmorphism Card Effect */
.glass-panel {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel-hover:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(234, 179, 8, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(234, 179, 8, 0.2);
}

/* Interactive Before/After Slider */
.ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 1rem;
  user-select: none;
}

.ba-img-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 10;
  border-right: 3px solid var(--color-yellow-main);
  box-shadow: 4px 0 15px rgba(0,0,0,0.5);
}

.ba-img-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--color-yellow-main);
  color: #090d16;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: ew-resize;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.8), 0 0 0 4px rgba(9, 13, 22, 0.8);
  transition: transform 0.15s ease;
}

.ba-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

/* Animations */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-pulse-glow {
  animation: pulseGlow 4s infinite ease-in-out;
}
