/* CSS Resets & Variables */
:root {
    --primary-color: #4A6C6F;    /* Deep Sage */
    --secondary-color: #84A9AC;  /* Soft Teal */
    --accent-color: #E7DFD5;     /* Warm Sand */
    --text-color: #3B3B3B;       /* Charcoal */
    --bg-color: #F9FBFB;         /* Off-White */
    --white: #FFFFFF;
    --font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --heading-font: 'Lora', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
}

/* --- Inline Form Status Popups --- */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    text-align: center;
}
.form-status.success {
    display: block;
    background-color: #E2ECE9;
    color: #2E4749;
    border: 1px solid var(--secondary-color);
}
.form-status.error {
    display: block;
    background-color: #F8ECEB;
    color: #8A3229;
    border: 1px solid #E2B2AD;
}
.form-status.sending {
    display: block;
    background-color: var(--bg-color);
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
}

/* --- Stylized Navigation --- */
header {
    background-color: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 108, 111, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.4rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--heading-font);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.85;
    padding-left: 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Menu Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../img/hero.jpg') no-repeat center center/cover;
    padding: 8rem 1.5rem 4rem 1.5rem;
}

/* --- Hero Section Content --- */
.hero-content {
    background-color: rgba(74, 108, 111, 0.8); 
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    max-width: 900px;
}

.hero h1 {
    color: #FFFFFF; 
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); 
}

.hero p {
    color: #FFFFFF; 
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    font-family: var(--heading-font);
    font-style: italic;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1.1rem 2.8rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    font-family: var(--font-family);
}

.btn:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* --- Generic Section Styling --- */
section {
    padding: 7rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 20px auto 0;
}

/* --- About Inna Section --- */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-container::after {
    content: "";
    display: table;
    clear: both;
}

.about-image {
    float: left;
    width: 380px;
    max-width: 100%;
    height: 520px;
    margin-right: 4.5rem;
    margin-bottom: 2rem;
    border-radius: 40px 140px 50px 120px;
    object-fit: cover;
    background-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(74, 108, 111, 0.15);
    transition: border-radius 0.5s ease;
}

.about-image:hover {
    border-radius: 120px 50px 140px 40px;
}

.about-content {
    color: var(--text-color);
}

.credentials {
    display: block;
    clear: right;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
}

.credentials strong {
    color: var(--primary-color);
}

/* --- Myofascial Release Section --- */
.mfr-wrapper {
    background-color: var(--white);
    border-radius: 16px;
    padding: 5rem 4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.mfr-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.mfr-text-block h3 {
    font-size: 1.7rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.fascia-functions-title {
    text-align: center;
    font-size: 1.4rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.functions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.function-card {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.function-card strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--heading-font);
    font-size: 1.1rem;
}

/* --- CONDITIONS SECTION --- */
.conditions-wrapper {
    margin-top: 2rem;
    padding-top: 4rem;
    border-top: 1px solid #eee;
}

.conditions-card {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    border-right: 4px solid var(--secondary-color);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.conditions-card .conditions-title {
    color: var(--primary-color) !important;
    font-family: var(--heading-font);
    font-size: 2.3rem;
    font-weight: 700 !important;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.conditions-card .conditions-desc {
    margin-bottom: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #2D4345 !important;
    line-height: 1.6 !important;
}

.conditions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.condition-pill {
    background-color: var(--bg-color);
    color: var(--primary-color);
    padding: 0.75rem 1.7rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.condition-pill:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- Contact & Embedded Map Layout --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 3rem;
    border-radius: 40px 12px 40px 12px;
    box-shadow: 0 10px 25px rgba(74, 108, 111, 0.2);
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.contact-info p {
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.contact-map {
    width: 100%;
    height: 220px;
    border: 0;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background-color: var(--accent-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 0.95rem;
}

input, textarea {
    padding: 1rem;
    border: 1px solid #EAEAEA;
    background-color: #FAFAFA;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: var(--white);
    box-shadow: 0 0 8px rgba(132, 169, 172, 0.2);
}

textarea {
    resize: vertical;
    height: 140px;
}

button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    align-self: flex-start;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(74, 108, 111, 0.15);
}

button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(132, 169, 172, 0.3);
}

/* --- Footer --- */
footer {
    background-color: #2D4345;
    color: var(--white);
    text-align: center;
    padding: 3.5rem 2rem;
}

footer p {
    margin: 0;
    opacity: 0.6;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* --- Responsive Layout & Mobile Design Queries --- */
@media (max-width: 950px) {
    .mfr-content, .functions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mfr-wrapper {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    /* Reveal Mobile Hamburg Button */
    .menu-toggle {
        display: flex;
    }

    /* Transform Hamburg Button into Close 'X' Symbol */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Restyle Navigation Overlaid Link Drawer */
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid rgba(74, 108, 111, 0.1);
        padding: 2rem;
        text-align: center;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        
        /* Slide Animations */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .about-image {
        float: none;
        display: block;
        margin: 0 auto 2.5rem auto;
        width: 100%;
        max-width: 450px;
        height: 380px;
    }
    
    .about-container {
        text-align: center;
    }
    
    .credentials {
        clear: both;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .contact-form {
        padding: 2.5rem 1.5rem;
    }
    
    button {
        align-self: stretch;
        text-align: center;
    }

    .g-recaptcha {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }
    .conditions-card .conditions-title {
        font-size: 1.8rem;
    }
    .conditions-card {
        padding: 1.5rem 1rem;
    }
}