/* Stefanie Luttrell, LPC, LMHC, NCC, C-DBT - Website Styles */

/* Import warm, inviting Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;500;600&display=swap');

/* CSS Variables for Color Palette */
:root {
    --primary-blue: #5B8C85;
    --light-blue: #A7C4BC;
    --pastel-blue: #D6E8E4;
    --primary-green: #7BA38E;
    --light-green: #B8D4C3;
    --pastel-green: #E2F0E5;
    --cream: #FAFAF8;
    --warm-white: #FEFDFB;
    --dark-text: #2C3E50;
    --medium-text: #5D6D7E;
    --light-text: #839192;
    --accent: #6B9AC4;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    color: var(--dark-text);
    background-color: var(--warm-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark-text);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

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

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    text-decoration: none;
    line-height: 1.3;
}

.logo:hover {
    color: var(--primary-blue);
}

.logo-subtitle {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--medium-text);
    display: block;
}

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

nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary-blue);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-style: italic;
    margin-top: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 140, 133, 0.3);
}

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

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

/* Sections */
section {
    padding: 5rem 2rem;
}

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

.section-soft {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--medium-text);
    font-size: 1.1rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    text-align: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.credential-badge {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.about-text h2 {
    color: var(--primary-blue);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-blue);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Articles Section */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.article-content {
    padding: 2rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--light-text);
}

.article-content h3 {
    color: var(--dark-text);
    margin-bottom: 0.8rem;
}

.article-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: var(--primary-blue);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 0.8rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.external-links {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.external-link:hover {
    background: var(--primary-blue);
    color: white;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--pastel-blue);
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(91, 140, 133, 0.3);
}

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

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.copyright {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Blog Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    color: var(--medium-text);
    font-size: 1.2rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Article Page Styles */
.article-header {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
    padding: 4rem 2rem;
    text-align: center;
}

.article-header h1 {
    max-width: 800px;
    margin: 0 auto 1rem;
}

.article-meta-header {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--medium-text);
    font-size: 1rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-body h2 {
    color: var(--primary-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-body blockquote {
    background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-green) 100%);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    text-align: center;
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
}

.key-takeaways {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid var(--primary-blue);
}

.key-takeaways h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.references {
    background: var(--cream);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.references h3 {
    margin-bottom: 1.5rem;
}

.references p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-image img {
        width: 250px;
        height: 250px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .services-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        padding: 2rem 1rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}
</style>