/* Pfarrkapelle Primstal - Styles */

/* Sections */
section {
    padding: 5rem 1.5rem;
}

section:nth-child(even) {
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 3rem;
    color: #0d1b3e;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: #1a1a2e;
    font-weight: 600;
}

/* About Section */
.about-section {
    background: #ffffff;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.lead {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    color: #0d1b3e;
    font-weight: 500;
    line-height: 1.7;
}

.about-content p {
    margin-bottom: 1.75rem;
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    color: #4a4a5e;
    line-height: 1.8;
}

.conductor-info {
    margin-top: 3.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 5px solid #d4af37;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(13, 27, 62, 0.08);
}

.conductor-info h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    color: #6c757d;
    font-weight: 700;
}

.conductor-name {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 0.5rem;
}

.conductor-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #6c757d;
    margin-bottom: 0;
}

/* Heritage Section */
.heritage-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
}

.timeline {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #d4af37, #f4d03f);
}

.timeline-item {
    position: relative;
    margin-bottom: 3.5rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.timeline-year {
    flex-shrink: 0;
    width: 80px;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0d1b3e;
    text-align: right;
    position: relative;
    padding-right: 0.5rem;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: #d4af37;
    border: 5px solid #f8f9fa;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #d4af37;
}

.timeline-content {
    flex: 1;
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(13, 27, 62, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 24px rgba(13, 27, 62, 0.15);
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #0d1b3e;
}

.timeline-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a5e;
}

/* Music Section */
.music-section {
    background: #ffffff;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.music-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e0e4e8;
    box-shadow: 0 2px 12px rgba(13, 27, 62, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.music-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(13, 27, 62, 0.15);
    border-color: #d4af37;
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0);
}

.music-card h3 {
    margin-bottom: 1.25rem;
    color: #0d1b3e;
}

.music-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4a4a5e;
    margin: 0;
}

/* Instagram Section */
.instagram-section {
    background: #f8f9fa;
}

.instagram-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #4a4a5e;
    margin-bottom: 3rem;
}

.instagram-intro a {
    color: #0d1b3e;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #d4af37;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.instagram-intro a:hover,
.instagram-intro a:focus {
    color: #d4af37;
    border-bottom-color: #0d1b3e;
}

.instagram-feed {
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #0d1b3e;
    color: #d4af37;
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
}

.footer-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #d4af37;
}

.footer-location {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #e9ecef;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.25rem;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #f4d03f;
    border-bottom-color: #f4d03f;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }

    header {
        padding: 4rem 1.5rem 3.5rem;
        min-height: 380px;
    }

    .timeline::before {
        left: 60px;
    }

    .timeline-item {
        gap: 2.25rem;
    }

    .timeline-year {
        width: 60px;
        font-size: 1.2rem;
        padding-right: 0.5rem;
    }

    .timeline-year::after {
        right: -1.25rem;
    }

    .timeline-content {
        padding: 1.75rem 2rem;
    }

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

    .conductor-info {
        padding: 2rem;
    }

    .instagram-intro {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 1.25rem;
    }

    header {
        padding: 3rem 1.25rem 2.5rem;
        min-height: 350px;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 45px;
    }

    .timeline-item {
        gap: 2rem;
    }

    .timeline-year {
        width: 45px;
        font-size: 1.05rem;
        padding-right: 0.25rem;
    }

    .timeline-year::after {
        right: -1.125rem;
    }

    .timeline-content {
        padding: 1.5rem 1.75rem;
    }

    .conductor-info {
        padding: 1.75rem;
    }

    .music-card {
        padding: 2rem;
    }

    .footer-nav {
        gap: 1.75rem;
    }
}

/* Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #0d1b3e;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Focus styles */
a:focus,
button:focus {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
