/* Herbst Theme CSS */

/* Herbstliche Farbpalette */
body {
  --herbst-orange: #E67E22;
  --herbst-red: #C0392B;
  --herbst-gold: #D4A017;
  --herbst-brown: #6D4C41;
  --herbst-cream: #FFF8E1;

  /* Warmer Herbst-Gradient */
  background-image: linear-gradient(to bottom, #FDEBD0, var(--herbst-cream) 50%, #F5D7A1) !important;
  background-size: 100% 100% !important;
  animation: none !important;
}

/* Laubfall Animation */
.leaf {
  position: fixed;
  top: -20px;
  z-index: 9999;
  user-select: none;
  cursor: default;
  animation-name: leaffall;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  color: var(--herbst-orange);
  font-size: 1em;
  opacity: 0.85;
}

@keyframes leaffall {
  0% {
    transform: translateY(0vh) translateX(0px) rotate(0deg);
    opacity: 0.9;
  }
  25% {
    transform: translateY(25vh) translateX(25px) rotate(120deg);
  }
  50% {
    transform: translateY(50vh) translateX(-20px) rotate(200deg);
  }
  75% {
    transform: translateY(75vh) translateX(30px) rotate(300deg);
  }
  100% {
    transform: translateY(105vh) translateX(-15px) rotate(360deg);
    opacity: 0.2;
  }
}

/* Unterschiedliche Blattfall-Animationen für natürlicheren Effekt */
.leaf:nth-child(1)  { left: 10%; animation-duration: 9s;  font-size: 1.2em; color: #E67E22; }
.leaf:nth-child(2)  { left: 20%; animation-duration: 13s; animation-delay: 1s;   font-size: 0.8em; color: #C0392B; }
.leaf:nth-child(3)  { left: 30%; animation-duration: 11s; animation-delay: 2s;   font-size: 1em;   color: #D4A017; }
.leaf:nth-child(4)  { left: 40%; animation-duration: 15s; animation-delay: 0.5s; font-size: 1.3em; color: #A04000; }
.leaf:nth-child(5)  { left: 50%; animation-duration: 12s; animation-delay: 3s;   font-size: 0.9em; color: #E67E22; }
.leaf:nth-child(6)  { left: 60%; animation-duration: 10s; animation-delay: 1.5s; font-size: 1.1em; color: #C0392B; }
.leaf:nth-child(7)  { left: 70%; animation-duration: 14s; animation-delay: 2.5s; font-size: 0.7em; color: #D4A017; }
.leaf:nth-child(8)  { left: 80%; animation-duration: 11s; animation-delay: 0.8s; font-size: 1.4em; color: #A04000; }
.leaf:nth-child(9)  { left: 90%; animation-duration: 12s; animation-delay: 1.8s; font-size: 1em;   color: #E67E22; }
.leaf:nth-child(10) { left: 15%; animation-duration: 13s; animation-delay: 0.3s; font-size: 0.9em; color: #C0392B; }
.leaf:nth-child(11) { left: 25%; animation-duration: 11s; animation-delay: 2.2s; font-size: 1.2em; color: #D4A017; }
.leaf:nth-child(12) { left: 35%; animation-duration: 10s; animation-delay: 1.3s; font-size: 0.8em; color: #A04000; }
.leaf:nth-child(13) { left: 45%; animation-duration: 14s; animation-delay: 0.6s; font-size: 1.1em; color: #E67E22; }
.leaf:nth-child(14) { left: 55%; animation-duration: 12s; animation-delay: 2.8s; font-size: 0.9em; color: #C0392B; }
.leaf:nth-child(15) { left: 65%; animation-duration: 11s; animation-delay: 1.1s; font-size: 1.3em; color: #D4A017; }
.leaf:nth-child(16) { left: 75%; animation-duration: 13s; animation-delay: 0.9s; font-size: 0.7em; color: #A04000; }
.leaf:nth-child(17) { left: 85%; animation-duration: 15s; animation-delay: 2.4s; font-size: 1em;   color: #E67E22; }
.leaf:nth-child(18) { left: 95%; animation-duration: 10s; animation-delay: 1.6s; font-size: 1.2em; color: #C0392B; }
.leaf:nth-child(19) { left: 5%;  animation-duration: 12s; animation-delay: 0.4s; font-size: 0.8em; color: #D4A017; }
.leaf:nth-child(20) { left: 17%; animation-duration: 14s; animation-delay: 2.1s; font-size: 1.1em; color: #A04000; }

/* Herbstlicher Akzent für Event-Karten */
ul li .title::before {
  background: var(--herbst-orange) !important;
  box-shadow: 0 0 10px rgba(230, 126, 34, 0.3);
}

/* Herbstlicher Akzent für Links */
.proj_title {
  color: var(--herbst-brown) !important;
}

.proj_title:hover {
  color: var(--herbst-orange) !important;
  text-shadow: 0 0 5px rgba(230, 126, 34, 0.3);
}

/* Herbstliches Strong-Element */
strong {
  color: var(--herbst-brown) !important;
}

/* Warmer Schatten für Bilder */
.img_small {
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.35), 10px 10px 5px rgba(192, 57, 43, 0.15) !important;
}

.image_block {
  box-shadow: 0 0 20px rgba(230, 126, 34, 0.35), 10px 10px 5px rgba(192, 57, 43, 0.15) !important;
}

/* Herbstlicher Navbar Hintergrund */
.nav-container {
  background-color: rgba(255, 248, 225, 0.9) !important;
  backdrop-filter: blur(10px);
}

.navbar .menu-items {
  background-color: rgba(255, 248, 225, 0.95) !important;
  box-shadow: inset 0 0 2000px rgba(255, 248, 225, 0.9) !important;
}
