/* ===== TABLET BREAKPOINT (768px - 1024px) ===== */
@media screen and (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .navbar .container {
        flex-direction: column;
        text-align: center;
    }

    .search-container {
        max-width: 100%;
        width: 100%;
    }
}

/* ===== SMALL TABLET BREAKPOINT (601px - 767px) ===== */
@media screen and (max-width: 767px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .book-image {
        height: 220px;
    }
}

/* ===== MOBILE BREAKPOINT (up to 600px) ===== */
@media screen and (max-width: 600px) {
    .books-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 1rem 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .book-image {
        height: 500px;
    }

    .book-info {
        padding: 1.25rem;
    }
}

/* ===== VERY SMALL MOBILE BREAKPOINT ===== */
@media screen and (max-width: 375px) {
    .book-image {
        height: 200px;
    }

    .book-title {
        font-size: 1rem;
    }

    .read-btn {
        padding: 0.65rem 0.75rem;
        font-size: 0.9rem;
    }
}