/* 
   Leda Dizelou - Professional Website Design System
   Visual Tokens & Stylesheet (Forest Sage & Slate Palette from therapy.psychology.gr)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700&family=Roboto+Slab:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette from therapy.psychology.gr */
    --bg-primary: #F0F5F8;
    --bg-secondary: #E5ECF0;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --accent-sage: #3E5444;
    --accent-sage-dark: #2E4135;
    --accent-sage-light: #D2E2D6;
    --accent-terracotta: #3E5444;
    --accent-terracotta-dark: #2E4135;
    --accent-terracotta-light: #D2E2D6;
    --white: #FFFFFF;
    
    /* Design System Details */
    --border-color: rgba(30, 41, 59, 0.08);
    --border-color-dark: rgba(30, 41, 59, 0.16);
    
    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(30, 41, 59, 0.05);
    --shadow-md: 0 10px 30px rgba(30, 41, 59, 0.08);
    --shadow-lg: 0 20px 50px rgba(30, 41, 59, 0.12);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Typography */
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-slab: 'Roboto Slab', Georgia, serif;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

h2.decorated::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-terracotta);
    border-radius: 2px;
}

h2.decorated.center::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

p.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    color: var(--accent-sage);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: clamp(4rem, 8vw, 8rem) 0;
}

.section.secondary {
    background-color: var(--bg-secondary);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: rgba(240, 245, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}

.header.scrolled .nav-container {
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-slab);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo img {
    height: 48px;
    margin-right: 12px;
}

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

.nav-link {
    font-family: var(--font-slab);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-terracotta);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-btn {
    font-family: var(--font-slab);
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-sage);
    color: var(--white) !important;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: var(--shadow-sm);
}

.nav-btn:hover {
    background-color: var(--accent-sage-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    background: radial-gradient(circle at top right, var(--accent-sage-light) 0%, var(--bg-primary) 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-family: var(--font-slab);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-terracotta-dark);
    margin-bottom: 1.2rem;
    display: block;
}

.hero-title {
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    justify-self: center;
    animation: fadeIn 1.2s ease;
}

.hero-image-frame {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    background-color: var(--accent-sage-light);
}

.hero-image-frame img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.hero-badge {
    position: absolute;
    bottom: 30px;
    left: -40px;
    background-color: var(--white);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent-terracotta);
    animation: bounceSlow 4s infinite ease-in-out;
}

.hero-badge p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.hero-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-sage);
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(90, 110, 93, 0.2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--accent-sage-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(90, 110, 93, 0.3);
}

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

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
    background-color: var(--accent-sage-light);
    color: var(--accent-sage-dark);
    transform: translateY(-3px);
}

.btn-terracotta {
    background-color: var(--accent-terracotta);
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(194, 142, 114, 0.2);
}

.btn-terracotta:hover,
.btn-terracotta:focus,
.btn-terracotta:active {
    background-color: var(--accent-terracotta-dark);
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(194, 142, 114, 0.3);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
    background-color: #128C7E;
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

/* Service Cards */
.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.service-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-sage-light);
    transform: translateY(100%);
    transition: var(--transition-smooth);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-sage);
}

.service-card:hover::before {
    transform: translateY(0);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-terracotta-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-icon-box svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-terracotta-dark);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--white);
}

.service-card:hover .service-icon-box svg {
    fill: var(--accent-sage);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Book Section */
.book-section {
    background-color: var(--bg-secondary);
}

.book-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.book-mockup-wrapper {
    position: relative;
    perspective: 1000px;
    justify-self: center;
}

.book-cover {
    width: 250px;
    height: 360px;
    background-color: #E2E2E2;
    border-radius: 4px 16px 16px 4px;
    box-shadow: 15px 15px 40px rgba(0, 0, 0, 0.15), -1px 0 2px rgba(0,0,0,0.1) inset;
    transform: rotateY(-10deg);
    transition: var(--transition-smooth);
    overflow: hidden;
}

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

.book-cover:hover {
    transform: rotateY(0deg) scale(1.03);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.2);
}

.book-reviews {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.book-review-carousel {
    display: grid;
    gap: 1.5rem;
}

.review-card {
    background: var(--white);
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-terracotta);
    box-shadow: var(--shadow-sm);
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.review-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.review-source {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Interactive Timeline (CV / About Page) */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-sage-light);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 1rem 3rem;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 2rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--accent-terracotta);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition-fast);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    background-color: var(--white);
    position: relative;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-sage);
}

.timeline-item:hover::after {
    background-color: var(--accent-sage);
    border-color: var(--accent-sage-light);
    transform: scale(1.2);
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-terracotta-dark);
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-sans);
    font-weight: 700;
}

.timeline-text {
    font-size: 0.95rem;
    margin: 0;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-sage-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-sage);
}

.contact-info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-family: var(--font-sans);
}

.contact-info-text p {
    font-size: 0.95rem;
    margin: 0;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color-dark);
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-sage);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(90, 110, 93, 0.08);
}

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

/* Blog & Articles Archive */
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box input {
    padding-left: 3rem;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: var(--text-muted);
}

.filter-tabs {
    display: flex;
    gap: 0.8rem;
    list-style: none;
    overflow-x: auto;
    padding-bottom: 0.4rem;
}

.filter-tab {
    font-family: var(--font-slab);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.filter-tab:hover, .filter-tab.active {
    background-color: var(--accent-sage);
    border-color: var(--accent-sage);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.post-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.post-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-sage-light);
}

.post-card-image {
    height: 220px;
    overflow: hidden;
    background-color: var(--accent-sage-light);
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.post-meta .category,
.category,
.article-header-meta .category {
    font-family: var(--font-slab);
    color: var(--accent-terracotta-dark);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.post-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.post-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.post-read-more {
    font-family: var(--font-slab);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-read-more svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition-fast);
}

.post-read-more:hover svg {
    transform: translateX(4px);
}

/* Individual Article Page Layout */
.article-header {
    padding-top: 180px;
    padding-bottom: 4rem;
    text-align: center;
    background-color: var(--bg-secondary);
}

.article-header-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-slab);
    font-size: 0.9rem;
}

.article-content-wrapper {
    max-width: 800px;
    margin: -3rem auto 0 auto;
    padding: 0 2rem 8rem 2rem;
    position: relative;
    z-index: 10;
}

.article-main-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3.5rem;
    background-color: var(--accent-sage-light);
}

.article-main-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

.article-body p {
    margin-bottom: 2rem;
}

.article-body h2, .article-body h3 {
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.article-body blockquote {
    border-left: 5px solid var(--accent-terracotta);
    padding: 1rem 2rem;
    margin: 3rem 0;
    font-style: italic;
    background-color: var(--accent-terracotta-light);
    border-radius: 0 16px 16px 0;
}

.article-body blockquote p {
    margin-bottom: 0;
    color: var(--text-primary);
}

.article-body figure {
    margin: 3rem 0;
}

.article-body figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Footer styling */
.footer {
    background-color: #1B271F;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2.5rem 0;
    font-size: 0.95rem;
}

.footer h3, .footer h4 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 320px;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.6);
}

.social-link:hover {
    background-color: var(--accent-sage);
}

.social-link:hover svg {
    fill: var(--white);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounceSlow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid, .book-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image-wrapper {
        order: -1;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    
    .timeline-item::after {
        left: 21px;
        right: auto;
    }
    
    .right {
        left: 0;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        padding: 3rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile Responsive Media & Image Adjustments */
    .hero-image-frame img {
        height: 380px;
    }

    .article-content-wrapper {
        margin-top: -1.5rem;
        padding: 0 1.25rem 4rem 1.25rem;
    }

    .article-main-image {
        aspect-ratio: 16 / 10;
        max-height: 250px;
        border-radius: 16px;
        margin-bottom: 2rem;
    }

    .article-body {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .article-body figure {
        margin: 2rem 0;
    }

    /* Clearance for mobile sticky contact bar */
    .footer {
        padding-bottom: calc(3rem + 68px + env(safe-area-inset-bottom, 0px)) !important;
    }
}
