*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: #f5f1ea;
    color: #333;
}

/* HERO */

.hero-section{
    min-height: 100vh;
    position: relative;
    overflow: hidden;

    background:
    linear-gradient(rgba(32, 24, 20, 0.75),
    rgba(32, 24, 20, 0.75)),
    url('https://images.unsplash.com/photo-1521587760476-6c12a4b040da?q=80&w=1600');

    background-size: cover;
    background-position: center;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(2px);
}

/* NAVBAR */

.navbar-brand{
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* HERO CARD */

.hero-card{
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 30px;

    padding: 40px;

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* MINI CARD */

.mini-card{
    background: rgba(255,255,255,0.08);

    border-radius: 20px;

    padding: 30px 20px;

    text-align: center;

    color: white;

    transition: 0.3s;
}

.mini-card:hover{
    transform: translateY(-5px);

    background: rgba(255,255,255,0.15);
}

.mini-card i{
    color: #ffc107;
    margin-bottom: 15px;
}

.mini-card h3{
    font-weight: 700;
    margin-bottom: 5px;
}

.mini-card p{
    margin: 0;
    opacity: 0.9;
}

/* BOTONES */

.btn-warning{
    background: #d4a373;
    border: none;
}

.btn-warning:hover{
    background: #bc8a5f;
}

/* INFO SECTION */

.info-section{
    background: #f5f1ea;
}

/* FEATURE CARD */

.feature-card{
    background: white;

    border-radius: 25px;

    padding: 40px 30px;

    height: 100%;

    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-card:hover{
    transform: translateY(-8px);
}

.icon-box{
    width: 70px;
    height: 70px;

    background: #f1e3d3;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;
}

.icon-box i{
    font-size: 2rem;
    color: #8b5e34;
}

.feature-card h4{
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p{
    color: #666;
    line-height: 1.7;
}

/* RESPONSIVE */

@media(max-width:991px){

    .hero-section{
        text-align: center;
    }

    .hero-card{
        margin-top: 50px;
    }

}

/* =========================
   DASHBOARD
========================= */

.dashboard-container{
    display: flex;
    min-height: 100vh;
    background: #f5f1ea;
}

/* SIDEBAR */

.sidebar{
    width: 280px;
    background: #2d2018;

    color: white;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 30px 20px;

    position: fixed;
    height: 100vh;

    overflow-y: auto;
}

.logo-area h3{
    font-weight: 700;
    margin-bottom: 50px;
}

.logo-area i{
    color: #d4a373;
}

.menu{
    list-style: none;
    padding: 0;
}

.menu li{
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px 20px;

    border-radius: 15px;

    margin-bottom: 10px;

    cursor: pointer;

    transition: 0.3s;
}

.menu li:hover{
    background: rgba(255,255,255,0.08);
}

.menu li.active{
    background: #d4a373;
    color: #2d2018;
    font-weight: 600;
}

.menu li i{
    font-size: 1.1rem;
}

/* USER BOX */

.user-box{
    display: flex;
    align-items: center;
    gap: 15px;

    background: rgba(255,255,255,0.08);

    padding: 15px;

    border-radius: 20px;
}

.user-box img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-box small{
    display: block;
    opacity: 0.7;
}

/* MAIN CONTENT */

.main-content{
    margin-left: 280px;
    width: calc(100% - 280px);

    padding: 40px;
}

/* TOPBAR */

.topbar{
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 20px;
}

.topbar h2{
    font-weight: 700;
    margin-bottom: 5px;
}

.topbar p{
    color: #777;
    margin: 0;
}

.top-actions{
    display: flex;
    align-items: center;
    gap: 15px;
}

/* SEARCH */

.search-box{
    background: white;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px 18px;

    border-radius: 15px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.search-box input{
    border: none;
    outline: none;
    background: transparent;
}

/* NOTIFICATION */

.notification-btn{
    width: 50px;
    height: 50px;

    border: none;

    border-radius: 15px;

    background: white;

    font-size: 1.2rem;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* STAT CARD */

.stat-card{
    background: white;

    border-radius: 25px;

    padding: 25px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);

    transition: 0.3s;
}

.stat-card:hover{
    transform: translateY(-5px);
}

.stat-card h3{
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card p{
    margin: 0;
    color: #777;
}

.stat-card i{
    font-size: 2.5rem;
    color: #d4a373;
}

/* CONTENT CARD */

.content-card{
    background: white;

    border-radius: 25px;

    padding: 30px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);

    height: 100%;
}

.card-header-custom{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;
}

.card-header-custom h4{
    margin: 0;
    font-weight: 600;
}

/* ACTIVITY */

.activity-item{
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px 0;

    border-bottom: 1px solid #eee;
}

.activity-item:last-child{
    border-bottom: none;
}

.activity-icon{
    width: 50px;
    height: 50px;

    border-radius: 15px;

    background: #f1e3d3;

    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i{
    color: #8b5e34;
    font-size: 1.2rem;
}

.activity-item p{
    margin: 0;
    color: #777;
}

/* EVENTS */

.event-item{
    display: flex;
    gap: 15px;

    margin-bottom: 20px;
}

.event-item span{
    background: #d4a373;

    color: white;

    min-width: 70px;
    height: 70px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;

    text-align: center;
}

.event-item p{
    margin: 0;
    color: #777;
}

/* RESPONSIVE */

@media(max-width:991px){

    .sidebar{
        display: none;
    }

    .main-content{
        width: 100%;
        margin-left: 0;
        padding: 20px;
    }

    .topbar{
        flex-direction: column;
        align-items: flex-start;
    }

    .top-actions{
        width: 100%;
    }

    .search-box{
        width: 100%;
    }

    .search-box input{
        width: 100%;
    }

}

/* =========================
   PAGE HEADER
========================= */

.page-header{
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}

.page-header h2{
    font-weight: 700;
    margin-bottom: 5px;
}

.page-header p{
    color: #777;
    margin: 0;
}

/* =========================
   FILTERS
========================= */

.filters{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn{
    border: none;

    background: white;

    padding: 12px 20px;

    border-radius: 15px;

    font-weight: 500;

    transition: 0.3s;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-btn:hover{
    background: #d4a373;
    color: white;
}

.filter-btn.active{
    background: #2d2018;
    color: white;
}

/* =========================
   READING CARD
========================= */

.reading-card{
    background: white;

    border-radius: 30px;

    overflow: hidden;

    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(0,0,0,0.06);

    height: 100%;
}

.reading-card:hover{
    transform: translateY(-8px);
}

/* IMAGE */

.reading-image{
    position: relative;
    height: 240px;

    overflow: hidden;
}

.reading-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: 0.5s;
}

.reading-card:hover img{
    transform: scale(1.05);
}

/* BADGE */

.reading-badge{
    position: absolute;
    top: 15px;
    left: 15px;

    background: rgba(255,255,255,0.95);

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 0.9rem;
    font-weight: 600;

    color: #2d2018;
}

/* CONTENT */

.reading-content{
    padding: 25px;
}

.reading-meta{
    display: flex;
    justify-content: space-between;

    margin-bottom: 15px;

    color: #888;

    font-size: 0.9rem;
}

.reading-content h4{
    font-weight: 700;
    margin-bottom: 15px;
}

.reading-content p{
    color: #666;
    line-height: 1.7;

    margin-bottom: 20px;
}

/* BUTTON */

.btn-reading{
    width: 100%;

    border: none;

    background: #d4a373;

    color: white;

    padding: 14px;

    border-radius: 15px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-reading:hover{
    background: #bc8a5f;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .page-header{
        flex-direction: column;
        align-items: flex-start;
    }

}

/* =========================
   REFLECTION CARD
========================= */

.reflection-card{
    background: white;

    border-radius: 30px;

    overflow: hidden;

    display: flex;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.reflection-image{
    width: 320px;
    min-width: 320px;

    height: 100%;
}

.reflection-image img{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.reflection-content{
    padding: 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.reflection-level{
    background: #f1e3d3;

    color: #8b5e34;

    width: fit-content;

    padding: 10px 18px;

    border-radius: 30px;

    font-weight: 600;

    margin-bottom: 20px;
}

.reflection-content h3{
    font-weight: 700;
    margin-bottom: 20px;
}

.reflection-content p{
    color: #666;
    line-height: 1.8;
}

/* =========================
   FORM
========================= */

.reflection-form{
    background: white;

    padding: 40px;

    border-radius: 30px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* INPUTS */

.custom-input,
.custom-textarea{
    border: none;

    background: #f7f3ee;

    border-radius: 20px;

    padding: 18px 20px;

    box-shadow: none !important;
}

.custom-input:focus,
.custom-textarea:focus{
    background: #f1ebe3;
}

/* LABEL */

.form-label{
    font-weight: 600;
    margin-bottom: 12px;
}

/* EMOTIONS */

.emotion-grid{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.emotion-btn{
    border: none;

    background: #f7f3ee;

    padding: 14px 20px;

    border-radius: 18px;

    transition: 0.3s;

    font-weight: 500;
}

.emotion-btn:hover{
    background: #d4a373;
    color: white;

    transform: translateY(-3px);
}

/* SAVE BUTTON */

.save-reflection-btn{
    width: 100%;

    border: none;

    background: #2d2018;

    color: white;

    padding: 18px;

    border-radius: 20px;

    font-weight: 600;

    font-size: 1rem;

    transition: 0.3s;
}

.save-reflection-btn:hover{
    background: #4a3528;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .reflection-card{
        flex-direction: column;
    }

    .reflection-image{
        width: 100%;
        min-width: 100%;

        height: 250px;
    }

    .reflection-content{
        padding: 30px;
    }

    .reflection-form{
        padding: 25px;
    }

}

/* =========================
   FEATURED BANNER
========================= */

.featured-banner{
    position: relative;

    min-height: 420px;

    border-radius: 35px;

    overflow: hidden;

    background:
    linear-gradient(rgba(20,20,20,0.55),
    rgba(20,20,20,0.65)),
    url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?q=80&w=1600');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;

    padding: 60px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.featured-overlay{
    position: absolute;
    inset: 0;

    backdrop-filter: blur(1px);
}

.featured-content{
    position: relative;
    z-index: 2;

    max-width: 600px;

    color: white;
}

.featured-tag{
    background: rgba(255,255,255,0.15);

    padding: 10px 18px;

    border-radius: 30px;

    display: inline-block;

    margin-bottom: 20px;

    font-weight: 500;

    backdrop-filter: blur(10px);
}

.featured-content h1{
    font-size: 3rem;
    font-weight: 700;

    margin-bottom: 20px;
}

.featured-content p{
    font-size: 1.1rem;

    line-height: 1.8;

    margin-bottom: 30px;

    color: rgba(255,255,255,0.9);
}

/* BUTTONS */

.featured-buttons{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn-featured{
    border: none;

    background: #d4a373;

    color: white;

    padding: 14px 28px;

    border-radius: 18px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-featured:hover{
    background: #bc8a5f;
}

.btn-featured-outline{
    border: 1px solid rgba(255,255,255,0.2);

    background: rgba(255,255,255,0.08);

    color: white;

    padding: 14px 28px;

    border-radius: 18px;

    font-weight: 600;

    backdrop-filter: blur(10px);

    transition: 0.3s;
}

.btn-featured-outline:hover{
    background: rgba(255,255,255,0.15);
}

/* =========================
   VIDEO CARD
========================= */

.video-card{
    background: white;

    border-radius: 30px;

    overflow: hidden;

    transition: 0.3s;

    box-shadow: 0 10px 25px rgba(0,0,0,0.06);

    height: 100%;
}

.video-card:hover{
    transform: translateY(-8px);
}

/* THUMB */

.video-thumb{
    position: relative;

    height: 240px;

    overflow: hidden;
}

.video-thumb img{
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}

.video-card:hover img{
    transform: scale(1.05);
}

/* DURATION */

.video-duration{
    position: absolute;
    bottom: 15px;
    right: 15px;

    background: rgba(0,0,0,0.75);

    color: white;

    padding: 8px 14px;

    border-radius: 30px;

    font-size: 0.9rem;
    font-weight: 600;
}

/* CONTENT */

.video-content{
    padding: 25px;
}

.video-meta{
    display: flex;
    justify-content: space-between;

    margin-bottom: 15px;

    color: #888;

    font-size: 0.9rem;
}

.video-content h4{
    font-weight: 700;
    margin-bottom: 15px;
}

.video-content p{
    color: #666;

    line-height: 1.7;

    margin-bottom: 20px;
}

/* BUTTON */

.btn-video{
    width: 100%;

    border: none;

    background: #2d2018;

    color: white;

    padding: 14px;

    border-radius: 15px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-video:hover{
    background: #4a3528;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .featured-banner{
        padding: 35px;
        min-height: 350px;
    }

    .featured-content h1{
        font-size: 2rem;
    }

}

/* =========================
   MASONRY GRID
========================= */

.masonry-grid{
    column-count: 3;
    column-gap: 25px;
}

/* ITEM */

.masonry-item{
    background: white;

    border-radius: 30px;

    overflow: hidden;

    margin-bottom: 25px;

    break-inside: avoid;

    box-shadow: 0 10px 25px rgba(0,0,0,0.06);

    transition: 0.3s;
}

.masonry-item:hover{
    transform: translateY(-8px);
}

/* IMAGE */

.masonry-item img{
    width: 100%;

    display: block;

    object-fit: cover;
}

/* CONTENT */

.masonry-content{
    padding: 25px;
}

.masonry-tag{
    display: inline-block;

    background: #f1e3d3;

    color: #8b5e34;

    padding: 8px 16px;

    border-radius: 30px;

    font-size: 0.9rem;
    font-weight: 600;

    margin-bottom: 18px;
}

.masonry-content h4{
    font-weight: 700;

    margin-bottom: 15px;

    line-height: 1.5;
}

.masonry-content p{
    color: #666;

    line-height: 1.8;

    margin-bottom: 18px;
}

.masonry-content small{
    color: #999;

    font-weight: 500;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .masonry-grid{
        column-count: 2;
    }

}

@media(max-width:576px){

    .masonry-grid{
        column-count: 1;
    }

}

/* =========================
   MOBILE TOPBAR
========================= */

.mobile-topbar{
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}

.mobile-topbar h5{
    margin: 0;
    font-weight: 700;
}

/* BUTTON */

.mobile-menu-btn{
    width: 50px;
    height: 50px;

    border: none;

    border-radius: 15px;

    background: #2d2018;

    color: white;

    font-size: 1.5rem;
}

/* =========================
   MOBILE OFFCANVAS
========================= */

.mobile-offcanvas{
    background: #2d2018;
    color: white;
}

.mobile-offcanvas .offcanvas-header{
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-offcanvas .offcanvas-title{
    font-weight: 700;
}

.mobile-menu-list{
    list-style: none;
    padding: 0;

    margin-top: 20px;
}

.mobile-menu-list li{
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 16px 20px;

    border-radius: 15px;

    margin-bottom: 10px;

    cursor: pointer;

    transition: 0.3s;
}

.mobile-menu-list li:hover{
    background: rgba(255,255,255,0.08);
}

/* =========================
   DESKTOP
========================= */

@media(min-width:992px){

    .mobile-topbar{
        display: none;
    }

}