/* Balance Wellness Center - Organic/Flowing Style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #D4A574;
    --color-primary-dark: #C49564;
    --color-primary-light: #E8D4B8;
    --color-accent: #8B7FA8;
    --color-accent-light: #B5A8C7;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-bg: #fef9f5;
    --color-bg-gradient: linear-gradient(135deg, #fef9f5 0%, #f5ede0 100%);
    --color-bg-white: #ffffff;
    --color-border: #e8ddd0;
    
    --font-heading: 'Dancing Script', 'Brush Script MT', cursive;
    --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg-gradient);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Organic Shapes */
.organic-shape {
    position: absolute;
    border-radius: 50% 40% 60% 30%;
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 10%;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    bottom: 20%;
    left: -50px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Header - Floating Navigation */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

nav a:hover,
nav a.active {
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    color: var(--color-text);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

/* Typography - Organic Style */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-sm);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Curved Section Dividers */
.curved-section {
    position: relative;
    padding: var(--spacing-xxl) 0;
}

.curved-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--color-bg-white);
    clip-path: ellipse(100% 100% at 50% 0%);
    z-index: -1;
}

.curved-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--color-bg-white);
    clip-path: ellipse(100% 100% at 50% 100%);
    z-index: -1;
}

/* Hero Section - Flowing */
.hero {
    position: relative;
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50% 40% 60% 30%;
    top: -200px;
    right: -200px;
    animation: float 25s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-text);
}

.hero-image {
    width: 100%;
    max-width: 800px;
    height: 500px;
    object-fit: cover;
    border-radius: 50px 20px 50px 20px;
    margin: var(--spacing-xl) auto;
    display: block;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: rotate(-2deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Buttons - Organic Style */
.btn {
    display: inline-block;
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

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

/* Sections */
section {
    position: relative;
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

/* Circular Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: var(--color-bg-white);
    border-radius: 50px 20px 50px 20px;
    padding: var(--spacing-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card:hover::before {
    opacity: 0.3;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--spacing-md);
    color: white;
    box-shadow: 0 5px 15px rgba(212, 165, 116, 0.3);
    position: relative;
    z-index: 1;
}

.service-card h3 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.service-card p {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Team - Organic Cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-member {
    background: var(--color-bg-white);
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent-light));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50px;
}

.team-member:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.team-member:hover::before {
    opacity: 0.1;
}

.team-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 50px 50px 0 0;
    position: relative;
    z-index: 1;
}

.team-info {
    padding: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-credentials {
    color: var(--color-primary);
    font-size: 0.9375rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

/* Testimonials - Flowing Style */
.testimonials {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50% 40% 60% 30%;
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.testimonial {
    background: var(--color-bg-white);
    padding: var(--spacing-lg);
    border-radius: 30px 10px 30px 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
}

.testimonial:nth-child(even) {
    transform: rotate(1deg);
}

.testimonial:hover {
    transform: rotate(0deg) scale(1.02);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-text);
}

/* Forms - Organic Style */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    border: 2px solid var(--color-border);
    border-radius: 30px;
    background-color: var(--color-bg-white);
    color: var(--color-text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.2);
    transform: scale(1.02);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    border-radius: 20px;
}

.required {
    color: var(--color-primary);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-item {
    padding: var(--spacing-lg);
    background: var(--color-bg-white);
    border-radius: 30px;
    border: 2px solid var(--color-primary-light);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--color-primary);
}

.contact-item h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--color-bg-white);
    border: 2px solid var(--color-border);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    margin-top: var(--spacing-lg);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--color-text) 0%, #1a1a1a 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xxl);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(212, 165, 116, 0.1);
    border-radius: 50% 40% 60% 30%;
    top: -150px;
    right: -150px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    font-size: 0.9375rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        display: none;
    }
    
    nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: var(--spacing-md);
        border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    }
    
    nav.active ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-content {
        position: relative;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .services-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        transform: rotate(0deg);
    }
    
    .testimonial {
        transform: rotate(0deg) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
    }
    
    .hero-image:hover,
    .service-card:hover,
    .team-member:hover {
        transform: none !important;
    }
}
