/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Earthy Color Palette - inspired by terracotta, wood, dried grasses */
    --terracotta: #C97D60;
    --terracotta-light: #D4A574;
    --terracotta-dark: #A85D47;
    --warm-beige: #F5E6D3;
    --warm-beige-light: #FAF5ED;
    --warm-beige-dark: #E8D5B7;
    --sage-green: #8B9A7A;
    --sage-green-light: #A8B89A;
    --sage-green-dark: #6B7A5A;
    --olive-green: #556B2F;
    --wood-brown: #8B6F47;
    --wood-brown-light: #A6895F;
    --wood-brown-dark: #6B5535;
    
    /* Text Colors */
    --text-dark: #3A3A3A;
    --text-medium: #5A5A5A;
    --text-light: #7A7A7A;
    
    /* Background Colors */
    --bg-cream: #FDFBF8;
    --bg-warm: #FAF7F2;
    --bg-light: #F5F1EA;
    
    /* Accent Colors */
    --accent-gold: #D4A574;
    --accent-terracotta: #C97D60;
    
    /* Shadows */
    --shadow-soft: 0 2px 8px rgba(139, 111, 71, 0.1);
    --shadow-medium: 0 4px 12px rgba(139, 111, 71, 0.15);
    --shadow-strong: 0 8px 24px rgba(139, 111, 71, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header and Navigation */
header {
    background-color: var(--olive-green);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-medium);
}

nav {
    padding: 0;
}

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

.logo {
    margin: 0;
    font-size: 2.2rem;                 /* Larger to showcase the swashes */
    font-weight: 400;
    font-family: 'Great Vibes', cursive;
    color: #FAF7F2;                    /* Soft muted purple for femininity */
    letter-spacing: 2px;              /* Opens up space for curves to shine */
    white-space: nowrap;
    line-height: 1.1;
}

@media (max-width: 768px) {
    h1.logo {
        display: none;
    }
    
    .logo-container {
        margin-right: 0;
    }
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.lang-link.active {
    color: white;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.15);
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

/* Main Layout - Two Column */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: calc(100vh - 200px);
}

/* Left Section: Branding */
.branding-section {
    background: linear-gradient(180deg, var(--warm-beige-light) 0%, var(--warm-beige) 100%);
    padding: 4rem 3rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.branding-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.decorative-script {
    position: absolute;
    left: -20px;
    top: 20%;
    font-size: 8rem;
    font-weight: 300;
    color: rgba(201, 125, 96, 0.15);
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    font-style: italic;
    letter-spacing: 0.05em;
    z-index: 1;
    pointer-events: none;
}

.therapist-name {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.service-type {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--text-medium);
    text-transform: uppercase;
    margin-bottom: 4rem;
    font-weight: 400;
}

.main-message {
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.message-line {
    margin-bottom: 0.5rem;
}

/* Right Section: Content */
.content-section {
    background-color: var(--bg-warm);
    padding: 3rem 4rem;
    position: relative;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(139, 111, 71, 0.2);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--terracotta);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Image Section */
.hero-image-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.image-container {
    position: relative;
    background: white;
    padding: 1.5rem;
    box-shadow: var(--shadow-medium);
}

.tape {
    position: absolute;
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.tape-top-left {
    top: -10px;
    left: 20px;
    transform: rotate(-5deg);
}

.tape-top-right {
    top: -10px;
    right: 20px;
    transform: rotate(5deg);
}

.therapist-photo {
    width: 100%;
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
}

.therapist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.therapist-photo:hover img {
    transform: scale(1.05);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--warm-beige) 0%, var(--warm-beige-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-content {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.1rem;
}

.quote-section {
    display: flex;
    align-items: center;
}

.inspirational-quote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 300;
    font-style: italic;
    border-left: 3px solid var(--terracotta);
    padding-left: 2rem;
    margin: 0;
    letter-spacing: 0.02em;
}

/* Content Blocks */
.content-block {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.content-block.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.content-block h2 {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    /* max-width: 700px; */
}

.section-content {
    position: relative;
}

/* About Section with Photo */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    display: flex;
    align-items: center;
}

.about-photo {
    position: relative;
}

.photo-frame {
    position: relative;
    padding: 1rem;
    background: white;
    box-shadow: var(--shadow-medium);
}

.photo-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--terracotta);
    opacity: 0.3;
    z-index: -1;
}

.photo-frame img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    padding: 2rem;
    background: white;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: center;
}

.service-item:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-4px);
}

.service-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    background: var(--warm-beige);
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-photo img {
    transform: scale(1.1);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--terracotta);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.service-item p {
    color: var(--text-medium);
    margin: 0;
}

/* Booking Section */
.booking-section {
    background: white;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    border-radius: 4px;
}

#booking-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
form {
    background: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--warm-beige-dark);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(201, 125, 96, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background-color: var(--terracotta-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--sage-green);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--sage-green-dark);
}

form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

/* Success/Error Messages */
.booking-success,
.booking-error {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--bg-cream);
    border-radius: 4px;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--sage-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.error-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: var(--terracotta-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.booking-success h3 {
    color: var(--sage-green-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

.booking-error h3 {
    color: var(--terracotta-dark);
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Loading Indicator */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline;
}

.htmx-request button {
    opacity: 0.7;
}

/* Decorative Floral Elements */
.decorative-floral {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 300px;
    height: 300px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.3;
}

.decorative-floral::before,
.decorative-floral::after {
    content: '';
    position: absolute;
    background: var(--sage-green-light);
    border-radius: 50%;
    opacity: 0.4;
}

.decorative-floral::before {
    width: 120px;
    height: 120px;
    bottom: 20px;
    right: 40px;
    background: radial-gradient(circle, var(--sage-green-light) 0%, transparent 70%);
}

.decorative-floral::after {
    width: 80px;
    height: 80px;
    bottom: 80px;
    right: 100px;
    background: radial-gradient(circle, var(--terracotta-light) 0%, transparent 70%);
}

/* Additional Floral Decorations */
.branding-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: -50px;
    width: 150px;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 200"><path d="M20,180 Q30,160 40,170 Q50,150 60,160 Q70,140 80,150" stroke="%23A8B89A" stroke-width="2" fill="none" opacity="0.3"/><circle cx="25" cy="175" r="3" fill="%23A8B89A" opacity="0.4"/><circle cx="45" cy="165" r="2.5" fill="%23A8B89A" opacity="0.35"/><circle cx="65" cy="155" r="2" fill="%23A8B89A" opacity="0.4"/><path d="M30,50 Q40,30 50,40 Q60,20 70,30" stroke="%23C97D60" stroke-width="1.5" fill="none" opacity="0.25"/></svg>') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -30px;
    width: 100px;
    height: 150px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 150"><path d="M50,10 Q60,30 50,50 Q40,70 50,90 Q60,110 50,130" stroke="%23A8B89A" stroke-width="2" fill="none" opacity="0.2"/><circle cx="45" cy="30" r="2" fill="%23A8B89A" opacity="0.3"/><circle cx="55" cy="70" r="2.5" fill="%23A8B89A" opacity="0.25"/><circle cx="45" cy="110" r="2" fill="%23A8B89A" opacity="0.3"/></svg>') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

/* Floating Animation for Floral Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.branding-section::after {
    animation: float 8s ease-in-out infinite;
}

.content-section::before {
    animation: float 10s ease-in-out infinite reverse;
}

/* Footer */
footer {
    background-color: var(--wood-brown-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .branding-section {
        padding: 3rem 2rem;
    }
    
    .content-section {
        padding: 2rem;
    }
    
    .hero-image-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .decorative-script {
        font-size: 5rem;
        left: -10px;
    }
    
    .therapist-name {
        font-size: 2.5rem;
    }
    
    .main-message {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item {
        grid-template-columns: 150px 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .therapist-name {
        font-size: 2rem;
    }
    
    .main-message {
        font-size: 1.5rem;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .inspirational-quote {
        font-size: 1.1rem;
        padding-left: 1.5rem;
    }
    
    form {
        padding: 1.5rem;
    }
    
    .decorative-floral {
        display: none;
    }
    
    .branding-section::after,
    .content-section::before {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-photo {
        max-width: 200px;
        margin: 0 auto;
    }
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-item i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    color: var(--primary-color, #3a3a3a); /* Adjust to match your theme */
}

.contact-link {
    color: inherit;              /* Uses the same color as surrounding text */
    text-decoration: none;       /* Removes underline */
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color, #556b2f); /* Optional: change color on hover */
    text-decoration: underline;           /* Optional: subtle underline on hover */
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem; /* Space between icon and text */
}

.logo-icon {
    height: 50px;              /* Adjust based on your logo's aspect ratio */
    width: auto;               /* Maintains aspect ratio */
    border-radius: 12px;       /* Soft rounded corners for a modern look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle elevation shadow */
    transition: all 0.3s ease; /* Smooth hover effects */
    object-fit: contain;       /* Ensures logo isn't distorted */
    background-color: #ffffff; /* Optional: white background if logo has transparency */
    padding: 6px;              /* Small inner padding for better framing */
    border: 1px solid rgba(0, 0, 0, 0.05); /* Very light border */
}

.logo-icon:hover {
    transform: translateY(-3px) scale(1.05); /* Slight lift and zoom on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}