/* ─── SOUNDMIND MEDIA — FULL BRAND IDENTITY ─── */
/* Deep Navy + Gold + White | Serif headers + Sans-serif body */

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

:root {
    --navy: #0A1628;
    --navy-mid: #0F1D33;
    --navy-light: #152744;
    --cream: #F5F0E8;
    --white: #FFFFFF;
    --gold: #C9A84C;
    --gold-dim: #A8893E;
    --gold-light: #D4B96A;
    --warm-gray: #1A2840;
    --muted: #8A94A8;
    --muted-light: #B0B8C8;
    --glow: rgba(201, 168, 76, 0.08);
    --border: rgba(201, 168, 76, 0.12);
    --border-hover: rgba(201, 168, 76, 0.35);
}

html {
    scroll-behavior: smooth;
    background-color: var(--navy);
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--navy);
    color: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

/* ─── DARK BACKGROUND GUARANTEE (all pages) ─── */
/* Every section/footer gets explicit navy to ensure text legibility */
section, footer {
    background-color: var(--navy);
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(10, 22, 40, 0.9);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--cream);
}

.logo span { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.2s;
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-jj {
    padding: 0.45rem 1rem !important;
    border: 1px solid var(--gold) !important;
    border-radius: 6px !important;
    color: var(--gold) !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.03em !important;
    text-transform: none !important;
    transition: all 0.2s !important;
}

.nav-jj:hover {
    background: var(--gold) !important;
    color: var(--navy) !important;
}

.nav-external {
    font-size: 0.7rem;
    margin-left: 0.15rem;
    opacity: 0.8;
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ─── PAGE HEADER ─── */
.page-header {
    padding: 10rem 2.5rem 4rem;
    text-align: center;
    position: relative;
    background-color: var(--navy);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.page-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 18ch;
    margin: 0 auto 1.5rem;
}

.page-header h1 em {
    font-style: italic;
    color: var(--gold);
}

.page-header p {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.7;
}

/* ─── SECTION DIVIDER ─── */
.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--navy);
    background-image: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.25), transparent);
}

/* ─── CONTAINER ─── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ─── MUSIC CARDS ─── */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    padding: 4rem 0 8rem;
}

.music-card {
    background: var(--warm-gray);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}

.music-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.music-card.featured {
    border-color: rgba(201, 168, 76, 0.25);
}

.music-card-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    margin-bottom: 0.75rem;
}

.music-card-body {
    padding: 1.75rem;
}

.music-card-body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.music-card-meta {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.music-card-title-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.music-card-title-row h3 {
    flex: 1;
    min-width: 0;
}

.music-card-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    padding-top: 0.1rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.2s;
    white-space: nowrap;
}

.platform-link:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

.music-card-body p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.music-card-embed {
    padding: 0 1.75rem 1.75rem;
}

.music-card-embed iframe {
    border-radius: 12px;
}

.embed-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.embed-tab {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: none;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.embed-tab:hover,
.embed-tab.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

/* ─── BLOG CARDS ─── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 4rem 0 8rem;
}

.blog-card {
    background: var(--warm-gray);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.blog-card-category {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.blog-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.blog-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-date {
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.7;
}

.blog-card-read {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tag {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 100px;
    color: var(--gold-dim);
}

/* ─── BLOG POST (FULL) ─── */
.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2.5rem 6rem;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.post-meta-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.post-meta-date {
    font-size: 0.85rem;
    color: var(--muted);
}

.post-body h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.post-body h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    margin: 3rem 0 1.25rem;
    color: var(--cream);
}

.post-body h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 2.5rem 0 1rem;
    color: var(--cream);
}

.post-body p {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.post-body p strong {
    color: var(--cream);
    font-weight: 500;
}

.post-body p em {
    color: var(--cream);
    font-style: italic;
}

.post-body ul, .post-body ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--muted);
    font-weight: 300;
}

.post-body li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    font-size: 0.95rem;
}

.post-body blockquote {
    border-left: 3px solid var(--gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--glow);
    border-radius: 0 8px 8px 0;
}

.post-body blockquote p {
    color: var(--cream);
    font-style: italic;
    margin: 0;
}

.post-nav {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.post-nav a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ─── CONTACT FORM ─── */
.contact-section {
    padding: 4rem 0 8rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.contact-info p strong {
    color: var(--cream);
    font-weight: 500;
}

.contact-types {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-type {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--warm-gray);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.contact-type-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.contact-type h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.contact-type p {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    background: var(--warm-gray);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--cream);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
    opacity: 0.5;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238A94A8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--navy);
    color: var(--cream);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background: var(--gold-dim);
}

.btn-submit:active {
    transform: scale(0.98);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
}

.form-success.visible {
    display: block;
}

.form-success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ─── FOOTER ─── */
footer {
    padding: 3rem 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background-color: var(--navy);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--muted);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-right {
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.6;
}

/* ─── LOADING ─── */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 0.75rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--muted);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.9rem;
    font-weight: 300;
}

/* ─── FILTER TABS ─── */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-tab {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: none;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
}

.filter-tab:hover,
.filter-tab.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }

    .nav-mobile-toggle { display: block; }

    .nav-jj {
        text-align: center;
        display: block !important;
    }

    .page-header { padding: 8rem 1.5rem 3rem; }

    .container { padding: 0 1.5rem; }

    .music-grid { grid-template-columns: 1fr; }

    .blog-grid { grid-template-columns: 1fr; }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row { grid-template-columns: 1fr; }

    .post-content { padding: 2rem 1.5rem 4rem; }

    footer {
        padding: 2rem 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .footer-links { justify-content: center; flex-wrap: wrap; }
}

/* ─── SOCIAL ICONS (NAV + FOOTER) ─── */
.nav-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 0.25rem;
}

.nav-social a {
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 0 !important;
}

.nav-social a:hover {
    color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

.footer-social {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.footer-social a {
    color: var(--muted);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--gold);
}

/* ─── HERO IMAGE PANEL ─── */
/* Hero layout is defined in index.html <style> to avoid cascade conflicts.
   Do NOT add .hero-inner, .hero-photo, .hero-copy rules here. */

/* ─── ARTIST PHOTO ─── */
/* Artist photo layout is defined in index.html <style> to avoid cascade conflicts. */

/* ─── PHOTO GALLERY ─── */
.photo-gallery {
    padding: 5rem 2.5rem 7rem;
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--navy);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.gallery-header p {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    max-width: 48ch;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: var(--warm-gray);
    border: 1px solid var(--border);
    transition: border-color 0.3s, transform 0.3s;
}

.gallery-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.gallery-item.portrait {
    aspect-ratio: 4/5;
}

.gallery-item.landscape {
    aspect-ratio: 16/10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.gallery-item-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1rem;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 100%);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-item-caption {
    opacity: 1;
}

@media (max-width: 768px) {
    .nav-social { gap: 0.5rem; }

    /* Hero mobile rules are in index.html <style> — do NOT add here */

    .photo-gallery { padding: 4rem 1.5rem 5rem; }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.landscape,
    .gallery-item.portrait {
        aspect-ratio: 4/3;
    }
}
