:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --background-light: #ffffff;
    --background-dark: #212529;
    --text-light: #212529;
    --text-dark: #f8f9fa;
}

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

main {
    flex: 1;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

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

.navbar-brand {
    font-weight: bold;
    font-size: 1.25rem;
}

.brand-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

/* Navbar - using Bootstrap's navbar-light with border */
.navbar {
    border-bottom: 1px solid var(--bs-border-color);
}

.breadcrumb-container {
    background-color: var(--bs-secondary-bg);
    padding: 0.75rem 1rem;
    margin: 0;
    border-bottom: 1px solid var(--bs-border-color);
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
}

/* Footer */
.footer {
    background-color: var(--bs-secondary-bg);
    border-top: 1px solid var(--bs-border-color);
}

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section {
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.card {
    transition: transform 0.2s;
}

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

@media (min-width: 992px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Dark mode overrides are handled by Bootstrap theme variables */

@media print {
    .navbar,
    .breadcrumb-container,
    .footer,
    .settings-panel {
        display: none;
    }
}

notation-display {
    display: block;
    margin: 1.5rem 0;
}

fingering-chart {
    display: inline-block;
    margin: 0.5rem;
    vertical-align: top;
}

.fingering-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

@media (max-width: 576px) {
    .fingering-row {
        justify-content: center;
    }
}
