/* Malte Giesen Website Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2a2a2a;
    --secondary: #f5f5f5;
    --accent: #005F6A;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
}

body {
    font-family: Avenir, sans-serif;
    line-height: 1.6;
    color: var(--text);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Header */
header {
    padding: 300px 2rem 80px;
    text-align: center;
    background-image: url(img/giesen_doppellicht.jpg);
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -2px;
}

header p {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -1px;
}

section h3 {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 600;
}

.section-alt {
    background: var(--secondary);
}

/* Calendar */
.events {
    max-width: 900px;
}

.event {
    padding: 1.1rem;
    margin-bottom: 0.5rem;
    background: var(--border);
    border-left: 8px solid var(--accent);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event:hover {
    transform: translateX(5px);
}

.event:last-child {
    border-bottom: none;
}

.event-date {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.event-title {
    font-style: italic;
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.event-details {
    color: var(--text-light);
    font-size: 0.95rem;
}

.archive-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.archive-link:hover {
    background: var(--accent);
}

/* Music Section */
.music-links {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.music-links a {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    font-weight: 500;
}

.music-links a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.works-list {
    max-width: 800px;
}

.work-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

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

/* Text Section */
.publications {
    max-width: 800px;
}

.publication {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
}

.publication:last-child {
    border-bottom: none;
}

.publication a {
    color: var(--text);
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.publication a:hover {
    color: var(--accent);
}

.pub-year {
    font-weight: 600;
    color: var(--accent);
    font-size: 1.05rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.about-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    color: var(--text-light);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    padding: 0.75rem 2.5rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 500;
}

.submit-btn:hover {
    background: var(--accent);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: white;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-links li {
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    header {
        padding: 100px 1.5rem 60px;
    }

    header h1 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    header p {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 1.5rem;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .music-links {
        flex-direction: column;
        gap: 1rem;
    }

    .music-links a {
        text-align: center;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .event {
        padding: 1rem 0;
    }
}