/* ReginaGymGuide.ca Styles - Regina.ca Color Palette */
:root {
    /* Regina.ca inspired palette */
    --primary: #2d7fbf;        /* Regina Blue */
    --primary-dark: #2d7fbf;   /* Dark Blue */
    --secondary: #b42b36;      /* Accent Red */
    --accent: #e88e48;         /* Orange accent */
    --light: #ecf5fa;          /* Light Blue BG */
    --dark: #1a5a8a;           /* Dark Blue text */
    --gray: #707070;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* 2026: Fluid typography with clamp() */
    --font-base: clamp(1rem, 2.5vw + 0.5rem, 1.25rem);
    --font-lg: clamp(1.25rem, 3vw + 0.5rem, 2rem);
    --font-xl: clamp(1.5rem, 4vw + 0.5rem, 3rem);
}

/* 2026: Global reset - CRITICAL for preventing overflow */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2026: Remove blue tap highlight on mobile - CRITICAL for premium feel */
*, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    /* 2026: Smooth scroll */
    scroll-behavior: smooth;
    /* FIX: Prevent horizontal scroll on mobile */
    overflow-x: hidden;
}

/* 2026: Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

/* Navigation - ELITE FITNESS BRAND STYLE */
.navbar {
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.98) 100%);
    box-shadow: 0 2px 20px rgba(0, 117, 186, 0.1);
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 117, 186, 0.1);
    transition: all 0.3s ease;
}

/* Transparent header mode (for hero pages) */
.navbar.transparent {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.navbar.transparent .nav-links a,
.navbar.transparent .logo-text,
.navbar.transparent .logo-domain {
    color: #fff;
}

.navbar.transparent .menu-toggle {
    color: #fff;
}

/* Header on scroll - solid background */
.navbar.scrolled {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 117, 186, 0.15);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .logo-text,
.navbar.scrolled .logo-domain {
    color: inherit;
}

/* Social Icons in Header */
.header-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 117, 186, 0.2);
}

@media (max-width: 1024px) {
    .header-social {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 117, 186, 0.1);
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.navbar.transparent .header-social a {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.navbar.transparent .header-social a:hover {
    background: #fff;
    color: var(--primary);
}

/* CTA Button in Nav */
.nav-cta {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%) !important;
    color: #1a1a2e !important;
    font-weight: 700 !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    margin-left: 0.5rem;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.nav-cta::after { display: none !important; }

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* DESKTOP ONLY: Center nav-links between logo and social */
@media (min-width: 1024px) {
    .nav-links {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Mobile: keep normal horizontal layout */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

/* ⚡ ELITE LOGO WITH GRADIENT & GLOW */
.logo {
    font-size: 1.65rem;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.5px;
}

/* Logo Image (new May 2026) */
.logo-img {
    height: 140px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        height: 100px;  /* Doubled for mobile - nice and visible! */
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

.logo-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6));
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.6)); }
    50% { filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.9)); }
}

.logo-text {
    background: linear-gradient(135deg, #2d7fbf 0%, #7acfe7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-domain {
    font-weight: 500;
    font-size: 0.7rem;
    color: #707070;
}

.logo-emoji {
    font-size: 1.3rem;
    margin: 0 0.1rem;
}

/* 🔥 SLIDING PILL NAV LINKS */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-links a {
    color: #1a5a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.7rem;
    padding: 0.625rem 1.125rem;
    border-radius: 8px;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* The sliding pill background */
.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2d7fbf 0%, #7acfe7 100%);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a span {
    position: relative;
    z-index: 1;
}

.nav-links a:hover::before,
.nav-links a:focus::before {
    opacity: 1;
}

.nav-links a:hover span,
.nav-links a:focus span {
    color: #ffffff;
}

.nav-links a:active {
    transform: scale(0.94);
    background: rgba(0, 117, 186, 0.1);
    transition: all 0.1s ease-out;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 0.625rem 0;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Mobile Logo - smaller but still cool */
    .logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 0.7rem;
    }
    
    .logo-emoji {
        font-size: 1rem;
    }
    
    .logo-domain {
        font-size: 0.7rem;
    }
    
    /* Mobile Nav - horizontal scroll if needed */
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.375rem;
        padding: 0 0.5rem;
    }
    
    .nav-links a {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    /* Hero adjustments */
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    
    .nav-links a {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff; /* Fallback for white text */
    padding: 6rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

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

.btn-green {
    background: #22c55e;
    color: #fff;
}

.btn-green:hover {
    background: #16a34a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--secondary);
    color: #ffffff; /* Fallback for white text */
}

.btn-primary:hover {
    background: #9a252d;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: #ffffff; /* Fallback for white text */
}

/* Sections */
section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-desc {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* Featured Gyms */
.featured-gyms {
    background: var(--light);
}

.gym-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.gym-card {
    background: var(--white);
    border-radius: 8px;
    padding: 0.3rem;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.3s;
    border-top: 3px solid var(--primary);
    min-height: auto;
}

.gym-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gym-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary);
    color: #ffffff; /* Fallback for white text */
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Quiz Match Results */
.match-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary);
}

.match-card.top-match {
    border-left-color: var(--secondary);
    background: linear-gradient(135deg, #fff 0%, #fef8f8 100%);
}

.match-rank {
    display: inline-block;
    background: var(--primary);
    color: #ffffff; /* Fallback for white text */
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.match-score {
    display: inline-block;
    background: var(--accent);
    color: #ffffff; /* Fallback for white text */
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.match-card h3 {
    margin: 1rem 0 0.5rem;
    color: var(--primary-dark);
}

.gym-tagline {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
    font-weight: 500;
}

.match-reasons {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.match-reasons li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.match-reasons li::before {
    content: "✓ ";
    color: var(--primary);
    font-weight: bold;
}

/* CENTER THE BUTTONS - Super Awesome! */
.match-cta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1.5rem;
}

.match-cta .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
}

/* Gold Claim Button */
.btn-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #1a1a1a;
    font-weight: 700;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #ffb800 0%, #ffa500 100%);
    transform: translateY(-2px);
}

/* Center buttons in gym cards */
.gym-card .btn {
    display: inline-block;
    width: auto;
    margin-top: 0.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
}

/* Learn More button - BIGGER and PROMINENT */
.gym-card .btn-primary {
    display: inline-block !important;
    width: auto !important;
    margin-top: 0.5rem !important;
    padding: 0.7rem 1.2rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4) !important;
    transform: scale(1.05);
}

.gym-card .btn-primary:hover {
    background: #9a2529 !important;
    transform: translateY(-2px) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.6) !important;
}

/* Visit Website button - SMALLER and SUBTLE */
.gym-card .btn-secondary {
    display: inline-block !important;
    width: auto !important;
    margin-top: 0.5rem !important;
    padding: 0.5rem 0.8rem !important;
    font-size: 0.75rem !important;
    opacity: 0.8;
}

/* Multiple badges container */
.gym-badges {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: flex-end;
    max-width: 55%;
}

.gym-badges .gym-badge {
    position: static;
    font-size: 0.5rem;
    padding: 0.1rem 0.3rem;
    white-space: nowrap;
}

/* Badge variants */
.badge-strength {
    background: #e74c3c;
}

.badge-unique {
    background: #9b59b6;
}

.badge-247 {
    background: #3498db;
}

.badge-budget {
    background: #27ae60;
}

.badge-community {
    background: #e67e22;
}

.badge-wellness {
    background: #1abc9c;
}

.badge-therapy {
    background: #f39c12;
}

.badge-group {
    background: #00cec9;
}

.gym-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.gym-tagline {
    color: var(--gray);
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.gym-details {
    margin: 0.5rem 0;
}

.gym-details p {
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 700;
    color: #333;
}

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, #2d7fbf 0%, #1a5a8a 100%);
    padding: 4rem 0;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #ffffff; /* Fallback for white text */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.step p {
    color: var(--white);
}

/* Why Us */
.why-us {
    background: linear-gradient(135deg, #e45946 0%, #f5a442 100%);
    padding: 4rem 0;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.benefit h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}


.benefit p {
    color: var(--gray);
    line-height: 1.6;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

/* Contact Form */
.contact {
    background: var(--white);
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: #ffffff; /* Fallback for white text */
    padding: 2rem 0;
    text-align: center;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ffffff; /* Fallback for white text */
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-links li {
        padding: 0.5rem 0;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem;
        background: var(--light);
        border-radius: 4px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .gym-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* SEO Hidden Text (for search engines) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff; /* Fallback for white text */
    padding: 4rem 0;
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: left;
}

.blog-card h2 a {
    color: var(--primary-dark);
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Post */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.blog-post .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
}

.blog-post h1 {
    font-size: 2.25rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.blog-post .meta {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.blog-post h2 {
    color: var(--primary-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-post h3 {
    color: var(--primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-post p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.blog-post ul, .blog-post ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.blog-post a {
    color: var(--primary);
    text-decoration: underline;
}

/* Blog Promo Section */
.blog-promo {
    background: linear-gradient(135deg, #2d7fbf 0%, #1a5a8a 100%);
    padding: 4rem 0;
}

.blog-promo h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.blog-promo .section-desc {
    text-align: center;
    color: var(--white);
    margin-bottom: 2rem;
}

/* Browse by Location Section */
.locations-section {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    overflow-x: hidden;
}

.locations-section .container {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.locations-section h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 1.8rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.locations-section .section-desc {
    color: var(--white);
    margin-bottom: 2rem;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.location-card {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 1rem 0.75rem !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: none !important;
    word-break: break-word;
    white-space: normal;
    min-height: 60px;
}

.location-card:hover {
    background: var(--accent) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-3px) !important;
}

@media (max-width: 768px) {
    .locations-section {
        padding: 2rem 0.5rem !important;
    }
    .locations-section h2 {
        font-size: 1.5rem !important;
    }
    .location-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.5rem !important;
    }
    .location-card {
        padding: 0.3rem 0.25rem !important;
        font-size: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .locations-section {
        padding: 1.5rem 0.25rem !important;
    }
    .locations-section h2 {
        font-size: 1.25rem !important;
    }
    .location-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .location-card {
        padding: 0.3rem 0.25rem !important;
        font-size: 0.8rem !important;
        text-align: center;
        min-height: 50px;
    }
}

/* No Gyms Message */
.no-gyms-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #ccc;
    margin: 2rem 0;
}

.no-gyms-message p {
    margin: 0.5rem 0;
    color: #666;
}

.no-gyms-message a {
    color: var(--primary);
    font-weight: 600;
}

.no-gyms-message strong {
    font-size: 1.25rem;
    color: #333;
}

@media (max-width: 768px) {
    .no-gyms-message {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    .no-gyms-message strong {
        font-size: 0.7rem;
    }
}

/* Why Choose Section */
.why-choose {
    background: var(--light);
    padding: 4rem 0;
}

.why-choose h2 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.why-choose ul {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
}

.why-choose li {
    padding: 1rem 1.5rem;
    margin-bottom: 0.75rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-size: 0.7rem;
}

.why-choose li strong {
    color: var(--primary);
}

/* Hero Small */
.hero-small {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4rem 0;
    text-align: center;
}

.hero-small h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-small .tagline {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero-small {
        padding: 2.5rem 0;
    }
    .hero-small h1 {
        font-size: 1.75rem;
    }
    .why-choose {
        padding: 2.5rem 0;
    }
    .why-choose li {
        font-size: 1rem;
        padding: 0.3rem 1rem;
    }
}

/* Additional gym badges */
.badge-classes {
    background: #e74c3c;
}

.badge-pt {
    background: #1abc9c;
}

.badge-cardio {
    background: #3498db;
}

/* Special Offer - Gold Tier Feature */
.special-offer {
    padding: 3rem 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.special-offer .offer-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.special-offer .offer-badge {
    display: inline-block;
    background: #f39c12;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.special-offer h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.special-offer p {
    color: #666;
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
}

.special-offer .btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none;
    padding: 1rem 2rem;
    font-size: 0.7rem;
}

/* FEATURED CATEGORY SECTIONS - Added May 19, 2026 */
.featured-category {
    padding: 4rem 0;
    border-bottom: 1px solid #eee;
}

.featured-category:nth-child(odd) {
    background: var(--light);
}

.featured-category h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.featured-category .section-desc {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 2rem;
}

.featured-category .view-all {
    text-align: center;
    margin-top: 2rem;
}

.featured-category .view-all .btn {
    display: inline-block;
    padding: 0.3rem 2rem;
}

/* Mobile Responsive for Category Sections */
@media (max-width: 768px) {
    .featured-category {
        padding: 2rem 0;
    }
    
    .featured-category h2 {
        font-size: 1.5rem;
    }
    
    .featured-category .section-desc {
        font-size: 1rem;
    }
    
    .gym-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gym-card {
        padding: 0.3rem;
    }
    
    /* Fix logo overlap on mobile - May 22, 2026.
       Excludes .gold-card because Gold cards have their own .card-logo
       rule that uses --logo-size (height-based, scales proportionally).
       For non-gold cards, also use the height-based approach now that
       gyms.html logos use --logo-size too. */
    .gym-card:not(.gold-card) img[src$=".png"] {
        width: auto !important;
        height: calc(var(--logo-size, 70px) * 0.78);
        bottom: 5px !important;
        right: 5px !important;
    }
    
    /* Make Visit Website button smaller on mobile so Learn More stands out */
    .gym-card .btn-secondary {
        font-size: 0.65rem !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .gym-card h3 {
        font-size: 0.7rem;
    }
    
    .gym-details p {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .featured-category h2 {
        font-size: 1.25rem;
    }
    
    .featured-category .view-all .btn {
        width: 100%;
        text-align: center;
    }
}

/* FEATURED GOLD HERO SECTION - Added May 19, 2026 */
.featured-gold-hero {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 4rem 0;
    color: white;
}

.featured-gold-hero .gold-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.featured-gold-hero h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3), 0 0 30px rgba(255,255,255,0.3);
    font-weight: 900;
    letter-spacing: 1px;
}

.featured-gold-hero .gold-header p {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.featured-gold-hero .gym-card {
    background: white;
    color: var(--dark);
    border-top: 4px solid #ffd700;
}

/* Gold hero card actions: stack buttons vertically with proper spacing.
   Mirrors the desktop rule but tuned for mobile sizing. */
.featured-gold-hero .gym-card .card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.featured-gold-hero .gym-card .card-actions .btn {
    width: 100%;
    text-align: center !important;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    margin-top: 0;
    transform: none;
}
.featured-gold-hero .gym-card .card-logo {
    display: block;
    width: auto;
    height: calc(var(--logo-size, 70px) * 0.78);
    margin: 0.75rem auto 0;
    border-radius: 6px;
    opacity: 0.9;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    position: static;
}

.featured-gold-hero .gym-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.featured-gold-hero .gold-cta {
    text-align: center;
    margin-top: 2rem;
    color: white;
}

.featured-gold-hero .gold-cta p {
    font-size: 0.7rem;
}

.featured-gold-hero .gold-cta a {
    color: #ffd700;
    font-weight: 700;
    text-decoration: underline;
}

.badge-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
    color: #333 !important;
    font-weight: 700 !important;
}

/* Gold Listing Tier badge — for gyms paying for Gold tier subscription.
   Visually distinct from .badge-gold (which is a category tag) with a
   darker border + "★" prefix feel. Used in finder.html results. */
.badge-listing-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%) !important;
    color: #1a1a1a !important;
    font-weight: 800 !important;
    border: 2px solid #b8860b !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-gold {
    background: #ffd700;
    color: #333;
    padding: 0.3rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    margin-left: 0.5rem;
}

.btn-gold:hover {
    background: #ffaa00;
    transform: scale(1.05);
}

/* Mobile Responsive for Gold Hero */
@media (max-width: 768px) {
    .featured-gold-hero {
        padding: 2.5rem 0;
    }
    
    .featured-gold-hero h2 {
        font-size: 1.75rem;
    }
    
    .featured-gold-hero .gold-header p {
        font-size: 1rem;
    }
    
    .featured-gold-hero .gym-grid {
        grid-template-columns: 1fr;
    }
    
    .gold-cta {
        margin-top: 1.5rem;
    }
    
    .gold-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-gold-hero h2 {
        font-size: 1.5rem;
    }
    
    .featured-gold-hero .gold-cta p {
        font-size: 0.95rem;
    }
    
    .btn-gold {
        display: block;
        margin: 1rem auto 0;
        width: fit-content;
    }
}

/* FIX: Make Get Started button more visible */
.featured-gold-hero .gold-cta .btn-gold {
    color: #333 !important;
    background: #fff !important;
    border: 2px solid #333;
    text-decoration: none !important;
    margin-left: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.featured-gold-hero .gold-cta .btn-gold:hover {
    background: #f0f0f0 !important;
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0,0,0,0.3);
}

/* ============================================
   HYBRID MOBILE NAV (Option 5) - May 20, 2026
   ============================================ */

/* Bottom Navigation Bar */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    height: 100vh;  /* Force full height for flex scrolling */
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 0.5rem 0;
    justify-content: space-around;
    align-items: center;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 0.7rem;
    gap: 2px;
    padding: 0.25rem;
}

.bottom-nav a span {
    font-size: 1.5rem;
    display: block;
}


.bottom-nav a.active {
    color: #2d7fbf;
}

/* Floating More button (replaces full bottom nav) */
@media (max-width: 768px) {
    /* Hide the old bottom navigation bar */
    .bottom-nav {
        display: none !important;
    }
    
    /* Remove body padding for bottom nav */
    body {
        padding-bottom: 0;
    height: 100vh;  /* Force full height for flex scrolling */
    }
    
    /* NEW: Floating More button */
    .floating-menu-btn {
        display: block !important;
    }
    
    /* Mobile menu is now z-index 10000, above bottom-nav */
    /* No bottom adjustment needed - menu is in front */
    
    /* Hide extra nav on mobile */
    .nav-links {
        display: none;
    }
}

/* Mobile Menu Modal */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;  /* Force full height for flex scrolling */
    background: rgba(0,0,0,0.5);
    z-index: 10001;
}

.mobile-menu {
    display: none;
    position: fixed;
    bottom: 60px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.mobile-menu.show {
    display: block;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.mobile-menu a {
    pointer-events: auto;
    display: block;
    padding: 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.7rem;
    border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        color: #666;
        font-size: 0.7rem;
    }
    
    .menu-toggle span {
        font-size: 1.5rem;
    }
}

/* Simple Mobile Menu - May 2026 */
#mobileMenuOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;  /* Force full height for flex scrolling */
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#mobileMenuOverlay.show {
    display: block;
    opacity: 1;
}
#mobileMenu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;  /* Use 100% for better mobile compatibility */
    width: 300px;
    max-width: 85%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0;
    margin: 0;
    z-index: 10000;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
    overflow-y: scroll;  /* scroll (not auto) forces scrollbar on Android */
    -webkit-overflow-scrolling: touch;  /* Smooth scroll on iOS/Android */
}
#mobileMenu.show {
    transform: translateX(0);
}
/* Only the links section scrolls - header and social stay visible */
#mobileMenu .mobile-menu-links {
    flex: 1 1 auto;  /* Grow to fill available space */
    min-height: 0;   /* CRITICAL: allows flex child to shrink */
    overflow-y: scroll;  /* scroll forces scrollbar on Android */
    touch-action: pan-y;  /* Enable vertical touch scroll */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;  /* Smooth momentum scrolling */
}
#mobileMenu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    color: #1a1a2e;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    min-height: 56px;
}
#mobileMenu a:hover {
    background: rgba(0, 117, 186, 0.05);
    padding-left: 28px;
}
#mobileMenu a:active {
    background: rgba(0, 117, 186, 0.15);
    transform: scale(0.96);
    box-shadow: inset 0 2px 4px rgba(0, 117, 186, 0.2);
    transition: all 0.1s ease-out;
}

/* Social: pinned to bottom - ALWAYS visible, no scrolling needed */
#mobileMenu .mobile-menu-social {
    flex: 0 0 auto;
    padding: 1rem 1rem max(1rem, env(safe-area-inset-bottom)) 1rem;
    background: #dc3545;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
#mobileMenu a .nav-icon {
    font-size: 1.3rem;
    width: 28px;
    text-align: center;
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.9);
    flex: 0 0 auto;
    min-height: 110px;
}
.mobile-menu-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.mobile-menu-header span {
    font-weight: 600;
    font-size: 1.25rem;
    color: #1a1a2e;
    letter-spacing: -0.3px;
}
#closeMenuBtn {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    padding: 10px 14px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}
#closeMenuBtn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: rotate(90deg);
}
#closeMenuBtn:active {
    background: rgba(0, 0, 0, 0.25);
    transform: rotate(90deg) scale(0.92);
    transition: all 0.1s ease-out;
}

/* Contact Section */
.contact-section {
    padding: 3rem 0;
    background: var(--light);
    text-align: center;
}
.contact-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}
.contact-section p {
    margin-bottom: 1rem;
}

/* Related Areas & Articles */
.related-areas, .related-articles {
    padding: 2.5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
    border-top: 3px solid var(--primary);
}

.related-areas h3, .related-articles h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.related-areas p, .related-articles p {
    color: #666;
    margin-bottom: 1.5rem;
}

.area-links, .article-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.area-link, .article-link {
    display: inline-block;
    padding: 0.3rem 1.5rem;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.area-link:hover, .article-link:hover {
    background: var(--primary);
    color: #ffffff; /* Fallback for white text */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.article-link {
    border-color: var(--accent);
    color: var(--accent);
}

.article-link:hover {
    background: var(--accent);
    color: #ffffff; /* Fallback for white text */
}
/* Force rebuild Thu May 21 04:45:28 UTC 2026 */

/* ============================================
   BOTTOM NAV ENHANCEMENTS - May 2026
   Better visibility, touch targets, glass effect
   ============================================ */

/* Enhanced bottom nav bar */
.bottom-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15) !important;
    padding: 0.4rem 0 !important;
    min-height: 45px !important;
}

/* Larger touch targets */
.bottom-nav a {
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0.5rem !important;
    gap: 4px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

/* Hover effect */
.bottom-nav a:hover {
    background: rgba(0, 117, 186, 0.1) !important;
}

/* Active/tap feedback */
.bottom-nav a:active {
    transform: scale(0.92) !important;
    background: rgba(0, 117, 186, 0.2) !important;
    transition: all 0.1s ease-out;
}

/* Active state highlight - shows user where they are */
.bottom-nav a.active {
    color: #2d7fbf !important;
    background: rgba(0, 117, 186, 0.15) !important;
    font-weight: 600 !important;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: #2d7fbf;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 117, 186, 0.4);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1a5a8a;
    transform: scale(1.1);
}
/* ============================================
   2026 ADVANCED FEATURES - PRIORITY 3
   Container Queries, Scroll Animations, :has()
   ============================================ */

/* === CONTAINER QUERIES (Responsive Components) === */
/* Define containers for component-level responsiveness */
.gym-card,
.service-card,
.testimonial-card,
.feature-box {
    container-type: inline-size;
    container-name: card;
}

/* Container query: cards respond to their own width */
@container card (min-width: 400px) {
    .gym-card .card-content,
    .service-card .card-content,
    .testimonial-card .card-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }
    
    .gym-card .card-content img,
    .service-card .card-content img {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
    }
}

/* === :HAS() SELECTOR (CSS Parent Selection) === */
/* Style parent based on children - no JS needed! */

/* Card with image - adjust padding */
.card-wrapper:has(img) {
    padding-top: 0;
}

/* Section with featured item - add highlight */
section:has(.featured) {
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
}

/* Form with error - style the parent */
.form-group:has(input[type="email"]:invalid) {
    border-color: var(--secondary);
}

/* Nav with active link */
.nav-links:has(.active) {
    background: var(--light);
}

/* Card being hovered */
.gym-card:has(:hover) {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* === SCROLL-DRIVEN ANIMATIONS (Kinetic Typography) === */
/* Text that reveals on scroll */
@keyframes scroll-reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scroll-scale-in {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply scroll-driven animations */
.hero h1,
.section-title,
.gym-card,
.service-card {
    animation: scroll-reveal linear;
    animation-timeline: view();
    animation-range: entry 0% entry 30%;
}

/* Different elements, different animations */
.hero h1 {
    animation-range: entry 0% entry 20%;
}

.testimonial-card {
    animation: scroll-fade-in linear;
    animation-timeline: view();
}

.pricing-card {
    /* Removed scroll animation - was causing fade issues on scroll */
    /* animation: scroll-scale-in linear; */
    /* animation-timeline: view(); */
}

/* === VARIABLE FONTS SUPPORT === */
/* For kinetic typography - animate font weight on hover */
@font-face {
    font-family: 'ReginaGymVariable';
    src: local('Inter var'), local('Inter-Variable');
    font-weight: 100 900;
}

/* Use variable font for animated typography */
h1, h2, h3 {
    font-variation-settings: 'wght' 700;
    transition: font-variation-settings 0.3s ease;
}

h1:hover, h2:hover, h3:hover {
    font-variation-settings: 'wght' 800;
}

/* === HOVER EFFECTS FOR INTERACTIVITY === */
/* Enhanced hover states */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 117, 186, 0.3);
}

.gym-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.nav-links a:hover {
    color: var(--primary);
    position: relative;
}

.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* === SMOOTH PAGE TRANSITIONS === */
/* View Transitions API support */
::view-transition-old(root),
::view-transition-new(root) {
    animation: 300ms ease-out;
}

/* ========================================
   2026 ADVANCED MOBILE NAV FEATURES
   ======================================== */

/* Staggered entrance animations for menu items */
#mobileMenu.show a {
    animation: slideInRight 0.4s ease forwards;
    opacity: 0;
    transform: translateX(30px);
}

#mobileMenu.show a:nth-child(1) { animation-delay: 0.05s; }
#mobileMenu.show a:nth-child(2) { animation-delay: 0.1s; }
#mobileMenu.show a:nth-child(3) { animation-delay: 0.15s; }
#mobileMenu.show a:nth-child(4) { animation-delay: 0.2s; }
#mobileMenu.show a:nth-child(5) { animation-delay: 0.25s; }
#mobileMenu.show a:nth-child(6) { animation-delay: 0.3s; }
#mobileMenu.show a:nth-child(7) { animation-delay: 0.35s; }
#mobileMenu.show a:nth-child(8) { animation-delay: 0.4s; }

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

/* Icon hover animations */
#mobileMenu a .nav-icon {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

#mobileMenu a:hover .nav-icon {
    transform: scale(1.2) rotate(5deg);
}

#mobileMenu a:active .nav-icon {
    transform: scale(0.9);
    transition: all 0.1s ease-out;
}

/* Active page highlighting */
#mobileMenu a.active-page {
    background: rgba(0, 117, 186, 0.1);
    border-left: 3px solid #2d7fbf;
    color: #2d7fbf;
    font-weight: 600;
}

#mobileMenu a.active-page .nav-icon {
    color: #2d7fbf;
}

/* Quick Actions Section */
.mobile-menu-quick-actions {
    display: flex;
    gap: 10px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 117, 186, 0.03);
}

.mobile-menu-quick-actions a {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 14px 10px !important;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    font-size: 0.75rem !important;
    font-weight: 500;
    color: #333 !important;
}

.mobile-menu-quick-actions a:hover {
    background: #2d7fbf !important;
    color: #fff !important;
    border-color: #2d7fbf !important;
    padding-left: 10px !important;
}

.mobile-menu-quick-actions .nav-icon {
    font-size: 1.4rem !important;
}

/* Search Bar in Menu */
.mobile-menu-search {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-menu-search input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.mobile-menu-search input:focus {
    outline: none;
    border-color: #2d7fbf;
    box-shadow: 0 0 0 3px rgba(0, 117, 186, 0.1);
    background: #fff;
}

/* Menu Sections/Dividers */
.mobile-menu-section-title {
    padding: 20px 24px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

/* Social Links */
.mobile-menu-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
}

.mobile-menu-social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border-radius: 50% !important;
    font-size: 1.2rem !important;
    border: none !important;
}

.mobile-menu-social a:hover {
    background: #2d7fbf !important;
    transform: translateY(-3px);
}

/* Tap ripple effect */
#mobileMenu a {
    position: relative;
    overflow: hidden;
}

#mobileMenu a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 117, 186, 0.3) 0%, rgba(0, 117, 186, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease-out, height 0.3s ease-out;
    pointer-events: none;
}

#mobileMenu a:active::after {
    width: 250px;
    height: 250px;
    transition: width 0.15s ease-out, height 0.15s ease-out;
}

/* Mobile CTA Button - Get Listed */
.nav-cta-mobile {
    display: block;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%) !important;
    color: #1a1a2e !important;
    font-weight: 700 !important;
    padding: 0.875rem 1.5rem !important;
    border-radius: 50px !important;
    margin: 0.75rem 1rem !important;
    text-align: center;
    transition: all 0.3s ease !important;
}

.nav-cta-mobile:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.nav-cta-mobile .nav-icon {
    margin-right: 0.5rem;
}

/* NAVIGATION CENTERING FIX - May 25, 2026 */
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

/* Center the nav-links between logo and social */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 0.15rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

/* Center the nav-links in the middle */
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 900px;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

/* Ensure CTA button aligns with other links */
.nav-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0.5rem !important;
}

/* Header social icons - center vertically with nav */
.header-social {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Make sure logo and nav are vertically aligned */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    object-fit: contain;
}

/* DESKTOP NAVIGATION - Ensure centered on large screens */
@media (min-width: 1024px) {
    .navbar .container {
        padding: 0 2rem;
    }
    
    .nav-links {
        gap: 0.15rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.6rem 0.9rem;
    }
    
    .logo-img {
        height: 100px;
    }
}

/* CRITICAL: Hide desktop nav on mobile - force override */
@media (max-width: 1023px) {
    .nav-links {
        display: none !important;
        visibility: hidden !important;
    }
}


/* CRITICAL: Hide desktop header social icons on mobile */
@media (max-width: 1023px) {
    .header-social {
        display: none !important;
    }
}


/* ============================================
   FLOATING MORE BUTTON (Bottom Right)
   ============================================ */
.floating-menu-btn {
    display: none;  /* Hidden on desktop */
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e45946 0%, #f5a442 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(228, 89, 70, 0.4);
    z-index: 9998;
    cursor: pointer;
    text-align: center;
    line-height: 56px;
    font-size: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(228, 89, 70, 0.6);
}

.floating-menu-btn:active {
    transform: scale(0.95);
}

.floating-menu-btn span {
    color: white;
}

/* Remove body padding when using floating button */
body {
    padding-bottom: 0 !important;
}

/* Section titles white */
.locations-section h2, .how-it-works h2, .why-us h2, .blog-promo h2 {
    color: white !important;
}

/* E-E-A-T: Medical Disclaimer + Last Reviewed */
.medical-disclaimer {
    background: #fff8e1;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #78350f;
}
.medical-disclaimer strong {
    color: #92400e;
}
.last-reviewed {
    color: #6b7280;
    font-size: 0.9rem;
    font-style: italic;
}
p.meta a[rel="author"] {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}
p.meta a[rel="author"]:hover {
    text-decoration: underline;
}

/* E-E-A-T: Sources section */
.sources-section {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
}
.sources-section h2 {
    color: #075985;
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}
.sources-section p {
    color: #334155;
    margin-bottom: 0.75rem;
}
.sources-section ol.sources-list {
    padding-left: 1.5rem;
    color: #334155;
    margin: 0.5rem 0 0.75rem;
}
.sources-section ol.sources-list li {
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}
.sources-section a {
    color: #0369a1;
    text-decoration: underline;
}
.sources-section em {
    color: #475569;
    font-size: 0.9rem;
    display: block;
    margin-top: 1rem;
}
