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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* Accessibility: Skip Navigation Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #8b0000;
    color: #ffffff;
    padding: 10px 15px;
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 0;
    transition: top 0.2s ease;
}

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

/* Screen Reader Only Utility Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Accessible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #8b0000;
    outline-offset: 3px;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: #8b0000;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

a:hover {
    color: #b30000;
}

/* Modern Header & Nav */
.site-header {
    background-color: #0f172a;
    color: #ffffff;
    padding: 48px 0 24px 0;
    text-align: center;
    border-bottom: 4px solid #8b0000;
}

.site-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 28px;
}

.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
    border-top: 1px solid #1e293b;
    padding-top: 18px;
}

.main-nav a {
    color: #f1f5f9;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #fca5a5;
    text-decoration: underline;
}

/* Modern Clean Cards / Sections */
.section {
    background: #ffffff;
    margin: 32px 0;
    padding: 36px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.section-subtext {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Hero / About */
.hero-section {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.profile-image-container {
    flex: 0 0 280px;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    display: block;
}

.bio-text {
    flex: 1;
}

.bio-text p {
    font-size: 1.05rem;
    color: #334155;
    line-height: 1.7;
}

/* Instruments Section */
.instruments-content {
    display: block;
    width: 100%;
}

.instrument-group {
    margin-bottom: 28px;
}

.instrument-group:last-child {
    margin-bottom: 0;
}

.instrument-group h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #8b0000;
    margin-bottom: 12px;
}

.instrument-group ul {
    list-style-type: none;
    padding-left: 0;
}

.instrument-group li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0px;
    color: #334155;
}

.instrument-group li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b0000;
    font-weight: bold;
}

/* Ensembles & Makers Lists */
.ensemble-list, .makers-list {
    list-style-type: none;
    padding-left: 0;
}

.ensemble-list li, .makers-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 0px;
    color: #334155;
}

.ensemble-list li::before, .makers-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #8b0000;
    font-weight: bold;
}

/* Discography Grid - Compact Thumbnails */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.album-card {
    text-align: center;
}

.album-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 3px 8px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.album-card img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.album-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 8px 0 2px 0;
    color: #0f172a;
    line-height: 1.3;
}

.album-card p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.3;
}

/* Performance Photo Gallery - Uncropped Original Aspect Ratios */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    align-items: center;
}

.photo-gallery a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-gallery a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.photo-gallery img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

/* Contact Form */
.contact-form {
    max-width: 650px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #0f172a;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: #0f172a;
    background-color: #ffffff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #8b0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.15);
}

.btn {
    background-color: #8b0000;
    color: #ffffff;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn:hover {
    background-color: #a30000;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 36px 0;
    color: #64748b;
    font-size: 0.9rem;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(4px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 82vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #f8fafc;
    margin-top: 16px;
    font-size: 1.05rem;
    font-weight: 500;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #ffffff;
    background: transparent;
    border: none;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }
    
    .profile-image-container {
        flex: auto;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}
