/* ==========================================================================
   Hero Illustrations - Base Styles
   Luxury CSS Art for Long Island Web Design
   ========================================================================== */

/* Shared Variables */
:root {
  --hi-primary: #f97316;
  --hi-secondary: #1e3a5f;
  --hi-accent: #22c55e;
  --hi-gold: #d4af37;
  --hi-silver: #c0c0c0;
  --hi-glass: rgba(255,255,255,0.1);
  --hi-glow: rgba(249,115,22,0.4);
}

/* Base Hero Visual Container */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, var(--hi-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  animation: hi-pulse 4s ease-in-out infinite;
}

@keyframes hi-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes hi-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes hi-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hi-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Shared Shape Styles */
.hi-shape {
  position: absolute;
  border-radius: 24px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}

.hi-circle {
  border-radius: 50%;
}

.hi-glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.2);
}

.hi-gradient-primary {
  background: linear-gradient(135deg, var(--hi-primary) 0%, #ea580c 100%);
}

.hi-gradient-secondary {
  background: linear-gradient(135deg, var(--hi-secondary) 0%, #2d5a8a 100%);
}

.hi-gradient-gold {
  background: linear-gradient(135deg, var(--hi-gold) 0%, #b8962e 50%, var(--hi-gold) 100%);
  background-size: 200% 100%;
  animation: hi-shimmer 3s linear infinite;
}

.hi-gradient-accent {
  background: linear-gradient(135deg, var(--hi-accent) 0%, #16a34a 100%);
}

/* Main Icon Circle Enhancement */
.hi-shape.hi-circle.hi-gradient-primary,
.hi-shape.hi-circle.hi-gradient-secondary,
.hi-shape.hi-circle.hi-gradient-accent,
.hi-shape.hi-circle.hi-gradient-gold {
  box-shadow:
    0 20px 40px -10px rgba(0,0,0,0.3),
    0 0 60px -20px var(--hi-primary),
    inset 0 -5px 20px rgba(0,0,0,0.2),
    inset 0 5px 20px rgba(255,255,255,0.1);
}

.hi-shape.hi-circle.hi-gradient-secondary {
  box-shadow:
    0 20px 40px -10px rgba(0,0,0,0.3),
    0 0 60px -20px var(--hi-secondary),
    inset 0 -5px 20px rgba(0,0,0,0.2),
    inset 0 5px 20px rgba(255,255,255,0.1);
}

.hi-shape.hi-circle.hi-gradient-accent {
  box-shadow:
    0 20px 40px -10px rgba(0,0,0,0.3),
    0 0 60px -20px var(--hi-accent),
    inset 0 -5px 20px rgba(0,0,0,0.2),
    inset 0 5px 20px rgba(255,255,255,0.1);
}

.hi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Floating Elements */
.hi-float-1 { animation: hi-float 3s ease-in-out infinite; }
.hi-float-2 { animation: hi-float 3.5s ease-in-out infinite 0.5s; }
.hi-float-3 { animation: hi-float 4s ease-in-out infinite 1s; }

/* Decorative Dots */
.hi-dots {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(4, 6px);
  gap: 8px;
}

.hi-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hi-primary);
  opacity: 0.4;
}

/* Decorative Lines */
.hi-lines {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hi-lines span {
  height: 2px;
  background: linear-gradient(90deg, var(--hi-primary), transparent);
  border-radius: 1px;
}

/* Ring Element */
.hi-ring {
  position: absolute;
  border: 2px solid rgba(249,115,22,0.3);
  border-radius: 50%;
}

.hi-ring-spin {
  animation: hi-rotate 20s linear infinite;
  border-style: dashed;
}

/* ==========================================================================
   Dark Mode Enhancements
   ========================================================================== */
html.dark .hero-visual::before {
  opacity: 0.8;
}

html.dark .hi-glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.3);
}

html.dark .hi-shape.hi-circle.hi-gradient-primary,
html.dark .hi-shape.hi-circle.hi-gradient-secondary,
html.dark .hi-shape.hi-circle.hi-gradient-accent,
html.dark .hi-shape.hi-circle.hi-gradient-gold {
  box-shadow:
    0 25px 50px -10px rgba(0,0,0,0.4),
    0 0 80px -20px var(--hi-primary),
    inset 0 -5px 20px rgba(0,0,0,0.3),
    inset 0 5px 20px rgba(255,255,255,0.15);
}

html.dark .hi-ring {
  border-color: rgba(249,115,22,0.5);
}

html.dark .hi-dots span {
  opacity: 0.6;
}
