@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Color Palette - Refined Zen Luxe */
    --bg-color: #F8F5F0;
    /* Brighter, more airy stone tone */
    --primary-accent: #8B6B4E;
    --secondary-accent: #E8DCCB;
    --text-color: #2C2C2C;
    --button-color: #7A5C43;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);

    /* Typography - More Sculpture-like */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Transitions - Fluid & Calm */
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-luxe: 0 30px 60px rgba(139, 107, 78, 0.08);
    --border-radius: 40px;
    /* More organic, softer corners */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    letter-spacing: -0.04em;
}

h2 {
    letter-spacing: -0.03em;
}

h3 {
    letter-spacing: -0.01em;
}

h4 {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

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

/* Typography Scale */
h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Components */
.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    font-weight: 500;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--button-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(122, 92, 67, 0.2);
}

.btn-outline {
    border: 1px solid var(--primary-accent);
    color: var(--primary-accent);
}

.btn-outline:hover {
    background-color: var(--primary-accent);
    color: var(--white);
}

/* Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    /* More opaque for better readability on scroll */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(139, 107, 78, 0.1);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-cta .btn-outline {
    border: 1.5px solid var(--button-color);
    color: var(--button-color);
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-cta .btn-outline:hover {
    background-color: var(--button-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(122, 92, 67, 0.15);
}

.logo img {
    height: 45px;
    width: auto;
    filter: none;
    /* Logo original color for premium look */
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: var(--text-color);
    opacity: 0.8;
    /* Increased for readability */
    transition: var(--transition);
    padding: 0.6rem 1rem;
    text-transform: uppercase;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--primary-accent);
}

.nav-links a.active {
    opacity: 1;
    color: var(--primary-accent);
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.6rem;
    right: 1.6rem;
    height: 1px;
    background: var(--primary-accent);
}

/* Hero Section */
/* Hero Section - Zen Luxe Update */
.hero-premium {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 30s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.4));
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6rem;
    border-radius: 80px;
    max-width: 900px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
}

.luxe-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--secondary-accent);
    display: block;
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-text-luxe h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--white);
    line-height: 1;
    margin-bottom: 2rem;
}

.hero-text-luxe p {
    font-size: 1.2rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 3.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns-luxe {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.btn-link-luxe {
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.btn-link-luxe span {
    transition: transform 0.3s ease;
}

.btn-link-luxe:hover {
    color: var(--secondary-accent);
}

.btn-link-luxe:hover span {
    transform: translateX(8px);
}

@media (max-width: 768px) {
    .hero-glass-card {
        padding: 4rem 2rem;
        border-radius: 40px;
    }

    .hero-btns-luxe {
        flex-direction: column;
        gap: 2rem;
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 500px;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    border-radius: 40px 40px 0 40px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 30px;
    text-decoration: none;
    color: var(--dark-charcoal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.4s ease;
    filter: grayscale(1);
}

.service-card:hover::after {
    transform: scale(1.15);
    opacity: 0.18;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 107, 78, 0.1);
    border-color: var(--primary-accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 1;
    flex-grow: 1;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.service-link {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    color: var(--primary-accent);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.service-link span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--button-color);
}

.service-card:hover .service-link span {
    transform: translateX(8px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    margin-bottom: 1.2rem;
}

/* Luxe Card Grid & Cards */
.luxe-bg-white {
    background-color: var(--white);
}

.luxe-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.luxe-card {
    position: relative;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 3.5rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(139, 107, 78, 0.05);
    transition: var(--transition);
}

.luxe-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: grayscale(1) contrast(1.1);
    z-index: -1;
    transition: var(--transition);
}

.card-mat::after {
    background-image: url('https://images.unsplash.com/photo-1544126592-807daa22da28?auto=format&fit=crop&q=80&w=400');
}

.card-reformer::after {
    background-image: url('reformer-v-1.jpg');
}

.card-corealign::after {
    background-image: url('corealign-v-1.jpg');
}

.card-chair::after {
    background-image: url('chair-v-1.jpg');
}

.card-cadillac::after {
    background-image: url('https://images.unsplash.com/photo-1518310383802-640c2de311b2?auto=format&fit=crop&q=80&w=400');
}

.luxe-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-luxe);
    border-color: var(--primary-accent);
}

.luxe-card:hover::after {
    opacity: 0.25;
    transform: scale(1.08);
}

.luxe-card-content {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.luxe-card-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.luxe-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.luxe-card-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.luxe-card-link span {
    transition: transform 0.3s ease;
}

.luxe-card:hover .luxe-card-link span {
    transform: translateX(8px);
}

/* Review Wall Updates */
.luxe-reviews-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
    align-items: start;
}

.testimonial-card {
    background: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 10px 10px 60px rgba(139, 107, 78, 0.05);
    border: 1px solid rgba(139, 107, 78, 0.03);
    transition: var(--transition);
}

.testimonial-card.spotlight {
    background: var(--secondary-accent);
    transform: translateY(-20px);
}

.testimonial-stars {
    color: #D4AF37;
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.author-label {
    font-size: 0.8rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-link-luxe.dark {
    color: var(--text-color);
}

/* Footer Refinement */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 100px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-grid h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-accent);
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 2.5rem;
    filter: brightness(0) invert(1);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 1s ease, opacity 1s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Editorial Luxe Layouts */
.luxe-bg-soft {
    background-color: #FAF8F5;
}

.luxe-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.luxe-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-accent);
    font-weight: 700;
    display: block;
    margin-bottom: 1.5rem;
}

.luxe-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.luxe-lead {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--primary-accent);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.luxe-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
}

.luxe-image-wrap {
    position: relative;
    border-radius: 80px 80px 0 80px;
    overflow: hidden;
    box-shadow: var(--shadow-luxe);
}

.luxe-quote {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
    color: var(--white);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.4rem;
}

/* Instructor Editorial */
.editorial-instructor {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8rem;
    align-items: center;
}

.editorial-frame {
    aspect-ratio: 4/5;
    border-radius: 100px 100px 0 100px;
    overflow: hidden;
    box-shadow: 40px 40px 100px rgba(139, 107, 78, 0.1);
}

.editorial-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.editorial-frame:hover img {
    transform: scale(1.05);
}

.luxe-subhead {
    font-size: 1.8rem;
    color: var(--primary-accent);
    margin-bottom: 2.5rem;
}

.luxe-editorial-copy p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.9;
    opacity: 0.85;
}

.luxe-quote-small {
    padding-left: 2rem;
    border-left: 2px solid var(--primary-accent);
    font-style: italic;
    color: var(--primary-accent);
    font-size: 1.2rem;
}

@media (max-width: 968px) {

    .luxe-editorial-grid,
    .editorial-instructor {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}