@font-face {
    font-family: "Fira Sans";
    src: url('../fonts/FiraSans-Regular.ttf');
}

@font-face {
    font-family: "Fira Sans";
    font-weight: 500;
    src: url('../fonts/FiraSans-Medium.ttf');
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #B86C21;
    --primary-gray: #252423;
    --secondary-gray: #2D2B29;
    --text-light: #E8E6E3;
    --text-muted: #A0A0A0;
    --card-bg: #2D2B29;
    --gradient-accent: linear-gradient(135deg, #B86C21, #D4802D);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-family: 'Fira Sans';
    background-color: var(--primary-gray);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #E8E6E3;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.accent {
    color: var(--accent);
}

.nowrap {
    white-space: nowrap;
}

.sans, .btn, button, input, select, textarea {
    font-family: 'Bitter';
}

.popup h3.sans {
    color: var(--accent);
}

.popup h4 + p,
.popup p + p {
    margin-top: 1rem;
}

.popup p + h4 {
    margin-top: 2rem;
}


/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--secondary-gray);
    backdrop-filter: blur(10px);
    z-index: 900;
    padding: 1rem 0;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.25);
}

nav.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px 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-size: 1.5rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

#mobile-menu {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--accent);
    transition: all 0.3s ease;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}
.lang-switcher a {
    color: #fff;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: 'Bitter', serif;
    font-weight: 400;
}
.lang-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.lang-switcher a.active {
    color: var(--accent);
}

@media (max-width: 980px) {
    .logo {
        font-size: 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 70px);
    padding: 4rem 2rem;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    background-blend-mode: saturation;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container without distortion */
    opacity: 0; /* All images are initially hidden */
    transition: opacity 1s ease-in-out; /* The fade transition */
}

.hero-image.active {
    opacity: 1; /* The active image is visible */
}

@keyframes float {
    0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

.hero-content {
    max-width: 1200px;
    padding: 38px 72px 58px;
    position: relative;
    text-align: center;
    background: #2D2B29B2;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    color: var(--accent);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #E8E6E3;
    max-width: 620px;
    margin: 2rem auto 0;
    line-height: 1.8;
}

.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(184, 108, 33, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(184, 108, 33, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Section Base */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 5rem 0 0;
}

.service-summary {
    display: flex;
    width: 306px;
    align-items: flex-start;
    align-content: flex-start;
    gap: 10px 16px;
    flex-wrap: wrap;
}

.service-summary-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.service-summary-icon {
    width: 19px;
    height: 19px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-calendar {
    background-image: url('../images/calendar-icon.svg');
}

.icon-chevron {
    background-image: url('../images/chevron-icon.svg');
}

.icon-stopwatch {
    background-image: url('../images/stopwatch-icon.svg');
}

.icon-key {
    background-image: url('../images/key-icon.svg');
}

.icon-map {
    background-image: url('../images/map-icon.svg');
}

.icon-location {
    background-image: url('../images/location-icon.svg');
}

.icon-facebook {
    background-image: url('../images/facebook.svg');
    width: 16px;
}

.icon-instagram {
    background-image: url('../images/instagram.svg');
    width: 28px;
}

.icon-youtube {
    background-image: url('../images/youtube.svg');
    width: 41px;
}

.social-icon {
    display: inline-block;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.get-in-touch-social {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.section-intro {
    margin: 0 auto 4rem;
    padding: 0 2rem;
}


@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(184, 108, 33, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
    border-radius: 20px;
    border: 2px solid #B86C21;
    box-shadow: 0 15px 30px 0 rgba(184, 108, 33, 0.20);
}

@media screen and (max-width: 450px) {
    .service-card {
        padding: 1rem;
    }
}

.service-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.service-title {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 500;
}

.service-price {
    color: var(--accent);
    font-size: 1.25rem;
    font-weight: 500;
    white-space: nowrap;
}

.service-description {
    flex-grow: 1;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '✓';
    color: var(--accent);
    margin-right: 0.75rem;
    font-weight: bold;
}

.service-cta {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    opacity: 0;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.service-card:hover .service-cta {
    opacity: 1;
}

/* Orientation Section */
.orientation {
    max-width: 850px;
    padding-top: 5rem;
    margin: 0 auto;
    background: var(--primary-gray);
}

.orientation-grid {
    display: grid;
    gap: 2rem;
    margin: 3rem auto 0;
}

.orientation-item {
    transition: all 0.3s ease;
}

.orientation-item:hover {
    transform: translateX(10px);
}

.orientation-question {
    margin-bottom: 1rem;
    font-style: italic;
}

.orientation-answer {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 500;
}

/* About Me Section */

.about-me {
    max-width: 850px;
    padding: 5rem 0 0;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
}

.contact-container {
    margin: 0 auto;
}

.contact-container h2 {
    margin-bottom: 0.5rem;;
}

.contact-container h2 + p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-inner {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    width: 100%;
}

.contact-inner > * {
    flex: 1;
    min-width: 0;
}

#contactForm {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
}

#contactMessage {
    margin-top: 2rem;
}

#contactMessage.success {
    color: #94d365;
}

#contactMessage.error {
    color: #eb4b4b;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 1rem;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    border: 1px solid #2D2B29;
    background: var(--primary-gray);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184, 108, 33, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.get-in-touch-entries {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.get-in-touch-entry {
    display: flex;
    flex-direction: column;
    padding-left: 40px;
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: 0 1rem;
}

.get-in-touch-entry.email {
    background-image: url('../images/email-icon.svg');
}

.get-in-touch-entry.phone {
    background-image: url('../images/phone-icon.svg');
}

.get-in-touch-entry.phone .get-in-touch-entry-body {
    color: var(--text-muted) !important;
    text-decoration: none !important;
}

.get-in-touch-entry.address,
.get-in-touch-entry.address-2 {
    background-image: url('../images/location-icon.svg');
    background-size: 19px;
}

.get-in-touch-entry-body {
    color: var(--text-muted);
    line-height: 1.6;
}

.get-in-touch-map,
.map-container,
#map {
    width: 100%;
    max-width: 640px;
    height: 480px;
    max-height: 480px;
    overflow: hidden;
    margin-top: 2rem;
}

.info-window-content {
    color: var(--primary-gray);
}

@media (max-width: 980px) {
    .contact-inner {
        flex-direction: column;
    }

    .get-in-touch-map,
    .map-container,
    #map {
        width: 100%;
        max-width: 100%;
        height: 320px;
        max-height: 320px;
        margin-top: 1rem;
    }

    .hero {
        min-height: 50vh;
        padding: 2rem 1rem;
        margin-top: 64px;
    }

    .hero-content {
        padding: 1rem;
    }

    .services-grid {
        padding: 0 1rem;
    }

    .orientation {
        max-width: 100%;
        padding: 0 1rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .about-me {
        padding: 3rem 1rem;
    }

    #contactForm {
        padding: 1rem;
    }
}

/* Service Popup */


.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: var(--card-bg);
    padding: 2rem 3rem;
    border-radius: 10px;
    border: 2px solid rgba(184, 108, 33, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-size: 18px;
    width: 80%;
    max-width: 950px;
    max-height: 80%;
    transition: transform 0.3s ease;
}

#movementClassOverlay .popup,
#onlineOverlay .popup,
#trialOverlay .popup,
#introOverlay .popup,
#individualOverlay .popup,
#fullOverlay .popup {
    overflow-y: auto;
}

#newsletterOverlay .popup {
    max-width: 610px;
    padding: 2rem;
}

#newsletterOverlay .popup h2 {
    margin-bottom: 2rem;
    color: var(--text-light);
}

#newsletterOverlay .popup input {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

#newsletterOverlay .popup button {
    width: 100%;
    margin-bottom: 1rem;
}

/* The privacy line now follows the signup form rather than the button
   directly, since the button moved inside the form. */
#newsletterOverlay .popup form + p {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Honeypot. Kept out of the layout and away from assistive tech, but still
   submitted — only a bot fills it in. Not display:none, which some bots skip. */
.website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.newsletterMessage {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    min-height: 1.2em;
}

/* Shown in place of the form once a signup succeeds. */
.newsletterSuccess {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 2rem 0;
}

.newsletterSuccess-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--accent, #7ac142);
    color: var(--accent, #7ac142);
    font-size: 1.75rem;
    line-height: 1;
}

.newsletterSuccess p {
    margin: 0;
    max-width: 380px;
    color: var(--text-light, #f5f5f5);
}

.newsletterMessage.success {
    color: var(--accent, #7ac142);
}

.newsletterMessage.error {
    color: #e06c6c;
}

.get-in-touch-newsletter {
    margin-top: 2rem;
}

.get-in-touch-newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.get-in-touch-newsletter input[type="email"] {
    flex: 1 1 200px;
    min-width: 0;
}

.get-in-touch-newsletter .newsletterMessage {
    flex-basis: 100%;
}

.overlay.show .popup {
    transform: translate(-50%, -50%) scale(1);
}

.close-btn {
    position: absolute;
    top: -5px;
    right: 15px;
    font-size: 34px;
    cursor: pointer;
    color: var(--accent);
    font-weight: bold;
}

.popup h2 {
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--accent);
}

.popup h3 {
    margin-top: 2rem;
}

body:not(.touchscreen)::-webkit-scrollbar,
.popup::-webkit-scrollbar {
    width: 10px;
}

body:not(.touchscreen)::-webkit-scrollbar-track,
.popup::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #211F1D;
    border: 1px solid #F2E2D333;
}

.popup::-webkit-scrollbar-thumb,
body:not(.touchscreen)::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: #57514b;
}

body.no-scroll,
body.no-scroll nav {
    overflow-y: hidden;
}

@media (hover: hover) {
    body.no-scroll,
    body.no-scroll nav {
        padding-right: 10px;
    }
}

/* Footer */
footer {
    background: var(--card-bg);
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(184, 108, 33, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Members Area */
#login {
    cursor: pointer;
}

#membersAreaiFrameWrapper {
    display: flex;
    width: calc(100% + 1px);
    height: 100vh;
    height: 100svh;
    position: fixed;
    top: 0;
    right: -1px;
    left: -1px;
    opacity: 0;
    z-index: 999;
    transition: opacity 800ms ease-in 300ms;
    background: #252423;
    border: none;
}

#wrapper.loaded,
#membersAreaiFrameWrapper.loading,
#membersAreaiFrameWrapper.loaded,
.loading,
.loaded {
    opacity: 1;
}

iframe {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: none;
}

/* Responsive */

@media (max-width: 980px) {
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }

    .nav-links a::after {
        display: none;
    }
    
    .nav-container .lang-switcher {
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
    
    #mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    #mobile-menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }

    #mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 350px;
        height: 100vh;
        background: var(--primary-gray);
        z-index: 999;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
    }

    #mobile-menu.show {
        transform: translateX(0);
    }

    /* ========================================= /
    / Mobile Menu - Content          /
    / ========================================= */

    .mobile-menu-logo-section {
        width: 100%;
        height: 180px;
        padding: 20px 0;
        background: var(--primary-gray) url('../images/logo-orange.svg') no-repeat center / 130px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-shrink: 0;
    }

    #mobile-menu-close {
        position: absolute;
        top: 6px;
        right: 11px;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: url('../images/btn-close.svg') no-repeat center / 36px;
    }

    #mobile-menu-close:hover {
        transform: scale(1.1);
    }

    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
        flex: 1;
        overflow-y: auto;
        padding: 20px 0;
    }

    .mobile-menu-content hr {
        width: calc(100% - 3rem);
        margin: 0 auto;
        border-color: var(--text-light);
        opacity: 0.2;
    }

    .mobile-menu-content .lang-switcher {
        padding-left: 1rem;
    }

    .mobile-menu-content .lang-switcher a {
        padding-top: 1rem;
        font-size: 20px;
        line-height: 1.4;
        letter-spacing: 2px;
    }

    #mobile-nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    #mobile-nav-list li {
        padding: 1rem 1.5rem;
        font-size: 16px;
        color: #E6FAEC; /* Adjust color */
        cursor: pointer;
        transition: all 0.2s ease;
        line-height: 1.4;
    }

    #mobile-nav-list li:hover {
        background-color: var(--primary-gray);
    }

    #mobile-nav-list li a {
        color: inherit;
        text-decoration: none;
        display: block;
        width: 100%;
        height: 100%;
        color: var(--text-light);
        font-family: 'Bitter', serif;
        letter-spacing: 2.5px;
        font-size: 20px;
        font-weight: 400;
    }

    .hero-description {
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .popup {
        width: calc(100% - 2rem);
        max-height: calc(100% - 2rem);
        padding: 1.5rem 1rem;
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-description {
        display: none;
    }

    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .service-cta {
        opacity: 1;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}

@media (pointer: coarse) and (hover: none) {
    .service-cta {
        opacity: 1;
    }
}