/* ===== Base sizing (from default template, kept) ===== */

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/* ===== Global palette & base ===== */

:root {
    --bg: #fff8f0;
    --text: #2b2320;
    --accent: #d98c3b;
    --accent-dark: #b26a22;
    --deep: #4b2c20;
    --muted: #7c6b63;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.page {
    margin: 0;
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: min(1100px, 100% - 2rem);
    margin: 0 auto;
}

/* ===== Header & Navigation ===== */

.site-header {
    background: var(--deep);
    color: #fff;
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand-link {
    text-decoration: none;
    color: inherit;
}

.brand-title {
    display: block;
    font-family: "Merriweather", serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #f2e3d9;
}

/* main-nav: all white, bigger, centered */

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.95rem;
    justify-content: center; /* center the whole menu */
    width: 100%;
}

    .main-nav a {
        color: #ffffff !important; /* kill bootstrap blue */
        text-decoration: none;
        padding: 0.35rem 1rem;
        border-radius: 999px;
        font-weight: 600;
    }

        .main-nav a:hover {
            background: rgba(255, 255, 255, 0.15);
        }

/* Top right CTA: more “badge” style, not orange chip */

.nav-primary-cta {
    background: #b84e24;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .nav-primary-cta:hover {
        background: #8d3819;
        color: #ffffff !important;
        border-color: #ffffff;
    }

/* ===== Main area ===== */

.site-main {
    padding: 2rem 0 3rem;
}

.main-container {
    padding: 0;
}

/* ===== Hero ===== */

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 0 2rem;
}

    .hero h1 {
        font-family: "Merriweather", serif;
        font-size: 2.3rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        margin-bottom: 0.75rem;
    }

.hero-tagline {
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1rem 0;
}

.hero-image img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Buttons ===== */

.btn-primary-custom,
.btn-outline-custom,
.btn-accent-custom,
.btn-link-custom {
    display: inline-block;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary-custom {
    background: var(--accent);
    color: #2b140a;
    border-color: var(--accent);
}

    .btn-primary-custom:hover {
        background: var(--accent-dark);
        border-color: var(--accent-dark);
    }

.btn-outline-custom {
    background: transparent;
    border-color: #c9b8aa;
    color: var(--deep);
}

    .btn-outline-custom:hover {
        border-color: var(--accent);
        color: var(--accent-dark);
    }

.btn-accent-custom {
    background: var(--deep);
    color: #ffffff;
    border-color: var(--deep);
}

    .btn-accent-custom:hover {
        background: #2f1a11;
    }

/* “Order Jack's CDs and books now” — more prominent + centered */

.section-cta {
    margin-top: 2rem;
    text-align: center;
}

    .section-cta .btn-accent-custom {
        display: inline-block;
        margin-top: 0.5rem;
        padding: 0.75rem 2rem;
    }

.btn-link-custom {
    border: none;
    background: none;
    padding: 0;
    color: var(--accent-dark);
    text-decoration: underline;
}

/* ===== Sections ===== */

.section {
    padding: 2rem 0;
}

    .section h2 {
        font-family: "Merriweather", serif;
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

/* ===== Shared page header (About / CDs / Media / Books) ===== */

.page-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.page-title {
    font-family: "Merriweather", serif;
    font-size: 2rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin: 0 auto 0.4rem;
}

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

/* ===== Cards ===== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.4rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.card-subtitle {
    color: var(--muted);
    margin-bottom: 1rem;
}

.event-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .event-list li {
        margin-bottom: 0.75rem;
    }

/* ===== About section ===== */

.about .two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr);
    gap: 1.5rem;
}

/* ===== Tribute ===== */

.tribute {
    background: #fce8dd;
}

.tribute-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

    .tribute-inner h2 {
        margin-bottom: 0.75rem;
    }

    .tribute-inner p {
        margin-bottom: 0.5rem;
    }

/* ===== Quote ===== */

.section.quote {
    text-align: center;
    padding-bottom: 3rem;
}

    .section.quote blockquote {
        font-family: "Merriweather", serif;
        font-size: 1.2rem;
        margin: 0;
    }

.quote-attrib {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--muted);
}

/* ===== Footer ===== */

.site-footer {
    background: #21130d;
    color: #f0e1d4;
    padding: 1rem 0;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.site-footer a {
    color: #f0e1d4;
    text-decoration: none;
}

    .site-footer a:hover {
        text-decoration: underline;
    }

/* ===== Responsive ===== */

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        justify-content: flex-start;
    }
}

/* === TOP HEADER WITH ORDER CTA === */
.header-inner-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.3rem;
}

.top-right-cta {
    display: flex;
    align-items: center;
}

.order-top-cta {
    background: #b84e24;
    color: #ffffff !important;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .order-top-cta:hover {
        background: #8d3819;
        color: #ffffff !important;
    }

.header-inner-nav {
    margin-top: 0.6rem;
}

.about-photo img {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.award-list {
    margin-left: 1rem;
}

.subsection-title {
    font-family: "Merriweather", serif;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

/* =========================
   MEDIA PAGE – FINAL STYLES
   ========================= */

.media-section {
    max-width: 1200px;
    margin: 0 auto;
}

    .media-section .page-note {
        margin-top: 0.75rem;
        font-size: 0.9rem;
        color: #4b3322;
    }

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* CARD */
.media-section .media-card {
    background: #1f1510; /* solid dark bush-brown */
    border-radius: 18px;
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    color: #f9f3e6; /* default light text */
}

/* THUMBNAIL */
.media-section .media-thumb {
    display: inline-block;
    border-radius: 10px;
    overflow: hidden;
}

    .media-section .media-thumb img {
        display: block;
        max-width: 100%;
        height: auto;
        width: auto;
    }

    /* second thumb on two-page spreads */
    .media-section .media-thumb.secondary {
        margin-top: 0.5rem;
    }

/* TEXT INSIDE CARD – MAKE EVERYTHING LIGHT & READABLE */
.media-section .media-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 0.4rem;
    color: #fbe9cf;
}

.media-section .media-meta {
    font-size: 0.85rem;
    margin-top: 0.15rem;
    color: #e3c7a0;
}

.media-section .media-extra {
    font-size: 0.9rem;
    margin-top: 0.35rem;
    color: #f9f3e6;
}

/* LINKS INSIDE MEDIA CARDS */
.media-section .media-card a {
    color: #ffd08a;
    text-decoration: underline;
}

    .media-section .media-card a:hover {
        color: #ffe2b3;
    }

/* =========================
   POETRY PAGE
   ========================= */

.poetry-page {
    padding-bottom: 4rem;
}

.poetry-hero {
    padding: 4rem 1.5rem 2rem;
    background: radial-gradient(circle at top, #5b3b22 0, #2b1a10 55%, #150b07 100%);
    color: #fff;
    text-align: center;
}

.page-hero-inner {
    max-width: 960px;
    margin: 0 auto;
}

.page-intro {
    padding: 2rem 1.5rem 1rem;
}

.page-intro-inner,
.container-narrow {
    max-width: 960px;
    margin: 0 auto;
}

    .page-intro-inner p {
        font-size: 1.02rem;
        line-height: 1.8;
        color: #2c1b10;
    }

    .page-intro-inner a {
        text-decoration: underline;
    }

.poem-list {
    padding: 1rem 1.5rem 0;
    display: grid;
    gap: 2rem;
}

.poem-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 1.75rem;
    padding: 1.75rem;
    border-radius: 1.25rem;
    background: rgba(255, 245, 235, 0.95);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.poem-card-full {
    grid-template-columns: minmax(0, 1fr);
}

.poem-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    object-fit: cover;
}

.poem-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.poem-title {
    font-size: 1.4rem;
    margin-bottom: 0.25rem;
    color: #2c1408;
}

.poem-lines {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #3c2212;
}

.text-center {
    text-align: center;
}

.poem-footer-image {
    margin-top: 1.5rem;
    text-align: center;
}

    .poem-footer-image img {
        max-width: 100%;
        height: auto;
        border-radius: 1rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    }

.page-cta {
    padding: 3rem 1.5rem 0;
}

.page-cta-inner {
    max-width: 960px;
    margin: 0 auto 2.5rem;
    padding: 2rem 1.75rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #8a4b23, #d98b3e);
    color: #fff;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

    .page-cta-inner h2 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .page-cta-inner p {
        max-width: 640px;
        margin: 0 auto 1.5rem;
        line-height: 1.7;
    }

.page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Buttons (shared) */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid transparent;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
    text-decoration: none;
}

.btn-primary {
    background: #23110a;
    color: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

    .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
    }

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
}

    .btn-ghost:hover {
        background: rgba(0, 0, 0, 0.12);
    }

@@media (max-width: 800px) {
    .poem-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .poem-media {
        order: -1;
    }
}

@@media (max-width: 600px) {
    .poetry-hero {
        padding-top: 3rem;
    }

    .poem-card {
        padding: 1.25rem;
    }

    .page-cta-inner {
        padding: 1.6rem 1.3rem;
    }
}

/* ===== CD track lists – horizontal chip style ===== */

.cds-section .cd-tracklist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
}

    .cds-section .cd-tracklist li {
        background: #ffffff;
        border-radius: 999px;
        border: 1px solid #e0d0c2;
        padding: 0.25rem 0.7rem;
        font-size: 0.9rem;
        white-space: nowrap;
        color: var(--deep);
    }

/* CDs layout – vertical list of horizontal cards */

.cds-section .cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cds-section .cd-card {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem;
}

.cds-section .cd-cover img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* mobile: stack cover above text */

@media (max-width: 800px) {
    .cds-section .cd-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .cds-section .cd-card {
        text-align: left;
    }
}

/* ===== BOOKS PAGE – horizontal cards like CDs ===== */

.books-section .cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.books-section .book-card {
    display: grid;
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.75rem;
}

.books-section .book-cover img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.books-section .book-content {
    flex: 1;
}

/* mobile stack */

@media (max-width: 800px) {
    .books-section .book-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card-image {
    margin-top: 1.5rem;
    text-align: left;
}

    .card-image img {
        width: 25%; /* keeps only 1/4 size (75% smaller) */
        max-width: 200px; /* safety cap for large screens */
        height: auto;
        border-radius: 4px;
    }

