/* 
 * Aura Eco Energy Solutions - Stylesheet
 * Custom CSS for beautiful planning grid background, modern illustration, and interactive elements.
 */

:root {
  --primary-indigo: #0a2540;
  --accent-teal: #0d9488;
  --accent-teal-light: #f0fdfa;
  --bg-slate: #f8fafc;
}

/* Custom blueprint grid background matching the reference */
.blueprint-grid {
  background-color: #f8fafc;
  background-image: 
    linear-gradient(rgba(14, 165, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center center;
}

/* Perfect alignment for the grid pattern backdrop shape */
.accent-backdrop-circle {
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Glassmorphism effects for cards and floating badges */
.glass-badge {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.04), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

.custom-shadow {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.02), 0 2px 10px -1px rgba(15, 23, 42, 0.02);
}

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

.hover-card-transition:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

/* House Illustration - Pure CSS Styles */
.house-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 300px;
  margin: 0 auto;
}

.illustration-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 100%);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

.illustration-sun {
  position: absolute;
  top: 40px;
  right: 50px;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle, #fde047 0%, #eab308 100%);
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(234, 179, 8, 0.4);
}

.illustration-cloud {
  position: absolute;
  top: 60px;
  left: 40px;
  width: 70px;
  height: 25px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
}
.illustration-cloud::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 15px;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
}

.house-structure {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 170px;
  background: #fdf8f2;
  border-left: 4px solid #eae2d5;
  border-right: 4px solid #eae2d5;
}

.house-roof {
  position: absolute;
  bottom: 168px;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  height: 0;
  border-left: 145px solid transparent;
  border-right: 145px solid transparent;
  border-bottom: 75px solid #334155;
}

.house-roof::after {
  content: '';
  position: absolute;
  top: 35px;
  left: -80px;
  width: 160px;
  height: 4px;
  background: #475569;
}

.house-chimney {
  position: absolute;
  bottom: 210px;
  right: 85px;
  width: 28px;
  height: 45px;
  background: #b91c1c;
  border-radius: 2px 2px 0 0;
}

.house-door {
  position: absolute;
  bottom: 0;
  left: 110px;
  width: 40px;
  height: 75px;
  background: #78350f;
  border: 2px solid #5f2120;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

.door-knob {
  position: absolute;
  top: 38px;
  right: 6px;
  width: 6px;
  height: 6px;
  background: #f59e0b;
  border-radius: 50%;
}

.house-window {
  position: absolute;
  width: 55px;
  height: 55px;
  background: #bae6fd;
  border: 3px solid #cbd5e1;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
}

.window-grid {
  position: absolute;
  inset: 0;
  display: flex;
}
.window-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #cbd5e1;
}
.window-grid::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #cbd5e1;
}

.house-window-left {
  bottom: 50px;
  left: 35px;
}

.house-window-right {
  bottom: 50px;
  right: 35px;
}

.house-solar-panels {
  position: absolute;
  bottom: 180px;
  left: 90px;
  width: 80px;
  height: 45px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  transform: skewX(-15deg);
  border: 2px solid #38bdf8;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  padding: 2px;
}

.solar-cell {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.illustration-bush-1 {
  position: absolute;
  bottom: -10px;
  left: 40px;
  width: 65px;
  height: 35px;
  background: #15803d;
  border-radius: 30px 30px 0 0;
}

.illustration-bush-2 {
  position: absolute;
  bottom: -15px;
  right: 45px;
  width: 80px;
  height: 45px;
  background: #166534;
  border-radius: 40px 40px 0 0;
}

/* Custom interactive inputs styling */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0d9488;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.3);
  transition: all 0.15s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #0f766e;
}

/* Smooth scroll behaviors */
html {
  scroll-behavior: smooth;
}
