/*
 Theme Name:   Hello Elementor Child
 Template:     hello-elementor
*/

/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/

/* ডিফল্ট স্টাইল রিসেট (ঐচ্ছিক কিন্তু ভালো অভ্যাস) */
body {
    margin-top: 0 !important; /* অনেক সময় অ্যাডমিন বার জায়গা নেয়, এটি তা ঠিক করে */
}

/* মেনু কন্টেইনার স্টাইল */
.custom-menu-container {
    background-color: #2c3e50; /* গাঢ় নীল রঙ */
    padding: 10px 20px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1000;
}

/* মূল মেনু (ul) স্টাইল */
.custom-main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* মেনু আইটেমগুলোকে মাঝে আনার জন্য */
    align-items: center;
}

/* মেনু আইটেম (li) স্টাইল */
.custom-main-menu li {
    margin: 0 10px;
}

/* মেনু লিঙ্ক (a) স্টাইল */
.custom-main-menu li a {
    color: #ecf0f1; /* হালকা সাদা রঙ */
    text-decoration: none;
    font-size: 17px;
    font-family: Arial, sans-serif;
    padding: 12px 18px;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* হোভার ইফেক্ট */
.custom-main-menu li a:hover {
    background-color: #3498db; /* হোভারে নীল রঙ */
    color: #fff;
}

/* বর্তমান পেজের মেনু আইটেম স্টাইল */
.custom-main-menu .current-menu-item a {
    background-color: #e74c3c; /* অ্যাক্টিভ মেনুর জন্য লাল রঙ */
    color: #fff;
}


/* --- অ্যাপ স্টাইল লেআউট (Book Detail Page) --- */

.bkp-bookpage-container {
    font-family: Arial, sans-serif; /* বা আপনার AdorshoLipi ফন্ট */
    background-color: #f4f4f4; /* ব্যাকগ্রাউন্ড কালার */
    padding: 10px;
    border-radius: 8px;
}

.bkp-bookpage-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.bkp-detail-top-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.bkp-bookpage-img {
    width: 120px; /* অ্যাপের মতো ফিক্সড সাইজ */
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.bkp-bookpage-content-wrapper {
    flex: 1;
}

.bkp-bookpage-info {
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: #333;
    border-bottom: 1px dashed #eee; /* হালকা দাগ তথ্যের মাঝে */
    padding-bottom: 4px;
}

.bkp-bookpage-info strong {
    color: #555;
    min-width: 100px;
    display: inline-block;
}

/* লিংকের স্টাইল (লেখক, প্রকাশনী) */
.bkp-link-style a {
    text-decoration: none;
    color: #e60000;
    font-weight: bold;
}
.bkp-link-style a:hover {
    text-decoration: underline;
}

/* অ্যাকশন বার */
.bkp-action-bar {
    display: flex;
    justify-content: space-around; /* সমান দূরত্বে বাটনগুলো */
    align-items: center;
    background: #e60000;
    padding: 12px;
    border-radius: 50px; /* অ্যাপের মতো রাউন্ডেড */
    width: 100%;
    box-shadow: 0 4px 10px rgba(230, 0, 0, 0.3);
}

.bkp-action-item {
    background: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.bkp-action-item:hover {
    transform: scale(1.1);
}

/* ডেসক্রিপশন সেকশন */
.bkp-description-container {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.bkp-description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: left; /* বাংলা পড়ার সুবিধার জন্য Left */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

/* কলাপস স্টাইল */
.collapsed-text {
    max-height: 150px; 
    position: relative;
    overflow: hidden;
}

/* ফেইড ইফেক্ট */
.collapsed-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, #ffffff);
}

.bkp-readmore-btn {
    display: block;
    width: 140px;
    margin: 20px auto 0;
    padding: 10px;
    border: 1px solid #e60000;
    background: #fff;
    color: #e60000;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    transition: 0.3s;
}

.bkp-readmore-btn:hover {
    background: #e60000;
    color: #fff;
}

/* মোবাইল রেসপনসিভনেস */
@media (max-width: 480px) {
    .bkp-detail-top-section {
        flex-direction: row; /* মোবাইলেও পাশাপাশি থাকবে */
        gap: 15px;
    }
    .bkp-bookpage-img {
        width: 100px; /* ছোট স্ক্রিনে ইমেজ একটু ছোট */
        height: 150px;
    }
    .bkp-bookpage-info {
        font-size: 13px;
    }
    .bkp-bookpage-info strong {
        min-width: auto; /* মোবাইলে লেবেল এর উইডথ অটো */
        display: block; /* লেবেল উপরে চলে যাবে */
        color: #888;
        font-size: 11px;
    }
}
