/* 
 * CSS für Event-Seiten Hero-Bereich und Platzhalter-Bilder
 * Diese Styles in pages.css oder eine spezifische events.css einfügen
 */

/* Hero-Bereich mit <img>-Element */
.page-hero {
    position: relative;
    width: 100%;
    min-height: 60vh; /* Höhe relativ zum Viewport */
    overflow: hidden;
}

/* Container für das Hintergrundbild */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Eigentliches Hintergrundbild mit object-fit */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Wichtig: Bild abdeckend skalieren */
    object-position: center; /* Bildposition zentrieren */
}

/* Hero Content über dem Hintergrundbild */
.hero-content {
    position: relative;
    z-index: 2; /* Über dem Hintergrundbild anzeigen */
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}

/* Dunkler Overlay für besseren Kontrast zum Text */
.hero-bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dunkler Overlay */
    z-index: 1;
}

/* Für die Platzhalter-Variante */
.page-hero.placeholder .hero-bg {
    background-color: #1a1a1a;
}

.page-hero.placeholder .hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #1a1a1a, #333, #1a1a1a);
    z-index: 0;
}

/* Event-Hero-spezifische Styles */
.event-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.event-hero-date {
    display: inline-block;
    background-color: var(--primary-color, #ff3a3a);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 1rem;
}

.event-hero-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem;
}

/* Platzhalter für fehlende Gallery-Bilder */
.gallery-image.placeholder {
    background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
}

.gallery-image.placeholder::before {
    content: "\f03e"; /* Font Awesome Icon für Bild */
    font-family: "Font Awesome 5 Free";
    font-size: 3rem;
    color: #444;
}

/* Status-Anzeigen für Events */
.event-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-status.available {
    color: #4caf50;
}

.event-status.sold-out {
    color: #f44336;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .page-hero {
        min-height: 60vh;
    }
    
    .event-hero-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* 
 * CSS für die FAQ-Sektion
 * Diese Styles in pages.css einfügen, falls nicht bereits vorhanden
 */

/* FAQ-Sektion */
.faq-section {
    background-color: var(--section-alt-bg, #0f0f0f);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 1.25rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "\f107"; /* FontAwesome down arrow */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active {
    color: var(--primary-color, #ff3a3a);
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.faq-answer p {
    margin-bottom: 1.25rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* JavaScript fügt 'active' Klasse hinzu, die Antwort öffnet */
.faq-question.active + .faq-answer {
    max-height: 1000px; /* Großer Wert, damit alle Inhalte angezeigt werden können */
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 1rem 0.75rem;
    }
    
    .faq-answer {
        padding: 0 0.75rem;
    }
}
/* Event-Features Styling */
.event-features {
    display: flex;
    margin: 12px 0;
    flex-wrap: wrap;
    gap: 6px;
}

.event-feature {
    display: inline-flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
    color: #333;
    transition: all 0.3s ease;
}

.event-feature:hover {
    background-color: var(--primary-color);
    color: white;
}

.event-feature i {
    margin-right: 6px;
}

.event-details-page .event-features {
    margin: 20px 0;
}

.event-details-page .event-feature {
    font-size: 0.95rem;
    padding: 8px 16px;
}

/* Für die Event-Liste */
.events-grid .event-features {
    margin: 8px 0;
}

/* Feature Icons */
.event-feature.drinks i { color: #e74c3c; }
.event-feature.striptease i { color: #9b59b6; }
.event-feature.live-dj i { color: #3498db; }
.event-feature.dj i { color: #3498db; }
.event-feature.vip i { color: #f39c12; }
.event-feature.show i { color: #1abc9c; }
.event-feature.buffet i { color: #27ae60; }
.event-feature.live i { color: #3498db; }
.event-feature.special i { color: #e67e22; }

/* Dark-Mode Anpassungen */
body.dark-mode .event-feature {
    background-color: rgba(255, 255, 255, 0.1);
    color: #eee;
}

body.dark-mode .event-feature:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .event-features {
        flex-wrap: wrap;
    }
    
    .event-feature {
        margin-bottom: 5px;
    }
}