/* 
 * Karnevalswagen-spezifisches CSS für Club des Frohsinns
 * Kombiniert Bulma Framework mit CdF Corporate Identity
 */

/* Hero-Anpassungen mit CdF Farben */
.festwagen-hero {
  background: linear-gradient(135deg, rgba(47, 35, 207, 0.9) 0%, rgba(180, 8, 32, 0.9) 100%) !important;
  margin-bottom: 2rem;
}

.festwagen-hero .title,
.festwagen-hero .subtitle {
  color: white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Festwagen Card Styling */
.festwagen-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.festwagen-title {
  color: #2F23CF !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #B40820;
}

/* Bilder */
.festwagen-image {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.festwagen-image:hover {
  transform: scale(1.02);
}

/* Technische Daten Box */
.spec-item {
  padding: 0.75rem 0.5rem;
}

.spec-item .icon {
  margin-bottom: 0.5rem;
}

.spec-item .heading {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.875rem;
  color: #7a7a7a;
  margin-bottom: 0.25rem;
}

.spec-item .title {
  color: #2F23CF !important;
  margin-bottom: 0 !important;
}

/* Trennlinien zwischen Festwagen */
.festwagen-divider {
  height: 3px;
  background: linear-gradient(to right, #2F23CF 50%, #B40820 50%);
  margin: 3rem 0;
  border: none;
}

/* Kontakt Box */
.kontakt-box {
  background: linear-gradient(135deg, rgba(47, 35, 207, 0.05) 0%, rgba(180, 8, 32, 0.05) 100%) !important;
  border: 2px solid #2F23CF;
}

.kontakt-box .title {
  color: #2F23CF !important;
}

/* Bulma Override für CdF Farben */
.notification.is-info {
  background-color: rgba(47, 35, 207, 0.1) !important;
  border-left: 4px solid #2F23CF;
  padding: 1.25rem 1.5rem;
}

.notification.is-info .title {
  color: #2F23CF !important;
}

.box.has-background-info-light {
  background-color: #f0f0ff !important;
  padding: 1.25rem 1rem;
}

.has-text-info {
  color: #2F23CF !important;
}

.button.is-primary {
  background-color: #2F23CF !important;
  border-color: transparent;
}

.button.is-primary:hover {
  background-color: #B40820 !important;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
  .festwagen-card {
    padding: 1rem;
  }
  
  .festwagen-hero .title {
    font-size: 2rem !important;
  }
  
  .festwagen-hero .subtitle {
    font-size: 1.25rem !important;
  }
  
  .festwagen-title {
    font-size: 1.75rem !important;
  }
  
  .spec-item .title {
    font-size: 1.25rem !important;
  }
  
  /* Reduzierte Padding für technische Daten auf Mobile */
  .spec-item {
    padding: 0.75rem 0.5rem;
  }
  
  /* Icons etwas kleiner auf Mobile */
  .spec-item .icon.is-large {
    font-size: 1.5rem !important;
  }
  
  /* Text-Größen anpassen */
  .notification.is-info .is-size-5 {
    font-size: 1rem !important;
  }
  
  /* Hero Padding reduzieren */
  .hero.is-info .hero-body {
    padding: 2rem 1.5rem !important;
  }
}

@media screen and (max-width: 480px) {
  .section {
    padding: 1.5rem 0.75rem;
  }
  
  .festwagen-hero .title {
    font-size: 1.5rem !important;
  }
  
  .festwagen-hero .subtitle {
    font-size: 1rem !important;
  }
  
  /* Kleinere Icons für sehr kleine Bildschirme */
  .spec-item .icon.is-large {
    font-size: 1.25rem !important;
  }
  
  .spec-item .title {
    font-size: 1.1rem !important;
  }
  
  .spec-item .heading {
    font-size: 0.75rem;
  }
  
  /* Kontakt-Button volle Breite auf kleinen Geräten */
  .kontakt-box .button.is-large,
  .kontakt-box .button.is-medium-mobile {
    width: 100%;
  }
  
  /* Festwagen Cards weniger Margin */
  .festwagen-divider {
    margin: 2rem 0;
  }
}

/* Grid-Element Main Override für bessere Darstellung */
.grid-element.main {
  background: #f8f8f8;
  padding: 0;
}

/* Section Hintergründe */
.section {
  background: transparent;
}

.section .container {
  background: transparent;
}

/* Animationen */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.festwagen-card {
  animation: fadeIn 0.6s ease-out;
}

.festwagen-card:nth-child(2) {
  animation-delay: 0.2s;
}

.festwagen-card:nth-child(3) {
  animation-delay: 0.4s;
}
