:root {
    --primary-color: #6a8d92; /* Soft teal */
    --secondary-color: #f0f7f4; /* Light mint */
    --accent-color: #e0c9b1; /* Warm beige */
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #ffffff;
    --card-background: #f9f9f9;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
}

section {
    padding: 4rem 0;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.8rem 0;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.main-nav.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all var(--transition-speed);
    position: relative;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

.nav-links a.active {
    color: var(--accent-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Header/Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    background-image: url('../images/sky-sunset.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    position: relative;
    animation: fadeIn 1.5s ease-out;
}

.logo-name {
    font-family: 'Style Script', cursive;
    font-size: 70px;
    font-weight: 400;
    display: block;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.logo-therapy {
    font-size: 2rem;
    font-weight: 300;
    display: block;
    color: var(--light-text);
    letter-spacing: 3px;
    margin-top: -0.5rem;
}

.logo-decoration {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--accent-color);
}

.logo-decoration::before {
    content: '❋';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    animation: fadeIn 2s ease-out;
}

.license {
    font-size: 1rem;
    color: var(--light-text);
    animation: fadeIn 2.5s ease-out;
}

/* About Section */
.about {
    background-color: var(--background-color);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-text {
    flex: 2;
    min-width: 300px;
}

/* Services Section */
.services {
    background-color: var(--secondary-color);
    position: relative;
}

.service-card {
    background-color: var(--card-background);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    opacity: 0;
    transform: translateY(20px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow-color);
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.expandable-content.expanded {
    max-height: 1000px;
}

.expand-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: background-color var(--transition-speed);
    margin-top: 1rem;
}

.expand-btn:hover {
    background-color: var(--accent-color);
}

.support-list {
    columns: 2;
}

.office-image {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.office-image.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Section */
.contact {
    background-color: var(--background-color);
    text-align: center;
}

.email-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color var(--transition-speed);
}

.email-button:hover {
    background-color: var(--accent-color);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--shadow-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.contact-form-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.google-form-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    position: relative;
    padding-bottom: 20px;
}

.google-form-wrapper iframe {
    width: 100%;
    border: none;
    overflow: hidden !important;
    background-color: transparent;
    position: relative;
    display: block;
}

/* Responsive adjustments for the form */
@media (min-width: 768px) {
    .google-form-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

@media (max-width: 767px) {
    .google-form-wrapper iframe {
        height: 1000px; /* Taller on mobile */
    }
    
    .contact-form-container {
        padding: 1rem;
    }
}

.hidden {
    display: none;
}

/* Back to Top Button and Floating CTA */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 90;
}

.back-to-top:hover {
    background-color: var(--accent-color);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.floating-cta {
    position: fixed;
    bottom: 20px;
    right: 70px;
    height: 40px;
    padding: 0 20px;
    border-radius: 20px;
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
}

.floating-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.thin-footer {
    padding: 1rem 0;
    font-size: 0.9rem;
}

/* Accessibility Widget */
.accessibility-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 90;
}

.accessibility-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.accessibility-toggle:hover {
    background-color: var(--accent-color);
}

.accessibility-options {
    position: absolute;
    bottom: 50px;
    left: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 200px;
    display: none;
}

.accessibility-options.visible {
    display: block;
}

.accessibility-option {
    margin-bottom: 10px;
}

.accessibility-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.accessibility-option input {
    margin-right: 8px;
}

/* High Contrast Mode */
body.high-contrast {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --accent-color: #d35400;
    --text-color: #000000;
    --light-text: #333333;
    --background-color: #ffffff;
    --card-background: #f8f9fa;
}

/* Large Text Mode */
body.large-text {
    font-size: 120%;
}

/* Reduced Motion */
body.reduced-motion * {
    transition: none !important;
    animation: none !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .logo-name {
        font-size: 50px;
    }
    
    .logo-therapy {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .support-list {
        columns: 1;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
}
