/* Custom Modern Styling for Ezequias Solar */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --color-brand-orange: #f95700;
  --color-brand-dark: #0f172a;
  --color-brand-amber: #f59e0b;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
  color: #1e293b;
  background-color: #f8fafc;
}

.font-display {
  font-family: 'Space Grotesk', sans-serif;
}

/* Glassmorphism effects */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Solar glow gradients */
.solar-gradient {
  background: linear-gradient(135deg, #f95700 0%, #ea580c 45%, #f59e0b 100%);
}

.solar-glow {
  box-shadow: 0 10px 30px -5px rgba(249, 87, 0, 0.35);
}

.solar-glow-lg {
  box-shadow: 0 20px 45px -10px rgba(249, 87, 0, 0.45);
}

/* Range input styling */
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: #e2e8f0;
  border-radius: 9999px;
  border: none;
}

input[type=range]::-webkit-slider-thumb {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #f95700;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
  box-shadow: 0 0 12px rgba(249, 87, 0, 0.6);
  border: 3px solid #ffffff;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

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

input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  background: #e2e8f0;
  border-radius: 9999px;
  border: none;
}

input[type=range]::-moz-range-thumb {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  background: #f95700;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 0 12px rgba(249, 87, 0, 0.6);
}

/* Modal Dialog Styles according to modern web guidance */
dialog {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
}

dialog::backdrop {
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Subtle animation pulses */
@keyframes pulse-slow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

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

/* Floating badge animation */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}
