/*
Theme Name:        Fitness Club
Theme URI:         https://fitnessclub.com
Author:            Fitness Club Team
Author URI:        https://fitnessclub.com
Description:       A complete gym management system built as a WordPress theme. Manage members, plans, billing, classes, trainers, bookings, notifications, reports, equipment and more — all from the WordPress Admin Dashboard. No plugin required.
Version:           1.0.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       fitness-club
Tags:              gym, fitness, sports, custom-menu, full-width-template, custom-colors, featured-images, theme-options, e-commerce
*/

/* ── CSS Variables ──────────────────────────────────────────────────────────── */
:root {
    --fc-primary:    #1A56A0;
    --fc-primary-dk: #133F7A;
    --fc-accent:     #E8700A;
    --fc-dark:       #111827;
    --fc-text:       #374151;
    --fc-muted:      #6B7280;
    --fc-border:     #E5E7EB;
    --fc-bg:         #F9FAFB;
    --fc-white:      #FFFFFF;
    --fc-green:      #1A7A4A;
    --fc-red:        #B91C1C;
    --fc-radius:     8px;
    --fc-shadow:     0 2px 16px rgba(0,0,0,.09);
    --fc-max-w:      1200px;
    --fc-font:       'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--fc-font); color: var(--fc-text); background: var(--fc-white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fc-primary); text-decoration: none; }
a:hover { color: var(--fc-primary-dk); text-decoration: underline; }

/* ── Container ───────────────────────────────────────────────────────────────── */
.fc-container { max-width: var(--fc-max-w); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.fc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
    border-radius: var(--fc-radius); font-weight: 700; font-size: 15px; cursor: pointer;
    border: 2px solid transparent; transition: all .2s ease; text-decoration: none !important;
    line-height: 1; }
.fc-btn-primary  { background: var(--fc-primary); color: #fff !important; }
.fc-btn-primary:hover { background: var(--fc-primary-dk); color: #fff !important; }
.fc-btn-accent   { background: var(--fc-accent); color: #fff !important; }
.fc-btn-accent:hover { background: #c4570a; color: #fff !important; }
.fc-btn-outline  { background: transparent; border-color: #fff; color: #fff !important; }
.fc-btn-outline:hover { background: #fff; color: var(--fc-primary) !important; }
.fc-btn-ghost    { background: transparent; border-color: var(--fc-border); color: var(--fc-text) !important; }
.fc-btn-ghost:hover { background: var(--fc-bg); }
.fc-btn-sm { padding: 8px 18px; font-size: 13px; }
.fc-btn-lg { padding: 16px 36px; font-size: 17px; }

/* ── Sections ────────────────────────────────────────────────────────────────── */
.fc-section { padding: 80px 0; }
.fc-section-alt { background: var(--fc-bg); }
.fc-section-dark { background: var(--fc-dark); color: #fff; }
.fc-section-label { display: inline-block; background: var(--fc-primary); color: #fff; font-size: 12px;
    font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 16px;
    border-radius: 20px; margin-bottom: 14px; }
.fc-section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--fc-dark);
    margin-bottom: 12px; line-height: 1.2; }
.fc-section-sub { font-size: 1.05rem; color: var(--fc-muted); margin-bottom: 48px; max-width: 600px; }
.fc-text-center { text-align: center; }
.fc-text-center .fc-section-sub { margin-left: auto; margin-right: auto; }

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.fc-card { background: #fff; border: 1px solid var(--fc-border); border-radius: var(--fc-radius);
    padding: 28px 24px; transition: box-shadow .2s, transform .2s; }
.fc-card:hover { box-shadow: var(--fc-shadow); transform: translateY(-2px); }
.fc-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.fc-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

/* ── Header ──────────────────────────────────────────────────────────────────── */
#fc-header { background: #fff; border-bottom: 1px solid var(--fc-border); position: sticky;
    top: 0; z-index: 1000; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.fc-header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.fc-logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.fc-logo-icon { width: 44px; height: 44px; flex-shrink: 0; }
.fc-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.fc-logo-name { font-size: 18px; font-weight: 900; color: var(--fc-primary); letter-spacing: -.5px; }
.fc-logo-tagline { font-size: 10px; font-weight: 600; color: var(--fc-accent);
    text-transform: uppercase; letter-spacing: 1.5px; }

/* ── Navigation ──────────────────────────────────────────────────────────────── */
#fc-nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
#fc-nav ul li a { padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: 14px;
    color: var(--fc-text) !important; text-decoration: none !important; transition: background .15s; }
#fc-nav ul li a:hover, #fc-nav ul li.current-menu-item > a
    { background: var(--fc-bg); color: var(--fc-primary) !important; }
#fc-nav ul li a.fc-nav-cta { background: var(--fc-primary); color: #fff !important; padding: 9px 20px; }
#fc-nav ul li a.fc-nav-cta:hover { background: var(--fc-primary-dk); }
.fc-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer;
    padding: 8px; background: none; border: none; }
.fc-hamburger span { display: block; width: 24px; height: 2px; background: var(--fc-dark);
    border-radius: 2px; transition: .3s; }

/* ── Hero ────────────────────────────────────────────────────────────────────── */
#fc-hero { background: linear-gradient(135deg, var(--fc-dark) 0%, #1a3a6b 100%);
    color: #fff; padding: 100px 0 80px; position: relative; overflow: hidden; }
#fc-hero::before { content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(26,86,160,.4) 0%, transparent 60%),
                radial-gradient(ellipse at 10% 80%, rgba(232,112,10,.2) 0%, transparent 50%); }
.fc-hero-inner { position: relative; max-width: 680px; }
.fc-hero-badge { display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,112,10,.15); color: #FFA44A; border: 1px solid rgba(232,112,10,.35);
    padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700;
    margin-bottom: 22px; letter-spacing: .4px; }
#fc-hero h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 900; line-height: 1.12;
    margin-bottom: 20px; }
#fc-hero h1 .accent { color: var(--fc-accent); }
.fc-hero-sub { font-size: 1.1rem; opacity: .8; margin-bottom: 38px; line-height: 1.75; }
.fc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.fc-hero-stats { display: flex; gap: 40px; margin-top: 60px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.fc-stat-num { font-size: 2rem; font-weight: 900; color: var(--fc-accent); line-height: 1; }
.fc-stat-lbl { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 4px; }

/* ── Feature cards ───────────────────────────────────────────────────────────── */
.fc-feature-icon { font-size: 2.4rem; margin-bottom: 14px; display: block; }
.fc-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--fc-dark); margin-bottom: 8px; }
.fc-card p { font-size: .9rem; color: var(--fc-muted); line-height: 1.65; }

/* ── Class cards ─────────────────────────────────────────────────────────────── */
.fc-class-card { background: #fff; border: 1px solid var(--fc-border); border-radius: var(--fc-radius);
    overflow: hidden; transition: box-shadow .2s; }
.fc-class-card:hover { box-shadow: var(--fc-shadow); }
.fc-class-header { padding: 18px 20px; font-weight: 800; font-size: 1.05rem; color: #fff; }
.fc-class-body { padding: 18px 20px; }
.fc-class-meta { display: flex; gap: 16px; font-size: 13px; color: var(--fc-muted); margin-bottom: 14px; }
.fc-badge { display: inline-block; background: var(--fc-bg); color: var(--fc-primary); font-size: 11px;
    font-weight: 700; padding: 3px 10px; border-radius: 10px; border: 1px solid var(--fc-border); }

/* ── Trainer cards ───────────────────────────────────────────────────────────── */
.fc-trainer-card { text-align: center; }
.fc-trainer-avatar { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
    object-fit: cover; border: 3px solid var(--fc-border); }
.fc-trainer-initials { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
    background: var(--fc-primary); color: #fff; font-size: 2rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center; }
.fc-trainer-card h3 { font-weight: 700; font-size: 1rem; color: var(--fc-dark); margin-bottom: 4px; }
.fc-trainer-role { font-size: 13px; color: var(--fc-muted); }

/* ── Pricing ─────────────────────────────────────────────────────────────────── */
.fc-price-card { background: #fff; border: 2px solid var(--fc-border); border-radius: var(--fc-radius);
    padding: 34px 28px; text-align: center; position: relative; transition: border-color .2s, box-shadow .2s; }
.fc-price-card.featured { border-color: var(--fc-primary); box-shadow: 0 8px 32px rgba(26,86,160,.14); }
.fc-price-card.featured::before { content: 'Most Popular'; position: absolute; top: -14px;
    left: 50%; transform: translateX(-50%); background: var(--fc-primary); color: #fff;
    font-size: 11px; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.fc-price-name { font-weight: 800; font-size: 1.1rem; color: var(--fc-dark); margin-bottom: 16px; }
.fc-price-amount { font-size: 2.8rem; font-weight: 900; color: var(--fc-primary); line-height: 1; }
.fc-price-period { font-size: 14px; color: var(--fc-muted); margin-bottom: 24px; }
.fc-price-features { list-style: none; text-align: left; margin-bottom: 28px; }
.fc-price-features li { padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--fc-border); }
.fc-price-features li::before { content: '✓  '; color: var(--fc-green); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
#fc-footer { background: var(--fc-dark); color: rgba(255,255,255,.65); padding: 60px 0 28px; }
.fc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
#fc-footer h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .8px; margin-bottom: 16px; }
#fc-footer ul { list-style: none; }
#fc-footer ul li { margin-bottom: 10px; }
#fc-footer ul li a { color: rgba(255,255,255,.55) !important; font-size: 14px; text-decoration: none;
    transition: color .15s; }
#fc-footer ul li a:hover { color: #fff !important; }
.fc-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; font-size: 13px; flex-wrap: wrap; gap: 12px; }
.fc-footer-brand p { font-size: 14px; line-height: 1.75; margin-top: 14px; max-width: 280px; }

/* ── Contact section ─────────────────────────────────────────────────────────── */
.fc-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.fc-form-field { margin-bottom: 18px; }
.fc-form-field label { display: block; font-weight: 600; font-size: 13px;
    margin-bottom: 6px; color: var(--fc-dark); }
.fc-form-field input, .fc-form-field textarea, .fc-form-field select
    { width: 100%; padding: 10px 14px; border: 1px solid var(--fc-border);
      border-radius: var(--fc-radius); font-size: 15px; font-family: var(--fc-font);
      transition: border-color .2s; background: #fff; color: var(--fc-text); }
.fc-form-field input:focus, .fc-form-field textarea:focus
    { outline: none; border-color: var(--fc-primary);
      box-shadow: 0 0 0 3px rgba(26,86,160,.1); }

/* ── WP Core Compatibility ───────────────────────────────────────────────────── */
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 20px auto; }
.wp-block-image { margin: 24px 0; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); height: 1px; overflow: hidden; position: absolute; width: 1px; }

/* ── Page content ────────────────────────────────────────────────────────────── */
.fc-page-wrap { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.fc-page-title { font-size: 2rem; font-weight: 800; color: var(--fc-dark); margin-bottom: 24px; }
.fc-page-content h2, .fc-page-content h3 { color: var(--fc-dark); font-weight: 700; margin: 24px 0 10px; }
.fc-page-content p { margin-bottom: 16px; line-height: 1.8; }
.fc-page-content ul, .fc-page-content ol { margin: 16px 0 16px 24px; }
.fc-page-content li { margin-bottom: 6px; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .fc-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .fc-contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .fc-footer-grid { grid-template-columns: 1fr; }
    #fc-nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--fc-border);
        padding: 16px 24px; box-shadow: var(--fc-shadow); }
    #fc-nav.open { display: block; }
    #fc-nav ul { flex-direction: column; gap: 4px; }
    .fc-hamburger { display: flex; }
    .fc-hero-stats { gap: 24px; }
    .fc-section { padding: 56px 0; }
    .fc-hero-btns { flex-direction: column; }
    .fc-hero-btns .fc-btn { text-align: center; justify-content: center; }
}
