/* Healing with Camille - Wellness Blog Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --lavender: #9b8bb4;
    --lavender-light: #b8a9cc;
    --lavender-dark: #7a6b93;
    --sage: #7c9a82;
    --sage-light: #9db8a3;
    --sage-dark: #5f7a63;
    --cream: #faf8f5;
    --cream-dark: #f0ebe3;
    --charcoal: #2d3436;
    --charcoal-light: #4a4f51;
    --white: #ffffff;
    --shadow: rgba(45, 52, 54, 0.08);
    --shadow-md: rgba(45, 52, 54, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--charcoal);
    background-color: var(--cream);
}

a {
    color: var(--lavender-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--sage-dark);
}

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

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lavender-dark);
}

.logo span {
    color: var(--sage);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    color: var(--charcoal);
    padding: 5px 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: var(--lavender);
}

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

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--lavender-light) 0%, var(--sage-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    background: var(--white);
    color: var(--lavender-dark);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--shadow-md);
    color: var(--sage-dark);
}

/* Featured Section */
.featured {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: 40px;
}

.section-title span {
    color: var(--lavender);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--shadow-md);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-card-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    background: var(--lavender);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.article-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card h3 a {
    color: var(--charcoal);
}

.article-card h3 a:hover {
    color: var(--lavender);
}

.article-card p {
    color: var(--charcoal-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--lavender);
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--sage);
}

/* Categories Section */
.categories {
    background: var(--white);
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--cream);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    background: var(--lavender);
    color: var(--white);
}

.category-card:hover a {
    color: var(--white);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--lavender);
    margin-bottom: 15px;
}

.category-card:hover i {
    color: var(--white);
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--charcoal-light);
}

.category-card:hover p {
    color: var(--white);
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--sage) 0%, var(--lavender) 100%);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form button {
    background: var(--charcoal);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--charcoal-light);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--lavender-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--lavender-light);
}

/* Blog Page */
.page-header {
    background: linear-gradient(135deg, var(--lavender-light) 0%, var(--sage-light) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 0;
}

/* Article Page */
.article-header {
    padding: 60px 0 40px;
    text-align: center;
}

.article-header .article-category {
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    color: var(--charcoal-light);
    font-size: 0.95rem;
}

.article-meta i {
    margin-right: 5px;
    color: var(--lavender);
}

.article-featured-image {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--charcoal);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--charcoal-light);
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--charcoal-light);
}

.article-content blockquote {
    background: var(--cream);
    border-left: 4px solid var(--lavender);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--charcoal);
}

.article-content img {
    border-radius: 12px;
    margin: 30px 0;
}

/* Author Box */
.author-box {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin: 60px 0;
    display: flex;
    gap: 30px;
    box-shadow: 0 4px 20px var(--shadow);
}

.author-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info .author-title {
    color: var(--lavender);
    font-weight: 500;
    margin-bottom: 15px;
}

.author-info p {
    color: var(--charcoal-light);
    line-height: 1.7;
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--charcoal);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* About Page */
.about-hero {
    padding: 80px 0;
    text-align: center;
}

.about-intro {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

.about-image {
    flex: 0 0 400px;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-md);
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.about-text p {
    color: var(--charcoal-light);
    margin-bottom: 20px;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.contact-info > p {
    color: var(--charcoal-light);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--lavender);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.info-item h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.info-item p {
    color: var(--charcoal-light);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--cream-dark);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

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

.submit-btn {
    background: var(--lavender);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.submit-btn:hover {
    background: var(--lavender-dark);
    transform: translateY(-2px);
}

/* Privacy, Terms, Sitemap Pages */
.legal-content {
    padding: 80px 0;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--charcoal);
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 15px;
    color: var(--charcoal);
}

.legal-content p {
    color: var(--charcoal-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.legal-content li {
    margin-bottom: 10px;
    color: var(--charcoal-light);
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.sitemap-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--lavender);
}

.sitemap-section ul {
    list-style: none;
}

.sitemap-section li {
    margin-bottom: 12px;
}

.sitemap-section a {
    color: var(--charcoal);
}

.sitemap-section a:hover {
    color: var(--lavender);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px var(--shadow);
    }
    
    .nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .featured-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .author-box {
        padding: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
}

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

.article-card,
.category-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-4 {
    margin-top: 40px;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    color: var(--white);
    padding: 20px;
    display: none;
    z-index: 1001;
}

.cookie-notice.show {
    display: block;
}

.cookie-notice-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-notice p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-notice a {
    color: var(--lavender-light);
}

.accept-cookies {
    background: var(--lavender);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}
