/* ============================================
   SIMGE GARAJ - CRAZY ANIMATIONS
   Mind-blowing effects & animations
   ============================================ */

/* ============================================
   FLOATING PARTICLES BACKGROUND
   ============================================ */
.particles-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--sg-accent), var(--sg-accent-light));
  border-radius: 50%;
  opacity: 0.6;
  animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; width: 8px; height: 8px; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; width: 12px; height: 12px; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; width: 6px; height: 6px; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; width: 10px; height: 10px; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; width: 14px; height: 14px; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; width: 8px; height: 8px; }
.particle:nth-child(7) { left: 70%; animation-delay: 2.5s; width: 12px; height: 12px; }
.particle:nth-child(8) { left: 80%; animation-delay: 4.5s; width: 6px; height: 6px; }
.particle:nth-child(9) { left: 90%; animation-delay: 1.5s; width: 10px; height: 10px; }
.particle:nth-child(10) { left: 15%; animation-delay: 3.5s; width: 8px; height: 8px; }

@keyframes float-particle {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100vh) rotate(720deg) scale(0.5);
    opacity: 0;
  }
}

/* ============================================
   ANIMATED GRADIENT BACKGROUND
   ============================================ */
.animated-gradient {
  background: linear-gradient(-45deg, #0f2542, #1a365d, #2c5282, #1a365d);
  background-size: 400% 400%;
  animation: gradient-shift 15s ease infinite;
}

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

/* ============================================
   GLOWING PULSE EFFECTS
   ============================================ */
.glow-pulse {
  animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from {
    box-shadow: 0 0 20px rgba(237, 137, 54, 0.3),
                0 0 40px rgba(237, 137, 54, 0.2),
                0 0 60px rgba(237, 137, 54, 0.1);
  }
  to {
    box-shadow: 0 0 30px rgba(237, 137, 54, 0.5),
                0 0 60px rgba(237, 137, 54, 0.3),
                0 0 90px rgba(237, 137, 54, 0.2);
  }
}

.glow-text {
  text-shadow: 0 0 10px rgba(237, 137, 54, 0.5),
               0 0 20px rgba(237, 137, 54, 0.3),
               0 0 30px rgba(237, 137, 54, 0.2);
  animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
  from {
    text-shadow: 0 0 10px rgba(237, 137, 54, 0.5),
                 0 0 20px rgba(237, 137, 54, 0.3),
                 0 0 30px rgba(237, 137, 54, 0.2);
  }
  to {
    text-shadow: 0 0 20px rgba(237, 137, 54, 0.8),
                 0 0 40px rgba(237, 137, 54, 0.5),
                 0 0 60px rgba(237, 137, 54, 0.3);
  }
}

/* ============================================
   3D CARD TRANSFORMS
   ============================================ */
.card-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.card-3d-inner {
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.card-3d:hover .card-3d-inner {
  transform: rotateY(10deg) rotateX(5deg) scale(1.05);
}

/* ============================================
   MORPHING SHAPES
   ============================================ */
.morph-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0%, 100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(0deg) scale(1);
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    transform: rotate(90deg) scale(1.1);
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    transform: rotate(180deg) scale(1);
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    transform: rotate(270deg) scale(1.1);
  }
}

/* ============================================
   TEXT REVEAL ANIMATIONS
   ============================================ */
.text-reveal {
  overflow: hidden;
}

.text-reveal span {
  display: inline-block;
  animation: text-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(100%);
}

.text-reveal span:nth-child(1) { animation-delay: 0.1s; }
.text-reveal span:nth-child(2) { animation-delay: 0.2s; }
.text-reveal span:nth-child(3) { animation-delay: 0.3s; }
.text-reveal span:nth-child(4) { animation-delay: 0.4s; }
.text-reveal span:nth-child(5) { animation-delay: 0.5s; }

@keyframes text-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   TYPING EFFECT
   ============================================ */
.typing-text {
  overflow: hidden;
  border-right: 3px solid var(--sg-accent);
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--sg-accent); }
}

/* ============================================
   FLOATING ANIMATION
   ============================================ */
.float-animation {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-rotate {
  animation: float-rotate 6s ease-in-out infinite;
}

@keyframes float-rotate {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(5deg);
  }
  50% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-15px) rotate(-5deg);
  }
}

/* ============================================
   WAVE ANIMATION
   ============================================ */
.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave {
  position: relative;
  width: 200%;
  height: 100px;
  animation: wave 10s linear infinite;
}

.wave::before,
.wave::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff15'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
}

.wave::after {
  animation: wave2 15s linear infinite;
  opacity: 0.5;
}

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes wave2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

/* ============================================
   SPOTLIGHT EFFECT
   ============================================ */
.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::after {
  content: '';
  position: absolute;
  top: -150%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(237, 137, 54, 0.1) 60deg,
    transparent 120deg
  );
  animation: spotlight-rotate 10s linear infinite;
}

@keyframes spotlight-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   SHIMMER EFFECT
   ============================================ */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -150%; }
  100% { left: 150%; }
}

/* ============================================
   BOUNCE IN ANIMATION
   ============================================ */
.bounce-in {
  animation: bounce-in 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   SLIDE IN ANIMATIONS
   ============================================ */
.slide-in-left {
  animation: slide-in-left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slide-in-right 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-up {
  animation: slide-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slide-in-up {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */
.counter-box {
  position: relative;
  overflow: hidden;
}

.counter-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  animation: counter-shine 3s infinite;
}

@keyframes counter-shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   ICON ANIMATIONS
   ============================================ */
.icon-spin-hover:hover {
  animation: icon-spin 0.5s ease;
}

@keyframes icon-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.icon-bounce {
  animation: icon-bounce 2s ease infinite;
}

@keyframes icon-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

.icon-shake {
  animation: icon-shake 0.8s ease-in-out infinite;
}

@keyframes icon-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-15deg); }
}

/* ============================================
   RIPPLE EFFECT
   ============================================ */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.ripple:active::after {
  animation: ripple-effect 0.6s ease-out;
}

@keyframes ripple-effect {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 200%;
    height: 200%;
    opacity: 0;
  }
}

/* ============================================
   PARALLAX BACKGROUND
   ============================================ */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ============================================
   NEON GLOW
   ============================================ */
.neon-glow {
  text-shadow: 
    0 0 5px var(--sg-accent),
    0 0 10px var(--sg-accent),
    0 0 20px var(--sg-accent),
    0 0 40px var(--sg-accent),
    0 0 80px var(--sg-accent);
  animation: neon-flicker 1.5s infinite alternate;
}

@keyframes neon-flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: 
      0 0 5px var(--sg-accent),
      0 0 10px var(--sg-accent),
      0 0 20px var(--sg-accent),
      0 0 40px var(--sg-accent),
      0 0 80px var(--sg-accent);
  }
  20%, 24%, 55% {
    text-shadow: none;
  }
}

/* ============================================
   BORDER ANIMATION
   ============================================ */
.animated-border {
  position: relative;
  background: linear-gradient(var(--sg-bg-dark), var(--sg-bg-dark)) padding-box,
              linear-gradient(90deg, var(--sg-accent), var(--sg-primary), var(--sg-accent)) border-box;
  border: 3px solid transparent;
  border-radius: var(--sg-radius-lg);
  animation: border-rotate 3s linear infinite;
}

@keyframes border-rotate {
  0% {
    background: linear-gradient(var(--sg-bg-dark), var(--sg-bg-dark)) padding-box,
                linear-gradient(0deg, var(--sg-accent), var(--sg-primary), var(--sg-accent)) border-box;
  }
  25% {
    background: linear-gradient(var(--sg-bg-dark), var(--sg-bg-dark)) padding-box,
                linear-gradient(90deg, var(--sg-accent), var(--sg-primary), var(--sg-accent)) border-box;
  }
  50% {
    background: linear-gradient(var(--sg-bg-dark), var(--sg-bg-dark)) padding-box,
                linear-gradient(180deg, var(--sg-accent), var(--sg-primary), var(--sg-accent)) border-box;
  }
  75% {
    background: linear-gradient(var(--sg-bg-dark), var(--sg-bg-dark)) padding-box,
                linear-gradient(270deg, var(--sg-accent), var(--sg-primary), var(--sg-accent)) border-box;
  }
  100% {
    background: linear-gradient(var(--sg-bg-dark), var(--sg-bg-dark)) padding-box,
                linear-gradient(360deg, var(--sg-accent), var(--sg-primary), var(--sg-accent)) border-box;
  }
}

/* ============================================
   STAGGER ANIMATIONS FOR LISTS
   ============================================ */
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }

/* ============================================
   ZOOM ANIMATIONS
   ============================================ */
.zoom-in-out {
  animation: zoom-in-out 2s ease-in-out infinite;
}

@keyframes zoom-in-out {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* ============================================
   SHAKE ANIMATION
   ============================================ */
.shake-on-hover:hover {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ============================================
   HEARTBEAT ANIMATION
   ============================================ */
.heartbeat {
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

/* ============================================
   ROTATING GRADIENTS
   ============================================ */
.rotate-gradient {
  background: linear-gradient(90deg, var(--sg-accent), var(--sg-primary), var(--sg-accent));
  background-size: 200% 200%;
  animation: rotate-gradient 3s linear infinite;
}

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

/* ============================================
   LOADING DOTS
   ============================================ */
.loading-dots span {
  animation: loading-dots 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) { animation-delay: -0.32s; }
.loading-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes loading-dots {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================
   ORBIT ANIMATION
   ============================================ */
.orbit {
  animation: orbit 10s linear infinite;
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

/* ============================================
   FLIP ANIMATIONS
   ============================================ */
.flip-in {
  animation: flip-in 0.8s ease;
}

@keyframes flip-in {
  from {
    transform: perspective(400px) rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }
}

/* ============================================
   ELECTRIC BORDER
   ============================================ */
.electric-border {
  position: relative;
}

.electric-border::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(45deg, 
    var(--sg-accent), 
    transparent, 
    var(--sg-primary),
    transparent,
    var(--sg-accent)
  );
  background-size: 400% 400%;
  border-radius: calc(var(--sg-radius-lg) + 3px);
  z-index: -1;
  animation: electric-flow 3s linear infinite;
}

@keyframes electric-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* ============================================
   GARAGE DOOR (KEPENK) OPENING ANIMATION
   Ultra-realistic roller shutter effect
   ============================================ */

/* Main container that covers the entire viewport */
.garage-door-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  overflow: hidden;
  pointer-events: all;
  animation: garage-door-fade-out 0.2s ease 1.5s forwards;
}

/* Hide the overlay after animation completes */
@keyframes garage-door-fade-out {
  from {
    pointer-events: all;
    visibility: visible;
  }
  to {
    pointer-events: none;
    visibility: hidden;
  }
}

/* The actual garage door panel */
.garage-door {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    #2a2a2a 0%, 
    #3d3d3d 2%, 
    #1f1f1f 4%,
    #2a2a2a 6%,
    #3d3d3d 8%,
    #1f1f1f 10%,
    #2a2a2a 12%,
    #3d3d3d 14%,
    #1f1f1f 16%,
    #2a2a2a 18%,
    #3d3d3d 20%,
    #1f1f1f 22%,
    #2a2a2a 24%,
    #3d3d3d 26%,
    #1f1f1f 28%,
    #2a2a2a 30%,
    #3d3d3d 32%,
    #1f1f1f 34%,
    #2a2a2a 36%,
    #3d3d3d 38%,
    #1f1f1f 40%,
    #2a2a2a 42%,
    #3d3d3d 44%,
    #1f1f1f 46%,
    #2a2a2a 48%,
    #3d3d3d 50%,
    #1f1f1f 52%,
    #2a2a2a 54%,
    #3d3d3d 56%,
    #1f1f1f 58%,
    #2a2a2a 60%,
    #3d3d3d 62%,
    #1f1f1f 64%,
    #2a2a2a 66%,
    #3d3d3d 68%,
    #1f1f1f 70%,
    #2a2a2a 72%,
    #3d3d3d 74%,
    #1f1f1f 76%,
    #2a2a2a 78%,
    #3d3d3d 80%,
    #1f1f1f 82%,
    #2a2a2a 84%,
    #3d3d3d 86%,
    #1f1f1f 88%,
    #2a2a2a 90%,
    #3d3d3d 92%,
    #1f1f1f 94%,
    #2a2a2a 96%,
    #3d3d3d 98%,
    #1f1f1f 100%
  );
  box-shadow: 
    inset 0 0 100px rgba(0,0,0,0.5),
    0 20px 60px rgba(0,0,0,0.8);
  animation: garage-door-open 1s linear 0.3s forwards;
  transform-origin: top center;
  will-change: transform;
}

/* Horizontal metal texture lines */
.garage-door::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 28px,
    rgba(255,255,255,0.03) 28px,
    rgba(255,255,255,0.03) 30px
  );
  pointer-events: none;
}

/* Vertical rivets / bolts pattern */
.garage-door::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 5% 50%, rgba(60,60,60,0.8) 3px, transparent 3px),
    radial-gradient(circle at 95% 50%, rgba(60,60,60,0.8) 3px, transparent 3px),
    radial-gradient(circle at 50% 50%, rgba(60,60,60,0.6) 2px, transparent 2px);
  background-size: 100% 60px;
  pointer-events: none;
}

/* The main opening animation - smooth linear slide up */
@keyframes garage-door-open {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

/* Side frame / rails for the garage door */
.garage-door-frame-left,
.garage-door-frame-right {
  position: absolute;
  top: 0;
  width: 25px;
  height: 100%;
  background: linear-gradient(90deg, 
    #1a1a1a 0%, 
    #333 50%, 
    #1a1a1a 100%
  );
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
  z-index: 2;
  animation: frame-fade-out 0.2s ease 1.3s forwards;
}

@keyframes frame-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.garage-door-frame-left {
  left: 0;
  border-right: 2px solid #444;
}

.garage-door-frame-right {
  right: 0;
  border-left: 2px solid #444;
}

/* Top header bar where door retracts into */
.garage-door-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(180deg, 
    #0f0f0f 0%, 
    #1a1a1a 50%, 
    #252525 100%
  );
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: frame-fade-out 0.2s ease 1.3s forwards;
}

/* Simge Garaj branding on the header */
.garage-door-header::after {
  content: 'SimgeGaraj';
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sg-accent, #ed8936);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(237, 137, 54, 0.5);
}

/* Light strip on the header */
.garage-door-light-strip {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--sg-accent, #ed8936) 20%, 
    var(--sg-accent, #ed8936) 80%, 
    transparent 100%
  );
  box-shadow: 0 0 20px var(--sg-accent, #ed8936);
  animation: light-pulse 1s ease-in-out infinite alternate;
}

@keyframes light-pulse {
  from {
    opacity: 0.7;
    box-shadow: 0 0 10px var(--sg-accent, #ed8936);
  }
  to {
    opacity: 1;
    box-shadow: 0 0 30px var(--sg-accent, #ed8936), 0 0 60px rgba(237, 137, 54, 0.3);
  }
}

/* Bottom handle bar */
.garage-door-handle {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 15px;
  background: linear-gradient(180deg, 
    #555 0%, 
    #333 50%, 
    #222 100%
  );
  border-radius: 3px;
  box-shadow: 
    inset 0 2px 4px rgba(255,255,255,0.1),
    0 3px 10px rgba(0,0,0,0.5);
  z-index: 2;
}

/* Warning stripes on the bottom */
.garage-door-warning-stripes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: repeating-linear-gradient(
    -45deg,
    #1a1a1a 0px,
    #1a1a1a 20px,
    #ed8936 20px,
    #ed8936 40px
  );
  opacity: 0.3;
}

/* Dust particles effect when door opens */
.garage-dust-particles {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.dust-particle {
  position: absolute;
  bottom: -10px;
  width: 4px;
  height: 4px;
  background: rgba(200, 180, 160, 0.6);
  border-radius: 50%;
  animation: dust-rise 2s ease-out forwards;
  opacity: 0;
}

.dust-particle:nth-child(1) { left: 10%; animation-delay: 0.7s; }
.dust-particle:nth-child(2) { left: 20%; animation-delay: 0.8s; width: 3px; height: 3px; }
.dust-particle:nth-child(3) { left: 30%; animation-delay: 0.9s; }
.dust-particle:nth-child(4) { left: 40%; animation-delay: 1s; width: 5px; height: 5px; }
.dust-particle:nth-child(5) { left: 50%; animation-delay: 1.1s; }
.dust-particle:nth-child(6) { left: 60%; animation-delay: 1.2s; width: 3px; height: 3px; }
.dust-particle:nth-child(7) { left: 70%; animation-delay: 1.3s; }
.dust-particle:nth-child(8) { left: 80%; animation-delay: 1.4s; width: 4px; height: 4px; }
.dust-particle:nth-child(9) { left: 90%; animation-delay: 1.5s; }
.dust-particle:nth-child(10) { left: 15%; animation-delay: 1s; width: 2px; height: 2px; }
.dust-particle:nth-child(11) { left: 25%; animation-delay: 1.1s; }
.dust-particle:nth-child(12) { left: 35%; animation-delay: 1.2s; width: 3px; height: 3px; }
.dust-particle:nth-child(13) { left: 45%; animation-delay: 1.3s; }
.dust-particle:nth-child(14) { left: 55%; animation-delay: 1.4s; width: 5px; height: 5px; }
.dust-particle:nth-child(15) { left: 65%; animation-delay: 1.5s; }
.dust-particle:nth-child(16) { left: 75%; animation-delay: 1.6s; width: 2px; height: 2px; }
.dust-particle:nth-child(17) { left: 85%; animation-delay: 1.7s; }
.dust-particle:nth-child(18) { left: 95%; animation-delay: 1.8s; width: 4px; height: 4px; }
.dust-particle:nth-child(19) { left: 5%; animation-delay: 1.2s; }
.dust-particle:nth-child(20) { left: 48%; animation-delay: 1.4s; width: 3px; height: 3px; }

@keyframes dust-rise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translateY(-150px) translateX(30px) scale(0.3);
  }
}

/* Light rays coming from behind the door */
.garage-light-rays {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, 
    rgba(255, 220, 180, 0.3) 0%, 
    rgba(255, 200, 150, 0.1) 50%, 
    transparent 100%
  );
  animation: light-rays-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  pointer-events: none;
  z-index: 1;
}

@keyframes light-rays-reveal {
  0% {
    top: 100%;
    height: 0;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    top: 0;
    height: 100%;
    opacity: 0;
  }
}

/* Welcome text that appears as door opens */
.garage-welcome-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: white;
  text-align: center;
  opacity: 0;
  z-index: 0;
  animation: welcome-text-appear 1s ease-out 0.8s forwards;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.garage-welcome-text span {
  color: var(--sg-accent, #ed8936);
}

@keyframes welcome-text-appear {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .garage-door-frame-left,
  .garage-door-frame-right {
    width: 15px;
  }
  
  .garage-door-header {
    height: 40px;
  }
  
  .garage-door-header::after {
    font-size: 1rem;
    letter-spacing: 2px;
  }
  
  .garage-door-handle {
    width: 80px;
    height: 12px;
  }
  
  .garage-door-light-strip {
    width: 120px;
  }
}
