/* বই ডাউনলোড সেকশন স্টাইল */
.book-section {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 40px;
}

.book-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

.book-column {
    padding: 25px;
    height: 100%;
}

/* বাম কলাম - 25% প্রস্থ */
.book-cover {
    width: 25%;
    text-align: center;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* মাঝের কলাম - 25% প্রস্থ */
.book-info {
    width: 35%;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background-color: #fff;
}

/* ডান কলাম - 50% প্রস্থ */
.book-description {
    width: 40%;
    background-color: #f9f9f9;
}

.book-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-height: 350px;
    margin-bottom: 0px;
}



.book-title {
    font-size: 28px;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.3;
}

.book-author {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.book-meta {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.book-meta p {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.book-price {
    font-size: 26px;
    color: #e74c3c;
    font-weight: bold;
    margin: 15px 0;
    padding: 10px;
    background-color: #fff4f4;
    border-radius: 8px;
    display: inline-block;
}

.book-summary {
    margin: 20px 0;
    line-height: 1.6;
    font-size: 16px;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 15px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
}

.book-details {
    margin-top: 20px;
}

.book-details h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    font-size: 22px;
}

/* শেয়ার বাটন স্টাইল */
.share-buttons {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.share-text {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s, opacity 0.3s;
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.facebook {
    background-color: #3b5998;
}

.twitter {
    background-color: #1da1f2;
}

.linkedin {
    background-color: #0077b5;
}

.whatsapp {
    background-color: #25d366;
}

.copy-link {
    background-color: #6c757d;
    border: none;
    cursor: pointer;
}

/* শেয়ার বাটন ইমেজ স্টাইল */
.share-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* কপি লিঙ্ক টুলটিপ */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* রেস্পন্সিভ স্টাইল */
@media (max-width: 992px) {
    .book-cover,
    .book-info,
    .book-description {
        width: 100%;
    }
    
    .book-info {
        border-left: none;
        border-right: none;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }
    
    .book-meta p {
        font-size: 14px;
    }
    
    .share-icons {
        justify-content: center;
    }
}