@charset "UTF-8";
/* ==========================================================================
   SHABDSETU Mood Page - mood.css
   ========================================================================== */

.active-link {
    color: #ffffff !important;
    border-bottom: 2px solid #e2691f;
    padding-bottom: 4px;
}

/* ============================= HERO ============================= */
.mood-hero {
    background-image: url("../IMG/mood2.png");
    min-height: 75vh; 
    background-repeat: no-repeat;
    background-size: cover;      /* or contain, depending on the image */
    background-position: center;
    padding: 55px 0 50px;
    border-bottom: 4px solid #5c3a22;
}

.mood-hero-inner {
    max-width: 1200px;
    margin: 100px auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.mood-hero-text {
    flex: 1;
    max-width: 580px;
}

.mood-hero-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 14px;
}

.mood-hero-text > p {
    font-size: 16px;
    color: #6b5847;
    margin-bottom: 24px;
}

.mood-hero-search {
    background-color: #fdfaf4;
    border: 1px solid #d9c9ae;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    max-width: 850px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.mood-hero-search i {
    color: #a08a6f;
}

.mood-hero-search input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    width: 100%;
    color: #3d2b1f;
}

.mood-hero-search input::placeholder {
    color: #a08a6f;
}


/* ============================= MOOD GRID ============================= */
.mood-grid-section {
    background-color: #f9ecd9;
    padding: 46px 0 50px;
}

.mood-grid-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-heading {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #3d2b1f;
    margin-bottom: 26px;
}

.mood-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mood-card {
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.mood-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.mood-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.mood-card p {
    font-size: 12.5px;
    color: #ffffff;
    opacity: 0.85;
    line-height: 1.4;
}

/* Mood emoji badge — mirrors .cat-icon but for emoji instead of an <i> icon */
.mood-emoji {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 1;

    background: #FFF8EF;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);

    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.mood-card:hover .mood-emoji {
    transform: translateY(-4px) rotate(-4deg) scale(1.06);
    background: #FFD27A;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* ============================= RECOMMENDED FOR MOOD ============================= */
.mood-recs-section {
    background-color: #f9ecd9;
    padding: 0 0 50px;
}

.mood-recs-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.mood-recs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.mood-recs-header .section-heading {
    margin-bottom: 0;
}

.view-all-link {
    font-size: 14px;
    color: #cd5c10;
    font-weight: 600;
    white-space: nowrap;
}

.view-all-link:hover {
    text-decoration: underline;
}

.mood-recs-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.mood-book-card {
    background-color: #fdfaf4;
    border: 1px solid #e5d8bc;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mood-book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.mood-book-cover {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.mood-book-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 2.5;
    object-fit: cover;
    display: block;
}

.fav-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d6473f;
    font-size: 12px;
}

.mood-book-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #2b1c10;
    margin-bottom: 3px;
    line-height: 1.3;
}

.mb-author {
    font-size: 11px;
    color: #9a8a76;
    margin-bottom: 5px;
}

.mb-rating {
    font-size: 12px;
    color: #3d2b1f;
}

.mb-rating i {
    color: #e0a531;
    font-size: 11px;
}



.footer{

    background:linear-gradient(180deg,#6E3C18,#3B1E0E);

    color:#fff;
	margin-top:1px;
}

.footer-container{

    max-width:1300px;

   

   

    display:grid;

    grid-template-columns:2fr 1fr 1fr 2fr;

    gap:45px;

}

.footer-logo{

    font-size:32px;

    color:#FFD27A;

    margin-bottom:15px;

}

.footer-logo i{

    margin-right:8px;

}

.footer-about{

    color:#ddd;

    line-height:1.8;

    margin-bottom:25px;

}

.footer-column h3{

    color:#FFD27A;

    margin-bottom:20px;

    font-size:20px;

}

.footer-column ul{

    list-style:none;

}

.footer-column ul li{

    margin-bottom:12px;

}

.footer-column ul li a{

    color:#ddd;

    text-decoration:none;

    transition:.3s;

}

.footer-column ul li a:hover{

    color:#FFD27A;

    padding-left:6px;

}

.social-icons{

    display:flex;

    gap:12px;

}

.social-icons a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    transition:.3s;

}

.social-icons a:hover{

    background:#FFD27A;

    color:#3B1E0E;

    transform:translateY(-5px);

}

.newsletter{

    display:flex;

    margin-top:20px;

}

.newsletter input{

    flex:1;

    padding:14px;

    border:none;

    outline:none;

    border-radius:8px 0 0 8px;

}

.newsletter button{

    padding:14px 24px;

    border:none;

    background:#FFD27A;

    color:#3B1E0E;

    font-weight:600;

    cursor:pointer;

    border-radius:0 8px 8px 0;

    transition:.3s;

}

.newsletter button:hover{

    background:#F4B942;

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

    padding:22px;

    color:#ddd;

}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .mood-recs-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .mood-hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .mood-hero-search {
        margin: 0 auto;
    }
    .mood-hero-image {
        max-width: 320px;
    }
    .mood-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .mood-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mood-recs-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .mood-hero-text h1 {
        font-size: 28px;
    }
    .mood-recs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .mood-cards-grid,
    .mood-recs-row {
        grid-template-columns: 1fr;
    }
    .mood-hero {
        padding: 40px 0 30px;
    }
    .mood-grid-inner,
    .mood-hero-inner,
    .mood-recs-inner {
        padding: 0 20px;
    }
}

/* =====================================================
   PREMIUM MOOD PAGINATION
   ===================================================== */

#moodPagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    margin-top: 45px;
    margin-bottom: 30px;
    padding: 10px 0;
}


/* =====================================================
   PAGE BUTTONS
   ===================================================== */

#moodPagination .page-num,
#moodPagination .page-arrow {

    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d8b98d;
    border-radius: 10px;

    background: #fffaf2;
    color: #5c3a22;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        all 0.25s ease;

    box-sizing: border-box;

}


/* =====================================================
   HOVER
   ===================================================== */

#moodPagination .page-num:hover,
#moodPagination .page-arrow:hover:not(:disabled) {

    background: #7a4526;
    color: #ffffff;

    border-color: #7a4526;

    transform: translateY(-2px);

    box-shadow:
        0 6px 15px rgba(92, 58, 34, 0.20);

}


/* =====================================================
   ACTIVE PAGE
   ===================================================== */

#moodPagination .page-num.active {

    background: #6e3f21;
    color: #ffffff;

    border-color: #6e3f21;

    box-shadow:
        0 5px 14px rgba(92, 58, 34, 0.22);

}


/* =====================================================
   ARROW BUTTON
   ===================================================== */

#moodPagination .page-arrow {

    font-size: 14px;

}


/* =====================================================
   DISABLED ARROW
   ===================================================== */

#moodPagination .page-arrow:disabled {

    opacity: 0.45;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    #moodPagination {

        gap: 7px;

        margin-top: 30px;

    }


    #moodPagination .page-num,
    #moodPagination .page-arrow {

        width: 38px;
        height: 38px;

        font-size: 13px;

        border-radius: 8px;

    }

}