/* inceput fisier "books.css" */

/* ============================= */
/* BOOK DETAIL HERO */
/* ============================= */

.book-detail-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    width: min(1100px, 92%);
    margin: 70px auto 40px auto;
    padding: 46px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 34px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

.book-detail-cover {
    flex: 0 0 310px;
}

    .book-detail-cover img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 18px;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    }

.book-detail-info {
    max-width: 560px;
}

    .book-detail-info h1 {
        margin: 0;
        font-size: 44px;
        line-height: 1.12;
        color: #0f2f4a;
    }

.book-subtitle {
    margin-top: 18px;
    font-size: 19px;
    line-height: 1.6;
    color: #374151;
    font-weight: 700;
}

/* ============================= */
/* BOOK DETAIL CONTENT */
/* ============================= */

.book-detail-content {
    text-align: left;
    width: min(920px, 90%);
}

    .book-detail-content h2 {
        text-align: center;
    }

    .book-detail-content ul {
        padding-left: 22px;
    }

    .book-detail-content li {
        margin-bottom: 10px;
    }

/* ============================= */
/* BOOK PREVIEW SECTION */
/* ============================= */

.book-preview-section {
    width: min(1100px, 92%);
    margin: 40px auto 70px auto;
    padding: 40px 30px;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 34px;
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

    .book-preview-section h2 {
        margin-top: 0;
        font-size: 38px;
        color: #0f2f4a;
    }

    .book-preview-section p {
        max-width: 760px;
        margin: 18px auto 34px auto;
        font-size: 18px;
        line-height: 1.7;
        color: #374151;
        font-weight: 600;
    }

.book-preview-image {
    display: block;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.20);
}

/* ============================= */
/* RESPONSIVE TABLETA */
/* ============================= */

@media (max-width: 900px) {

    .book-detail-hero {
        flex-direction: column;
        gap: 32px;
        padding: 34px 24px;
        text-align: center;
    }

    .book-detail-cover {
        flex: none;
        width: min(300px, 82%);
    }

    .book-detail-info h1 {
        font-size: 36px;
    }

    .book-preview-section {
        padding: 34px 22px;
    }

        .book-preview-section h2 {
            font-size: 32px;
        }
}

/* ============================= */
/* RESPONSIVE TELEFON */
/* ============================= */

@media (max-width: 700px) {

    .book-detail-hero {
        margin: 45px auto 30px auto;
        padding: 28px 18px;
        border-radius: 26px;
    }

    .book-detail-cover {
        width: min(250px, 86%);
    }

    .book-detail-info h1 {
        font-size: 30px;
    }

    .book-subtitle {
        font-size: 16px;
    }

    .book-detail-content {
        width: min(92%, 100%);
    }

    .book-preview-section {
        padding: 26px 16px;
        border-radius: 26px;
    }

        .book-preview-section h2 {
            font-size: 28px;
        }

        .book-preview-section p {
            font-size: 16px;
        }

    .book-preview-image {
        border-radius: 16px;
    }
}

/* sfarsit fisier "books.css" */
