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

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip navigation link */
.skip-link {
    position: fixed;
    top: -60px;
    left: 6px;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

:root {
    --primary-color: #8b5a3c;
    --secondary-color: #d4a574;
    --accent-color: #c9705f;
    --text-color: #2c2c2c;
    --text-light: #666666;
    --bg-color: #faf8f5;
    --bg-cream: #f5f2ed;
    --white: #ffffff;
    --gray-light: #e5e7eb;
    --border-color: #e0d5c7;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    font-size: 16px;
    transition: opacity 0.3s ease-in-out;
}

body.page-transition {
    opacity: 0;
}

header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

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

main {
    margin-top: 60px;
}

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

.hero {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(139, 90, 60, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, 
            rgba(139, 90, 60, 0.95) 0%, 
            rgba(184, 134, 91, 0.9) 25%,
            rgba(212, 165, 116, 0.9) 50%,
            rgba(201, 112, 95, 0.85) 75%,
            rgba(139, 90, 60, 0.9) 100%
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.02) 35px,
            rgba(255, 255, 255, 0.02) 70px
        );
    color: var(--white);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 25%);
    animation: heroSparkle 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes heroSparkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 300;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 0.75rem 2.5rem;
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 30px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

section {
    padding: 4rem 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
}

.about {
    background-color: var(--white);
}

.about p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--bg-cream);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(139, 90, 60, 0.15);
}

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

.contact {
    background-color: var(--bg-cream);
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--white);
    transition: border-color 0.3s;
}

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

.contact-form button {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.contact-form button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 90, 60, 0.3);
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 500px;
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Featured Book Section */
.featured-book {
    padding: 1rem 0;
    background-color: var(--white);
}

.book-showcase {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 3rem auto 0;
}


.book-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 300;
}

.book-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.book-description:last-of-type {
    margin-bottom: 2rem;
}

.book-links {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

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

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

/* Newsletter Section */
.newsletter {
    background-color: var(--bg-cream);
    padding: 4rem 0;
    text-align: center;
}

.newsletter p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Footer Enhancements */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

/* Active Navigation */
.nav-links a.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .book-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Page Hero */
.page-hero {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 40% 40%, rgba(139, 90, 60, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, 
            rgba(139, 90, 60, 0.95) 0%, 
            rgba(184, 134, 91, 0.9) 25%,
            rgba(212, 165, 116, 0.9) 50%,
            rgba(201, 112, 95, 0.85) 75%,
            rgba(139, 90, 60, 0.9) 100%
        ),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.02) 35px,
            rgba(255, 255, 255, 0.02) 70px
        );
    color: var(--white);
    padding: 6rem 0 3rem;
    text-align: center;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.03) 0%, transparent 30%),
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 25%);
    animation: heroSparkle 20s ease-in-out infinite;
    z-index: 1;
}

.page-hero h1,
.page-hero p {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-style: italic;
}

/* About Page Styles */
.about-content {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.author-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.author-bio h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.author-bio h2::after {
    left: 0;
    transform: none;
}

.author-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-light);
    margin: 0;
}

.writing-process {
    padding: 5rem 0;
    background-color: var(--bg-cream);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.process-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.1);
}

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

/* Books Page Styles */
.books-grid-section {
    padding: 5rem 0;
    background-color: var(--white);
}

/* Book Detail Page */
.book-detail-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.book-detail-showcase {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.book-cover-large {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.book-cover-large a {
    display: block;
    width: 100%;
}

.book-cover-large img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cover-large a:hover img {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.book-cover-large .btn-primary {
    width: 100%;
    text-align: center;
}

.book-detail-info h2 {
    text-align: left;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    margin-top: 0;
}

.book-detail-info h2::after {
    display: none;
}

.book-genres {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.book-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.meta-item {
    font-weight: 500;
}

.meta-item.meta-heat {
    color: var(--accent-color);
    font-weight: 600;
}

.meta-separator {
    color: var(--text-light);
    font-weight: 300;
}

.genre-tag {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.book-description {
    margin-bottom: 2rem;
}

.book-description h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.book-description p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.book-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.book-meta-section {
    margin-bottom: 2rem;
}

.book-meta-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.book-meta-line {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.meta-pill {
    display: inline-block;
    background-color: var(--bg-cream);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.meta-pill.meta-heat {
    background-color: rgba(201, 112, 95, 0.1);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.book-tropes {
    margin-bottom: 2rem;
}

.book-tropes h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tropes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trope-tag {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.perfect-for-fans {
    margin-bottom: 2rem;
}

.perfect-for-fans h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.perfect-for-fans p {
    color: var(--text-light);
    font-style: italic;
}

.content-warnings {
    margin-bottom: 2rem;
}

.content-warnings h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.content-warnings ul {
    list-style: none;
    padding: 0;
}

.content-warnings li {
    padding: 0.3rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.content-warnings li:last-child {
    border-bottom: none;
}

.book-themes {
    padding: 5rem 0;
    background-color: var(--bg-cream);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.theme-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.1);
}

.theme-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.theme-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Book Preview Section */
.book-preview {
    padding: 3rem 0;
    background-color: var(--white);
}

.preview-content {
    max-width: 1200px;
    margin: 3rem auto 0;
}

.excerpt-pages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.excerpt-page {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
    position: relative;
}

.excerpt-page::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, var(--bg-cream), var(--white));
    border-radius: 12px;
    z-index: -1;
}

.excerpt-page h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.excerpt-page p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.excerpt-page p.internal-thought {
    font-style: italic;
    color: var(--text-light);
}

.preview-continue {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.preview-continue p {
    font-style: normal;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.preview-continue .btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.book-card {
    background-color: var(--bg-cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 90, 60, 0.1);
    transition: transform 0.3s;
}

.book-card:hover {
    transform: translateY(-5px);
}

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

.book-details {
    padding: 2rem;
}

.book-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.book-year {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-summary {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.series-section {
    padding: 5rem 0;
    background-color: var(--bg-cream);
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.series-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.1);
}

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

.series-card ul {
    list-style: none;
    margin-top: 1.5rem;
}

.series-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.series-card li:last-child {
    border-bottom: none;
}

/* Contact Page Styles */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.contact-image {
    text-align: right;
    align-self: start;
}

.contact-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-info h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-info h2::after {
    left: 0;
    transform: none;
}

.contact-methods {
    margin: 3rem 0;
}

.contact-method {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.social-links {
    margin-top: 3rem;
}

.social-links h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

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

.contact-form-section h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-form-section h2::after {
    left: 0;
    transform: none;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background-color: var(--white);
    transition: border-color 0.3s;
}

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

.faq-section {
    padding: 5rem 0;
    background-color: var(--bg-cream);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(139, 90, 60, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-cream);
}

.testimonials-wrapper {
    margin-top: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 0 auto;
}


.testimonial-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(139, 90, 60, 0.1);
    border-left: 4px solid var(--secondary-color);
    position: relative;
    transition: all 0.3s ease;
    opacity: 1;
    transform: none;
}

@media (min-width: 769px) {
    .testimonial-card {
        padding: 1.25rem;
    }
}



.testimonial-card:hover {
    box-shadow: 0 8px 30px rgba(139, 90, 60, 0.2);
    transform: translateY(-5px) scale(1.02);
}

.testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-text p::before {
    content: '"';
    font-size: 3rem;
    color: var(--secondary-color);
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: Georgia, serif;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

.testimonial-author span {
    color: #d4a017;
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Touch-Friendly Improvements */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
    /* Touch device optimizations */
    .nav-links a,
    .btn-primary,
    .btn-secondary,
    .cta-button,
    .social-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .page-hero {
        padding: 5rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .page-hero p {
        font-size: 1.1rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-image {
        text-align: center;
        order: -1;
    }
    
    .excerpt-pages {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .excerpt-page {
        padding: 2rem;
    }
    
    .author-bio h2::after,
    .contact-info h2::after,
    .contact-form-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .author-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .process-grid,
    .series-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .book-detail-showcase {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .book-cover-large {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .book-detail-info h2 {
        text-align: center;
        font-size: 2rem;
    }
    
    .book-detail-info h2::after {
        left: 50%;
        transform: translateX(-50%);
        display: block;
    }
    
    .themes-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .testimonial-text p::before {
        font-size: 2.5rem;
        top: -8px;
        left: -10px;
    }
    
    .book-links {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    .excerpt-text {
        padding: 2rem;
    }
    
    .excerpt-text h3 {
        font-size: 1.3rem;
    }
    
    .excerpt-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Small Mobile Screens */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 0.5rem;
    }
    
    .logo {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .nav-links {
        gap: 0.75rem;
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .book-info h3,
    .book-detail-info h2 {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .excerpt-text {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
}

/* Legal Content */
.legal-content {
    padding: 3rem 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.legal-text h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-text ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.legal-text a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-text a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(44, 44, 44, 0.95);
    color: var(--white);
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn.accept {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 90, 60, 0.3);
}

.cookie-btn.accept:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 90, 60, 0.4);
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-btn.decline:hover {
    background-color: var(--white);
    color: var(--text-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 120px;
    }
}

/* Print Styles */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-family: 'Times New Roman', serif;
        font-size: 12pt;
        line-height: 1.4;
        margin: 0;
        background: white;
    }

    header,
    footer,
    .newsletter,
    .cta-button,
    .btn-primary,
    .btn-secondary,
    .contact-form,
    .newsletter-form,
    nav {
        display: none !important;
    }

    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .hero {
        background: none !important;
        color: black !important;
        padding: 20pt 0;
        page-break-after: always;
    }

    .hero-content h1 {
        color: black !important;
        font-size: 24pt;
        text-shadow: none;
    }

    .hero-content p {
        color: black !important;
        font-size: 14pt;
    }

    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }

    h2 {
        font-size: 18pt;
        margin-top: 20pt;
        margin-bottom: 10pt;
    }

    h3 {
        font-size: 14pt;
        margin-top: 15pt;
        margin-bottom: 8pt;
    }

    p {
        margin-bottom: 8pt;
        orphans: 3;
        widows: 3;
    }

    .page-hero {
        background: none !important;
        color: black !important;
        margin-top: 0;
    }

    .about-grid,
    .contact-grid {
        display: block;
    }

    .author-image,
    .book-image,
    .book-cover-large {
        display: none;
    }

    .books-grid {
        display: block;
    }

    .book-card {
        background: none !important;
        box-shadow: none !important;
        border: 1pt solid #ccc;
        margin-bottom: 15pt;
        padding: 10pt;
        page-break-inside: avoid;
    }

    .book-details h3 {
        color: black !important;
        font-size: 14pt;
        margin-bottom: 5pt;
    }
}

/* Ensure print-only URL display doesn't leak to screen */
@media screen {
    a[href^="http"]:after,
    a[href^="https"]:after {
        content: none !important;
        display: none !important;
    }
}

/* Giveaway Page Styles */
.giveaway-section {
    padding: 3rem 0 5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-color) 100%);
}

.giveaway-content {
    max-width: 1100px;
    margin: 0 auto;
}

.giveaway-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 90, 60, 0.1);
}

.giveaway-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-text {
    font-style: italic;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.giveaway-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.giveaway-intro p:last-child {
    margin-bottom: 0;
}

.giveaway-main {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.giveaway-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 90, 60, 0.1);
}

.giveaway-info h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.giveaway-info p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.book-showcase-giveaway {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(139, 90, 60, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.book-showcase-giveaway img {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-showcase-giveaway img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
    background: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
}

.benefits-list li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    background: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(139, 90, 60, 0.2);
}

.cta-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #d4705a 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(201, 112, 95, 0.3);
}

.cta-section h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.giveaway-cta {
    display: inline-block;
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--white);
    color: var(--accent-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.giveaway-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: var(--bg-cream);
}

.cta-description {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    font-style: italic;
}

.giveaway-details {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(139, 90, 60, 0.1);
}

.giveaway-details h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 1rem;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.detail-item {
    padding: 1.5rem;
    background: var(--bg-cream);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 90, 60, 0.15);
}

.detail-item strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.author-note {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a4a32 100%);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 8px 30px rgba(139, 90, 60, 0.3);
}

.author-note h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.author-note p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.author-note a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.author-note a:hover {
    color: var(--bg-cream);
}

/* Mobile responsiveness for giveaway page */
@media (max-width: 768px) {
    .giveaway-intro {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .giveaway-intro h2 {
        font-size: 1.8rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .giveaway-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .book-showcase-giveaway {
        order: -1;
        position: static;
        padding: 1.5rem;
    }
    
    .book-showcase-giveaway img {
        max-width: 220px;
    }
    
    .giveaway-info {
        padding: 2rem;
    }
    
    .giveaway-info h3 {
        font-size: 1.4rem;
    }
    
    .benefits-list {
        padding: 1rem;
    }
    
    .benefits-list li {
        padding-left: 1.5rem;
        font-size: 1rem;
    }
    
    .benefits-list li:before {
        width: 20px;
        height: 20px;
        font-size: 1rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        margin: 2rem 0;
    }
    
    .cta-section h3 {
        font-size: 1.5rem;
    }
    
    .giveaway-cta {
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .giveaway-details {
        padding: 2rem 1.5rem;
    }
    
    .giveaway-details h3 {
        font-size: 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detail-item {
        padding: 1.2rem;
    }
    
    .author-note {
        padding: 2rem 1.5rem;
    }
    
    .author-note h3 {
        font-size: 1.5rem;
    }
    
    .author-note p {
        font-size: 1rem;
    }
}

    .book-year {
        font-weight: bold;
        margin-bottom: 5pt;
    }

    .series-grid {
        display: block;
    }

    .series-card {
        background: none !important;
        box-shadow: none !important;
        border: 1pt solid #ccc;
        margin-bottom: 15pt;
        padding: 10pt;
        page-break-inside: avoid;
    }

    .faq-grid {
        display: block;
    }

    .faq-item {
        background: none !important;
        box-shadow: none !important;
        border-bottom: 1pt solid #ccc;
        padding: 10pt 0;
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
        color: black !important;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        font-style: italic;
    }

    /* Page break utilities */
    .page-break {
        page-break-before: always;
    }

    .no-page-break {
        page-break-inside: avoid;
    }
}