/* Font declarations */
@font-face {
    font-family: 'Maison Neue';
    src: url('./fonts/fonnts.com-Maison_Neue_Book.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('./fonts/fonnts.com-Maison_Neue_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Maison Neue';
    src: url('./fonts/fonnts.com-Maison_Neue_Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Maison Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    font-size: 16px;
}

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #007acc;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #007acc;
}

/* Main content */
.main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.article-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Article header */
.article-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag {
    background-color: #f0f8ff;
    color: #007acc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e0f0ff;
}

.read-info {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.article-date {
    font-size: 14px;
    color: #888;
    font-style: italic;
}

/* Hero image */
.hero-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Article content */
.article-content {
    padding: 40px;
}

.article-content section {
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007acc;
    display: inline-block;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.article-content p {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.7;
}

.article-content strong {
    color: #007acc;
    font-weight: 600;
}

/* Blockquote */
blockquote {
    background-color: #f8f9fa;
    border-left: 4px solid #007acc;
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    color: #555;
    border-radius: 0 4px 4px 0;
}

/* Specializations grid */
.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.spec-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 122, 204, 0.1);
}

.spec-item h3 {
    color: #007acc;
    margin-bottom: 15px;
}

.spec-item p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

/* Experience list */
.experience-list {
    list-style: none;
    padding-left: 0;
}

.experience-list li {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.experience-list li:last-child {
    border-bottom: none;
}

.experience-list strong {
    color: #007acc;
}

/* Contact section */
.contact-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.contact-section h2 {
    border-bottom: none;
    margin-bottom: 15px;
}

.contact-section p {
    margin-bottom: 0;
    font-size: 16px;
}

/* Footer */
.footer {
    background-color: #fff;
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
    padding: 30px 20px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: #666;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007acc;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .nav-menu {
        gap: 20px;
    }

    .main-content {
        padding: 140px 15px 40px;
    }

    .article-header {
        padding: 30px 25px 20px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-content {
        padding: 30px 25px;
    }

    .specialization-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-image {
        height: 250px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 25px 20px 15px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-content {
        padding: 25px 20px;
    }

    .article-content h2 {
        font-size: 20px;
    }

    .tags {
        gap: 8px;
    }

    .tag {
        font-size: 12px;
        padding: 3px 10px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background-color: #007acc;
    color: white;
}

/* Music page specific styles */
.composition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.composition-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.composition-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.15);
}

.composition-item h3 {
    color: #1a1a1a;
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.composition-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    font-style: italic;
}

.composition-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.comp-tag {
    background-color: #f0f8ff;
    color: #007acc;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e0f0ff;
}

.technique-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.technique-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #007acc;
}

.technique-item h3 {
    color: #007acc;
    font-size: 16px;
    margin-bottom: 10px;
}

.technique-item p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.6;
}

.performance-list {
    list-style: none;
    padding-left: 0;
}

.performance-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.performance-list li:last-child {
    border-bottom: none;
}

.performance-date {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Typography adjustments to match Angelo Zanetti style */
body {
    font-family: 'Maison Neue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background-color: #fafafa;
    font-size: 16px;
    font-weight: 400;
}

.article-content p {
    margin-bottom: 24px;
    color: #2c3e50;
    line-height: 1.8;
    font-size: 16px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    margin-top: 40px;
    padding-bottom: 12px;
    border-bottom: 2px solid #007acc;
    display: inline-block;
    letter-spacing: -0.02em;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* Enhanced blockquote styling */
blockquote {
    background-color: #f8f9fa;
    border-left: 4px solid #007acc;
    padding: 24px 30px;
    margin: 32px 0;
    font-style: italic;
    font-size: 20px;
    color: #2c3e50;
    border-radius: 0 6px 6px 0;
    font-weight: 500;
    line-height: 1.6;
}

/* Enhanced navigation */
.nav-logo {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.nav-menu a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

/* Media and Audio sections */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.media-item {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 204, 0.15);
}

.media-item h3 {
    color: #1a1a1a;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.media-embed {
    margin: 15px 0;
    border-radius: 6px;
    overflow: hidden;
}

.media-embed iframe {
    border-radius: 6px;
}

.audio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.audio-item {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.audio-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.1);
}

.audio-item h3 {
    color: #007acc;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.audio-embed {
    margin-top: 10px;
}

.audio-embed iframe {
    border-radius: 4px;
}

/* Responsive adjustments for media */
@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .audio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .media-item {
        padding: 20px;
    }
    
    .audio-item {
        padding: 15px;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #007acc;
    outline-offset: 2px;
}
