/* ========================================
   ASHLEY CRAFTON, LPC — THERAPY PRACTICE
   Color Palette: Charcoal (#2D3748) + Coral (#E8635A)
   Fonts: DM Serif Display, Inter, Lora
======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --charcoal: #2D3748;
    --charcoal-deep: #1A202C;
    --charcoal-light: #4A5568;
    --coral: #E8635A;
    --coral-dark: #D1524A;
    --coral-light: #F5A8A2;
    --coral-pale: #FFF0EE;
    --cream: #FDF8F6;
    --cream-dark: #F7EDE9;
    --white: #FFFFFF;
    --text-primary: #1A202C;
    --text-secondary: #4A5568;
    --text-muted: #718096;
    --shadow-sm: 0 1px 3px rgba(45, 55, 72, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 55, 72, 0.10);
    --shadow-lg: 0 8px 32px rgba(45, 55, 72, 0.12);
    --shadow-xl: 0 16px 48px rgba(45, 55, 72, 0.14);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 0.75rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-title em {
    font-family: 'Lora', Georgia, serif;
    font-style: italic;
    color: var(--coral);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(232, 99, 90, 0.35);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(232, 99, 90, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1.5px solid var(--charcoal);
}

.btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   NAVBAR
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 55, 72, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.125rem;
    color: var(--charcoal);
}

.nav-logo strong {
    color: var(--coral);
}

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

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--coral);
    background: var(--coral-pale);
}

.nav-cta-btn {
    background: var(--coral);
    color: var(--white) !important;
    margin-left: 0.5rem;
}

.nav-cta-btn:hover {
    background: var(--coral-dark);
    color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--cream);
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--coral-pale);
    color: var(--coral-dark);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero-headline {
    margin-bottom: 1.25rem;
    color: var(--charcoal);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-trust {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero Image */
.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 600/720;
}

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral);
    border-radius: var(--radius-lg);
    opacity: 0.15;
    z-index: -1;
}

/* ========================================
   ABOUT
======================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 520/620;
}

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100px;
    height: 100px;
    background: var(--coral-pale);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content {
    max-width: 520px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-credentials {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.credential-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--cream);
    border-radius: var(--radius-md);
}

.credential-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral);
    min-width: 80px;
}

.credential-value {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   APPROACH
======================================== */
.approach {
    padding: 100px 0;
    background: var(--charcoal);
}

.approach-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.approach-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title--light {
    color: var(--white);
}

.approach-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.approach-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.approach-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.approach-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 99, 90, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: 1.25rem;
}

.approach-card-title {
    color: var(--white);
    font-size: 1.1875rem;
    margin-bottom: 0.75rem;
}

.approach-card-text {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========================================
   SERVICES
======================================== */
.services {
    padding: 100px 0;
    background: var(--cream);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-intro {
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-top: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(45, 55, 72, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

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

.service-card-number {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--coral-pale);
    line-height: 1;
    margin-bottom: 1rem;
}

.service-card-title {
    font-size: 1.1875rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.service-card-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.75;
}

/* ========================================
   FAQ
======================================== */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--coral-light);
    box-shadow: 0 2px 12px rgba(232, 99, 90, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--charcoal);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--coral);
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--coral);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.8;
}

/* ========================================
   CONTACT
======================================== */
.contact {
    padding: 100px 0;
    background: var(--charcoal);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(232, 99, 90, 0.15);
    border-radius: var(--radius-md);
    color: var(--coral);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--coral-light);
    margin-bottom: 0.25rem;
}

.contact-detail-value {
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
}

.contact-detail-value a {
    color: var(--white);
    transition: var(--transition);
}

.contact-detail-value a:hover {
    color: var(--coral-light);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
}

.contact-form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

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

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232, 99, 90, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

/* Form Success */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--coral-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-title {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.success-text {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--charcoal-deep);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: 'DM Serif Display', serif;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-logo strong {
    color: var(--coral);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    max-width: 280px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-link {
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content {
        max-width: 100%;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(253, 248, 246, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(45, 55, 72, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        border-radius: var(--radius-sm);
    }

    .nav-cta-btn {
        margin-left: 0;
        text-align: center;
        margin-top: 0.5rem;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .approach-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero-container,
    .about-container,
    .contact-container {
        padding: 0 1.25rem;
    }

    .approach-grid {
        gap: 1rem;
    }

    .approach-card {
        padding: 1.5rem 1.25rem;
    }
}
