/* Bookshelf Styles */
.bookshelf-header {
    text-align: center;
    margin-bottom: 40px;
}

.bookshelf-title {
    font-family: 'Lora', serif;
    font-size: 32px;
    font-weight: 600;
    color: #111;
    margin-bottom: 12px;
}

.bookshelf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
}

.book-card {
    background: linear-gradient(135deg, #fff9e6 0%, #f0e68c 100%);
    border: 2px solid #daa520;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 165, 32, 0.2);
}

.book-title {
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Clickable book link styles */
.book-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-link:hover {
    text-decoration: none;
    color: inherit;
}

.book-link:visited {
    color: inherit;
}

/* Section spacing */
.bookshelf-section,
.currently-reading-section,
.childhood-section {
    padding: 40px 0;
}

/* Childhood Section Styles */
.childhood-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.childhood-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #c0c0c0;
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.childhood-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 192, 192, 0.3);
}

.childhood-book-title {
    font-family: 'Lora', serif;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
    line-height: 1.3;
}

.childhood-book-author {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* Currently Reading Styles */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 600;
    color: #111;
    margin: 0;
}

.currently-reading-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.current-book-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #007acc;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.current-book-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 204, 0.15);
}

.current-book-title {
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 8px;
    line-height: 1.4;
}

.current-book-author {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .bookshelf-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .bookshelf-title {
        font-size: 26px;
    }

    .currently-reading-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .childhood-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 12px;
    }

    .section-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .bookshelf-grid {
        grid-template-columns: 1fr;
    }

    .currently-reading-grid {
        grid-template-columns: 1fr;
    }

    .childhood-grid {
        grid-template-columns: 1fr;
    }
}
