/* ==========================================================================
   SITE STYLES for the PHP pages.
   Loaded *after* css/main.css (the existing Bulma build), so everything
   here is a small layer on top of the current theme, not a replacement.
   ========================================================================== */

:root {
    --adt-red: #a40006;
    --adt-red-bright: #d1121a;
    --adt-gold: #f2c14e;
    --adt-ink: #0b0b0b;
    --adt-panel: #161616;
    --adt-line: #2a2a2a;
    --adt-muted: #b9b9b9;
}

html { scroll-behavior: smooth; }
body { line-height: 1.65; }

/* ---------- Banner (now a real link instead of an onclick image) ---------- */
.site-banner { display: block; background: #fff; }
.site-banner img { display: block; width: 100%; height: auto; }

/* ---------- Skip link for keyboard users ---------- */
.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--adt-gold); color: #000; padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* Nav: put the "Book Us" call-to-action on the right */
.navbar-end .button { margin: 3px; }

/* ---------- Hero ---------- */
.adt-hero {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 0;
    background: var(--adt-ink);
    border-bottom: 1px solid var(--adt-line);
}
.adt-hero__photo img {
    display: block; width: 100%; height: 100%; object-fit: cover; min-height: 320px;
}
.adt-hero__copy {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    display: flex; flex-direction: column; justify-content: center;
}
.adt-hero__eyebrow {
    color: var(--adt-gold); text-transform: uppercase; letter-spacing: .14em;
    font-size: .8rem; font-weight: 700; margin-bottom: .75rem;
}
.adt-hero__title {
    font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.1; font-weight: 800;
    color: #fff; margin-bottom: 1rem;
}
.adt-hero__lede { color: #ddd; font-size: 1.15rem; margin-bottom: 1.5rem; max-width: 34ch; }
.adt-hero .buttons .button { font-weight: 700; }

@media (max-width: 860px) {
    .adt-hero { grid-template-columns: 1fr; }
    .adt-hero__photo img { min-height: 0; aspect-ratio: 3 / 2; }
}

/* ---------- Sections ---------- */
.adt-section { padding: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.adt-section--alt { background: var(--adt-panel); border-top: 1px solid var(--adt-line); border-bottom: 1px solid var(--adt-line); }
.adt-wrap { max-width: 1120px; margin: 0 auto; }
.adt-narrow { max-width: 760px; margin: 0 auto; }
.adt-kicker {
    color: var(--adt-gold); text-transform: uppercase; letter-spacing: .14em;
    font-size: .78rem; font-weight: 700; margin-bottom: .4rem;
}
.adt-h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.adt-muted { color: var(--adt-muted); }
.content p, .adt-section p { color: #e6e6e6; }
.adt-section p + p { margin-top: .9em; }
/* Bulma colours <strong> dark grey, which is invisible on the black theme */
strong { color: inherit; }

/* ---------- Feature cards ---------- */
.adt-cards {
    display: grid; gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.adt-card {
    background: var(--adt-panel); border: 1px solid var(--adt-line); border-radius: 12px;
    padding: 1.5rem; display: flex; flex-direction: column;
}
.adt-section--alt .adt-card { background: var(--adt-ink); }
.adt-card h3 { color: #fff; font-size: 1.2rem; font-weight: 700; margin-bottom: .5rem; }
.adt-card p { flex: 1; }
.adt-card a.adt-more { color: var(--adt-gold); font-weight: 700; margin-top: 1rem; }
.adt-card a.adt-more:hover { text-decoration: underline; }

/* ---------- Split (image + text) ---------- */
.adt-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.adt-split img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 760px) { .adt-split { grid-template-columns: 1fr; } }

/* Meet the Band: alternate photo left/right on desktop; photo always first on phones */
.adt-split--flip > :first-child { order: 2; }
@media (max-width: 760px) { .adt-split--flip > :first-child { order: 0; } }
.adt-member { scroll-margin-top: 1rem; }
.adt-member .adt-split { align-items: start; }
.adt-member img { aspect-ratio: 4 / 3; object-fit: cover; }
.adt-section .adt-member__role { color: var(--adt-gold); font-weight: 700; margin-top: -.6rem; margin-bottom: 1rem; }
.adt-section .adt-pullquote {
    font-size: 1.2rem; font-style: italic; color: #fff; border-left: 4px solid var(--adt-red-bright);
    padding: .25rem 0 .25rem 1rem; margin: 1.25rem 0;
}
.adt-lineup a.adt-card { text-decoration: none; transition: border-color .2s, transform .2s; }
.adt-lineup a.adt-card:hover { border-color: var(--adt-gold); transform: translateY(-2px); }
.adt-lineup .adt-card p { color: var(--adt-gold); font-weight: 700; flex: none; }

.adt-callout {
    border-left: 4px solid var(--adt-gold); background: rgba(242, 193, 78, .08);
    padding: 1rem 1.25rem; border-radius: 0 8px 8px 0; margin: 1.25rem 0;
}

/* ---------- Gallery ---------- */
.adt-gallery {
    display: grid; gap: .75rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.adt-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 10px; }
.adt-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.adt-gallery figure:hover img { transform: scale(1.04); }
.adt-gallery figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; font-size: .85rem;
}

/* ---------- Upcoming gigs (cards instead of a 4-column table — better on phones) ---------- */
.adt-gigs { display: grid; gap: .75rem; }
.adt-gig {
    display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center;
    background: var(--adt-panel); border: 1px solid var(--adt-line); border-radius: 10px; padding: .85rem 1rem;
}
.adt-gig__date { text-align: center; background: var(--adt-red); border-radius: 8px; padding: .4rem 0; line-height: 1.1; }
.adt-gig__date .m { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.adt-gig__date .d { display: block; font-size: 1.6rem; font-weight: 800; }
.adt-gig__venue { font-weight: 700; color: #fff; }
.adt-gig__meta { color: var(--adt-muted); font-size: .92rem; }
.adt-gig__map { color: var(--adt-gold); font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
    .adt-gig { grid-template-columns: 64px 1fr; }
    .adt-gig__map { grid-column: 2; }
}

/* ---------- Testimonials ---------- */
.adt-quote {
    background: var(--adt-panel); border: 1px solid var(--adt-line); border-radius: 12px; padding: 1.5rem;
}
.adt-quote blockquote { font-style: italic; color: #eee; margin-bottom: .75rem; }
.adt-quote cite { color: var(--adt-gold); font-style: normal; font-weight: 700; font-size: .9rem; }


/* ---------- Steps / timeline ---------- */
.adt-steps { counter-reset: step; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.adt-step { position: relative; padding: 1.25rem 1.25rem 1.25rem 3.5rem; background: var(--adt-ink); border: 1px solid var(--adt-line); border-radius: 12px; }
.adt-step::before {
    counter-increment: step; content: counter(step);
    position: absolute; left: 1rem; top: 1.15rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
    background: var(--adt-red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem;
}
.adt-step h3 { color: #fff; font-weight: 700; margin-bottom: .25rem; }

/* ---------- FAQ ---------- */
.adt-faq details {
    border: 1px solid var(--adt-line); border-radius: 10px; padding: .9rem 1.1rem; margin-bottom: .6rem; background: var(--adt-panel);
}
.adt-faq summary { cursor: pointer; font-weight: 700; color: #fff; list-style: none; }
.adt-faq summary::-webkit-details-marker { display: none; }
.adt-faq summary::after { content: "+"; float: right; color: var(--adt-gold); font-weight: 800; }
.adt-faq details[open] summary::after { content: "–"; }
.adt-faq details p { margin-top: .6rem; }

/* ---------- CTA band ---------- */
.adt-cta {
    background: linear-gradient(135deg, #7a0004, var(--adt-red) 55%, #c4141b);
    text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1rem;
}
.adt-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; margin-bottom: .5rem; }
.adt-cta p { color: #fbe9e9; margin-bottom: 1.25rem; }

/* ---------- Lite YouTube (loads the real player only on click) ---------- */
.yt-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.yt-item h2 { font-size: 1.15rem; font-weight: 700; color: #fff; margin: .6rem 0 .2rem; }
.yt-item p { color: var(--adt-muted); font-size: .92rem; }
.yt-lite {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0;
    background: #000 center / cover no-repeat; cursor: pointer; border-radius: 10px; overflow: hidden;
}
.yt-lite::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.55)); }
.yt-lite .yt-play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 72px; height: 50px; border-radius: 14px; background: rgba(164, 0, 6, .92);
    display: grid; place-items: center; transition: background .2s;
}
.yt-lite:hover .yt-play, .yt-lite:focus-visible .yt-play { background: #e0141c; }
.yt-lite .yt-play::after { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Forms (contact) ---------- */
.adt-form { background: var(--adt-panel); border: 1px solid var(--adt-line); border-radius: 12px; padding: clamp(1.25rem, 3vw, 2rem); }
.adt-form .label { color: #fff; }
.adt-form .help { color: var(--adt-muted); }
.adt-form .input, .adt-form .textarea, .adt-form .select select { background: #fff; color: #111; border-color: #fff; }
/* The theme's yellow link colour is nearly invisible on white fields, so on the
   form the dropdown arrow and focus border use a darker gold that keeps its contrast. */
.adt-form .select:not(.is-multiple):not(.is-loading)::after { border-color: #b07d00; }
.adt-form .input:focus, .adt-form .textarea:focus, .adt-form .select select:focus,
.adt-form .input:active, .adt-form .textarea:active, .adt-form .select select:active {
    border-color: #b07d00; box-shadow: 0 0 0 .2em rgba(242, 193, 78, .55);
}
.adt-form .select:not(.is-multiple):not(.is-loading):hover::after { border-color: #7a5600; }
/* Errors: a clear red box under the field, a red border round the field itself,
   and the summary banner at the top of the form. */
.adt-form .help.is-danger {
    color: #fff; background: #c4141b; border-radius: 6px;
    padding: .45rem .7rem; margin-top: .4rem; font-size: .95rem; line-height: 1.4;
}
.adt-form .help.is-danger::before { content: "⚠ "; }
.adt-form .input.is-danger, .adt-form .textarea.is-danger {
    border: 3px solid #c4141b; box-shadow: 0 0 0 .2em rgba(196, 20, 27, .35);
}
.adt-form .notification.is-danger { background: #c4141b; color: #fff; font-weight: 700; }
.adt-form .optional { color: var(--adt-muted); font-weight: 400; font-size: .85em; }
.adt-form-grid { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
.adt-form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .adt-form-grid { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.adt-contact-side { display: grid; gap: 1rem; align-content: start; }
.adt-contact-side .adt-card p { flex: none; }

/* ---------- Footer ---------- */
.adt-footer { background: var(--adt-red); color: #fff; padding: 2.5rem 1rem 1.5rem; }
.adt-footer a { color: #fff; }
.adt-footer a:hover { text-decoration: underline; }
.adt-footer__grid { display: grid; gap: 1.5rem; grid-template-columns: 2fr 1fr 1fr; max-width: 1120px; margin: 0 auto; }
.adt-footer h4 { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: .6rem; color: #ffd9d9; }
.adt-footer ul { list-style: none; margin: 0; }
.adt-footer li { margin-bottom: .3rem; }
.adt-footer__legal { max-width: 1120px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; color: #ffd9d9; }
@media (max-width: 760px) { .adt-footer__grid { grid-template-columns: 1fr; } }

/* Visible keyboard focus everywhere */
a:focus-visible, button:focus-visible, summary:focus-visible, .input:focus-visible, .textarea:focus-visible {
    outline: 3px solid var(--adt-gold); outline-offset: 2px;
}

/* ---------- Events page ---------- */
.adt-month { color: var(--adt-gold); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; margin: 2rem 0 .75rem; }
.adt-gig__venue a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.adt-gig__venue a:hover { text-decoration-color: var(--adt-gold); }
