/* =========================================================
   FITPRO GYM WEBSITE
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   01. VARIABLES
========================================================= */

:root {

    --primary: #ff3b30;

    --primary-dark: #d92d25;

    --black: #050505;

    --dark: #0a0a0a;

    --dark-light: #111111;

    --card: #151515;

    --white: #ffffff;

    --text: #dddddd;

    --muted: #8c8c8c;

    --border: rgba(255, 255, 255, 0.08);

    --transition: 0.3s ease;

}


/* =========================================================
   02. RESET
========================================================= */

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


html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}


body {

    font-family: "Inter", sans-serif;

    background: var(--dark);

    color: var(--white);

    overflow-x: hidden;

}


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


a {
    text-decoration: none;
}


ul {
    margin: 0;
    padding: 0;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   03. COMMON
========================================================= */

.section-padding {
    padding: 110px 0;
}


.section-label {

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 15px;

}


.section-title {

    font-size: clamp(40px, 5vw, 64px);

    line-height: 1;

    font-weight: 900;

    letter-spacing: -3px;

    margin-bottom: 20px;

}


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


.section-description {

    color: var(--muted);

    font-size: 15px;

    line-height: 1.9;

}


.section-heading {

    max-width: 700px;

    margin: 0 auto;

}


.section-heading > p {

    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   04. BUTTONS
========================================================= */

.btn {

    border-radius: 3px;

    padding: 13px 25px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.8px;

    transition: var(--transition);

}


.btn-primary {

    background: var(--primary);

    border-color: var(--primary);

    color: var(--white);

}


.btn-primary:hover {

    background: var(--primary-dark);

    border-color: var(--primary-dark);

    color: var(--white);

    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(255, 59, 48, 0.25);

}


.btn-whatsapp {

    background: #25d366;

    border-color: #25d366;

    color: var(--white);

}


.btn-whatsapp:hover {

    background: #1ebc59;

    border-color: #1ebc59;

    color: var(--white);

    transform: translateY(-3px);

}


.btn-light {

    background: var(--white);

    border-color: var(--white);

    color: var(--primary);

}


.btn-light:hover {

    background: var(--black);

    border-color: var(--black);

    color: var(--white);

    transform: translateY(-3px);

}


/* =========================================================
   05. NAVBAR
========================================================= */

.navbar {

    padding: 20px 0;

    background: rgba(5, 5, 5, 0.55);

    backdrop-filter: blur(15px);

    -webkit-backdrop-filter: blur(15px);

    border-bottom: 1px solid transparent;

    transition: var(--transition);

}


.navbar.scrolled {

    padding: 13px 0;

    background: rgba(5, 5, 5, 0.95);

    border-bottom-color: var(--border);

}


.navbar-brand {

    color: var(--white) !important;

    font-size: 27px;

    font-weight: 900;

    letter-spacing: -1px;

}


.navbar-brand span {
    color: var(--primary);
}


.nav-link {

    color: rgba(255, 255, 255, 0.7) !important;

    font-size: 12px;

    font-weight: 600;

    margin-left: 24px;

    transition: var(--transition);

}


.nav-link:hover,
.nav-link.active {

    color: var(--primary) !important;

}


.nav-button {
    padding: 10px 20px;
}


/* =========================================================
   06. HERO
========================================================= */

.hero-section {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    background-image:
        url(
        "https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2200&q=90"
        );

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.95) 0%,
            rgba(0, 0, 0, 0.72) 45%,
            rgba(0, 0, 0, 0.25) 100%
        );

}


.hero-container {

    position: relative;

    z-index: 2;

    padding-top: 100px;

    padding-bottom: 50px;

}


.hero-content {
    max-width: 760px;
}


.hero-label {

    display: flex;

    align-items: center;

    gap: 12px;

}


.hero-label span {

    width: 35px;

    height: 2px;

    background: var(--primary);

}


.hero-content h1 {

    font-size: clamp(55px, 8vw, 105px);

    line-height: 0.92;

    font-weight: 900;

    letter-spacing: -6px;

    margin-bottom: 30px;

}


.hero-content h1 span {
    color: var(--primary);
}


.hero-content > p {

    max-width: 580px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 35px;

}


.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}


.hero-buttons .btn {
    min-width: 190px;
}


.hero-stats {

    display: flex;

    gap: 70px;

    margin-top: 90px;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

}


.stat-item h3 {

    font-size: 32px;

    font-weight: 900;

    margin-bottom: 4px;

}


.stat-item h3 span {
    color: var(--primary);
}


.stat-item p {

    color: var(--muted);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


/* =========================================================
   07. ABOUT
========================================================= */

.about-section {
    background: var(--dark);
}


.about-image-wrapper {

    position: relative;

    padding-right: 35px;

    padding-bottom: 35px;

}


.about-image-wrapper::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 75%;

    height: 75%;

    border: 2px solid var(--primary);

    z-index: 0;

}


.about-image {

    position: relative;

    z-index: 1;

    width: 100%;

    height: 550px;

    object-fit: cover;

    filter: grayscale(15%);

}


.experience-card {

    position: absolute;

    left: -25px;

    bottom: 15px;

    z-index: 2;

    background: var(--primary);

    padding: 25px 30px;

}


.experience-card strong {

    display: block;

    font-size: 48px;

    line-height: 1;

    font-weight: 900;

}


.experience-card span {

    display: block;

    margin-top: 7px;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

}


.feature-list {
    margin-top: 35px;
}


.feature-item {

    display: flex;

    gap: 18px;

    padding: 20px 0;

    border-bottom: 1px solid var(--border);

}


.feature-icon {

    flex-shrink: 0;

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 59, 48, 0.1);

    color: var(--primary);

    font-size: 19px;

}


.feature-item h3 {

    font-size: 15px;

    font-weight: 800;

    margin-bottom: 5px;

}


.feature-item p {

    color: var(--muted);

    font-size: 12px;

    margin: 0;

}


/* =========================================================
   08. PROGRAMS
========================================================= */

.programs-section {
    background: var(--dark-light);
}


.program-card {

    height: 100%;

    overflow: hidden;

    background: var(--card);

    border: 1px solid var(--border);

    transition: 0.4s ease;

}


.program-card:hover {

    transform: translateY(-8px);

    border-color: rgba(255, 59, 48, 0.5);

}


.program-image {

    height: 240px;

    overflow: hidden;

}


.program-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;

}


.program-card:hover .program-image img {
    transform: scale(1.08);
}


.program-content {
    padding: 28px;
}


.program-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: var(--primary);

    margin-bottom: 20px;

    font-size: 20px;

}


.program-content h3 {

    font-size: 20px;

    font-weight: 800;

    margin-bottom: 12px;

}


.program-content p {

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 20px;

}


.program-content a {

    color: var(--white);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    transition: var(--transition);

}


.program-content a:hover {
    color: var(--primary);
}


.program-content a i {
    margin-left: 6px;
}


/* =========================================================
   09. TRAINERS
========================================================= */

.trainers-section {
    background: var(--dark);
}


.trainer-card {

    position: relative;

    height: 500px;

    overflow: hidden;

    background: var(--card);

}


.trainer-card img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: 0.5s ease;

}


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


.trainer-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            transparent 35%,
            rgba(0, 0, 0, 0.95) 100%
        );

}


.trainer-info {

    position: absolute;

    left: 30px;

    bottom: 30px;

    z-index: 2;

}


.trainer-info h3 {

    font-size: 24px;

    font-weight: 800;

    margin-bottom: 5px;

}


.trainer-info p {

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 15px;

}


.trainer-social {

    display: flex;

    gap: 8px;

}


.trainer-social a {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    background: rgba(255, 255, 255, 0.1);

    transition: var(--transition);

}


.trainer-social a:hover {
    background: var(--primary);
}


/* =========================================================
   10. PRICING
========================================================= */

.pricing-section {
    background: var(--dark-light);
}


.pricing-card {

    position: relative;

    height: 100%;

    padding: 40px 35px;

    background: var(--card);

    border: 1px solid var(--border);

    transition: 0.4s ease;

}


.pricing-card:hover {
    transform: translateY(-8px);
}


.pricing-card.featured {

    border-color: var(--primary);

    box-shadow:
        0 20px 60px rgba(255, 59, 48, 0.08);

}


.popular-badge {

    position: absolute;

    top: 0;

    right: 25px;

    padding: 8px 15px;

    background: var(--primary);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1px;

}


.pricing-card h3 {

    font-size: 18px;

    font-weight: 800;

    letter-spacing: 1px;

}


.pricing-subtitle {

    color: var(--muted);

    font-size: 12px;

}


.price {

    margin: 25px 0;

    font-size: 45px;

    font-weight: 900;

}


.price span {

    color: var(--muted);

    font-size: 11px;

    font-weight: 500;

}


.pricing-features {

    list-style: none;

    margin-bottom: 30px;

}


.pricing-features li {

    padding: 12px 0;

    border-bottom: 1px solid var(--border);

    color: var(--text);

    font-size: 13px;

}


.pricing-features i {

    color: var(--primary);

    margin-right: 8px;

}


/* =========================================================
   11. CTA
========================================================= */

.cta-section {

    padding: 120px 0;

    background:
        linear-gradient(
            rgba(255, 59, 48, 0.9),
            rgba(180, 35, 28, 0.92)
        ),
        url(
        "https://images.unsplash.com/photo-1546483875-ad9014c88eba?auto=format&fit=crop&w=2000&q=85"
        );

    background-size: cover;

    background-position: center;

    text-align: center;

}


.cta-section .section-label {
    color: var(--white);
}


.cta-section h2 {

    font-size: clamp(40px, 6vw, 75px);

    line-height: 0.95;

    font-weight: 900;

    letter-spacing: -4px;

    margin-bottom: 20px;

}


.cta-section h2 span {
    display: block;
}


.cta-section p {

    color: rgba(255, 255, 255, 0.85);

    margin-bottom: 30px;

}


/* =========================================================
   12. TESTIMONIALS
========================================================= */

.testimonials-section {
    background: var(--dark);
}


.testimonial-card {

    height: 100%;

    padding: 35px;

    background: var(--card);

    border: 1px solid var(--border);

    transition: var(--transition);

}


.testimonial-card:hover {

    transform: translateY(-5px);

    border-color: rgba(255, 59, 48, 0.4);

}


.stars {

    color: #ffc107;

    letter-spacing: 3px;

    margin-bottom: 20px;

}


.testimonial-card p {

    color: var(--text);

    font-size: 14px;

    line-height: 1.8;

    font-style: italic;

}


.testimonial-card h3 {

    font-size: 15px;

    font-weight: 800;

    margin-top: 25px;

    margin-bottom: 3px;

}


.testimonial-card small {

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   13. CONTACT
========================================================= */

.contact-section {
    background: var(--dark-light);
}


.contact-details {
    margin: 35px 0;
}


.contact-item {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-bottom: 25px;

}


.contact-icon {

    flex-shrink: 0;

    width: 45px;

    height: 45px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255, 59, 48, 0.1);

    color: var(--primary);

}


.contact-item h3 {

    font-size: 13px;

    font-weight: 800;

    margin-bottom: 5px;

}


.contact-item p {

    color: var(--muted);

    font-size: 12px;

    margin: 0;

}


.contact-form {

    padding: 40px;

    background: var(--card);

    border: 1px solid var(--border);

}


.contact-form > h3 {

    font-size: 23px;

    font-weight: 800;

    margin-bottom: 5px;

}


.contact-form > p {

    color: var(--muted);

    font-size: 12px;

    margin-bottom: 30px;

}


.form-control {

    min-height: 52px;

    padding: 14px 16px;

    border-radius: 2px;

    border: 1px solid var(--border);

    background: #0a0a0a;

    color: var(--white);

    font-size: 13px;

}


.form-control:focus {

    background: #0a0a0a;

    color: var(--white);

    border-color: var(--primary);

    box-shadow: none;

}


.form-control::placeholder {
    color: #666;
}


select.form-control {
    color: #777;
}


textarea.form-control {
    resize: none;
}


/* =========================================================
   14. FOOTER
========================================================= */

.footer {

    padding: 70px 0 25px;

    background: var(--black);

}


.footer h3 {

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 20px;

}


.footer-description {

    max-width: 400px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;

    margin-top: 20px;

}


.footer ul {

    list-style: none;

}


.footer li {
    margin-bottom: 10px;
}


.footer li a {

    color: var(--muted);

    font-size: 12px;

    transition: var(--transition);

}


.footer li a:hover {
    color: var(--primary);
}


.footer p {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.7;

}


.footer-social {

    display: flex;

    gap: 8px;

}


.footer-social a {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--white);

    background: var(--card);

    transition: var(--transition);

}


.footer-social a:hover {
    background: var(--primary);
}


.footer hr {

    margin: 50px 0 20px;

    border-color: var(--border);

}


.footer-bottom {

    display: flex;

    justify-content: space-between;

    gap: 20px;

}


.footer-bottom p {

    margin: 0;

    font-size: 10px;

}


/* =========================================================
   15. SCROLL ANIMATION
========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


.reveal-visible {

    opacity: 1;

    transform: translateY(0);

}


/* =========================================================
   16. RESPONSIVE
========================================================= */

@media (max-width: 991px) {


    .navbar {

        background: rgba(5, 5, 5, 0.95);

    }


    .nav-link {

        margin-left: 0;

        padding: 10px 0 !important;

    }


    .hero-section {

        background-attachment: scroll;

    }


    .hero-content h1 {

        letter-spacing: -4px;

    }


    .hero-stats {

        gap: 40px;

    }


    .about-image {

        height: 450px;

    }

}


@media (max-width: 767px) {


    .section-padding {

        padding: 75px 0;

    }


    .hero-container {

        padding-top: 120px;

    }


    .hero-content h1 {

        font-size: 54px;

        letter-spacing: -3px;

    }


    .hero-content > p {

        font-size: 14px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .hero-stats {

        gap: 25px;

        margin-top: 65px;

        flex-wrap: wrap;

    }


    .stat-item h3 {

        font-size: 25px;

    }


    .stat-item p {

        font-size: 8px;

    }


    .about-image-wrapper {

        padding-right: 15px;

    }


    .about-image {

        height: 400px;

    }


    .experience-card {

        left: 10px;

    }


    .trainer-card {

        height: 450px;

    }


    .contact-form {

        padding: 25px;

    }


    .footer-bottom {

        flex-direction: column;

    }

}


@media (max-width: 480px) {


    .hero-content h1 {

        font-size: 45px;

    }


    .hero-stats {

        gap: 18px;

    }


    .experience-card {

        padding: 18px 20px;

    }


    .experience-card strong {

        font-size: 35px;

    }


    .program-content {

        padding: 22px;

    }


    .pricing-card {

        padding: 30px 25px;

    }

}