/* Base styles for Climocast - shared foundations */

/* CSS Custom Properties (Variables) */
:root {
  --primary-gradient: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 33%,
    #0891b2 66%,
    #4facfe 100%
  );
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition-default: all 0.3s ease;
  --border-radius-lg: 1rem;
  --border-radius-xl: 1.5rem;
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Base typography and layout */
body {
  font-family: "Inter", sans-serif;
  background: var(--gradient-bg, #f9fafb);
}

/* Gradient background animation */
.gradient-bg {
  background: var(--primary-gradient);
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Utility classes for showing/hiding elements */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* Section reveal animation for landing page */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Base map styling */
#map {
  height: 300px;
  width: 100%;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.leaflet-control-attribution {
  font-size: 8px;
}

/* Coverage area tooltip styling */
.coverage-tooltip {
  background: rgba(59, 130, 246, 0.95) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 8px 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.coverage-tooltip::before {
  border-top-color: rgba(59, 130, 246, 0.95) !important;
}
