@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary-red: #FF1212;
    --dark-bg: #0A0A0A;
    --text-white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: radial-gradient(circle at top right, #2a0404, var(--dark-bg) 60%);
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Page Transition Animations */
.page-transition {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 10, 0.85);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-red);
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.header-cta {
    background: var(--primary-red);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.header-cta:hover {
    background: #d00000;
}

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

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-red);
}

/* Hero Section (Home) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fade corners effect for video using mask/gradient */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.8) 70%, var(--dark-bg) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 100px; /* Offset for fixed header */
}

.hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    text-transform: uppercase;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
    max-width: 90%;
}

.red-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-red);
}

.hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 9rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 span {
    color: var(--text-white); /* Making GYM white as per image */
}

.hero p {
    font-size: 1.1rem;
    margin: 0;
    max-width: 800px;
    color: #ccc;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-val {
    color: var(--primary-red);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1;
}

.stat-desc {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #999;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-cta {
    background: var(--primary-red);
    color: white;
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 18, 18, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: #d00000;
    box-shadow: 0 6px 20px rgba(255, 18, 18, 0.6);
}

.hero-reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 0.5rem;
}

.hero-reviews .stars i {
    color: #ffc107;
    font-size: 1.1rem;
    margin: 0 2px;
}

.compare-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.compare-link:hover {
    color: white;
    border-color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-red);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: transparent;
    box-shadow: 0 0 20px rgba(255, 18, 18, 0.5);
}

/* Sections Base Styling */
.section {
    padding: 5rem 5% 3rem;
    min-height: auto;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-white);
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-red);
}

/* Membership Page Styles */
.membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,18,18,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 18, 18, 0.5);
    box-shadow: 0 15px 40px rgba(255, 18, 18, 0.2);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.premium {
    border-color: var(--primary-red);
    background: rgba(255, 18, 18, 0.05);
}

.pricing-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 300;
}

.features-list {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.features-list li i {
    color: var(--primary-red);
}

/* Registration Grid */
.registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reg-card {
    padding: 2rem;
    text-align: center;
    border-radius: 20px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.reg-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
}

.reg-card .icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.reg-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.reg-card p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.review-card {
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card .stars {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-card p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-card h4 {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Gallery / Facilities Bento Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 0.8rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #3D0707;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: background 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.full-width {
    grid-column: span 3;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: left;
    z-index: 2;
}

.gallery-overlay h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    -webkit-text-stroke: 0.6px white;
    -webkit-font-smoothing: antialiased;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transform: translateY(0);
    opacity: 1;
}

/* Founder Section */
.founder-container {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.founder-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3D0707;
    min-height: 650px;
}

.founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.founder-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 40%, transparent 100%);
    border-top: 1px solid transparent;
}

.founder-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.founder-quote {
    border-left: 2px solid var(--primary-red);
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.founder-quote p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.founder-quote p::before {
    content: '"';
    color: var(--primary-red);
    font-size: 1.5rem;
    line-height: 0;
    position: relative;
    top: 5px;
    left: -5px;
}

.founder-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.f-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.f-stat-val {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.f-stat-desc {
    color: #999;
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

.founder-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.f-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.f-social-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

.founder-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
}

.founder-link:hover {
    color: #ff4d4d;
}

@media (max-width: 900px) {
    .founder-container {
        flex-direction: column;
    }
    .founder-image-wrapper {
        width: 100%;
        min-height: 550px;
    }
    .founder-stats {
        flex-direction: column;
    }
    .founder-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* FAQ Section */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}
.faq-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.faq-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 1rem;
}
.faq-btn:hover, .faq-btn.active {
    background: var(--primary-red);
    border-color: var(--primary-red);
}
.faq-answer-container {
    min-height: 100px;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2rem;
    position: relative;
}
.loader {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s ease-in-out infinite;
    display: none;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.gym-logo {
    height: 50px;
    mix-blend-mode: screen; /* Blends the black background seamlessly */
    transition: transform 0.3s ease;
}

.gym-logo:hover {
    transform: scale(1.05);
}

/* Comprehensive Footer */
.main-footer {
    background: rgba(10, 10, 10, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 5% 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.footer-section h4 {
    font-size: 1rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a, .footer-section p {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px; /* Square-ish per image */
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--primary-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 5%;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--glass-border);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
    }
    
    nav.show-menu {
        max-height: 400px;
    }
    
    nav ul {
        flex-direction: column;
        margin: 0;
        padding: 2rem 0;
        gap: 1.5rem;
        align-items: center;
    }
    
    .hero-content {
        gap: 0.8rem;
    }
    .hero h1 {
        font-size: 3.2rem;
        letter-spacing: 0;
    }
    .hero-label {
        font-size: 0.65rem;
        padding: 6px 12px;
    }
    .hero p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .hero-stats {
        gap: 0.8rem;
        flex-wrap: wrap;
        margin: 0.5rem 0;
        padding: 8px 10px;
    }
    .stat-val {
        font-size: 1.5rem;
    }
    .stat-divider {
        height: 25px;
    }
    .stat-desc {
        font-size: 0.65rem;
    }
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 320px;
        gap: 0.8rem;
    }
    .gallery-item.large, .gallery-item.full-width {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .reviews-grid {
        max-width: 320px;
        margin: 0 auto;
    }
}

.journey-title { font-size: 3.5rem; }
@media (max-width: 768px) { .journey-title { font-size: 2.5rem; } }
