/*
 * theme.css - visual refresh, loaded after Bootstrap and style.css.
 * Additive: to go back to the old look, remove the <link> to this file
 * (index.php and template_preamble.html). Change the palette in :root.
 */

/* Nunito (SIL Open Font License), self-hosted: no third-party requests */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap;
             src: url('fonts/nunito-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap;
             src: url('fonts/nunito-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 800; font-display: swap;
             src: url('fonts/nunito-latin-800-normal.woff2') format('woff2'); }

:root
{
    --sc-red:       #d03223;   /* the nav red the site already used */
    --sc-red-dark:  #a9241a;
    --sc-sky:       #3bbdea;
    --sc-navy:      #0b3a55;
    --sc-ink:       #1f2937;
    --sc-muted:     #5b6675;
    --sc-cream:     #fff8f1;
    --sc-radius:    18px;
    --sc-shadow:    0 6px 24px rgba(15, 50, 80, .10);
    --sc-heading:   'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- typography and links (whole site) ---------- */

body
{
    color: var(--sc-ink);
    font-size: 1.0625rem;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6
{
    font-family: var(--sc-heading);
    font-weight: 800;
    color: var(--sc-navy);
    line-height: 1.2;
    letter-spacing: -.01em;
}

a { color: var(--sc-red); }
a:hover { color: var(--sc-red-dark); text-decoration: underline; text-underline-offset: 3px; }

.btn-primary
{
    background-color: var(--sc-red);
    border-color: var(--sc-red);
    border-radius: 999px;
    padding: .6rem 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(208, 50, 35, .30);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active
{
    background-color: var(--sc-red-dark) !important;
    border-color: var(--sc-red-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(208, 50, 35, .38);
    text-decoration: none;
}
.btn-primary:focus { box-shadow: 0 0 0 .2rem rgba(208, 50, 35, .35); }

/* ---------- navigation bar ---------- */

.navbar.sc-nav
{
    background: linear-gradient(180deg, #da4231 0%, #c42d1f 100%);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
    padding: .4rem 1rem;
}
.navbar.sc-nav .navbar-nav .nav-link
{
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    padding: .55rem .85rem;
    border-radius: 999px;
    transition: background-color .12s ease, color .12s ease;
}
.navbar.sc-nav .navbar-nav .nav-link:hover,
.navbar.sc-nav .navbar-nav .nav-link:focus,
.navbar.sc-nav .navbar-nav .show > .nav-link
{
    color: #fff;
    background-color: rgba(255, 255, 255, .16);
    text-decoration: none;
}
.navbar.sc-nav .navbar-toggler { border-color: rgba(255, 255, 255, .55); }
.navbar.sc-nav .dropdown-menu
{
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    padding: .5rem;
}
.navbar.sc-nav .dropdown-item { border-radius: 8px; padding: .45rem .9rem; }
.navbar.sc-nav .dropdown-item:hover { background-color: #fdeceb; color: var(--sc-red-dark); }

/* search box in the navbar */
.sc-search { display: flex; align-items: center; background: rgba(255, 255, 255, .18); border-radius: 999px; padding: 0 .25rem 0 .9rem; }
.sc-search:focus-within { background: #fff; }
.sc-search-input
{
    background: transparent; border: 0; outline: 0; color: #fff;
    width: 9rem; padding: .4rem 0; font-weight: 600; -webkit-appearance: none; appearance: none;
}
.sc-search-input::placeholder { color: rgba(255, 255, 255, .85); }
.sc-search:focus-within .sc-search-input { color: var(--sc-ink); }
.sc-search:focus-within .sc-search-input::placeholder { color: var(--sc-muted); }
.sc-search-btn { background: transparent; border: 0; color: #fff; padding: .35rem .5rem; line-height: 0; cursor: pointer; }
.sc-search:focus-within .sc-search-btn { color: var(--sc-red); }
.sc-search-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
@media (max-width: 991px) { .sc-search { margin-top: .5rem; } .sc-search-input { width: 100%; } .sc-search { width: 100%; } }

/* ---------- footer (all pages) ---------- */

.social-links
{
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    color: var(--sc-muted);
    font-size: .95rem;
}
.social-links a.link
{
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin: 0 .7rem;
    color: var(--sc-muted);
    font-weight: 600;
}
.social-links a.link:hover { color: var(--sc-red); text-decoration: none; }
.social-links svg
{
    width: 20px; height: 20px;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.social-links .copyright { display: block; margin-top: .9rem; font-size: .85rem; }

/* ---------- search results page ---------- */

.sc-results { margin: 1rem 0 0; padding: 0; }
.sc-result { padding: .9rem 0; border-bottom: 1px solid #eadfd6; }
.sc-result:last-child { border-bottom: 0; }
.sc-result-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); }
.sc-result-title { font-family: var(--sc-heading); font-weight: 800; font-size: 1.2rem; }
.sc-result-snippet { margin: .2rem 0 0; color: var(--sc-ink); }
.sc-result-snippet mark { background: #ffe7a3; color: inherit; padding: 0 .1em; border-radius: 3px; }
.sc-searchpage .form-control { border-radius: 999px 0 0 999px; }
.sc-searchpage .btn-primary { border-radius: 0 999px 999px 0; }

/* ---------- testimonials (home, band rehearsal, lessons) ---------- */

.testimonials
{
    background: var(--sc-cream);
    border-left: 5px solid var(--sc-red);
    border-radius: 0 var(--sc-radius) var(--sc-radius) 0;
    padding: 1.25rem 1.5rem .5rem;
}
.testimonials h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sc-red); }
.testimonials .blockquote p { font-style: italic; color: var(--sc-ink); }
.testimonials .blockquote-footer { color: var(--sc-muted); font-weight: 600; }

/* ---------- home page ---------- */

body.IndexBody
{
    background: var(--sc-cream) linear-gradient(180deg, #3bbdea 0, #8fd8f2 340px, #d9f1fa 640px, #fff8f1 940px) no-repeat;
    min-height: 100vh;
}

.sc-wrap { max-width: 1040px; margin: 0 auto; padding: 1.5rem 1rem 0; }

.sc-hero { padding: .9rem 0 .25rem; }
.sc-logo { width: min(230px, 62%); height: auto; }
.sc-tagline
{
    font-family: var(--sc-heading);
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.35;
    color: var(--sc-navy);
    max-width: 660px;
    margin: .6rem auto 1.1rem;
}
.sc-cta { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; align-items: center; }
.sc-note { margin: .6rem 0 0; font-size: .95rem; color: #134d6b; font-weight: 600; }

.btn-sc
{
    display: inline-block;
    font-family: var(--sc-heading);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.2;
    padding: .85rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-sc:hover { text-decoration: none; transform: translateY(-2px); }
.btn-sc-primary { background: var(--sc-red); color: #fff; box-shadow: 0 6px 18px rgba(169, 36, 26, .40); }
.btn-sc-primary:hover { background: var(--sc-red-dark); color: #fff; }
.btn-sc-ghost { background: rgba(255, 255, 255, .92); color: var(--sc-navy); box-shadow: 0 4px 14px rgba(11, 58, 85, .18); }
.btn-sc-ghost:hover { background: #fff; color: var(--sc-red-dark); }
.sc-badge { display: inline-block; line-height: 0; transition: transform .12s ease; }
.sc-badge:hover { transform: translateY(-2px); }

.sc-shot { margin: 1.1rem 0 .75rem; }
.sc-shot img
{
    width: 100%; max-width: 560px; height: auto;
    filter: drop-shadow(0 18px 28px rgba(11, 58, 85, .35));
}

.sc-section { margin: 1.5rem auto; max-width: 820px; }
.sc-section .testimonials { background: #fff; box-shadow: var(--sc-shadow); margin: 0 !important; }

.sc-lead
{
    max-width: 760px;
    margin: 2rem auto 1.75rem;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
}

.sc-features { margin-left: -.6rem; margin-right: -.6rem; }
.sc-features > div { padding: .6rem; }
.sc-card
{
    background: #fff;
    border-radius: var(--sc-radius);
    box-shadow: var(--sc-shadow);
    padding: 1.5rem;
    height: 100%;
}
.sc-card h2, .sc-card h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.sc-card p:last-child { margin-bottom: 0; }
.sc-icon
{
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    border-radius: 14px;
    background: rgba(208, 50, 35, .10);
    color: var(--sc-red);
}
.sc-icon svg
{
    width: 24px; height: 24px;
    fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.sc-pricing { max-width: 820px; margin: 1.5rem auto; text-align: center; height: auto; }
.sc-pricing h2 { font-size: 1.4rem; margin-top: 0; }

.sc-links { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 2rem 0 0; }
.sc-links a
{
    background: #fff;
    color: var(--sc-navy);
    font-weight: 700;
    padding: .6rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(15, 50, 80, .10);
}
.sc-links a:hover { color: var(--sc-red); text-decoration: none; box-shadow: 0 4px 14px rgba(15, 50, 80, .18); }

@media (max-width: 575px)
{
    .sc-wrap { padding-top: 1rem; }
    .sc-lead { font-size: 1.1rem; text-align: left; }
    .sc-features > div { padding: .35rem .6rem; }
    .sc-card { padding: 1.1rem 1.25rem; }
    .sc-card h2, .sc-card h3 { margin-top: .6rem; }
    .btn-sc { width: 100%; text-align: center; }
    .sc-cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce)
{
    .btn-sc, .btn-primary, .sc-badge { transition: none; }
    .btn-sc:hover, .btn-primary:hover, .sc-badge:hover { transform: none; }
}
