/*
Theme Name: Fitt-On
Theme URI: https://fitt-on.co.uk
Author: Alan Fitton
Author URI: https://fitt-on.co.uk
Description: Custom theme for Fitt-On Personal Training. Build. Believe. Become.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: fitt-on
*/

/* Homepage styles are included in front-page.php.
   Site-wide styles for other pages can be added below. */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #F5F5F5;
    background: #0A0A0A;
}

/* ── Shared components (nav, footer, sections, cards, buttons) ── */

/* ── Reset & base ── */
.fo-page * { box-sizing: border-box; margin: 0; padding: 0; }
.fo-page { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.7; color: #F5F5F5; background: #0A0A0A; }

/* ── Nav ── */
.fo-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 32px; border-bottom: 1px solid #242424; background: #0A0A0A; position: sticky; top: 0; z-index: 100; }
.fo-nav-logo { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: #F5F5F5; text-decoration: none; }
.fo-nav-links { display: flex; gap: 28px; }
.fo-nav-links a { font-size: 14px; color: #A3A3A3; text-decoration: none; transition: color .2s; }
.fo-nav-links a:hover { color: #7B2FE0; }
.fo-nav-cta { font-size: 14px; font-weight: 600; padding: 10px 22px; border-radius: 8px; background: #7B2FE0; color: #fff; border: none; cursor: pointer; text-decoration: none; transition: background .2s; }
.fo-nav-cta:hover { background: #9050F0; color: #fff; }
.fo-hamburger { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: #F5F5F5; }

/* ── Hero ── */
.fo-hero { background: #131313; padding: 80px 32px 64px; text-align: center; border-bottom: 1px solid #242424; }
.fo-tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; background: #EDE3FC; color: #5E1FB8; margin-bottom: 20px; }
.fo-hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; color: #F5F5F5; }
.fo-hero h1 span { color: #7B2FE0; }
.fo-hero p { font-size: 18px; color: #A3A3A3; max-width: 520px; margin: 0 auto 32px; }
.fo-btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.fo-btn-main { font-size: 15px; font-weight: 600; padding: 14px 30px; border-radius: 8px; background: #7B2FE0; color: #fff; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: background .2s; }
.fo-btn-main:hover { background: #9050F0; color: #fff; }
.fo-btn-ghost { font-size: 15px; font-weight: 600; padding: 14px 30px; border-radius: 8px; background: transparent; color: #F5F5F5; border: 1.5px solid #3A3A3A; cursor: pointer; text-decoration: none; display: inline-block; transition: border-color .2s; }
.fo-btn-ghost:hover { border-color: #7B2FE0; color: #7B2FE0; }

/* ── Stats bar ── */
.fo-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #242424; }
.fo-stat { padding: 28px 16px; text-align: center; border-right: 1px solid #242424; }
.fo-stat:last-child { border-right: none; }
.fo-stat-num { font-size: 28px; font-weight: 800; color: #7B2FE0; }
.fo-stat-label { font-size: 13px; color: #8A8A8A; margin-top: 4px; }

/* ── Sections ── */
.fo-section { padding: 64px 32px; max-width: 1100px; margin: 0 auto; }
.fo-section-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #7B2FE0; margin-bottom: 8px; }
.fo-section-title { font-size: 32px; font-weight: 700; color: #F5F5F5; margin-bottom: 8px; }
.fo-section-sub { font-size: 16px; color: #A3A3A3; margin-bottom: 36px; }
.fo-section-divider { border: none; border-top: 1px solid #242424; margin: 0; }

/* ── Service cards ── */
.fo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.fo-card { background: #141414; border: 1px solid #242424; border-radius: 12px; padding: 24px; transition: border-color .2s, transform .2s; }
.fo-card:hover { border-color: #7B2FE0; transform: translateY(-2px); }
.fo-card-icon { font-size: 28px; margin-bottom: 14px; }
.fo-card-title { font-size: 16px; font-weight: 700; color: #F5F5F5; margin-bottom: 8px; }
.fo-card-desc { font-size: 14px; color: #A3A3A3; line-height: 1.6; }
.fo-card-link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 600; color: #7B2FE0; text-decoration: none; }
.fo-card-link:hover { text-decoration: underline; }

/* ── Testimonials ── */
.fo-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.fo-tcard { background: #131313; border-radius: 12px; padding: 24px; }
.fo-tcard-quote { font-size: 14px; color: #CFCFCF; line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.fo-tcard-quote::before { content: '\201C'; font-size: 32px; color: #7B2FE0; line-height: 0; vertical-align: -12px; margin-right: 4px; }
.fo-tcard-name { font-size: 13px; font-weight: 600; color: #B8B8B8; }
.fo-tcard-result { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #EDE3FC; color: #5E1FB8; margin-top: 8px; }

/* ── How it works ── */
.fo-steps { display: flex; flex-direction: column; gap: 0; border: 1px solid #242424; border-radius: 12px; overflow: hidden; }
.fo-step { display: flex; gap: 20px; padding: 24px; border-bottom: 1px solid #242424; align-items: flex-start; }
.fo-step:last-child { border-bottom: none; }
.fo-step-num { font-size: 22px; font-weight: 800; color: #7B2FE0; min-width: 32px; }
.fo-step-title { font-size: 15px; font-weight: 700; color: #F5F5F5; margin-bottom: 4px; }
.fo-step-desc { font-size: 14px; color: #A3A3A3; line-height: 1.6; }

/* ── About strip ── */
.fo-about-strip { background: #131313; border-top: 1px solid #242424; border-bottom: 1px solid #242424; }
.fo-about-inner { max-width: 1100px; margin: 0 auto; padding: 64px 32px; display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.fo-about-avatar { width: 120px; height: 120px; border-radius: 50%; background: #7B2FE0; display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; color: #fff; flex-shrink: 0; }
.fo-about-text h2 { font-size: 24px; font-weight: 700; margin-bottom: 10px; color: #F5F5F5; }
.fo-about-text p { font-size: 15px; color: #A3A3A3; line-height: 1.7; max-width: 560px; }

/* ── CTA band ── */
.fo-cta-band { background: #7B2FE0; padding: 64px 32px; text-align: center; }
.fo-cta-band h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.fo-cta-band p { font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.fo-btn-white { font-size: 15px; font-weight: 700; padding: 14px 32px; border-radius: 8px; background: #fff; color: #7B2FE0; border: none; cursor: pointer; text-decoration: none; display: inline-block; transition: background .2s; }
.fo-btn-white:hover { background: #EDE3FC; color: #5E1FB8; }

/* ── Footer ── */
.fo-footer { background: #0D0D0D; border-top: 1px solid #242424; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.fo-footer-logo { font-size: 16px; font-weight: 700; letter-spacing: 2px; color: #fff; }
.fo-footer-tagline { font-size: 12px; color: #888; margin-top: 2px; }
.fo-footer-contact { text-align: right; }
.fo-footer-contact a { font-size: 13px; color: #aaa; text-decoration: none; display: block; }
.fo-footer-contact a:hover { color: #7B2FE0; }
.fo-footer-copy { font-size: 12px; color: #666; margin-top: 4px; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .fo-nav-links { display: none; }
    .fo-hamburger { display: block; }
    .fo-nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: #0A0A0A; border-bottom: 1px solid #242424; padding: 16px 24px; gap: 16px; z-index: 99; }
    .fo-hero h1 { font-size: 32px; }
    .fo-hero p { font-size: 16px; }
    .fo-stats { grid-template-columns: 1fr; }
    .fo-stat { border-right: none; border-bottom: 1px solid #242424; }
    .fo-stat:last-child { border-bottom: none; }
    .fo-section { padding: 48px 20px; }
    .fo-about-inner { padding: 48px 20px; }
    .fo-cta-band h2 { font-size: 24px; }
    .fo-footer { flex-direction: column; text-align: center; }
    .fo-footer-contact { text-align: center; }
}

/* ── Inner pages ── */
.fo-page-hero { background: #131313; padding: 72px 32px 56px; text-align: center; border-bottom: 1px solid #242424; }
.fo-page-hero h1 { font-size: 40px; font-weight: 800; color: #F5F5F5; line-height: 1.15; margin-bottom: 12px; }
.fo-page-hero p { font-size: 17px; color: #A3A3A3; max-width: 560px; margin: 0 auto; }
.fo-prose { max-width: 760px; margin: 0 auto; padding: 56px 24px; }
.fo-prose h2 { font-size: 26px; font-weight: 700; color: #F5F5F5; margin: 40px 0 12px; }
.fo-prose h2:first-child { margin-top: 0; }
.fo-prose p { font-size: 16px; color: #C9C9C9; line-height: 1.8; margin-bottom: 16px; }
.fo-prose strong { color: #F5F5F5; }
.fo-prose a:not(.fo-btn-main):not(.fo-btn-white) { color: #7B2FE0; }
.fo-quote-band { border-left: 4px solid #7B2FE0; background: #131313; border-radius: 0 12px 12px 0; padding: 20px 24px; margin: 28px 0; font-size: 18px; color: #F5F5F5; font-style: italic; line-height: 1.6; }

/* ── Pricing tiers ── */
.fo-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 28px 0; }
.fo-tier { background: #141414; border: 1px solid #262626; border-radius: 12px; padding: 28px 24px; transition: border-color .2s, transform .2s; }
.fo-tier:hover { border-color: #7B2FE0; transform: translateY(-2px); }
.fo-tier.featured { border-color: #7B2FE0; position: relative; }
.fo-tier-badge { position: absolute; top: -12px; left: 24px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: #7B2FE0; color: #fff; padding: 4px 12px; border-radius: 20px; }
.fo-tier-name { font-size: 14px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #7B2FE0; }
.fo-tier-price { font-size: 32px; font-weight: 800; color: #F5F5F5; margin: 8px 0 4px; }
.fo-tier-price span { font-size: 14px; font-weight: 600; color: #8A8A8A; }
.fo-tier-desc { font-size: 14px; color: #A3A3A3; line-height: 1.7; margin-top: 12px; }
.fo-tier ul { list-style: none; margin: 16px 0 0; padding: 0; }
.fo-tier ul li { font-size: 14px; color: #C9C9C9; padding: 6px 0 6px 26px; position: relative; line-height: 1.5; }
.fo-tier ul li::before { content: '✓'; position: absolute; left: 0; color: #7B2FE0; font-weight: 800; }

/* ── FAQ ── */
.fo-faq { border: 1px solid #242424; border-radius: 12px; overflow: hidden; margin: 24px 0; }
.fo-faq-item { border-bottom: 1px solid #242424; padding: 20px 24px; }
.fo-faq-item:last-child { border-bottom: none; }
.fo-faq-q { font-size: 16px; font-weight: 700; color: #F5F5F5; margin-bottom: 8px; }
.fo-faq-a { font-size: 15px; color: #A3A3A3; line-height: 1.7; }

/* ── Contact blocks ── */
.fo-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 28px 0; }
.fo-contact-card { background: #141414; border: 1px solid #262626; border-radius: 12px; padding: 24px; text-align: center; }
.fo-contact-card .fo-card-icon { font-size: 30px; margin-bottom: 10px; }
.fo-contact-card h3 { font-size: 15px; font-weight: 700; color: #F5F5F5; margin-bottom: 6px; }
.fo-contact-card a { font-size: 15px; color: #7B2FE0; text-decoration: none; font-weight: 600; word-break: break-word; }
.fo-contact-card a:hover { text-decoration: underline; }
.fo-contact-card p { font-size: 13px; color: #8A8A8A; margin-top: 6px; }

/* ── Results page ── */
.fo-result-story { background: #141414; border: 1px solid #262626; border-radius: 12px; padding: 32px 28px; margin: 24px 0; }
.fo-result-story h2 { margin-top: 0; }
.fo-result-meta { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; background: rgba(123,47,224,0.18); color: #C4A5FF; margin-bottom: 14px; }

@media (max-width: 768px) {
    .fo-page-hero h1 { font-size: 30px; }
    .fo-prose { padding: 40px 20px; }
}

