@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Poppins:wght@300;400;600&display=swap');
:root {
    --primary: #d4af37;
    /* Gold */
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #000;
    color: white;
}


/* VIDEO BACKGROUND YA KURASA ZOTE */

.bg-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
    object-fit: cover;
}

.overlay-global {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Giza la video ili maandishi yaonekane */
    z-index: -1;
}


/* NAVIGATION */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 900;
}

.logo span {
    color: var(--primary);
}

nav ul li {
    display: inline-block;
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--primary);
}


/* CONTENT BOXES */

.container {
    padding: 120px 8% 60px;
    min-height: 100vh;
    text-align: center;
}

.section-title {
    font-size: 40px;
    margin-bottom: 40px;
    text-transform: uppercase;
    font-family: 'Montserrat';
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* Glass effect */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.price {
    font-size: 30px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--primary);
}

.btn {
    padding: 12px 30px;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 0 20px var(--primary);
}


/* FORM ELEMENTS */

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: rgba(33, 7, 128, 0.1) border: 1px solid #444;
    color: white;
    border-radius: 8px;
}

:root {
    --main-color: #d4af37;
    /* Gold */
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.05);
}

.dashboard-body {
    background: var(--bg-dark);
    color: #fff;
    display: flex;
}


/* Sidebar Styling */

.sidebar {
    width: 260px;
    height: 100vh;
    background: #000;
    position: fixed;
    padding: 20px;
    border-right: 1px solid rgba(212, 175, 55, 0.2);
}

.sidebar .logo {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 50px;
    text-align: center;
}

.sidebar .nav-links {
    list-style: none;
}

.sidebar .nav-links li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.sidebar .nav-links li a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar .nav-links li:hover,
.sidebar .nav-links li.active {
    background: var(--main-color);
}

.sidebar .nav-links li:hover a {
    color: #000;
}


/* Main Content Area */

.main-content {
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 30px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--card-bg);
}

.user-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-wrapper img {
    border-radius: 50%;
    border: 2px solid var(--main-color);
}


/* Stats Cards Grid */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-card i {
    font-size: 2.5rem;
    color: var(--main-color);
}


/* Product Section */

.content-section {
    margin-top: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-item {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    transition: 0.4s;
}

.product-item:hover {
    transform: translateY(-10px);
    border: 1px solid var(--main-color);
}

.product-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.product-item h4 {
    color: var(--main-color);
}

:root {
    --gold: #d4af37;
    --dark-bg: #050505;
    --glass-bg: rgba(255, 255, 255, 0.03);
}

.pro-bg {
    background: radial-gradient(circle at top left, #1a1a1a, #000);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.glass-container {
    width: 95%;
    height: 90vh;
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}


/* Sidebar */

.pro-sidebar {
    width: 80px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 0;
    align-items: center;
}

.pro-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    border: 2px solid var(--gold);
    padding: 5px;
    border-radius: 10px;
}

.pro-nav a {
    color: #555;
    font-size: 20px;
    margin: 25px 0;
    display: block;
    transition: 0.3s;
}

.pro-nav a.active,
.pro-nav a:hover {
    color: var(--gold);
    filter: drop-shadow(0 0 8px var(--gold));
}


/* Main Content */

.pro-main {
    flex: 1;
    padding: 40px;
    overflow-y: auto;
}

.pro-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.search-bar {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 15px;
    width: 300px;
    display: flex;
    align-items: center;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    margin-left: 10px;
    outline: none;
}

.pro-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.pro-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold);
    margin-bottom: 20px;
}

.pro-card h3 {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.pro-card h2 {
    font-size: 32px;
    color: #fff;
}

.pro-card p {
    font-size: 12px;
    color: #00ff88;
    margin-top: 5px;
}


/* Chart Simulation */

.chart-box {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 25px;
}

.dummy-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-top: 20px;
}

.bar {
    flex: 1;
    background: linear-gradient(to top, var(--gold), transparent);
    border-radius: 5px;
    transition: 0.5s;
}

.bar:hover {
    filter: brightness(1.5);
}