/* ==========================================================================
   FlexIndia - Individual Gym Detail Page Stylesheet
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-section {
    background: #090f1f;
    padding: 100px 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #94a3b8;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
    color: var(--blue-light);
}

.breadcrumb-separator {
    color: #475569;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: var(--white);
    font-weight: 700;
}

/* Hero Section */
.gym-detail-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    padding: 4rem 0 3.5rem;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.gym-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0f172a 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.65) 100%);
    z-index: 1;
}

.hero-detail-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.gym-detail-header-badges {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.badge-verified {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
}

.badge-category {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-rating {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.gym-detail-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.hero-location-text {
    font-size: 1.1rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-location-text i {
    color: var(--blue-light);
}

.hero-highlights-bar {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-highlight-chip {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-highlight-chip i {
    color: #34d399;
}

/* Main Layout Grid */
.gym-content-section {
    background: #0f172a;
    padding: 4rem 0 6rem;
}

.gym-layout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Left Column Main Content */
.gym-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.content-block {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 24px;
    padding: 2.2rem;
}

.block-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.block-title i {
    color: var(--blue-light);
    font-size: 1.2rem;
}

.block-text {
    font-size: 0.98rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.block-text:last-child {
    margin-bottom: 0;
}

/* Pass Options Cards */
.pass-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1rem;
}

.pass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pass-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-4px);
}

.pass-card.featured {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(37, 99, 235, 0.08);
}

.pass-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--blue-bright);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.pass-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.pass-price {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.pass-price span {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

.pass-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.pass-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pass-features li i {
    color: #34d399;
    font-size: 0.8rem;
}

/* Amenities Grid */
.amenities-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.amenity-chip-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
}

.amenity-chip-box:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.amenity-chip-box i {
    font-size: 1.6rem;
    color: var(--blue-light);
    margin-bottom: 0.6rem;
    display: block;
}

.amenity-chip-box span {
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
}

/* Timing & Rules */
.timing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.92rem;
}

.timing-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timing-day {
    color: #e2e8f0;
    font-weight: 600;
}

.timing-hours {
    color: #94a3b8;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.rules-list li i {
    color: var(--blue-light);
    font-size: 0.85rem;
}

/* Sidebar Styling */
.gym-sidebar-sticky {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.booking-widget-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 26px;
    padding: 2.2rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 99, 235, 0.1);
}

.widget-header {
    margin-bottom: 1.5rem;
}

.widget-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.widget-header p {
    font-size: 0.88rem;
    color: #94a3b8;
}

.promo-pill {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-book-full {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.app-download-helper {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.2rem;
}

.sidebar-store-badges {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.sidebar-store-badges img {
    height: 34px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.sidebar-store-badges img:hover {
    opacity: 1;
}

/* Location Card */
.location-widget-card {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.8rem;
}

.location-widget-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-widget-card h4 i {
    color: var(--blue-light);
}

.full-address-text {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.btn-directions {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.65rem 1.2rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-directions:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    transform: translateY(-2px);
}

/* Nearby Recommended Gyms */
.related-gyms-section {
    background: #090f1f;
    padding: 5rem 0 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-title-left {
    margin-bottom: 2.5rem;
}

.section-title-left span {
    color: var(--blue-light);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.4rem;
}

.section-title-left h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--white);
}

/* Responsive Mobile Compact */
@media (max-width: 991px) {
    .gym-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gym-sidebar-sticky {
        position: static;
        max-width: 100%;
    }

    .pass-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 576px) {
    .gym-detail-hero {
        padding: 90px 0 30px !important;
        min-height: auto !important;
    }

    .gym-detail-hero h1 {
        font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
        line-height: 1.2 !important;
    }

    .hero-location-text {
        font-size: 0.92rem !important;
        margin-bottom: 1rem !important;
    }

    .content-block {
        padding: 1.2rem 1rem !important;
        border-radius: 18px !important;
        margin-bottom: 1.5rem !important;
    }

    .block-title {
        font-size: 1.2rem !important;
    }

    .amenities-detail-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }

    .amenity-chip-box {
        padding: 0.65rem 0.5rem !important;
        font-size: 0.78rem !important;
        border-radius: 12px !important;
    }

    .booking-sidebar-card {
        padding: 1.5rem 1.2rem !important;
        border-radius: 18px !important;
    }
}

/* Compact Rating Badge in Related Gym Cards */
.gym-card .gym-rating-badge,
.gym-rating-badge {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    background: rgba(15, 23, 42, 0.85) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fbbf24 !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 0.28rem 0.65rem !important;
    border-radius: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
    z-index: 2 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    white-space: nowrap !important;
}

.gym-card .gym-rating-badge i,
.gym-rating-badge i {
    font-size: 0.72rem !important;
    color: #fbbf24 !important;
    line-height: 1 !important;
}

.gym-card .gym-rating-badge span,
.gym-rating-badge span {
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}
