/*
Theme Name: Neon Gym Pro
Theme URI: https://neongym.com
Author: Neon Creative
Description: A futuristic, premium dark WordPress theme for gyms and fitness brands.
Version: 1.0.0
Text Domain: neon-gym-pro
*/

:root {
    --bg-dark: #06070c;
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-neon: #00e5ff;
    --secondary-neon: #00ff9d;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-main: linear-gradient(135deg, var(--primary-neon), var(--secondary-neon));
    --container-width: 1200px;
}

/* --- Resets & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Ambient Glow */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 10s infinite alternate;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 { font-size: 3.5rem; text-shadow: 0 0 20px rgba(0, 229, 255, 0.5); }
h2 { font-size: 2.5rem; color: var(--primary-neon); }
a { text-decoration: none; transition: 0.3s; color: var(--text-main); }
p { margin-bottom: 1.5rem; color: var(--text-muted); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Components --- */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: var(--gradient-main);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn:hover { color: #000; border-color: transparent; box-shadow: 0 0 20px rgba(0, 229, 255, 0.4); }
.btn:hover::before { width: 100%; }

.btn-primary {
    background: var(--gradient-main);
    color: #000;
    border: none;
}
.btn-primary:hover { transform: translateY(-3px); }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.4s;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(6, 7, 12, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-main);
}
.logo span { color: var(--primary-neon); }

.main-navigation ul { display: flex; list-style: none; gap: 30px; }
.main-navigation a { font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.main-navigation a:hover { color: var(--primary-neon); text-shadow: 0 0 8px var(--primary-neon); }

.mobile-toggle { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* --- Hero Section --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}
.hero-content { max-width: 600px; z-index: 2; }
.hero-subtitle { color: var(--secondary-neon); font-weight: 700; text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 10px; }

/* --- Glass Cards (Features, Blog, Shop) --- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 4px;
    transition: 0.4s;
}

.glass-card:hover {
    border-color: var(--primary-neon);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.1);
    transform: translateY(-5px);
}

/* --- Sections --- */
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: -50px; position: relative; z-index: 10; }
.stat-box { text-align: center; background: #000; border: 1px solid var(--glass-border); padding: 40px 20px; }
.stat-number { display: block; font-size: 3rem; font-family: var(--font-heading); color: var(--secondary-neon); }
.stat-label { text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.feature-icon { font-size: 2.5rem; color: var(--primary-neon); margin-bottom: 20px; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; align-items: center; }
.price-card { position: relative; }
.price-card.popular { background: rgba(0, 229, 255, 0.05); border-color: var(--primary-neon); transform: scale(1.05); z-index: 5; }
.price { font-size: 3rem; font-family: var(--font-heading); margin: 20px 0; display: block; }
.price span { font-size: 1rem; color: var(--text-muted); }
.features-list { list-style: none; margin-bottom: 30px; text-align: left; }
.features-list li { padding: 10px 0; border-bottom: 1px solid var(--glass-border); }

/* --- WooCommerce Overrides --- */
.woocommerce ul.products li.product { background: var(--bg-card); border: 1px solid var(--glass-border); transition: 0.3s; padding: 20px; color: white; }
.woocommerce ul.products li.product:hover { border-color: var(--primary-neon); }
.woocommerce ul.products li.product h2 { font-size: 1.2rem; color: white; }
.woocommerce ul.products li.product .price { font-size: 1.2rem; color: var(--secondary-neon); }
.woocommerce span.onsale { background: var(--primary-neon); color: #000; }
.woocommerce a.button { background: transparent; border: 1px solid var(--primary-neon); color: var(--primary-neon); border-radius: 0; }
.woocommerce a.button:hover { background: var(--primary-neon); color: #000; }

/* --- Footer --- */
.site-footer { background: #020204; border-top: 1px solid var(--glass-border); padding: 80px 0 30px; margin-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: white; z-index: 100; box-shadow: 0 0 20px rgba(37, 211, 102, 0.5); }

/* --- Animations --- */
@keyframes pulseGlow { from { opacity: 0.5; } to { opacity: 0.8; } }

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .header-inner { flex-wrap: wrap; }
    .mobile-toggle { display: block; }
    .main-navigation { 
        display: none; width: 100%; position: absolute; top: 100%; left: 0; 
        background: rgba(6,7,12,0.95); backdrop-filter: blur(20px); padding: 20px; 
    }
    .main-navigation.active { display: block; }
    .main-navigation ul { flex-direction: column; text-align: center; }
    
    .stats-grid, .features-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr; }
    .stat-box { margin-bottom: 0; }
    .stats-grid { margin-top: 30px; }
    .price-card.popular { transform: scale(1); }
}