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

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

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

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

/* Aktuelle Session Card */
.current-session-card {
  background: linear-gradient(135deg, rgba(47, 35, 207, 0.05) 0%, rgba(180, 8, 32, 0.05) 100%);
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 3px solid #2F23CF;
  margin-bottom: 2rem;
}

.session-title {
  color: #2F23CF !important;
  margin-bottom: 2rem !important;
  text-align: center;
  font-weight: bold;
}

/* Aktuelle Orden Wrapper */
.current-orden-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Orden Bilder */
.orden-image-large {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(47, 35, 207, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
}

.orden-image-large:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(180, 8, 32, 0.4);
}

.orden-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 800px;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

/* Motto Box */
.orden-motto-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.motto-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #7a7a7a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.motto-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2F23CF;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
}

/* Timeline Section */
.orden-timeline {
  background: white;
  padding: 3rem 0;
}

.timeline-title {
  color: #2F23CF !important;
  margin-bottom: 3rem !important;
  position: relative;
  padding-bottom: 1rem;
}

.timeline-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(to right, #2F23CF 50%, #B40820 50%);
}

/* Dekaden Sections */
.dekade-section {
  margin-bottom: 3rem;
}

.dekade-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(47, 35, 207, 0.08) 0%, rgba(180, 8, 32, 0.08) 100%);
  border-radius: 8px;
}

.dekade-header .title {
  color: #2F23CF !important;
  margin-bottom: 0.5rem !important;
}

.dekade-header .subtitle {
  color: #B40820;
  font-weight: 600;
  margin-bottom: 0 !important;
}

/* Orden Cards */
.orden-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.orden-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.orden-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f0f0;
}

.orden-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.orden-card:hover .orden-image img {
  transform: scale(1.05);
}

/* Orden Info */
.orden-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.orden-session {
  font-size: 1.1rem;
  font-weight: bold;
  color: #2F23CF;
  margin-bottom: 0.5rem;
}

.orden-motto {
  font-size: 0.95rem;
  color: #4a4a4a;
  font-style: italic;
  line-height: 1.4;
}

/* Placeholder Orden */
.orden-card.placeholder {
  opacity: 0.7;
}

.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(47, 35, 207, 0.1) 0%, rgba(180, 8, 32, 0.1) 100%);
  color: #2F23CF;
}

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

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
  .current-session-card {
    padding: 2rem 1rem;
  }
  
  .orden-image-large {
    max-width: 350px;
    max-height: 600px;
  }
  
  .motto-text {
    font-size: 1.25rem;
  }
  
  .orden-motto-box {
    padding: 1.5rem;
  }
  
  .dekade-header {
    padding: 1rem;
  }
  
  .orden-info {
    padding: 1rem;
  }
  
  .orden-session {
    font-size: 1rem;
  }
  
  .orden-motto {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 480px) {
  .current-session-card {
    padding: 1.5rem 0.75rem;
  }
  
  .orden-image-large {
    max-width: 280px;
    max-height: 500px;
  }
  
  .motto-text {
    font-size: 1.1rem;
  }
  
  .orden-motto-box {
    padding: 1rem;
  }
  
  .session-title {
    font-size: 1.75rem !important;
  }
  
  .timeline-title {
    font-size: 1.75rem !important;
  }
  
  .dekade-header .title {
    font-size: 1.5rem !important;
  }
  
  .dekade-divider {
    margin: 2rem 0;
  }
}

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

.dekade-section {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll-Verhalten für Dekaden-Links */
html {
  scroll-behavior: smooth;
}
