/*
 * Mystical Music Machine - theme styles
 * Ported from the WordPress child theme style.css (Astra child).
 * Parent @import removed; see astra-shim.css for the minimum compat layer.
 */

/* === Core Palette === */
:root {
    --mmm-teal: #1ca4c9;
    --mmm-teal-dark: #007697;
    --mmm-lime: #7fdc3a;
    --mmm-orange: #ff861a;
    --mmm-cream: #fff7d6;
    --mmm-deep-blue: #122338;
    --mmm-off-white: #fcfbf6;

    --mmm-radius-pill: 999px;
    --mmm-radius-card: 18px;
}

/* Basic body styling */
body.mmm-site {
    background: radial-gradient(circle at top left, #23b7dd 0%, #0a3e56 60%, #051921 100%);
    color: var(--mmm-off-white);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body.mmm-site .site-main {
    flex: 1 0 auto;
}

/* Make main content pop on lighter cards */
.site-content,
.ast-container {
    background: transparent;
}

/* === Card style for main sections === */
.mmm-card {
    background: var(--mmm-cream);
    color: var(--mmm-deep-blue);
    border-radius: var(--mmm-radius-card);
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.35),
        0 0 0 3px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}
.mmm-card-title {
    margin-top: 0;
    font-family: "Bungee", system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--mmm-deep-blue);
}
.mmm-card a {
    color: var(--mmm-teal-dark);
    font-weight: 600;
}

/* === Header / Branding === */
.site-header {
    background: linear-gradient(135deg, var(--mmm-teal-dark), var(--mmm-teal));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
    border-bottom: 4px solid var(--mmm-lime);
    position: relative;
    overflow: hidden;
}
.site-header::before,
.site-header::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 134, 26, 0.8), transparent 70%);
    opacity: 0.4;
    mix-blend-mode: screen;
    pointer-events: none;
}
.site-header::before { top: -80px;  left:  -40px; }
.site-header::after  { bottom: -120px; right: -40px; }

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.9rem;
    position: relative;
    z-index: 2;
}

.site-branding,
.site-branding a {
    color: #ffe9b5;
    text-decoration: none;
}
.site-title-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
}
.site-title-text {
    display: inline-flex;
    flex-direction: column;
    line-height: 1.05;
}
.site-title {
    font-family: "Bungee", system-ui, sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mmm-orange);
    text-shadow:
        3px 3px 0 rgba(0, 0, 0, 0.75),
        -1px -1px 0 rgba(0, 0, 0, 0.3);
}
.site-description {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffe9b5;
    opacity: 0.9;
}

/* === Navigation === */
.main-header-bar-navigation {
    display: block;
}
.main-header-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-family: "Bungee", system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.main-header-menu a {
    display: inline-block;
    color: #ffe9b5;
    padding: 0.55rem 0.95rem;
    border-radius: var(--mmm-radius-pill);
    text-decoration: none;
    font-size: 0.85rem;
    border: 2px solid transparent;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.main-header-menu a:hover,
.main-header-menu .current-menu-item a {
    color: var(--mmm-deep-blue);
    background: var(--mmm-lime);
    border-color: var(--mmm-orange);
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.mmm-nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255, 233, 181, 0.6);
    border-radius: 8px;
    padding: 0.45rem 0.55rem;
    cursor: pointer;
}
.mmm-nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffe9b5;
    margin: 4px 0;
}

/* === Hero Section === */
.mmm-hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
    gap: 2.5rem;
    align-items: center;
    padding: 3.5rem 3rem;
    margin: 2.5rem 0;
    border-radius: 36px;
    background: linear-gradient(135deg, var(--mmm-teal), var(--mmm-lime));
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.6),
        0 0 0 5px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}
.mmm-hero::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        repeating-radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.14), transparent 80px),
        repeating-radial-gradient(circle at 80% 0%,  rgba(255, 134, 26, 0.25), transparent 80px);
    opacity: 0.55;
    mix-blend-mode: soft-light;
    pointer-events: none;
}
.mmm-hero-left,
.mmm-hero-right { position: relative; z-index: 2; }

.mmm-hero-title {
    font-family: "Bungee", system-ui, sans-serif;
    font-size: clamp(2.6rem, 3vw + 1.4rem, 3.4rem);
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mmm-deep-blue);
    text-shadow:
        3px 3px 0 rgba(255, 134, 26, 0.7),
        -2px -2px 0 rgba(255, 255, 255, 0.4);
    margin-bottom: 1.2rem;
}
.mmm-hero-subtitle {
    font-size: 1.05rem;
    max-width: 35rem;
    color: #082029;
    margin-bottom: 1.8rem;
}
.mmm-hero-badges {
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.mmm-badge {
    display: inline-flex; align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--mmm-radius-pill);
    background: rgba(18, 35, 56, 0.15);
    border: 1px solid rgba(18, 35, 56, 0.25);
    font-size: 0.78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--mmm-deep-blue);
}

/* CTA buttons */
.mmm-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.mmm-btn-primary,
.mmm-btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 1.6rem;
    border-radius: var(--mmm-radius-pill);
    font-family: "Bungee", system-ui, sans-serif;
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.mmm-btn-primary {
    background: var(--mmm-orange);
    color: var(--mmm-deep-blue);
    box-shadow: 0 8px 0 rgba(0, 0, 0, 0.35);
}
.mmm-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 0 rgba(0, 0, 0, 0.35);
    background: #ff9a36;
}
.mmm-btn-ghost {
    background: rgba(18, 35, 56, 0.12);
    border-color: rgba(18, 35, 56, 0.4);
    color: var(--mmm-deep-blue);
}
.mmm-btn-ghost:hover { background: rgba(18, 35, 56, 0.24); }

/* Hero van card now holds an <img> instead of CSS shapes */
.mmm-hero-van-card {
    position: relative;
    border-radius: 32px;
    background: linear-gradient(145deg, #0b2b3b, #020b12);
    padding: 1.4rem 1.4rem 1.6rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.85),
        0 0 0 3px rgba(0, 0, 0, 0.55);
    color: #f9f9f9;
}

.mmm-hero-van-pic {
    display: block;
}

.mmm-hero-van-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 460px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    background: var(--mmm-cream);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.mmm-hero-van-copy {
    font-size: 0.88rem; opacity: 0.85;
    text-align: center;
}

/* === Feature grid === */
.mmm-features-section { margin-bottom: 3rem; }
.mmm-section-title {
    font-family: "Bungee", system-ui, sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--mmm-cream);
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
    margin-bottom: 1rem;
}
.mmm-section-subtitle {
    color: #e8faff;
    max-width: 40rem;
    margin-bottom: 2rem;
}
.mmm-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem;
}
.mmm-feature-card {
    background: rgba(3, 10, 16, 0.9);
    border-radius: 18px;
    padding: 1.5rem 1.6rem;
    border: 2px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
    color: #f3f6ff;
}
.mmm-feature-label {
    font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--mmm-lime);
    margin-bottom: 0.4rem;
}
.mmm-feature-title {
    font-weight: 700; font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.mmm-feature-text {
    font-size: 0.92rem; opacity: 0.9;
}

/* === How It Works === */
.mmm-how-list {
    padding-left: 1.25rem;
    margin: 1rem 0;
}
.mmm-how-list li { margin-bottom: 0.4rem; }
.mmm-how-cta { margin-top: 1.5rem; }

/* === Forms === */
.mmm-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
    margin-top: 1.5rem;
}
.mmm-field,
.mmm-field-wide {
    display: flex;
    flex-direction: column;
    font-size: 0.92rem;
}
.mmm-field-wide,
.mmm-form > button,
.mmm-form > .cf-turnstile {
    grid-column: 1 / -1;
}
.mmm-field span {
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--mmm-deep-blue);
}
.mmm-field input,
.mmm-field textarea {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border-radius: 10px;
    border: 2px solid rgba(18, 35, 56, 0.25);
    background: #fffefa;
    font-family: inherit; font-size: 1rem;
    color: var(--mmm-deep-blue);
}
.mmm-field input:focus,
.mmm-field textarea:focus {
    outline: none;
    border-color: var(--mmm-teal-dark);
    box-shadow: 0 0 0 3px rgba(28, 164, 201, 0.25);
}
.mmm-honeypot {
    position: absolute; left: -10000px; top: auto;
    width: 1px; height: 1px; overflow: hidden;
}

/* === Listen / Tracks === */
.mmm-track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}
.mmm-track-card {
    background: rgba(3, 10, 16, 0.08);
    border: 2px solid rgba(18, 35, 56, 0.15);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    color: var(--mmm-deep-blue);
}
.mmm-track-title { margin: 0 0 0.25rem; font-size: 1.05rem; }
.mmm-track-caption { font-size: 0.9rem; opacity: 0.85; }
.mmm-track-player iframe {
    width: 100%;
    border: 0;
    border-radius: 10px;
    margin-top: 0.6rem;
    aspect-ratio: 16 / 4;
    background: #000;
}
.mmm-card-foot { margin-top: 1.5rem; font-size: 0.95rem; }

/* === Footer === */
.site-footer {
    background: #02070c;
    color: #a3b5cf;
    border-top: 3px solid var(--mmm-teal);
    margin-top: 3rem;
    padding-block: 1.5rem;
}
.site-footer-inner {
    display: flex; flex-wrap: wrap; gap: 0.6rem 2rem;
    justify-content: space-between; align-items: center;
}
.site-footer p { margin: 0; }
.site-footer a { color: var(--mmm-lime); }

/* === Responsive === */
@media (max-width: 960px) {
    .mmm-hero {
        grid-template-columns: 1fr;
        padding: 2.4rem 1.8rem;
    }
    .mmm-hero-right { order: -1; }
    .mmm-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mmm-form { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .mmm-nav-toggle { display: inline-flex; }
    .main-header-bar-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: linear-gradient(135deg, var(--mmm-teal-dark), var(--mmm-teal));
        border-top: 2px solid var(--mmm-lime);
        padding: 1rem;
        z-index: 50;
    }
    .main-header-bar-navigation.is-open { display: block; }
    .main-header-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    .main-header-menu a { display: block; text-align: left; }
}

@media (max-width: 640px) {
    .mmm-hero { padding: 2rem 1.4rem; }
    .mmm-feature-grid { grid-template-columns: 1fr; }
    .mmm-card { padding: 1.6rem; }
    .site-title { font-size: 1.4rem; }
    .site-description { font-size: 0.7rem; }
}
