/* CSS Variables */
:root {
    --color-cream: #FDF8F3;
    --color-warm-white: #FFFBF7;
    --color-sage: #8B9A7D;
    --color-sage-light: #A8B89A;
    --color-sage-dark: #6B7A5D;
    --color-terracotta: #C17F59;
    --color-terracotta-light: #D4967A;
    --color-brown: #5C4033;
    --color-brown-light: #7A5C4A;
    --color-text: #3D3D3D;
    --color-text-light: #6B6B6B;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    
    --shadow-sm: 0 2px 8px rgba(92, 64, 51, 0.08);
    --shadow-md: 0 4px 20px rgba(92, 64, 51, 0.12);
    --shadow-lg: 0 8px 40px rgba(92, 64, 51, 0.16);
    
    --color-border: rgba(92, 64, 51, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-warm-white);
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-brown);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--color-brown);
    font-weight: 500;
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
}

/* Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-brown);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    font-weight: 500;
    color: var(--color-brown-light);
    transition: color 0.3s ease;
}

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

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    padding: var(--spacing-2xl) var(--spacing-lg);
    padding-top: 15vh;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-sage);
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    color: var(--color-brown);
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Decoration */
.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    pointer-events: none;
}

.book {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 4px;
    opacity: 0.15;
}

.book-1 {
    background: var(--color-sage);
    bottom: 50px;
    left: 10%;
    transform: rotate(-15deg);
}

.book-2 {
    background: var(--color-terracotta);
    bottom: 80px;
    right: 15%;
    transform: rotate(10deg);
    width: 50px;
    height: 70px;
}

.book-3 {
    background: var(--color-brown);
    bottom: 30px;
    left: 50%;
    transform: rotate(5deg);
    width: 70px;
    height: 90px;
}

/* Sections */
.section {
    padding: var(--spacing-2xl) 0;
}

/* About Section */
.about {
    background-color: var(--color-warm-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: start;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.about-features {
    display: grid;
    gap: var(--spacing-lg);
}

.feature {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.feature h3 {
    font-size: 1.25rem;
    color: var(--color-brown);
    margin-bottom: var(--spacing-xs);
}

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

/* Current Read Section */
.current-read {
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
}

.current-book {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.book-placeholder {
    flex-shrink: 0;
    width: 180px;
    height: 270px;
    background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-sage) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-sm);
}

.book-info {
    flex: 1;
}

.book-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-sage);
    margin-bottom: var(--spacing-sm);
}

.book-title {
    font-size: 2rem;
    color: var(--color-brown);
    margin-bottom: var(--spacing-xs);
}

.book-author {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-md);
}

.book-description {
    color: var(--color-text-light);
}

/* Hosts Section */
.hosts {
    background-color: var(--color-warm-white);
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.host-card {
    text-align: center;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.host-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.host-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-terracotta-light) 0%, var(--color-terracotta) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: white;
    font-weight: 600;
}

.host-name {
    font-size: 1.5rem;
    color: var(--color-brown);
    margin-bottom: var(--spacing-xs);
}

.host-role {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-sage);
    margin-bottom: var(--spacing-md);
}

.host-bio {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Join Section */
.join {
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    text-align: center;
}

.join .section-title {
    color: white;
}

.join-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

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

.join .btn-primary:hover {
    background-color: var(--color-cream);
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    background: white;
    color: var(--color-text);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-light);
}

.form-input:focus {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.newsletter-form .btn {
    width: 100%;
    max-width: 200px;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: var(--spacing-sm);
}

.form-message {
    margin-top: var(--spacing-md);
    font-size: 1rem;
    font-weight: 500;
    min-height: 1.5em;
}

.form-message.success {
    color: #d4f5e9;
}

.form-message.error {
    color: #ffcdd2;
}

.join-note {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: var(--spacing-lg);
}

.join-note a {
    color: white;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.join-note a:hover {
    opacity: 0.8;
}

@media (min-width: 600px) {
    .form-inputs {
        flex-direction: row;
        gap: var(--spacing-sm);
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: auto;
        min-width: 180px;
    }
}

/* Footer */
.footer {
    background-color: var(--color-brown);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.footer-tagline {
    font-size: 0.875rem;
    opacity: 0.7;
    font-style: italic;
}

.footer-links a {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Book Tags & Links */
.book-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

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

.book-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--color-sage);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.book-link:hover {
    background: var(--color-sage-dark);
    transform: translateY(-2px);
}

/* Past Books Section */
.past-books-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.section-subtitle {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    text-align: center;
}

.past-books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.past-book-card {
    text-align: center;
    transition: transform 0.3s ease;
}

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

.past-book-cover {
    width: 100%;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.past-book-cover span {
    font-size: 2rem;
    color: white;
}

.past-book-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.past-book-author {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.past-book-rating {
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .current-book {
        flex-direction: column;
        text-align: center;
    }
    
    .book-placeholder {
        width: 140px;
        height: 210px;
    }
    
    .book-tags {
        justify-content: center;
    }
    
    .book-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hosts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .past-books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
