/*
Dave Abbott Music
Main Website Stylesheet
Dave Abbott Music Web 1.7
Developed by South Seas Tech™ · Developer: Grant Abbott
*/

* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }

:root {
    --night: #faf6ee;
    --smoke: #f3ede1;
    --panel: #ffffff;
    --panel-2: #fffdf9;
    --line: #e4d9c6;
    --text: #2b2b31;
    --muted: #615d58;
    --silver: #26262c;
    --ember: #c4531f;
    --ember-soft: #b64a1a;
    --red: #b3262a;
    --display: "Cinzel", "Trajan Pro", Georgia, serif;
    --body: "Inter", "Segoe UI", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: var(--night);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--silver); letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: .45rem; }
p { margin-bottom: 1rem; }

a { color: var(--ember-soft); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--silver); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1140px, 92%); margin: 0 auto; }

.eyebrow {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ember);
    margin-bottom: .6rem;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(250, 246, 238, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--silver); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--display); font-size: 1.15rem; letter-spacing: .04em; }
.brand-text small { font-size: .72rem; color: var(--muted); letter-spacing: .08em; }

.site-nav { display: flex; gap: .3rem; flex-wrap: wrap; }
.site-nav a { color: var(--text); font-size: .95rem; padding: .45rem .75rem; border-radius: 6px; }
.site-nav a:hover { background: var(--smoke); color: var(--silver); }
.site-nav a[aria-current="page"] { color: var(--ember-soft); box-shadow: inset 0 -2px 0 var(--ember); }

.nav-toggle {
    display: none; background: var(--panel); color: var(--text);
    border: 1px solid var(--line); border-radius: 6px; padding: .45rem .9rem; font: inherit; cursor: pointer;
}

/* Banner */
.banner { background: #000; border-bottom: 1px solid var(--line); }
.banner img { width: 100%; height: auto; }

/* Hero */
.hero { padding: 3.5rem 0 3rem; background: radial-gradient(ellipse at 80% 0%, rgba(196, 83, 31, .10), transparent 60%), var(--night); }
.hero h1 { max-width: 46rem; }

.page-hero {
    padding: 4rem 0 3rem;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(196, 83, 31, .12), transparent 55%),
        radial-gradient(ellipse at 10% 100%, rgba(185, 131, 57, .12), transparent 55%),
        var(--smoke);
    border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.4rem; }
.btn {
    display: inline-block; padding: .75rem 1.4rem; border-radius: 6px;
    font-weight: 600; font-size: .98rem; transition: all .2s ease; border: 1px solid transparent;
}
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.06); box-shadow: 0 6px 18px rgba(196, 83, 31, .28); }
.btn-ghost { border-color: var(--silver); color: var(--silver); }
.btn-ghost:hover { background: var(--silver); color: var(--night); }

/* Sections */
.section { padding: 4rem 0; }
.section.tint { background: var(--smoke); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p:last-child { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 1.6rem;
    transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: rgba(224, 97, 42, .55); transform: translateY(-2px); }
.card p { color: var(--muted); }
.card ul { padding-left: 1.1rem; color: var(--text); }
.card li { margin-bottom: .3rem; }
.card li::marker { color: var(--ember); }

.checks { list-style: none; padding-left: 0 !important; }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: "♪"; position: absolute; left: 0; color: var(--ember); }

.icon {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; margin-bottom: 1rem;
    background: radial-gradient(circle, rgba(224, 97, 42, .22), rgba(224, 97, 42, .05));
    border: 1px solid rgba(224, 97, 42, .45);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ember-soft); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.step {
    counter-increment: step; position: relative;
    background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem 1.2rem 1.2rem;
}
.step::before {
    content: counter(step, decimal-leading-zero);
    font-family: var(--display); font-size: 1.6rem; color: var(--ember); display: block; margin-bottom: .4rem;
}
.step p { color: var(--muted); margin-bottom: 0; font-size: .96rem; }

/* Listen band */
.listen-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.listen-band > div:first-child { max-width: 36rem; }
.listen-band p { color: var(--muted); }

.note { color: var(--muted); font-size: .92rem; margin-top: 1.4rem; }

/* Band CTA */
.band {
    position: relative; overflow: hidden;
    border: 1px solid rgba(196, 83, 31, .35); border-radius: 14px; padding: 2.6rem;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(196, 83, 31, .12), transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(185, 131, 57, .12), transparent 60%),
        var(--panel);
}
.band p { color: var(--muted); max-width: 40rem; }

/* About feature */
.feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: center; }
.portrait img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: auto; }

/* Footer */
.site-footer { background: #24232a; border-top: 1px solid var(--line); padding: 2.2rem 0; color: #cfcac2; font-size: .9rem; }
.site-footer p { margin-bottom: .35rem; }
.footer-links { display: flex; gap: 1.2rem; margin-bottom: 1rem; }
.foot-link { color: #f4efe6; font-weight: 600; }
.foot-link:hover { color: #f2a46f; }

/* Responsive */
@media (max-width: 980px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; width: 100%; flex-direction: column; padding-bottom: .6rem; }
    .site-nav.open { display: flex; }
    .grid-2, .grid-3, .steps, .steps-5, .feature { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
    .page-hero { padding: 3rem 0 2.2rem; }
    .hero { padding: 2.4rem 0 2.2rem; }
    .band { padding: 1.8rem; }
    .brand-text small { display: none; }
}

.credit { font-size: .72rem; opacity: .6; letter-spacing: .02em; }

/* Tighter spacing for a more professional look */
body { line-height: 1.55; }
p { margin-bottom: .7rem; }
h2 { margin-bottom: .7rem; }
.section { padding: 2.8rem 0; }
.page-hero { padding-top: 3rem; padding-bottom: 3.2rem; }
.hero { padding-top: 2.6rem; padding-bottom: 2.6rem; }
.section-head { margin-bottom: 1.4rem; }
.card { padding: 1.25rem 1.35rem; }
.card li { margin-bottom: .15rem; }
.grid { gap: 1.1rem; }
.btn-row { margin-top: 1rem; }

/* Our faith */
.faith-inner { max-width: 860px; }
.faith-mission { font-size: 1.05rem; border-left: 3px solid currentColor; padding-left: 1rem; margin: 1rem 0 1.4rem; }
.faith-list { display: grid; gap: .8rem; margin-top: .6rem; }
.faith-list dt { font-weight: 700; }
.faith-list dd { margin: .1rem 0 0; opacity: .85; }
.faith-note { margin-top: 1.2rem; font-style: italic; opacity: .85; }

/* 1.4: softer cards, follow row, styles, contact form */
.card { box-shadow: 0 6px 20px rgba(60, 45, 25, .06); }
.follow { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.follow a { display: inline-flex; align-items: center; gap: .55rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; font-size: 1rem; color: #fff; }
.follow a svg { width: 20px; height: 20px; fill: currentColor; }
.follow a:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.follow .yt { background: #c4302b; } .follow .sc { background: #e8601c; } .follow .fb { background: #1f5fbf; }
.follow-band { text-align: center; } .follow-band .follow { justify-content: center; }
.genres { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.genres span { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-weight: 500; color: var(--silver); }
.faith-short { max-width: 44rem; margin: 0 auto; text-align: center; }
.faith-short p { color: var(--muted); }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; color: var(--silver); }
.contact-form input, .contact-form textarea, .contact-form select { font: inherit; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--text); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-lines { list-style: none; padding: 0; display: grid; gap: .5rem; }
.form-note { color: var(--muted); font-size: .9rem; }

/* 1.5: Shorts and videos */
.shorts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); gap: 1.2rem; justify-content: center; margin-top: 1.6rem; }
.videos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.yt-short, .yt-video { position: relative; border-radius: 12px; overflow: hidden; background: #111; box-shadow: 0 6px 20px rgba(60, 45, 25, .10); }
.yt-short { aspect-ratio: 9 / 16; } .yt-video { aspect-ratio: 16 / 9; }
.yt-short iframe, .yt-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 700px) {
    .shorts-grid { grid-template-columns: repeat(3, 1fr); gap: .6rem; }
    .videos-grid { grid-template-columns: 1fr; }
}

/* 1.7: more channels */
.follow .sp { background: #168d40; } .follow .am { background: #d9223c; } .follow .ig { background: #3b3a45; }
.footer-links { flex-wrap: wrap; }
