/*
 Theme Name:   FAST Astra Child
 Theme URI:    https://fastguitaracademy.com
 Description:  F.A.S.T. Guitar Academy child theme — branded design system
 Author:       Misha Nikolic
 Template:     astra
 Version:      1.0.0
 Text Domain:  fast-astra-child
*/

:root {
    --navy: #0A1B4B;
    --teal: #00B4A6;
    --gold: #F5A623;
    --light: #F4F6FA;
    --white: #FFFFFF;
    --text: #2C3E6B;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --max-w: 1100px;
    --radius-card: 8px;
    --radius-btn: 6px;
}

body {
    font-family: var(--font) !important;
    color: var(--text) !important;
    background: var(--white) !important;
    line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font) !important;
    color: var(--navy) !important;
    line-height: 1.25;
}
a { color: var(--teal); transition: color 0.2s; }
a:hover { color: var(--gold); }

.ast-button, .button, input[type="submit"], button[type="submit"],
.wp-block-button__link, .elementor-button {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-family: var(--font) !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: var(--radius-btn) !important;
    padding: 12px 28px !important;
    transition: filter 0.2s !important;
}
.ast-button:hover, .button:hover, input[type="submit"]:hover,
button[type="submit"]:hover, .wp-block-button__link:hover {
    filter: brightness(1.1) !important;
    color: var(--navy) !important;
}

/* Hide Astra default header & footer */
.site-header, .ast-above-header, .ast-below-header,
.ast-main-header-wrap, .ast-header-sticked, #masthead,
.site-footer, .ast-small-footer, .ast-footer-overlay,
footer.site-footer, .site-below-footer-wrap, .ast-footer-copyright {
    display: none !important;
}

/* FAST custom header */
.fast-site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
}
.fast-site-header .fast-header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fast-site-header .fast-logo-link {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.fast-site-header .fast-logo-link img { height: 72px; width: auto; }
.fast-site-header .fast-logo-text strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
}
.fast-site-header .fast-logo-text span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.02em;
}
.fast-site-header .fast-header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fast-site-header .fast-header-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.fast-site-header .fast-header-nav a:hover { color: #FFFFFF; }
.fast-site-header .fast-header-cta a {
    display: inline-block;
    background: var(--gold);
    color: var(--navy) !important;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-btn);
    font-size: 0.9rem;
    transition: filter 0.2s;
    text-decoration: none;
}
.fast-site-header .fast-header-cta a:hover { filter: brightness(1.1); }

.fast-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.fast-menu-toggle span { display: block; width: 24px; height: 2px; background: #FFFFFF; }

@media (max-width: 768px) {
    .fast-menu-toggle { display: flex; }
    .fast-site-header .fast-header-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .fast-site-header .fast-header-nav.open { display: flex; }
    .fast-site-header .fast-logo-link img { height: 48px; }
    .fast-site-header .fast-logo-text strong { font-size: 0.9rem; }
    .fast-site-header .fast-logo-text span { font-size: 0.6rem; }
}

/* FAST custom footer */
.fast-site-footer {
    background: var(--navy);
    color: rgba(255,255,255,0.6);
    padding: 48px 0 32px;
    font-size: 0.85rem;
}
.fast-site-footer .fast-footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.fast-site-footer img { height: 44px; opacity: 0.7; margin-bottom: 8px; display: block; }
.fast-site-footer .fast-footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.fast-site-footer .fast-footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.fast-site-footer .fast-footer-links a:hover { color: #FFFFFF; }
.fast-site-footer .fast-footer-eco { color: var(--teal); font-size: 0.8rem; }

/* Blog archive */
.ast-separate-container .ast-article-post {
    background: var(--white) !important;
    border-radius: var(--radius-card);
    box-shadow: 0 2px 12px rgba(10,27,75,0.06);
    margin-bottom: 24px !important;
    padding: 32px !important;
    border: none !important;
}
.ast-separate-container .ast-article-post .entry-title a {
    color: var(--navy) !important;
    text-decoration: none;
    font-weight: 700;
}
.ast-separate-container .ast-article-post .entry-title a:hover { color: var(--teal) !important; }
.ast-separate-container .ast-article-post .entry-meta,
.ast-separate-container .ast-article-post .entry-meta * {
    color: var(--text) !important;
    opacity: 0.65;
    font-size: 0.85rem;
}
.ast-separate-container .ast-article-post .entry-content p,
.ast-separate-container .ast-article-post .entry-summary p {
    color: var(--text) !important;
    line-height: 1.7;
}
.ast-separate-container .read-more a { color: var(--teal) !important; font-weight: 600; }
.ast-separate-container .read-more a:hover { color: var(--gold) !important; }

/* Single post */
.ast-separate-container.ast-single-post .entry-content {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text) !important;
}
.ast-separate-container.ast-single-post .entry-title {
    color: var(--navy) !important;
    font-size: 2.2rem;
    text-align: center;
}

/* Page background */
.ast-separate-container { background: var(--light) !important; }
.ast-separate-container .ast-article-single {
    background: var(--white) !important;
    border-radius: var(--radius-card);
    padding: 48px 40px !important;
}

/* Homepage: hide internal nav/footer since global header/footer now handles it */
.home .fast-page .fast-nav,
.page-id-25407 .fast-page .fast-nav { display: none !important; }
.home .fast-page .fast-footer,
.page-id-25407 .fast-page .fast-footer { display: none !important; }

/* ---- 7-DAY-CHALLENGE: hero heading colour ---- */
/* Override global h1 navy colour for the UAGB hero block */
.uagb-block-230d2cc2 h1,
.uagb-block-230d2cc2 h1 strong,
.uagb-block-230d2cc2 .uagb-ifb-title,
.uagb-block-230d2cc2 .uagb-ifb-title * {
    color: #F5A623 !important;
}

/* ---- HOMEPAGE: strip all Astra container constraints ---- */
/* Let the .fast-page handle its own layout completely */
.page-id-25407 .ast-container,
.home .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}
.page-id-25407 #primary,
.home #primary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}
.page-id-25407 .ast-article-single,
.home .ast-article-single {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.page-id-25407 .entry-content,
.home .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}
