/* Dakota Rose - Shared Styles */
:root {
    --dusty-rose: #D4A5A5;
    --cream: #FFF8E7;
    --denim: #5C7A99;
    --gold: #D4AF37;
    --warm-gray: #4A4A4A;
    --soft-white: #FEFEFE;
    --dark-brown: #3D2914;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(180deg, var(--cream) 0%, var(--soft-white) 100%);
    color: var(--warm-gray);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Navigation */
.nav {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--warm-gray);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--denim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.page-header .subtitle {
    color: var(--denim);
    font-size: 1.1rem;
}

/* Content Card */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.content-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.content-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--warm-gray);
    margin: 1.5rem 0 0.75rem;
}

/* Lyrics Styling */
.lyrics {
    white-space: pre-line;
    line-height: 1.8;
    color: #555;
}

.lyrics .section-tag {
    color: var(--dusty-rose);
    font-weight: 600;
    margin-top: 1.5rem;
    display: block;
}

/* Song Info Box */
.song-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.song-info-item {
    text-align: center;
}

.song-info-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 0.25rem;
}

.song-info-item .value {
    font-weight: 600;
    color: var(--warm-gray);
}

/* Streaming Links */
.streaming-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.streaming-links a {
    padding: 0.6rem 1.2rem;
    background: var(--denim);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.streaming-links a:hover {
    background: var(--dusty-rose);
    transform: translateY(-2px);
}

.streaming-links a.youtube {
    background: #FF0000;
}

.streaming-links a.spotify {
    background: #1DB954;
}

/* Chord Diagrams - Inline Style */
.chord-chart {
    font-family: 'Courier New', Consolas, monospace;
    background: #fafafa;
    padding: 2rem;
    border-radius: 12px;
    overflow-x: auto;
    line-height: 1.3;
    font-size: 0.95rem;
    white-space: pre;
    border: 1px solid #eee;
}

.chord-chart .section {
    color: var(--warm-gray);
    font-weight: bold;
    margin: 1.5rem 0 0.5rem;
    display: block;
}

.chord-chart .section:first-child {
    margin-top: 0;
}

.chord-chart .line {
    display: block;
    min-height: 1.4em;
}

.chord-chart .chord {
    color: var(--denim);
    font-weight: bold;
    background: #f0f4f8;
    padding: 0.1em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.chord-chart .lyrics {
    color: var(--warm-gray);
}

/* Legacy chord/lyric lines */
.chord-line {
    color: var(--denim);
    font-weight: bold;
}

.lyric-line {
    color: var(--warm-gray);
    margin-bottom: 1rem;
}

.chord-diagram {
    display: inline-block;
    text-align: center;
    margin: 0.5rem 1rem 0.5rem 0;
    font-family: 'Courier New', monospace;
}

.chord-diagram .name {
    font-weight: bold;
    color: var(--denim);
    margin-bottom: 0.25rem;
}

.chord-diagram pre {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Song Grid */
.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.song-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.song-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.song-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.song-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Playlist/Mood Pages */
.featured-song {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.featured-song .number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dusty-rose);
    font-weight: 700;
    min-width: 40px;
}

.featured-song .info h4 {
    font-family: 'Playfair Display', serif;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.featured-song .info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.featured-song .links {
    margin-top: 0.75rem;
}

.featured-song .links a {
    color: var(--denim);
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 1rem;
}

.featured-song .links a:hover {
    color: var(--dusty-rose);
}

/* Artist Comparison */
.artist-comparison {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.comparison-arrow {
    font-size: 2rem;
    color: var(--dusty-rose);
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    margin-top: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--denim);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--dusty-rose);
}

.footer-copyright {
    color: #999;
    font-size: 0.85rem;
}

/* Breadcrumb */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--denim);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--dusty-rose);
}

.breadcrumb span {
    color: #999;
    margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
    .page-header h1 { font-size: 1.8rem; }
    .content-card { padding: 1.5rem; }
    .nav-inner { justify-content: center; text-align: center; }
    .featured-song { flex-direction: column; }
    .featured-song .number { font-size: 1.5rem; }
}

/* Print Button */
.print-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--denim);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.print-btn:hover {
    background: var(--dusty-rose);
    transform: translateY(-2px);
}

/* Print Styles */
@media print {
    .nav, .print-btn, .streaming-links, footer, .site-footer {
        display: none !important;
    }
    
    body {
        background: white;
        font-size: 12pt;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .content-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .chord-chart {
        background: white;
        border: 1px solid #ccc;
        font-size: 11pt;
    }
    
    .chord-chart .chord {
        background: #eee;
        border: 1px solid #ccc;
    }
    
    .page-header {
        padding: 1rem 0;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
}
