/* ================================
   Clean Earth Theme - Author Website
   Light, Professional, Generous Spacing
   ================================ */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --color-bg-primary: #FEFEFE;
    --color-bg-secondary: #F9F8F6;
    --color-bg-tertiary: #F4F2EF;
    
    /* Text Colors */
    --color-text-primary: #2B2B2B;
    --color-text-secondary: #5A5A5A;
    --color-text-muted: #888888;
    
    /* Accent Colors - Earth Tones */
    --color-sage: #A4B494;
    --color-sand: #D4C5B0;
    --color-olive: #8B9556;
    --color-sky: #9DB4C0;
    --color-terracotta: #C89F7F;
    --color-accent: var(--color-sage);
    
    /* Interactive Colors */
    --color-link: #6B9080;
    --color-link-hover: #5A7F70;
    --color-cta: var(--color-olive);
    --color-cta-hover: #7A8449;
    
    /* Borders & Dividers */
    --color-border: #E8E8E8;
    --color-divider: #F0F0F0;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.15);
    
    /* Typography */
    --font-serif: 'Crimson Text', 'Georgia', serif;
    --font-sans: 'Inter', 'Helvetica Neue', sans-serif;
    
    /* Spacing - Generous! */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 1rem;      /* 16px */
    --space-md: 2rem;      /* 32px */
    --space-lg: 4rem;      /* 64px */
    --space-xl: 6rem;      /* 96px */
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-primary);
    background: var(--color-bg-primary);
    overflow-x: hidden;
}

/* ===== Enhanced Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: var(--space-sm);
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-top: var(--space-lg);
}

h3 {
    font-size: 2.25rem;
    font-weight: 600;
}

h4 {
    font-size: 1.75rem;
    font-weight: 600;
}

h5 {
    font-size: 1.375rem;
    font-weight: 500;
}

h6 {
    font-size: 1.125rem;
    font-weight: 500;
}

p {
    font-family: var(--font-sans);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    font-size: 1.125rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-sage));
    border-radius: 2px;
}

p {
    margin-bottom: var(--space-sm);
    max-width: 70ch;
}

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

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

/* ===== Layout Containers ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

section {
    padding: var(--space-xl) 0;
}

/* ===== Navigation ===== */
.navbar {
    position: sticky;
    top: 0;
    background: var(--color-bg-primary);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-sm) 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.nav-brand:hover {
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-accent);
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(139, 195, 74, 0.15) 0%, 
        rgba(76, 175, 80, 0.2) 25%, 
        rgba(139, 195, 74, 0.15) 50%, 
        rgba(76, 175, 80, 0.2) 75%, 
        rgba(139, 195, 74, 0.15) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.author-name {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--space-xl);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Button Styles */
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== About Section ===== */
.about-section {
    background: linear-gradient(180deg, 
        var(--color-bg-primary) 0%, 
        rgba(139, 195, 74, 0.03) 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 195, 74, 0.3) 50%, 
        transparent 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-lg);
    align-items: start;
}

.author-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
}

.author-photo:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    border-color: var(--color-sage);
}

.author-photo-wrapper {
    text-align: center;
    position: relative;
}

.author-photo-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-accent), var(--color-sage));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.author-photo-wrapper:hover::before {
    opacity: 0.1;
}

.author-photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-accent);
    border: 4px solid var(--color-accent);
}

.author-bio-wrapper {
    max-width: 70ch;
}

.author-bio {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.extended-bio {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    max-height: 1000px;
    opacity: 1;
    transition: var(--transition-smooth);
}

.extended-bio.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
    border-top: none;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--color-link);
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    text-decoration: underline;
    transition: var(--transition-fast);
}

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

/* ===== Current Work Section ===== */
.current-work-section {
    background: var(--color-bg-secondary);
}

.current-work {
    background: linear-gradient(135deg, rgba(164, 180, 148, 0.1), rgba(212, 197, 176, 0.1));
    padding: var(--space-lg);
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.current-work-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.current-work-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

.current-work-description {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
    max-width: 70ch;
}

/* ===== Featured Books Section ===== */
.featured-books-section {
    background: var(--color-bg-primary);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
}

.featured-books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.section-footer {
    text-align: center;
    margin-top: var(--space-lg);
}

/* ===== Books Section (books.html) ===== */
.books-section {
    background: var(--color-bg-primary);
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.book-card {
    background: linear-gradient(135deg, 
        var(--color-bg-secondary) 0%, 
        rgba(139, 195, 74, 0.05) 100%);
    border-radius: 12px;
    padding: var(--space-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(139, 195, 74, 0.1);
}

.book-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 195, 74, 0.2);
}

.book-cover-wrapper {
    margin-bottom: var(--space-md);
    overflow: hidden;
    border-radius: 4px;
}

.book-cover {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-smooth);
}

.book-card:hover .book-cover {
    transform: scale(1.05);
}

.book-cover-placeholder {
    width: 100%;
    aspect-ratio: 2/3;
    background: var(--color-bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    text-align: center;
    border: 2px dashed var(--color-border);
}

.book-title-short {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-text-secondary);
}

.book-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
    margin-top: 0;
}

.book-date {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-calendar {
    width: 16px;
    height: 16px;
    fill: var(--color-text-secondary);
}

.book-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
    flex: 1;
}

.book-buy-links {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: auto;
}

.buy-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

/* ===== Hobbies Section ===== */
.hobbies-section {
    background: var(--color-bg-secondary);
}

.hobbies-row {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.hobby-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: var(--space-md);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(139, 195, 74, 0.1) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(139, 195, 74, 0.15);
    transition: all 0.3s ease;
}

.hobby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(139, 195, 74, 0.25);
}

.hobby-icon-wrapper {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-sm);
}

.hobby-icon {
    width: 100%;
    height: 100%;
    fill: var(--color-accent);
}

.hobby-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.hobby-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* ===== Page Header ===== */
.page-header {
    padding: var(--space-xl) 0 var(--space-lg);
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

.page-title {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

/* ===== Story Section ===== */
.story-section {
    background: var(--color-bg-primary);
}

.story-content {
    margin-bottom: var(--space-xl);
}

.story-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

.story-body p {
    margin-bottom: var(--space-md);
    max-width: 70ch;
}

.extended-bio-section {
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border-radius: 8px;
    margin-bottom: var(--space-xl);
}

.extended-bio-content p {
    margin-bottom: var(--space-md);
}

.story-cta {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border-radius: 8px;
}

.story-cta h3 {
    margin-bottom: var(--space-md);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--color-bg-primary);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: start;
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border-radius: 8px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.contact-icon .icon {
    width: 100%;
    height: 100%;
    fill: var(--color-accent);
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-link);
}

.contact-link:hover {
    color: var(--color-link-hover);
}

.contact-text {
    font-size: 1.125rem;
    color: var(--color-text-primary);
    margin: 0;
}

/* ===== Social Section ===== */
.social-section {
    margin-bottom: var(--space-xl);
}

.social-links-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-md);
}

.social-link-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border-radius: 8px;
    transition: var(--transition-smooth);
    color: var(--color-text-primary);
}

.social-link-large:hover {
    background: var(--color-bg-tertiary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.social-icon-large {
    width: 48px;
    height: 48px;
    fill: var(--color-accent);
}

.social-name {
    font-weight: 500;
}

/* ===== Contact Form ===== */
.contact-form-section {
    margin-top: var(--space-xl);
}

.contact-form {
    max-width: 600px;
    margin: var(--space-md) auto 0;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(164, 180, 148, 0.1);
}

.form-note {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: var(--space-sm);
    font-style: italic;
}

/* ===== Blog Section ===== */
.blog-section {
    background: var(--color-bg-primary);
}

.blog-content {
    text-align: center;
    padding: var(--space-lg);
    background: var(--color-bg-secondary);
    border-radius: 8px;
}

.blog-info p {
    margin-bottom: var(--space-md);
}

.rss-link-wrapper {
    margin-top: var(--space-md);
}

.rss-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: var(--color-bg-secondary);
    border-radius: 4px;
    color: var(--color-accent);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.rss-link:hover {
    background: var(--color-bg-tertiary);
    color: var(--color-accent);
}

.rss-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-cta) 0%, var(--color-cta-hover) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-cta-hover) 0%, var(--color-cta) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-sage) 0%, rgba(139, 195, 74, 0.8) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(139, 195, 74, 0.8) 0%, var(--color-sage) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 195, 74, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--space-lg) 0 var(--space-md);
    margin-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-bg-tertiary);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--color-accent);
    transform: translateY(-4px);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.social-link:hover .social-icon {
    fill: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.footer-bottom p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
    margin: 0;
    max-width: none;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-text-secondary);
}

/* ===== Animations ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
    
    .container,
    .container-narrow {
        padding: 0 var(--space-md);
    }
    
    h1, .author-name {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .featured-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }
    
    .author-photo-wrapper {
        justify-self: center;
    }
    
    .author-bio-wrapper {
        max-width: 100%;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
    }
    
    section {
        padding: var(--space-lg) 0;
    }
    
    .container,
    .container-narrow {
        padding: 0 var(--space-sm);
    }
    
    h1, .author-name {
        font-size: 2.5rem;
    }
    
    h2, .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.125rem;
    }
    
    /* Mobile Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg-primary);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        max-height: 400px;
        opacity: 1;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        width: 100%;
        text-align: center;
    }
    
    /* Grid adjustments */
    .featured-books-grid,
    .books-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .hobbies-row {
        flex-direction: column;
        align-items: center;
    }
    
    .author-photo,
    .author-photo-placeholder {
        width: 200px;
        height: 200px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .current-work {
        padding: var(--space-md);
    }
    
    .social-links-large {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    h1, .author-name {
        font-size: 2rem;
    }
    
    .author-photo,
    .author-photo-placeholder {
        width: 150px;
        height: 150px;
        font-size: 3rem;
    }
    
    .social-links-large {
        grid-template-columns: 1fr;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .nav-toggle,
    .footer-social,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

