/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5f7f;
    /* --secondary-color: #d4af37; */
    --secondary-color: #f0c600;
    --accent-color: #8b1538;
    --header-color1: #696666;
    --header-color2: #eb3d15;
    --concert-color: #e61453;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Main Content */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--header-color1), var(--header-color2));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Activities Section */
.activities {
    margin-bottom: 3rem;
}

.activities h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.activity-card {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.activity-date {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.activity-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.activity-location {
    display: inline-block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

/* News Section */
.news {
    margin-bottom: 3rem;
}

.news h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.news-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.news-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.news-date {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Gallery Section */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-placeholder {
    background: var(--white);
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

/* Calendar Section */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.calendar-nav-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

.calendar-nav-btn:hover {
    background: var(--accent-color);
}

#currentMonth {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.calendar-wrapper {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    padding: 1rem;
    text-align: center;
    border-radius: 5px;
    background: var(--light-bg);
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calendar-day.header {
    font-weight: bold;
    color: var(--primary-color);
    background: none;
    min-height: auto;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    background: var(--header-color1);
    color: var(--white);
    font-weight: bold;
}

.calendar-day.has-event {
    border: 2px solid var(--primary-color);
    cursor: pointer;
    position: relative;
}

.calendar-day.has-event:hover {
    background-color: #e8f4f8;
    box-shadow: 0 0 8px rgba(44, 95, 127, 0.3);
}

.event-dots {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 0.25rem;
}

.event-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.event-dot.konzert {
    background: var(--concert-color);
}

.event-dot.probe {
    background: var(--primary-color);
}

.event-dot.event {
    background: var(--secondary-color);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.legend-color.konzert {
    background: var(--concert-color);
}

.legend-color.probe {
    background: var(--primary-color);
}

.legend-color.event {
    background: var(--secondary-color);
}

/* Event List */
.upcoming-events {
    margin-top: 3rem;
}

.upcoming-events h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.event-details p {
    margin: 0.25rem 0;
}

.event-type {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.konzert-badge {
    background: var(--concert-color);
    color: var(--white);
}

.probe-badge {
    background: var(--primary-color);
    color: var(--white);
}

.event-badge {
    background: var(--secondary-color);
    color: var(--white);
}

/* Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Contact Form */
.contact-form-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Contact Info */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-section h3 {
    color: var(--primary-color);
    margin-bottom: 0;
}

.contact-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-media {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.social-media h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.map-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.map-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-placeholder {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: 5px;
    text-align: center;
    color: #666;
}

/* Team Section */
.team-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
}

.member-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.member-role {
    color: var(--accent-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.team-member a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

.team-member a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--accent-color);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
    margin-left: 0.5rem;
}

.btn-secondary:hover {
    background: #b8961f;
}

/* Info Box */
.info-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-box p {
    margin-bottom: 1.5rem;
}

.ical-section {
    margin-top: 3rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .calendar-grid {
        gap: 5px;
    }
    
    .calendar-day {
        padding: 0.5rem;
        min-height: 60px;
        font-size: 0.85rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        font-size: 0.75rem;
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 0.25rem;
    }
    
    nav ul {
        gap: 0.25rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
}

.close {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: var(--accent-color);
}

.tracklist {
    list-style-position: inside;
    padding-left: 0;
    line-height: 2;
}

.tracklist li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.tracklist li:last-child {
    border-bottom: none;
}

.tracklist li:hover {
    background-color: var(--light-bg);
    padding-left: 0.5rem;
}

@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
    }
    
    .tracklist {
        font-size: 0.9rem;
    }
}
