:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

/* Organizer Logos in Header */
.organizer-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 2rem;  /* Mehr Abstand zum Titel */
}

.organizer-logo {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* Only invert PNG logos (INECC) */
.organizer-logo[src$=".png"] {
    filter: brightness(0) invert(1);
}

.organizer-logo:hover {
    opacity: 1;
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

/* Mobile: Stack logos vertically */
@media (max-width: 768px) {
    .organizer-logos {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .organizer-logo {
        height: 30px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
}

.hero {
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #667eea);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 4rem 2rem;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

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

/* Floating Music Notes */
.hero::before,
.hero::after {
    content: '♪ ♫ ♪';
    position: absolute;
    font-size: 3rem;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.hero::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero::after {
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

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

.hero h1 {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    position: relative;
    z-index: 1;
}
.view {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.performance-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid var(--primary-color);
}

.performance-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    border-left-color: var(--accent-color);
}

.venue-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid var(--primary-color);
}

.venue-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.time-slot {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.group-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-right: 0.5rem;
}

.time-badge {
    background-color: #f8f9fa;
    color: var(--secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.musician-list {
    list-style: none;
    padding: 0;
}

.musician-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.musician-item:last-child {
    border-bottom: none;
}

.loading {
    min-height: 200px;
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.modal-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

#searchInput {
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

#searchInput:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .performance-card {
        padding: 1rem;
    }
}

/* Footer Partner Logos */
.partners-section {
    margin-top: 2rem;
}

#partner-logos {
    gap: 2rem;
}

#partner-logos > div {
    padding: 1rem;
}

.partner-logo {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Responsive Partner Grid */
@media (min-width: 992px) {
    #partner-logos > div {
        flex: 0 0 16.666%; /* 6 Logos pro Reihe auf Desktop */
        max-width: 16.666%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #partner-logos > div {
        flex: 0 0 25%; /* 4 Logos pro Reihe auf Tablet */
        max-width: 25%;
    }
}
