/* public_html/assets/css/style.css */

/* --- General & Body --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
.site-header {
    background: #000;
    color: white;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.375rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo-icon {
    font-size: 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: opacity 0.2s;
}

.nav-links a:hover {
    opacity: 0.8;
}

.nav-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    background: #4285f4;
    color: white;
}

.nav-btn:hover {
    background: #357ae8;
}

/* --- Hero Section (Homepage) --- */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; }
.hero .btn-primary { background: white; color: #667eea; }

/* --- Song Lists --- */
.songs-section { padding: 4rem 0; }
.songs-section h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
.songs-list { max-width: 800px; margin: 0 auto; }
.song-item { background: white; margin-bottom: 1rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; }
.song-item:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.song-link { display: block; padding: 1.5rem; text-decoration: none; color: inherit; }
.song-title { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.song-meta { color: #6c757d; font-size: 0.875rem; }

/* --- Song Page --- */
.song-header { background: white; padding: 2rem 0; border-bottom: 1px solid #dee2e6; }
.song-title { font-size: 2rem; margin-bottom: 0.5rem; }
.song-meta { display: flex; align-items: center; gap: 1rem; color: #6c757d; font-size: 0.875rem; flex-wrap: wrap; }
.author-link { color: #4285f4; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.author-link:hover { text-decoration: underline; }
.author-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.song-actions { margin-top: 1.5rem; display: flex; gap: 1rem; }
.main-content { max-width: 900px; margin: 2rem auto; }
.song-display { background: white; border-radius: 8px; padding: 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.controls { background: #f8f9fa; padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.transpose-controls { display: flex; align-items: center; gap: 0.5rem; }
.transpose-controls button { width: 32px; height: 32px; border: 1px solid #ced4da; background: white; border-radius: 4px; cursor: pointer; font-size: 1.125rem; }
.transpose-value { min-width: 3rem; text-align: center; font-weight: 600; }
.song-content { font-size: 1rem; line-height: 1.8; }
.chord-highlight { color: #4285f4; font-weight: 600; font-family: 'Courier New', monospace; }
.section-label { color: #e67e22; font-weight: 700; display: block; margin: 1.5rem 0 0.5rem; font-size: 1.125rem; }

/* --- Profile Page --- */
.profile-header { background: white; padding: 3rem 0; border-bottom: 1px solid #dee2e6; margin-bottom: 3rem; }
.profile-info { text-align: center; margin-bottom: 2rem; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 1.5rem; background: #e9ecef; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 600; color: #6c757d; }
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-name { font-size: 2rem; margin-bottom: 0.5rem; }
.profile-username { color: #6c757d; margin-bottom: 1rem; }
.collapsible { border: 1px solid #e9ecef; border-radius: 8px; margin-bottom: 1rem; background: white; }
.collapsible-header { padding: 1rem 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.collapsible-header:hover { background: #f8f9fa; }
.collapsible-title { font-weight: 600; }

/* --- General Buttons & Badges --- */
.btn { display: inline-block; text-decoration: none; border-radius: 8px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary { background: #4285f4; color: white; }
.btn-secondary { background: #6c757d; color: white; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.public-badge, .private-badge { font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 12px; }
.public-badge { background: #d4edda; color: #155724; }
.private-badge { background: #f8d7da; color: #721c24; }

/* --- Footer --- */
footer { text-align: center; padding: 2rem; margin-top: 4rem; background: #343a40; color: #adb5bd; }