/* ==========================================================================
   ROBO GYM - CORE STYLESHEET
   ========================================================================== */

/* Google Fonts loaded via high-performance <link> in HTML */

/* ----- Design Tokens & Variables ----- */
:root {
    --boxing-red: #e50914;
    --boxing-dark: #0f0f0f;
    --boxing-black: #000000;
    --boxing-dark-grey: #121212;
    --card-bg: #141414;
    --hero-gradient: linear-gradient(135deg, #1a1a1a 0%, #050505 100%);
    --text-white: #ffffff;
    --text-grey: #b3b3b3;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ----- Base Reset & Global Styles ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--boxing-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   GLOBAL HEADER COMPONENT
   ========================================================================== */

.gym-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Scrolled Header State */
.gym-header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid rgba(229, 9, 20, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.gym-header.scrolled .header-container {
    padding-top: 12px;
    padding-bottom: 12px;
}

/* Header Container */
.header-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

/* Logo */
.header-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-logo-link:hover .header-logo-img {
    transform: scale(1.03);
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 34px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #dedede;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--boxing-red);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-white);
}

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

/* Header Call-To-Action Button */
.nav-cta-btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--boxing-red);
    border: 2px solid var(--boxing-red);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.nav-cta-btn:hover {
    background-color: transparent;
    color: var(--boxing-red);
    box-shadow: 0 0 18px rgba(229, 9, 20, 0.4);
    transform: translateY(-2px);
}

/* Hamburger Toggle Button */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.hamburger-btn .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Morph into 'X' when open */
.hamburger-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--boxing-red);
}

.hamburger-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--boxing-red);
}

/* Mobile Drawer */
.mobile-nav-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--boxing-red);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.9);
    padding: 30px 25px 40px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
}

.mobile-nav-drawer.open {
    display: block;
    max-height: 500px;
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-white);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #1f1f1f;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--boxing-red);
    padding-left: 10px;
}

.mobile-nav-cta {
    display: block;
    text-align: center;
    padding: 14px;
    margin-top: 15px;
    background-color: var(--boxing-red);
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 3px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mobile-nav-cta:hover {
    background-color: #fff;
    color: var(--boxing-red);
}

/* Header Responsive Queries */
@media (max-width: 992px) {
    .header-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .mobile-nav-drawer {
        display: block;
    }
}


/* ==========================================================================
   REUSABLE UI COMPONENTS (Buttons, Tags, etc.)
   ========================================================================== */

.btn-home {
    display: inline-block;
    padding: 16px 35px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary-red:hover {
    background-color: transparent;
    color: var(--boxing-red);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
    transform: translateY(-2px);
}

.btn-secondary-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.btn-secondary-outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-split-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 750px;
    padding-top: 85px;
    background-color: var(--boxing-dark);
    overflow: hidden;
}

/* Left Column: Text Content */
.hero-text-col {
    flex: 1;
    flex-basis: 50%;
    background: var(--hero-gradient);
    padding: 8% 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-small-tag {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--boxing-red);
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards 0.2s;
}

.hero-text-col h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1.1;
    margin: 0 0 30px 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards 0.4s;
}

.hero-text-col p {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-grey);
    margin-bottom: 45px;
    max-width: 600px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards 0.6s;
}

.hero-btn-group {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards 0.8s;
}

/* Right Column: Video */
.hero-video-col {
    flex: 1;
    flex-basis: 50%;
    position: relative;
    min-height: 500px;
    background-color: #000;
    overflow: hidden;
}

.hero-right-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-col::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-text-col h1 {
        font-size: 3.5rem;
    }
    .hero-split-wrapper {
        min-height: 650px;
    }
}

@media (max-width: 900px) {
    .hero-split-wrapper {
        flex-direction: column;
    }

    .hero-text-col {
        flex-basis: auto;
        padding: 60px 30px;
        order: 1;
    }

    .hero-video-col {
        flex-basis: auto;
        height: 400px;
        min-height: unset;
        order: 2;
    }

    .hero-text-col h1 {
        font-size: 3rem;
    }

    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn-home {
        width: 100%;
    }
}

/* ==========================================================================
   CLASSES SECTION
   ========================================================================== */

.classes-section {
    padding: 100px 20px;
    background-color: #050505; 
    font-family: var(--font-body);
    text-align: center;
}

/* Section Header */
.classes-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.classes-header h2 span {
    color: var(--boxing-red);
}

.classes-header p {
    color: var(--text-grey);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

/* Grid Layout */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1400px; 
    margin: 0 auto;
}

/* Card Styling */
.class-card {
    background: var(--card-bg);
    border: 1px solid #222;
    border-top: 4px solid var(--boxing-red);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.15);
    border-color: #333;
}

/* Badge for "First class free" */
.free-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--boxing-red);
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Card Image */
.card-image {
    height: 200px; 
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.class-card:hover .card-image img {
    transform: scale(1.05);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--card-bg), transparent);
    pointer-events: none;
}

/* Card Content */
.card-content {
    padding: 25px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-tag {
    color: var(--boxing-red);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    margin: 0 0 10px 0;
    font-weight: 700;
    text-transform: uppercase;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-grey);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Card Button */
.card-btn {
    display: block;
    width: 100%;
    text-align: center;
    background-color: var(--boxing-red);
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
}

.card-btn:hover {
    background-color: #fff;
    color: var(--boxing-red);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Mobile & Tablet Adjustments */
@media (max-width: 900px) {
    .classes-grid {
        gap: 20px; 
        padding: 0 20px;
    }
}

@media (max-width: 600px) {
    .classes-grid {
        grid-template-columns: 1fr; 
    }
    .classes-header h2 {
        font-size: 2.4rem;
    }
}

/* ==========================================================================
   SERVICES SECTION ("Train Your Way")
   ========================================================================== */

.services-section {
    background-color: var(--boxing-dark);
    padding: 100px 0;
    font-family: var(--font-body);
}

/* Section Header */
.sec-header {
    text-align: center;
    margin-bottom: 70px;
    padding: 0 20px;
}

.sec-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    color: var(--text-white);
    letter-spacing: -1px;
}

.sec-header span {
    color: var(--boxing-red);
    display: inline-block;
    border-bottom: 3px solid var(--boxing-red);
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    background-color: #000;
    width: 100%;
    max-width: 100%;
}

/* Individual Card */
.service-card {
    position: relative;
    height: 600px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    background: #000;
}

/* Background Image */
.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    z-index: 1;
    /* Grayscale by default */
    filter: grayscale(100%) contrast(1.1);
}

.service-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gradient Overlay */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Large Background Number (01, 02...) */
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    z-index: 2;
    line-height: 1;
    transition: transform 0.4s ease, color 0.4s ease;
}

/* Content Wrapper */
.service-content {
    position: relative;
    z-index: 3;
    padding: 40px 30px;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Subtitle Tag */
.service-sub {
    color: var(--boxing-red);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

/* Main Title */
.service-title {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 2.2rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    margin: 0;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Red Line Indicator */
.service-line {
    width: 0;
    height: 3px;
    background-color: var(--boxing-red);
    margin-top: 20px;
    transition: width 0.4s ease;
}

/* Hover Effects */
.service-card:hover .service-bg {
    transform: scale(1.1);
    filter: grayscale(0%) contrast(1);
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card:hover .service-line {
    width: 60px;
}

.service-card:hover .service-number {
    color: rgba(255, 255, 255, 0.3);
    transform: translateY(10px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card {
        height: 450px;
    }
}

@media (max-width: 600px) {
    .sec-header h2 {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        height: 350px;
    }
    .service-bg {
        filter: grayscale(0%);
    }
}

/* ==========================================================================
   TRAINERS / COACHES SECTION ("In Your Corner")
   ========================================================================== */

.trainers-section {
    background-color: var(--boxing-dark);
    padding: 100px 20px;
    font-family: var(--font-body);
    text-align: center;
    overflow: hidden;
}

/* Section Headers */
.trainers-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-white);
    letter-spacing: -1px;
}

.trainers-header span {
    color: var(--boxing-red);
    display: inline-block;
    position: relative;
}

/* Red underline for span */
.trainers-header span::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: var(--boxing-red);
    margin-top: 5px;
    border-radius: 2px;
}

.trainers-header p {
    color: var(--text-grey);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 70px auto;
    line-height: 1.6;
}

/* Grid Layout */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Coach Card Container */
.coach-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    background: #000;
}

/* Coach Image */
.coach-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
    filter: grayscale(100%) contrast(1.1);
    overflow: hidden;
}

.coach-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Hover State: Color & Zoom */
.coach-card:hover .coach-img {
    transform: scale(1.05);
    filter: grayscale(0%) contrast(1);
}

/* Overlay Info Box */
.coach-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.8) 40%, transparent 100%);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

/* Text Styling */
.coach-role {
    color: var(--boxing-red);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.coach-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: var(--text-white);
    line-height: 1;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.coach-bio {
    font-size: 1rem;
    color: #ddd;
    line-height: 1.5;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Interaction: Reveal Bio */
.coach-card:hover .coach-name {
    transform: translateY(0);
}

.coach-card:hover .coach-bio {
    max-height: 150px;
    opacity: 1;
    margin-top: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .coach-card {
        height: 450px;
    }

    .coach-img {
        filter: grayscale(0%);
    }

    .coach-name {
        transform: translateY(0);
    }
    
    .coach-bio {
        max-height: 200px;
        opacity: 1;
        margin-top: 10px;
    }

    .coach-info {
        background: linear-gradient(to top, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.5) 60%, transparent 100%);
    }
}

/* ==========================================================================
   REVIEWS SECTION ("From The Corner" Marquee)
   ========================================================================== */

.reviews-section {
    background-color: var(--boxing-dark);
    padding: 100px 0; 
    font-family: var(--font-body);
    text-align: center;
    overflow: hidden; 
    position: relative;
    border-top: 1px solid #1a1a1a;
}

/* Header */
.reviews-header {
    margin-bottom: 60px;
    padding: 0 20px;
}

.reviews-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.reviews-header span {
    color: var(--boxing-red);
}

/* Google Badge */
.google-badge {
    display: inline-flex;
    align-items: center;
    background: #1a1a1a;
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.google-logo {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.rating-score {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--text-white);
    margin-right: 8px;
}

.stars-icon {
    color: #fbbc04;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.reviews-subtext {
    color: #666;
    font-size: 0.9rem;
    margin-top: -10px;
}

/* Marquee Container */
.marquee-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    margin-bottom: 40px;
}

/* Moving Track */
.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scrollLeft 40s linear infinite; 
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Individual Review Card */
.review-card {
    background: rgba(20, 20, 20, 0.95);
    width: 350px; 
    padding: 30px;
    border-radius: 6px;
    border: 1px solid #222;
    text-align: left;
    position: relative;
    flex-shrink: 0; 
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
    border-color: var(--boxing-red);
    transform: translateY(-5px);
    background: #1a1a1a;
}

/* Reviewer Profile */
.reviewer-profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-initial {
    width: 40px;
    height: 40px;
    background-color: #222;
    color: var(--boxing-red);
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-right: 12px;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 700;
}

.review-date {
    font-size: 0.75rem;
    color: #666;
    display: block;
}

.card-stars {
    color: #fbbc04;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-text {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Write Review Button */
.review-actions {
    margin-top: 10px;
    padding: 0 20px;
}

.write-review-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background-color: transparent;
    border: 2px solid var(--boxing-red);
    color: #fff;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
    cursor: pointer;
}

.write-review-btn span {
    margin-right: 10px;
    font-size: 1.2rem;
}

.write-review-btn:hover {
    background-color: var(--boxing-red);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.4);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .reviews-header h2 { 
        font-size: 2.2rem; 
    }
    .review-card { 
        width: 300px; 
        padding: 25px; 
    }
    .write-review-btn { 
        width: 100%; 
        justify-content: center; 
    }
}

/* ==========================================================================
   GALLERY SECTION ("Our Gym" Accordion)
   ========================================================================== */

.gallery-section {
    background-color: var(--boxing-dark);
    padding: 100px 0;
    font-family: var(--font-body);
    border-top: 1px solid #1a1a1a;
    overflow: hidden;
}

/* Header */
.gallery-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.gallery-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    letter-spacing: -1px;
}

.gallery-header span {
    color: var(--boxing-red);
}

.gallery-location-subtext {
    color: var(--text-grey);
    margin-top: 10px;
}

/* The Accordion Container */
.gallery-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 600px;
    padding: 0 20px;
    gap: 10px;
}

/* Individual Panel */
.gallery-panel {
    position: relative;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #000;
}

/* The Image */
.panel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6) grayscale(100%);
    transition: filter 0.5s ease, transform 0.7s ease;
    overflow: hidden;
}

.panel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay Gradient */
.panel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

/* Text Content */
.panel-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
    white-space: nowrap;
}

.panel-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 1;
    font-weight: 700;
}

.panel-desc {
    font-size: 1rem;
    color: var(--boxing-red);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

/* Vertical Text */
.panel-label-vertical {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    color: rgba(255,255,255,0.5);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

/* Interaction States */
.gallery-panel:hover {
    flex: 5;
}

.gallery-panel:hover .panel-img {
    filter: brightness(1) grayscale(0%);
    transform: scale(1.05);
}

.gallery-panel:hover .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.gallery-panel:hover .panel-label-vertical {
    opacity: 0;
}

.gallery-panel:hover .panel-overlay {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gallery-container {
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .gallery-panel {
        height: 300px;
        width: 100%;
        flex: none;
    }
    
    .panel-img {
        filter: brightness(0.8) grayscale(0%);
    }
    
    .panel-content {
        opacity: 1;
        transform: translateY(0);
    }
    
    .panel-label-vertical {
        display: none;
    }

    .gallery-panel:hover {
        flex: none;
    }
}

/* ==========================================================================
   CONTACT & LOCATION SECTION ("Stop Thinking. Start Fighting.")
   ========================================================================== */

.home-contact-section {
    background-color: var(--boxing-dark);
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-height: 600px;
    font-family: var(--font-body);
    border-top: 1px solid #1a1a1a;
    position: relative;
}

/* Left Column: Info */
.contact-info-col {
    flex: 1;
    flex-basis: 400px;
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(145deg, #121212 0%, #050505 100%);
    z-index: 2;
}

/* Right Column: Map */
.contact-map-col {
    flex: 1;
    flex-basis: 400px;
    position: relative;
    min-height: 400px;
    overflow: hidden;
    background: #000;
}

/* Dark Map Filter */
.contact-map-col iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: invert(100%) grayscale(100%) contrast(85%) brightness(85%);
    transition: filter 0.5s ease;
}

.contact-map-col:hover iframe {
    filter: invert(100%) grayscale(80%) contrast(100%) brightness(100%);
}

/* Typography */
.contact-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-white);
    margin: 0 0 20px 0;
    line-height: 1;
    letter-spacing: -1px;
}

.contact-header span {
    color: var(--boxing-red);
}

.contact-desc {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 500px;
    border-left: 3px solid var(--boxing-red);
    padding-left: 20px;
}

/* Contact Details List */
.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    color: var(--text-white);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

/* Icon Styling */
.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .icon-box {
    border-color: var(--boxing-red);
    background: rgba(229, 9, 20, 0.1);
    color: var(--boxing-red);
}

.icon-box svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Text Styling */
.info-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 1px;
    color: #666;
}

.info-text p, 
.info-text a {
    margin: 0;
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.info-text a:hover {
    color: var(--boxing-red);
}

/* CTA Button */
.contact-btn {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--boxing-red);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--boxing-red);
    transition: all 0.3s ease;
    letter-spacing: 1px;
    width: fit-content;
}

.contact-btn:hover {
    background-color: transparent;
    color: #fff;
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
    .contact-header h2 { 
        font-size: 2.8rem; 
    }
    .home-contact-section { 
        flex-direction: column-reverse; 
    }
    .contact-info-col { 
        padding: 60px 20px; 
    }
    .contact-map-col { 
        height: 350px; 
        min-height: 350px; 
    }
}

/* ==========================================================================
   GLOBAL FOOTER COMPONENT
   ========================================================================== */

.gym-footer {
    background-color: var(--boxing-black);
    color: var(--text-grey);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    border-top: 1px solid #222;
}

/* Top Content Wrapper */
.footer-content {
    display: flex;
    flex-wrap: wrap;
    padding: 80px 20px 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
}

/* Columns */
.footer-col {
    flex: 1;
    min-width: 250px;
    margin-bottom: 40px;
    padding-right: 30px;
}

/* Column Headers */
.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

/* Red Underline for Headers */
.footer-col h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--boxing-red);
    margin-top: 8px;
}

/* Logo Image */
.footer-logo-img {
    max-width: 140px;
    height: auto;
    display: block;
    margin-bottom: 25px;
}

/* Links Lists */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-grey);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

/* Hover Effect */
.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '›';
    opacity: 0;
    margin-right: 5px;
    color: var(--boxing-red);
    transition: opacity 0.3s ease;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Newsletter Input Styling */
.newsletter-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.newsletter-input {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-body);
    margin-bottom: 10px;
    border-radius: 4px;
    outline: none;
}

.newsletter-input:focus {
    border-color: var(--boxing-red);
}

.newsletter-btn {
    background: var(--boxing-red);
    color: #fff;
    border: none;
    padding: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 4px;
}

.newsletter-btn:hover {
    background: #fff;
    color: var(--boxing-red);
}

/* Contact Rows */
.contact-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-icon {
    color: var(--boxing-red);
    margin-right: 15px;
    font-size: 1.1rem;
    margin-top: 2px;
}

/* Bottom Copyright Bar */
.footer-bottom {
    text-align: center;
    padding: 30px 20px;
    font-size: 13px;
    background-color: var(--boxing-dark-grey);
    border-top: 1px solid #1a1a1a;
    color: #666;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--boxing-red);
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        padding: 60px 20px;
    }
    .footer-col {
        padding-right: 0;
        margin-bottom: 50px;
    }
}







