
/* =====================================================
   MUSCLE DISTRICT GYM
   PREMIUM WEBSITE STYLESHEET
   Theme: Charcoal / Black / Lime Green
===================================================== */

/* GLOBAL VARIABLES */

:root {
    --primary: #c5f044;
    --primary-dark: #a9d52f;

    --dark: #101214;
    --dark-secondary: #191d20;
    --dark-tertiary: #242a2d;

    --white: #ffffff;
    --light: #f4f5f2;

    --text: #252a2c;
    --text-light: #687071;
    --muted: #aeb5b4;

    --border: #e2e5df;

    --container: 1200px;

    --transition: all .3s ease;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--light);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* CONTAINERS */

.container,
.section-container,
.all-container,
.footer-container,
.specials-container {
    width: 92%;
    max-width: var(--container);
    margin-left: auto;
    margin-right: auto;
}


/* NAVIGATION */

nav {
    position: relative;
    z-index: 100;
    width: 100%;
    background: var(--dark);
    border-bottom: 1px solid rgba(197, 240, 68, .2);
}

.nav-container {
    width: 92%;
    max-width: var(--container);
    min-height: 85px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.website-title {
    color: var(--white);
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.website-title span {
    color: var(--primary);
}

.menulist a {
    color: #dedfdd;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menulist a:hover,
.menulist a:focus-visible {
    color: var(--primary);
}

.end-menu a {
    display: inline-block;
    padding: 12px 22px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 3px;
    font-weight: 900;
}

.end-menu a:hover {
    background: var(--white);
    color: var(--dark);
}


/* GENERAL HEADINGS */

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 850;
}

.section-label {
    color: #718d28;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.section-heading {
    color: var(--dark);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 22px;
}


/* BUTTONS */

.btn,
.button,
button[type="submit"] {
    display: inline-block;
    padding: 15px 30px;

    background: var(--primary);
    color: var(--dark);

    border: 2px solid var(--primary);
    border-radius: 3px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;
    transition: var(--transition);
}

.btn:hover,
.button:hover,
button[type="submit"]:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--dark);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--dark);
}


/* FEATURED IMAGE */

.featured-image,
.featured-image2 {
    position: relative;
    width: 100%;
    height: clamp(260px, 38vw, 470px);
    overflow: hidden;
    background: var(--dark-secondary);
}

.featured-image img,
.featured-image2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* CONTENT SECTIONS */

.all-contents {
    padding: 90px 0;
    background: var(--light);
}

.contents-here {
    max-width: 850px;
    margin: auto;
    text-align: center;
}

.contents-here h2 {
    color: var(--dark);
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 950;
    letter-spacing: -2px;
    margin-bottom: 25px;
}

.contents-here p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 18px;
}


/* SPECIAL OFFERS */

.specials {
    padding: 75px 20px;
    background: var(--primary);
    color: var(--dark);
}

.specials-here {
    text-align: center;
}

.specials-here h2 {
    color: #526b1e;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.specials-here h3 {
    color: var(--dark);
    font-size: clamp(25px, 4vw, 42px);
    font-weight: 950;
    margin-bottom: 15px;
}

.specials-here p {
    color: #39451e;
    font-size: 15px;
    margin-bottom: 20px;
}


/* CARDS */

.card,
.feature-card {
    background: var(--white);
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
}

.card:hover,
.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

.card i,
.feature-card i {
    color: #718d28;
    font-size: 32px;
    margin-bottom: 20px;
}

.card h3,
.feature-card h3 {
    color: var(--dark);
    font-size: 20px;
    margin-bottom: 15px;
}

.card p,
.feature-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
}


/* GRID LAYOUTS */

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* ABOUT SECTION */

.about-section {
    padding: 100px 0;
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.about-image {
    min-height: 420px;
    background: var(--dark-secondary);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}


/* DARK SECTIONS */

.dark-section {
    padding: 90px 0;
    background: var(--dark);
    color: var(--white);
}

.dark-section h2,
.dark-section h3 {
    color: var(--white);
}

.dark-section p {
    color: var(--muted);
}


/* GALLERY */

.gallery-section {
    padding: 90px 0;
    background: var(--light);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-grid img:hover {
    transform: scale(1.025);
}


/* PRICE / MEMBERSHIP */

.price-section {
    padding: 90px 0;
    background: var(--light);
}

.price-card {
    padding: 40px 30px;
    background: var(--white);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

.price-card h3 {
    color: var(--dark);
    font-size: 22px;
    margin-bottom: 20px;
}

.price-card .price {
    color: #718d28;
    font-size: 42px;
    font-weight: 950;
    margin-bottom: 20px;
}

.price-card p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 25px;
}


/* CONTACT SECTION */

.contact-section {
    padding: 90px 0;
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: var(--dark);
    padding: 40px;
    color: var(--white);
}

.contact-info h3 {
    color: var(--primary);
    font-size: 23px;
    margin-bottom: 25px;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 20px;
    font-size: 14px;
}

.contact-info i {
    color: var(--primary);
    margin-right: 10px;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 18px;

    border: 1px solid var(--border);
    background: #fafbf9;
    color: var(--dark);

    outline: none;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #8eaf32;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}


/* CONTACT CTA */

.contact-cta {
    padding: 85px 20px;
    background: var(--dark);
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
    font-size: clamp(30px, 5vw, 46px);
    margin-bottom: 20px;
}

.contact-cta p {
    color: var(--muted);
    margin-bottom: 30px;
}


/* FOOTER */

footer {
    background: #090b0c;
    color: var(--white);
    padding: 55px 20px 25px;
    border-top: 1px solid rgba(197, 240, 68, .2);
}

.footer-container {
    max-width: var(--container);
    margin: auto;
}

.footer-here {
    text-align: center;
}

.footer-here h3 {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: .3px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 35px;
}

.footer-grid h3 {
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
    color: var(--muted);
    font-size: 13px;
    line-height: 2;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #292e30;
    padding-top: 22px;
    margin-top: 20px;
    color: #828a89;
    font-size: 11px;
    text-align: center;
}


/* LINKS AND ICONS */

i {
    transition: var(--transition);
}

a:hover i {
    color: var(--primary);
}


/* RESPONSIVE DESIGN */

@media (max-width: 1000px) {

    .nav-container {
        gap: 15px;
    }

    .website-title {
        font-size: 17px;
    }

    .menulist a {
        font-size: 11px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 35px;
    }

}


@media (max-width: 800px) {

    .nav-container {
        min-height: auto;
        padding: 22px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .website-title {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .grid-3,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 560px) {

    .nav-container {
        gap: 15px;
    }

    .website-title {
        font-size: 17px;
    }

    .menulist a {
        font-size: 10px;
        letter-spacing: .5px;
    }

    .end-menu a {
        padding: 10px 13px;
    }

    .featured-image,
    .featured-image2 {
        height: 270px;
    }

    .all-contents,
    .about-section,
    .price-section,
    .contact-section,
    .gallery-section {
        padding: 65px 0;
    }

    .specials {
        padding: 60px 20px;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .gallery-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 280px;
    }

    .card,
    .feature-card,
    .contact-info,
    .contact-form {
        padding: 28px 22px;
    }

    .footer-here h3 {
        font-size: 11px;
    }

}


/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}
