/*
Theme Name: Pulse Starter
Theme URI: https://badtrainersites.com
Author: BadTrainerSites
Author URI: https://badtrainersites.com
Description: The complete personal trainer website solution. Built for fitness professionals who want to look professional and book more clients.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
License URI: https://badtrainersites.com/terms
Text Domain: pulse-starter
Tags: fitness, personal-trainer, one-page, custom-colors, custom-logo

Pulse Starter — Your complete trainer website, ready in minutes.
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Brand Colors (overridden by wizard settings) */
    --pulse-primary: #c8ff00;
    --pulse-primary-dark: #a8d600;
    --pulse-primary-light: rgba(200, 255, 0, 0.1);
    --pulse-secondary: #0a0f1a;
    --pulse-accent: #c8ff00;

    /* Neutral Palette */
    --pulse-bg-dark: #0a0f1a;
    --pulse-bg-card: rgba(255, 255, 255, 0.04);
    --pulse-border: rgba(255, 255, 255, 0.08);
    --pulse-border-hover: rgba(255, 255, 255, 0.15);
    --pulse-text: #ffffff;
    --pulse-text-muted: rgba(255, 255, 255, 0.6);
    --pulse-text-subtle: rgba(255, 255, 255, 0.4);

    /* Typography */
    --pulse-font-heading: 'Inter', sans-serif;
    --pulse-font-body: 'Inter', sans-serif;

    /* Spacing */
    --pulse-space-1: 4px;
    --pulse-space-2: 8px;
    --pulse-space-3: 12px;
    --pulse-space-4: 16px;
    --pulse-space-5: 20px;
    --pulse-space-6: 24px;
    --pulse-space-8: 32px;
    --pulse-space-10: 40px;
    --pulse-space-12: 48px;
    --pulse-space-16: 64px;

    /* Radius */
    --pulse-radius-sm: 6px;
    --pulse-radius-md: 8px;
    --pulse-radius-lg: 12px;
    --pulse-radius-xl: 16px;
    --pulse-radius-2xl: 24px;
    --pulse-radius-full: 9999px;

    /* Transitions */
    --pulse-transition: 0.2s ease;
    --pulse-transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--pulse-font-body);
    background: var(--pulse-bg-dark);
    color: var(--pulse-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.pulse-light {
    --pulse-bg-dark: #ffffff;
    --pulse-bg-card: rgba(0, 0, 0, 0.03);
    --pulse-border: rgba(0, 0, 0, 0.08);
    --pulse-border-hover: rgba(0, 0, 0, 0.15);
    --pulse-text: #1a1a2e;
    --pulse-text-muted: rgba(0, 0, 0, 0.6);
    --pulse-text-subtle: rgba(0, 0, 0, 0.4);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--pulse-font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--pulse-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   LAYOUT
   ============================================ */
.p-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.p-section {
    padding: 100px 0;
    position: relative;
}

/* ============================================
   NAVIGATION
   ============================================ */
.p-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--pulse-transition-slow);
}

.p-nav.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--pulse-border);
}

.p-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.p-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--pulse-text);
}

.p-nav-logo img {
    height: 50px;
    width: auto;
    max-height: 50px;
}

.p-nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.p-nav-menu a {
    padding: 8px 16px;
    border-radius: var(--pulse-radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--pulse-text-muted);
    transition: var(--pulse-transition);
}

.p-nav-menu a:hover,
.p-nav-menu a.active {
    color: var(--pulse-text);
    background: rgba(255, 255, 255, 0.06);
}

.p-nav-cta {
    background: var(--pulse-primary) !important;
    color: #000 !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
}

.p-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 255, 0, 0.3);
}

.p-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--pulse-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   BUTTONS
   ============================================ */
.p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--pulse-radius-full);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.p-btn-primary {
    background: linear-gradient(135deg, var(--pulse-primary), var(--pulse-primary-dark));
    color: #000;
    box-shadow: 0 8px 32px rgba(200, 255, 0, 0.25);
}

.p-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(200, 255, 0, 0.4);
    color: #000;
}

.p-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--pulse-text);
    border: 1px solid var(--pulse-border);
    backdrop-filter: blur(10px);
}

.p-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--pulse-border-hover);
    color: var(--pulse-text);
}

/* ============================================
   GLASS CARDS
   ============================================ */
.p-glass {
    background: var(--pulse-bg-card);
    border: 1px solid var(--pulse-border);
    border-radius: var(--pulse-radius-xl);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px;
    transition: var(--pulse-transition);
}

.p-glass:hover {
    border-color: var(--pulse-border-hover);
    background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.p-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 255, 0, 0.1);
    color: var(--pulse-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: var(--pulse-radius-full);
    border: 1px solid rgba(200, 255, 0, 0.2);
    margin-bottom: 24px;
}

.p-section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.p-section-subtitle {
    font-size: 1.15rem;
    color: var(--pulse-text-muted);
    max-width: 600px;
}

.p-text-center {
    text-align: center;
}

.p-text-center .p-section-subtitle {
    margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.p-footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--pulse-border);
    padding: 60px 0 30px;
}

.p-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.p-footer-brand {
    max-width: 300px;
}

.p-footer-brand p {
    color: var(--pulse-text-muted);
    margin-top: 16px;
    line-height: 1.7;
}

.p-footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pulse-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.p-footer-col a {
    display: block;
    color: var(--pulse-text-muted);
    padding: 6px 0;
    font-size: 0.95rem;
}

.p-footer-col a:hover {
    color: var(--pulse-text);
    padding-left: 4px;
}

.p-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--pulse-border);
    color: var(--pulse-text-subtle);
    font-size: 0.875rem;
}

.p-footer-social {
    display: flex;
    gap: 16px;
}

.p-footer-social a {
    color: var(--pulse-text-muted);
    font-size: 1.2rem;
}

.p-footer-social a:hover {
    color: var(--pulse-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .p-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .p-nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 15, 26, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid var(--pulse-border);
    }

    .p-nav-menu.active {
        display: flex;
    }

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

    .p-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .p-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .p-section {
        padding: 60px 0;
    }
}
