/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0A0A0A;
    --secondary-black: #1A1A1A;
    --accent-red: #E63946;
    --accent-green: #39FF14;
    --white: #FFFFFF;
    --gray: #666666;
    --light-gray: #F5F5F5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-black);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-red);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-red);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/Gym.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85), rgba(230, 57, 70, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('images/Gym.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    margin-top: 70px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.page-subtitle {
    font-size: 1.3rem;
    margin-top: 1rem;
    color: white;
    letter-spacing: 1px;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 2rem;
}

.dark-section {
    background-color: var(--primary-black);
    color: var(--white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--gray);
}

.dark-section .section-subtitle {
    color: #AAAAAA;
}

/* ===== PROGRAMS SECTION ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: var(--light-gray);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.program-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* ===== TRAINERS SECTION ===== */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.trainer-card {
    background-color: var(--secondary-black);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.trainer-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.4);
}

.trainer-image {
    height: 300px;
    overflow: hidden;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trainer-card:hover .trainer-image img {
    transform: scale(1.1);
}

.trainer-card h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.trainer-card p {
    padding: 0 1.5rem 1.5rem;
    color: #CCCCCC;
    line-height: 1.8;
}

/* ===== MEMBERSHIP SECTION ===== */
.membership-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.membership-text {
    font-size: 1.2rem;
    margin: 2rem 0;
    line-height: 1.8;
    color: var(--gray);
}

.membership-cta {
    margin-top: 2.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-red);
    color: var(--white);
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.5);
}

/* ===== FLOATING BUTTON ===== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-red);
    color: var(--white);
    padding: 1rem 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.7);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== ABOUT PAGE ===== */
.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

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

.philosophy-card {
    background-color: var(--secondary-black);
    padding: 2.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    border-color: var(--accent-red);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.philosophy-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-red);
    letter-spacing: 2px;
}

.philosophy-card p {
    color: #CCCCCC;
    line-height: 1.8;
}

.approach-content {
    max-width: 900px;
    margin: 0 auto;
}

.approach-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.approach-text strong {
    color: var(--accent-red);
    font-weight: 700;
}

.motivation-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.motivation-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent-red);
    margin: 2rem 0;
    line-height: 1.8;
}

.motivation-text {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
    color: #CCCCCC;
}

/* ===== FACILITIES PAGE ===== */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.facility-card {
    background-color: var(--light-gray);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.facility-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-red);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3);
}

.facility-image {
    height: 250px;
    overflow: hidden;
    background-color: var(--secondary-black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-card:hover .facility-image img {
    transform: scale(1.1);
}

.facility-icon {
    font-size: 5rem;
}

.facility-content {
    padding: 2rem;
}

.facility-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

.facility-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.facility-features {
    list-style: none;
    padding: 0;
}

.facility-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.facility-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 700;
    font-size: 1.2rem;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-text {
    font-size: 1.2rem;
    margin: 2rem 0;
    line-height: 1.8;
    color: #CCCCCC;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.footer p {
    font-size: 0.95rem;
    color: #AAAAAA;
}

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

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.slide-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-black);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .programs-grid,
    .trainers-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}
