/*
Theme Name: Anytime Fitness Pushkar Enclave
Theme URI: https://anytimefitnesspushkarenclave.com
Author: Avirash
Author URI: http://avirash.com/
Description: Premium gym & fitness theme for Anytime Fitness Pushkar Enclave. Black color scheme, Elementor widgets for every section. Build your gym website with classes, trainers, memberships, gallery, schedule, and more.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: anytime-fitness
Tags: fitness, gym, sports, health, custom-menu, featured-images, full-width-template, theme-options, translation-ready, custom-colors, elementor

Anytime Fitness Pushkar Enclave - Premium gym website theme with black aesthetic.
Developed by Avirash - http://avirash.com/
*/

/* ============================================
   CSS Variables - Gym Black Theme
   ============================================ */
:root {
    --gym-black: #0a0a0a;
    --gym-dark: #111111;
    --gym-darker: #1a1a1a;
    --gym-gray: #252525;
    --gym-gray-light: #3a3a3a;
    --gym-accent: #c9a227;
    --gym-accent-hover: #e0b83d;
    --gym-red: #e63946;
    --gym-red-hover: #ff4d5a;
    --text-white: #ffffff;
    --text-muted: #b0b0b0;
    --text-light: #888888;
    --bg-light: #0f0f0f;
    --border-dark: #2a2a2a;
    --shadow: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.5);
    --transition: all 0.3s ease;
    --container: 1200px;
}

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

body, html {
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    font-family: 'Oswald', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-white);
    background-color: var(--gym-black);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--gym-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gym-accent-hover);
}

/* ============================================
   Layout
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Header - Gym Style
   ============================================ */
.af-header {
    background: var(--gym-dark);
    border-bottom: 2px solid var(--gym-accent);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.af-header-top {
    background: var(--gym-darker);
    color: var(--text-muted);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.af-header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.af-header-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.af-header-top a {
    color: var(--text-muted);
}

.af-header-top a:hover {
    color: var(--gym-accent);
}

.af-header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.af-logo-link {
    display: inline-block;
}

.af-logo,
.af-branding .custom-logo {
    max-height: 50px;
    width: auto;
}

.af-branding .custom-logo-link {
    display: inline-block;
}

.af-site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.af-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.af-nav a {
    color: var(--text-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
}

.af-nav a:hover,
.af-nav a.active {
    color: var(--gym-accent);
}

.af-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gym-accent);
    transition: var(--transition);
}

.af-nav a:hover::after,
.af-nav a.active::after {
    width: 100%;
}

.af-mobile-toggle {
    display: none;
    background: var(--gym-gray);
    border: 2px solid var(--gym-accent);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1.25rem;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .af-mobile-toggle { display: block; }
    .af-nav { display: none; }
    .af-nav.open { display: block; width: 100%; }
    .af-nav.open ul { flex-direction: column; gap: 0; }
    .af-nav.open a { display: block; padding: 1rem; border-bottom: 1px solid var(--border-dark); }
}

/* ============================================
   Buttons - Gym Style
   ============================================ */
.af-btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1rem;
}

.af-btn-primary {
    background: var(--gym-accent);
    color: var(--gym-black);
}

.af-btn-primary:hover {
    background: var(--gym-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.af-btn-outline:hover {
    background: var(--gym-accent);
    color: var(--gym-black);
}

.af-btn-red {
    background: var(--gym-red);
    color: var(--text-white);
}

.af-btn-red:hover {
    background: var(--gym-red-hover);
    transform: translateY(-2px);
}

/* ============================================
   Section Titles
   ============================================ */
.af-section {
    padding: 80px 20px;
    background: var(--gym-black);
}

.af-section-alt {
    background: var(--gym-darker);
}

.af-section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.af-section-title .subtitle {
    color: var(--gym-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.af-section-title h2 {
    margin-bottom: 0.5rem;
}

.af-section-title p {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   Footer - Gym Style
   ============================================ */
.af-footer {
    background: var(--gym-darker);
    border-top: 2px solid var(--gym-accent);
    color: var(--text-muted);
}

.af-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
}

.af-footer h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gym-gray);
}

.af-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.af-footer li {
    margin-bottom: 0.5rem;
}

.af-footer a {
    color: var(--text-muted);
}

.af-footer a:hover {
    color: var(--gym-accent);
}

.af-footer-bottom {
    background: var(--gym-black);
    padding: 1.5rem 20px;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-dark);
}

.af-footer-bottom a {
    color: var(--gym-accent);
}

.af-footer-social {
    list-style: none;
    padding-left: 0;
}

.af-footer-no-social {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   Hero – Image & YouTube Video Background
   ============================================ */
.af-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.af-hero-video-wrap,
.af-hero-bg-image,
.af-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.af-hero-video-wrap {
    z-index: 0;
}

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

.af-hero-overlay {
    z-index: 1;
    background: var(--gym-black);
    pointer-events: none;
}

.af-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 20px;
}

.af-hero-title {
    color: #fff;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.af-hero-subtitle {
    color: var(--text-muted);
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.af-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* Video: hide on mobile when using image fallback */
.af-hero-mobile-hide { display: block; }

/* Image: show only on mobile when used as fallback */
.af-hero-mobile-only { display: none; }

@media (max-width: 767px) {
    .af-hero-mobile-hide { display: none !important; }
    .af-hero-mobile-only { display: block !important; }
    .af-hero-content { padding: 30px 16px; }
    .af-hero-buttons { flex-direction: column; align-items: center; }
    .af-hero-buttons .af-btn { width: 100%; max-width: 280px; text-align: center; }
}

/* ============================================
   Elementor Widget Base Styles (used by widgets)
   ============================================ */
.af-widget-about .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 768px) { .af-widget-about .about-grid { grid-template-columns: 1fr; } }
.af-widget-classes .classes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.af-widget-trainers .trainers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 2rem; }
.af-widget-pricing .pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.af-widget-gallery .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.af-widget-testimonials .testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.af-widget-schedule .schedule-table { width: 100%; border-collapse: collapse; }
.af-widget-schedule .schedule-table th, .af-widget-schedule .schedule-table td { padding: 1rem; border: 1px solid var(--border-dark); text-align: left; }
.af-widget-schedule .schedule-table th { background: var(--gym-gray); color: var(--gym-accent); }
.af-widget-facilities .facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.af-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.af-faq-item { border: 1px solid var(--border-dark); margin-bottom: 0.5rem; background: var(--gym-darker); }
.af-faq-q { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.af-faq-a { padding: 0 1.25rem 1rem; color: var(--text-muted); display: none; }
.af-faq-item.active .af-faq-a { display: block; }

@media (max-width: 768px) {
    .af-widget-about .about-grid { grid-template-columns: 1fr !important; }
    .af-contact-grid { grid-template-columns: 1fr !important; }
}
