/*
Theme Name: Time-bd.com
Theme URI: https://time-bd.com/
Author: Time-bd.com Team
Description: A professional dashboard-style theme for Time-bd.com with fixed sidebar and smooth redirects.
Version: 1.7.0
Text Domain: time-bd
*/

:root {
    --primary: #ff8c00;
    --primary-hover: #e67e00;
    --dark: #0f172a;
    --header-h: 70px;
    --sidebar-w: 260px;
    --bg-color: #f1f5f9;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg-color); color: #1e293b; overflow-x: hidden; }

/* Layout Structure */
.wrapper { display: flex; margin-top: var(--header-h); min-height: calc(100vh - var(--header-h)); }
main { flex: 1; margin-left: var(--sidebar-w); padding: 30px; transition: 0.3s; }

/* Sidebar Styling */
aside { 
    width: var(--sidebar-w); background: white; border-right: 1px solid #e2e8f0; 
    height: calc(100vh - var(--header-h)); position: fixed; overflow-y: auto; z-index: 1000;
}

.nav-menu { list-style: none; }
.nav-menu .menu-item a {
    padding: 12px 20px; display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: #475569; text-decoration: none; border-bottom: 1px solid #f8fafc;
    transition: 0.3s;
}
.nav-menu .menu-item a:hover { background: #fff7ed; color: var(--primary); border-left: 4px solid var(--primary); }
.nav-menu .menu-item a i { font-style: normal; font-size: 18px; }

/* Dashboard Cards */
.card { background: white; padding: 25px; border-radius: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); margin-bottom: 25px; }
.section-title { margin: 30px 0 15px; font-size: 18px; font-weight: 700; border-left: 4px solid var(--primary); padding-left: 10px; color: var(--dark); }

/* Quick Services Grid */
.page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.grid-item { background: white; padding: 20px; border-radius: 12px; text-align: center; border: 1px solid #e2e8f0; text-decoration: none; transition: 0.3s; color: inherit; }
.grid-item:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: 0 10px 15px rgba(255, 140, 0, 0.1); }
.grid-item i { font-size: 26px; display: block; margin-bottom: 10px; font-style: normal; }

/* Redirect Banner */
.tbd-banner { width: 100%; height: 250px; border-radius: 12px; background-size: cover; background-position: center; position: relative; cursor: pointer; overflow: hidden; background-color: #ddd; }
.tbd-banner::after { content: "Redirecting to Time-bd.com..."; position: absolute; inset: 0; background: rgba(255, 140, 0, 0.9); display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; opacity: 0; transition: 0.3s; }
.tbd-banner:hover::after { opacity: 1; }

@media (max-width: 768px) {
    aside { transform: translateX(-100%); transition: 0.3s; }
    aside.open { transform: translateX(0); }
    main { margin-left: 0; }
}