/*
Theme Name: AOFIT - Atom Olson Fitness
Theme URI: https://atomolsonfitness.com
Author: Atom Olson Fitness LLC
Author URI: https://atomolsonfitness.com
Description: Custom WordPress theme for Atom Olson Fitness LLC — a personal training and fitness facility in Hulmeville, PA. Features bold dark design, service showcases, challenge pages, booking integration, and pricing tables.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aofit
Tags: fitness, dark, custom-menu, custom-logo, featured-images, one-column, two-columns

ATOM OLSON FITNESS - Unleash Your Strength. Build Confidence. Train With Purpose.
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arsenal', 'Open Sans', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Arial Black', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* ============================================
   COLOR VARIABLES
   ============================================ */

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #ff6b35;
    --accent: #f4a261;
    --dark: #0a0a0a;
    --dark-surface: #141414;
    --dark-card: #1a1a1a;
    --dark-border: #2a2a2a;
    --text-light: #f5f5f5;
    --text-muted: #a0a0a0;
    --text-dim: #707070;
    --white: #ffffff;
    --overlay: rgba(0, 0, 0, 0.7);
    --overlay-heavy: rgba(0, 0, 0, 0.85);
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(180deg, var(--dark) 0%, var(--dark-surface) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(230, 57, 70, 0.3);
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: transform var(--transition);
}

.site-logo:hover img {
    transform: scale(1.05);
}

/* Main Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    position: relative;
    transition: color var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--primary);
}

.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after {
    transform: scaleX(1);
}

/* Dropdown Menus */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
}

.main-nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu a {
    padding: 12px 20px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--dark-border);
}

.main-nav .sub-menu li:last-child a {
    border-bottom: none;
}

.main-nav li {
    position: relative;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10000;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    position: relative;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Header CTA Button */
.header-cta .btn-primary {
    font-size: 0.85rem;
    padding: 10px 24px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.btn-small {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-subtitle {
    font-family: 'Arsenal', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.4s;
}

.hero h1 span {
    display: block;
    color: var(--primary);
}

.hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.8s;
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services-section {
    background: var(--dark-surface);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.section-header .accent-line {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 20px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 6px;
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50%;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.service-card .btn {
    margin-top: 20px;
}

/* ============================================
   ABOUT / CTA SECTION
   ============================================ */

.about-section {
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 6px;
    transform: translate(15px, 15px);
    z-index: -1;
}

.about-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5px;
}

/* CTA Banner */
.cta-banner {
    background: var(--gradient-primary);
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-bg.jpg') center/cover;
    opacity: 0.15;
}

.cta-banner .container {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-banner .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-banner .btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   PRICING SECTION
   ============================================ */

.pricing-section {
    background: var(--dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 6px 20px;
    border-radius: 0 0 4px 4px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 10px;
}

.pricing-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin: 20px 0 5px;
}

.pricing-amount span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-border);
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ============================================
   TRAINERS SECTION
   ============================================ */

.trainers-section {
    background: var(--dark);
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.trainer-card {
    background: var(--dark-card);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.trainer-photo {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-photo img {
    transform: scale(1.08);
}

.trainer-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-surface);
    color: var(--text-muted);
}

.trainer-photo-placeholder svg {
    width: 60px;
    height: 60px;
    opacity: 0.4;
}

/* Hover overlay */
.trainer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

.trainer-overlay .trainer-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.trainer-overlay .trainer-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 280px;
}

.trainer-overlay .trainer-bio p {
    margin-bottom: 8px;
}

.trainer-overlay .trainer-bio a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.trainer-overlay .trainer-bio a:hover {
    color: var(--white);
}

.trainer-overlay .trainer-bio strong {
    color: var(--white);
    font-weight: 700;
}

.trainer-overlay .trainer-bio em {
    font-style: italic;
}

.trainer-overlay .trainer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 5px;
}

.trainer-overlay .trainer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    transition: background 0.3s ease, transform 0.3s ease;
}

.trainer-overlay .trainer-social a:hover {
    background: var(--primary);
    transform: scale(1.15);
}

/* Name below image */
.trainer-info {
    padding: 20px 15px;
}

.trainer-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    color: var(--white);
}

/* Mobile: tap to reveal */
@media (pointer: coarse) {
    .trainer-overlay {
        transition: opacity 0.3s ease;
    }
}

/* ============================================
   CHALLENGES SECTION
   ============================================ */

.challenges-section {
    background: var(--dark-surface);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.challenge-card {
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    transition: all var(--transition);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

.challenge-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.challenge-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.challenge-card:hover .challenge-image img {
    transform: scale(1.05);
}

.challenge-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    padding: 5px 15px;
    border-radius: 3px;
}

.challenge-content {
    padding: 25px;
}

.challenge-content h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 10px;
}

.challenge-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.challenge-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.challenge-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   BOOK ONLINE / SCHEDULE SECTION
   ============================================ */

.booking-section {
    background: var(--dark);
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.schedule-table th,
.schedule-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
}

.schedule-table th {
    background: var(--dark-card);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-size: 0.9rem;
}

.schedule-table td {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.schedule-table tr:hover td {
    background: rgba(230, 57, 70, 0.05);
    color: var(--white);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 4px;
}

.hours-day {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.05em;
}

.hours-time {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: var(--dark-surface);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.2rem;
    transition: all var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 5px;
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 18px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 4px;
    color: var(--text-light);
    font-family: 'Arsenal', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form ::placeholder {
    color: var(--text-dim);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--dark);
    border-top: 1px solid var(--dark-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-brand .footer-logo img {
    height: 45px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 350px;
}

.footer-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact li svg,
.footer-contact li i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin: 0;
}

/* ============================================
   PAGE HEADERS (Interior Pages)
   ============================================ */

.page-header {
    background: var(--dark-surface);
    padding: 140px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), transparent);
}

.page-header h1 {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    position: relative;
    z-index: 1;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-dim);
}

.page-header .breadcrumb a {
    color: var(--text-muted);
}

.page-header .breadcrumb a:hover {
    color: var(--primary);
}

.page-header .breadcrumb .separator {
    margin: 0 8px;
}

/* ============================================
   BLOG / POST STYLES
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.post-thumbnail {
    height: 220px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
}

.post-card-content h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 10px;
}

.post-card-content h3 a:hover {
    color: var(--primary);
}

.post-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.post-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Single Post */
.single-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.single-post-content h2 {
    margin: 40px 0 20px;
}

.single-post-content p {
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.single-post-content img {
    border-radius: 6px;
    margin: 30px 0;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar .widget {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar .widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   WORDPRESS CORE CLASSES
   ============================================ */

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 8px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* ============================================
   MOBILE STICKY CTA BAR
   ============================================ */

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    padding: 10px 15px;
    gap: 10px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-cta-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.mobile-cta-bar .mobile-cta-call {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.mobile-cta-bar .mobile-cta-book {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   TOUCH-FRIENDLY ENHANCEMENTS
   ============================================ */

@media (pointer: coarse) {
    /* Larger tap targets for touch screens */
    .main-nav a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .social-links a {
        width: 48px;
        height: 48px;
    }

    .footer-links a {
        padding: 6px 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .contact-item a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Disable hover transforms on touch (they cause sticky hover) */
    .service-card:hover,
    .challenge-card:hover,
    .post-card:hover,
    .pricing-card:hover {
        transform: none;
    }

    .service-card:active,
    .challenge-card:active,
    .post-card:active,
    .pricing-card:active {
        transform: scale(0.98);
    }
}

/* ============================================
   RESPONSIVE: TABLET (1024px)
   ============================================ */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .hours-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE: MOBILE (768px)
   ============================================ */

@media (max-width: 768px) {
    /* Remove backdrop-filter so position:fixed nav isn't trapped in header stacking context */
    .site-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* Mobile CTA bar visible */
    .mobile-cta-bar {
        display: flex;
    }

    /* Bottom padding so content isn't hidden behind sticky bar */
    body {
        padding-bottom: 70px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        height: 100dvh;
        background: #2a2a2a;
        padding: 80px 30px 30px;
        transition: right var(--transition);
        border-left: 1px solid var(--dark-border);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 9999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 16px 0;
        font-size: 1.1rem;
        color: #e0e0e0;
        border-bottom: 1px solid #333;
    }

    .main-nav a::after {
        display: none;
    }

    .main-nav .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .header-cta {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 85vh;
        min-height: 85dvh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }

    .hero-tagline {
        font-size: 0.95rem;
        letter-spacing: 0.08em;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 10px;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    .section-padding {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Services - single column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
    }

    /* Trainers - single column */
    .trainers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .trainer-photo {
        height: 250px;
    }

    /* Challenges - single column */
    .challenges-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .challenge-image {
        height: 200px;
    }

    /* Pricing - single column */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-amount {
        font-size: 3rem;
    }

    /* About */
    .about-image::after {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    /* Form inputs: 16px prevents iOS zoom on focus */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px;
        padding: 16px;
    }

    /* Hours - single column */
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hours-item {
        padding: 12px 16px;
    }

    /* Schedule table horizontal scroll */
    .schedule-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Page headers */
    .page-header {
        padding: 120px 0 40px;
    }

    /* CTA Banner */
    .cta-banner {
        padding: 50px 15px;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .post-thumbnail {
        height: 180px;
    }

    /* Single post */
    .single-post-content {
        padding: 40px 15px;
    }

    /* Embedded booking widgets */
    .booking-widget-area iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Map */
    .contact-section iframe {
        height: 200px;
    }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE (480px)
   ============================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.25rem; }

    .btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        width: 100%;
    }

    .btn-large {
        padding: 16px 28px;
        font-size: 0.95rem;
    }

    .btn-small {
        width: auto;
    }

    .hero {
        min-height: 80vh;
        min-height: 80dvh;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .service-card {
        padding: 25px 15px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 25px 15px;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .challenge-content {
        padding: 20px 15px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-item {
        gap: 12px;
    }

    .page-header {
        padding: 110px 0 30px;
    }

    .footer-main {
        gap: 25px;
        padding: 40px 0 30px;
    }

    .mobile-cta-bar {
        padding: 8px 12px;
    }

    .mobile-cta-bar a {
        padding: 11px 8px;
        font-size: 0.8rem;
    }

    /* Prevent horizontal overflow (exclude .site-header so mobile nav isn't clipped) */
    .hero,
    section,
    .site-footer {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* ============================================
   RESPONSIVE: LANDSCAPE PHONES
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 80px 20px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: row;
    }

    .hero-buttons .btn {
        width: auto;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--white); }
.bg-dark { background: var(--dark); }
.bg-surface { background: var(--dark-surface); }
.bg-card { background: var(--dark-card); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.py-1 { padding-top: 10px; padding-bottom: 10px; }
.py-2 { padding-top: 20px; padding-bottom: 20px; }
.py-3 { padding-top: 30px; padding-bottom: 30px; }
.hidden { display: none; }

/* Mobile nav overlay — inside header stacking context, below nav (9999) but above page content */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.nav-overlay.active {
    display: block;
}
