/* ============================================================
   GYM PAGE STYLES
============================================================ */

/* ------------------------------------------------------------
   GLOBAL
------------------------------------------------------------ */
.gym-page{
    width:100%;
}

#home,
#membership,
#programs,
#classes,
#equipment,
#explore-options{
    scroll-margin-top: var(--header-height);
}

/* ------------------------------------------------------------
   HERO
------------------------------------------------------------ */
.gym-hero{
    position:relative;
    min-height:calc(100vh - var(--header-height));
    display:flex;
    align-items:center;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    color:#fff;
    overflow:hidden;
}

.gym-hero .container{
    position:relative;
    z-index:2;
    width:100%;
}

.gym-hero-content{
    max-width:760px;
    padding:56px 0;
}

.hero-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
    color:var(--gold);
    font-size:12px;
    font-weight:800;
    letter-spacing:0.12em;
    text-transform:uppercase;
}

.gym-hero .hero-title{
    margin-bottom:16px;
}

.gym-hero .hero-subtitle{
    font-size:clamp(18px,2.2vw,22px);
    line-height:1.5;
    margin-bottom:12px;
    color:rgba(255,255,255,0.9);
}

.gym-hero .hero-description{
    max-width:640px;
    font-size:16px;
    line-height:1.75;
    margin-bottom:28px;
    color:rgba(255,255,255,0.8);
}

.gym-hero .hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-bottom:22px;
}

.hero-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.hero-meta span{
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.12);
    background:rgba(255,255,255,0.06);
    color:rgba(255,255,255,0.82);
    font-size:13px;
    font-weight:700;
}

@media (max-width:767px){
    .gym-hero{
        min-height:auto;
    }

    .gym-hero-content{
        padding:72px 0 56px;
    }

    .gym-hero .hero-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .gym-hero .hero-actions .cta-btn{
        width:100%;
    }

    .hero-meta span{
        width:100%;
        justify-content:center;
        text-align:center;
    }
}

@media (min-width:768px){
    .gym-hero{
        min-height:88vh;
    }
}

/* ------------------------------------------------------------
   EXPLORE / FILTER NAV
------------------------------------------------------------ */
.explore-section{
    padding-top:56px;
}

.filter-scroll{
    overflow-x:auto;
    padding-bottom:8px;
    -ms-overflow-style:none;
    scrollbar-width:none;
}

.filter-scroll::-webkit-scrollbar{
    display:none;
}

.filter-bar{
    display:inline-flex;
    gap:12px;
    min-width:max-content;
    margin-top:28px;
}

.filter-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 18px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.1);
    background:rgba(255,255,255,0.03);
    color:var(--text-light);
    font-size:13px;
    font-weight:800;
    letter-spacing:0.04em;
    text-transform:uppercase;
    white-space:nowrap;
    transition:var(--transition);
}

.filter-chip:hover{
    border-color:rgba(250,204,21,0.5);
    color:var(--gold);
}

.filter-chip.active{
    background:var(--gold);
    color:#000;
    border-color:var(--gold);
}

/* ------------------------------------------------------------
   SECTION HELPERS
------------------------------------------------------------ */
.section-header{
    margin-bottom:10px;
}

.section-lead{
    max-width:760px;
}

.section-alt{
    background:linear-gradient(180deg, rgba(255,255,255,0.015) 0%, rgba(255,255,255,0.025) 100%);
}

/* ------------------------------------------------------------
   SERVICES GRID
------------------------------------------------------------ */
.services-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-top:40px;
}

@media(min-width:768px){
    .services-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }
}

@media(min-width:1024px){
    .services-grid{
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap:24px;
        margin-top:48px;
    }
}

.service-card{
    display:flex;
    flex-direction:column;
    height:100%;
    padding:28px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border:1px solid rgba(255,255,255,0.07);
    box-shadow:var(--shadow-md);
    transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover{
    transform:translateY(-6px);
    border-color:rgba(250,204,21,0.35);
    box-shadow:var(--shadow-lg);
}

.service-card h3{
    font-size:22px;
    margin-bottom:14px;
}

.service-card p{
    font-size:15px;
    line-height:1.75;
    color:var(--text-muted);
}

.service-card .cta-btn{
    margin-top:auto;
    align-self:flex-start;
}

/* ------------------------------------------------------------
   PRICE BLOCK
------------------------------------------------------------ */
.price-block{
    display:flex;
    flex-direction:column;
    gap:4px;
    margin:18px 0 22px;
}

.price-label{
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:0.08em;
    color:var(--text-soft);
}

.price-block .amount{
    font-size:28px;
    font-weight:900;
    line-height:1;
    color:var(--text-light);
}

/* ------------------------------------------------------------
   EQUIPMENT
------------------------------------------------------------ */
.equipment-grid{
    margin-top:40px;
}

.equipment-card{
    border-radius:22px;
    overflow:hidden;
    background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
    border:1px solid rgba(255,255,255,0.07);
    box-shadow:var(--shadow-md);
    transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.equipment-card:hover{
    transform:translateY(-4px);
    border-color:rgba(250,204,21,0.35);
    box-shadow:var(--shadow-lg);
}

.equipment-body h3{
    color:var(--text-light);
}

.equipment-body p{
    color:var(--text-muted);
}

/* ------------------------------------------------------------
   CTA BANNER
------------------------------------------------------------ */
.cta-banner{
    max-width:980px;
    margin:0 auto;
    padding:44px 22px;
    border-radius:28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02)),
        linear-gradient(180deg, #111827 0%, #0f172a 100%);
    text-align:center;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:var(--shadow-lg);
}

.cta-heading{
    margin-bottom:14px;
}

.cta-subtext{
    max-width:720px;
    margin:0 auto 28px;
    font-size:16px;
    line-height:1.75;
    color:var(--text-muted);
}

.cta-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:14px;
}

@media (max-width:767px){
    .cta-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .cta-actions .cta-btn{
        width:100%;
    }
}

@media(min-width:768px){
    .cta-banner{
        padding:64px 40px;
    }
}

/* ------------------------------------------------------------
   EMPTY STATE
------------------------------------------------------------ */
.empty-state{
    margin-top:32px;
    padding:22px 20px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,0.08);
    background:rgba(255,255,255,0.03);
}

.empty-state p{
    color:var(--text-muted);
    margin:0;
}

/* ------------------------------------------------------------
   ACCESSIBILITY
------------------------------------------------------------ */
@media(prefers-reduced-motion:reduce){
    .service-card,
    .equipment-card,
    .filter-chip{
        transition:none !important;
    }
}