/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&family=Cormorant:wght@300;400;600&display=swap');

/* Variables */
:root {
    --primary-color: #9CAF88;
    --secondary-color: #3B3B3B;
    --tertiary-color: #F5F1E3;
    --text-color: #333;
    --light-text: #fff;
    --bg-light: #f9f9f9;
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--tertiary-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.fa-brands,
.fab {
    font-size: 1.2rem;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--secondary-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* filter: brightness(0) invert(1); */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section (Full Screen Parallax) */
.hero {
    position: relative;
    /* Full screen height */
    min-height: 100vh;
    display: flex;
    /* Flexbox for centering */
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/bg/hero-section-03.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 2rem;
    /* Add padding to prevent overlap with fixed header/footer */
}

/* Common Content Wrapper for Center Box */
.content-wrapper {
    background: rgba(0, 0, 0, 0.30);
    /* Dark transparent box */
    backdrop-filter: blur(8px);
    /* Blur effect */
    padding: 3rem;
    border-radius: 15px;
    max-width: 1200px;
    width: 100%;
    /* Responsive width */
    margin: 0 auto;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Ensure content inside centers if text */
    text-align: center;
}

#about .content-wrapper,
#partners .content-wrapper,
#pricing .content-wrapper {
    max-width: 1000px !important;
    /* width: 90% !important; */
}

/* Hero Content specific overrides if needed, otherwise use wrapper */
.hero-content {
    /* Extending .content-wrapper functionality directly or just styling hero specific */
    /* Let's make hero use the same style but maybe slightly different max-width */
    background: rgba(59, 59, 59, 0.85);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-color);
    animation: fadeInUp 1s ease-out;
    max-width: 1200px;
    width: 100%
}

.hero h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.hero h2 {
    color: var(--tertiary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero .text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #ddd;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2rem;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Generic Section Styles (Full Screen Parallax) */
.section {
    min-height: 100vh;
    /* Force full viewport height */
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center vertically */
    align-items: center;
    /* Center horizontally */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Overriding h2 color inside content wrapper to be white/light */
.content-wrapper h2 {
    color: #fff;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* About Section Parallax */
#about {
    /* Boxing image to match content, lighter overlay (0.7) to ensure visibility */
    /* background-image: linear-gradient(rgba(59, 59, 59, 0.7), rgba(59, 59, 59, 0.7)), url('../assets/images/bg/hero-section-04-1.jpg'); */
    background-image: linear-gradient(rgba(18, 18, 18, 0.7), rgba(14, 14, 14, 0.7)), url('../assets/images/bg/hero-section-04-1.jpg');
}

.container {
    /* Reset container inside wrapper */
    text-align: left;
    line-height: 1.8;
}

.about-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
}

.about-content>div.about-content-image {
    width: 42%;
}

.about-content>div.about-content-text {
    width: 100%;
}

.about-content-image img {
    border-radius: 50%;
    border: 5px solid #9caf88;
    -webkit-filter: grayscale(80%);
    filter: grayscale(80%);
    transition: transform 0.3s ease;
}

.about-content-image img:hover {
    transform: translateY(-5px);
}

.rewards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    /* margin-top: 3rem; */
    flex-wrap: wrap;
}

.reward-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.reward-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.reward-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reward-box h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.reward-box p {
    color: #ddd;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Services Section Parallax */
#services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/bg/hero-section-08.jpg');
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.subsection {
    flex: 1 1 400px;
    /* Base width */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subsection h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-item {
    flex: 1 1 45%;
    max-width: 450px;
    /* Squeeze a bit to fit in box */
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

/* Partners Section Parallax */
#partners {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/bg/hero-section-06.jpg');
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    max-width: 180px;
    background: rgba(255, 255, 255, 0.1);
    /* Add bg to logo in case they are transparent pngs on dark bg */
    padding: 10px;
    border-radius: 10px;
    transition: var(--transition);
}

/* Contact Section Parallax */
/* Contact Section - Map Overhaul */
#contact {
    position: relative;
    /* Map will be absolute, so we need height if not content driven, but min-height 100vh from general rules handles it */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* Align content to right */
    padding-right: 10%;
    /* Spacing from right edge */
    background: none;
    /* Remove parallax image */
}

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.map-background iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%) invert(90%);
    /* Optional: Make map look more custom/dark */
}

.contact-info-card {
    position: relative;
    z-index: 1;
    /* Above map */
    background-color: rgba(45, 45, 45, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 15px;
    max-width: 400px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-card h2 {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
}

.contact-detail p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    #contact {
        justify-content: center;
        padding-right: 0;
        padding: 2rem;
        align-items: flex-end;
        /* Push card to bottom on mobile so map is visible top? Or center. */
    }

    .contact-info-card {
        width: 100%;
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

/* Pricing Section Parallax */
#pricing {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/bg/hero-section-08.jpg');
    /* Boxing gloves hanging */
}

/* Pricing Specific Styles (Scoped) */
.pricing-list {
    width: 100%;
    /* Keep inside wrapper */
}

.pricing-header h3 {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    /* letter-spacing: 0.2em; */
    color: rgba(255, 255, 255, 0.9);
    /* text-transform: uppercase; */
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-item {
    display: flex;
    /* align-items: center; */
    align-items: start;
    margin-bottom: 2rem;
    gap: 30px;
    text-align: left;
    background-color: var(--secondary-color);
    border-radius: 0px 30px 0px 30px;
    padding: 0px 0px 30px;
}

.price-box {
    min-width: 140px;
    height: 140px;
    /* border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    /* backdrop-filter: blur(10px); */
    flex-shrink: 0;
    border-radius: 0px 30px 0px 30px;
}

.price-value {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
}

.pricing-details {
    flex: 1;
    padding: 30px 0px 0px 0px;
}

.package-name {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    font-size: 3rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.pricing-details .package-note {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', serif;
    text-align: end;
    padding: 15px 30px 0px;
    font-weight: 300 !important;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.duration {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 5px;
}

.description {
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .pricing-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .description {
        padding: 0px 10px;
    }

    .pricing-item:last-child {
        border-bottom: none;
    }

    .price-box {
        min-width: 100%;
        height: 100px;
        border-radius: 0px 30px;
    }

    .pricing-details .package-note {
        padding: 25px 0px 0px;
        text-align: center;
        color: var(--primary-color);
    }

    .package-card {
        padding: 50px 20px !important;
        max-width: 98%;
    }

    .about-content>div.about-content-image {
        width: 80%;
    }
}

/* Packages Section Parallax */
#packages {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/bg/hero-section-07.jpg');
    /* Gym focus */
}

/* Packages Specific Styles (Scoped) */
.packages-header {
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.packages-header h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    /* letter-spacing: -0.02em; */
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
}

.packages-header p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ddd;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    width: 100%;
    margin-top: 2rem;
}

/* Card Styles from layout */
.package-card {
    background: #2d2d2d;
    border-radius: 30px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.package-card.premium {
    background: linear-gradient(135deg, #9aad7f 0%, #a8ba8f 100%);
}

.package-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.card-icon {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 80px;
    height: 80px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.pkg-price-container {
    margin-bottom: 30px;
}

.original-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
    margin-bottom: 5px;
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
}

.current-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
}

.features-list {
    list-style: none;
    margin-bottom: 40px;
    padding: 0;
}

.features-list li {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
}

.features-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    font-size: 2rem;
    color: #fff;
    line-height: 1.4rem;
}

.card-divider {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin: 30px 0;
    position: relative;
}

.card-divider::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    background: #2d2d2d;
    color: rgba(255, 255, 255, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 300;
}

.package-card.premium .card-divider::after {
    background: #9aad7f;
}

.plan-name {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Montserrat', 'Cormorant', 'Open Sans', sans-serif;
}

.plan-name::after {
    content: '+';
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    font-weight: 300;
}

.contact-container {
    /* Now inside content-wrapper or acting as one, let's just style form inputs */
    max-width: 100%;
    /* Let wrapper handle width */
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--tertiary-color);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.submit-btn:hover {
    background: #8b9e76;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #222;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
}

footer p span {
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        text-align: right;
        width: 85%;
    }

    .hero h1 {
        font-size: 1.4rem;
    }

    .service-item {
        flex: 1 1 100%;
    }

    .content-wrapper {
        padding: 1rem;
        width: 100%;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content>div {
        width: 100%;
    }

    .section-title,
    .pricing-header h3,
    .packages-header h3 {
        font-size: 2rem !important;
    }

    /* On mobile, full height might be annoying if content is taller than screen. 
       Change min-height to auto if content is huge, or keep 100vh min. 
       Let's keep min-height 100vh, but ensure padding handles scroll. */

    .section,
    .hero,
    #about,
    #services,
    #partners,
    #contact {
        background-attachment: scroll;
        /* Fix mobile performance/support */
    }
}