@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500&display=swap');

:root {
    --gold: #b8926a;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
}

* { box-sizing: border-box; transition: all 0.3s ease; }
html, body {
    width: 100%; margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: center;
    background-color: var(--light);
    font-family: 'Poppins', sans-serif; color: #333;
}

/* Dark Mode */
body.dark-mode { background-color: #121212; color: #eee; }
.dark-mode .main-header, .dark-mode .stat-card, .dark-mode .card-white {
    background-color: #1e1e1e !important; color: white !important; border-color: #333 !important;
}

/* Header & Hero */
.main-header { width: 100%; text-align: center; padding: 30px 0; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.main-header h1 { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin: 0; letter-spacing: 5px; text-transform: uppercase; }

.hero-banner {
    width: 100%; height: 250px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1560750588-73207b1ef5b8?q=80&w=2070') center/cover;
    display: flex; align-items: center; justify-content: center;
}
.hero-box { border: 1px solid rgba(255,255,255,0.5); padding: 20px 60px; backdrop-filter: blur(5px); color: white; text-align: center; }

/* Gridler */
.stats-wrapper {
    display: grid; grid-template-columns: repeat(4, 1fr);
    width: 90%; max-width: 1200px; gap: 20px; margin: -50px auto 30px;
}
.stat-card {
    background: var(--white); border-bottom: 5px solid var(--gold);
    padding: 25px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.stat-card h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--gold); margin: 0; }

.nav-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    width: 90%; max-width: 1200px; gap: 15px; margin-bottom: 30px;
}
.nav-box { position: relative; height: 160px; overflow: hidden; text-decoration: none; border-radius: 4px; }
.nav-box img { width: 100%; height: 100%; object-fit: cover; }
.overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
}
.nav-box:hover .overlay { background: rgba(184, 146, 106, 0.8); }
.nav-box span { color: white; letter-spacing: 2px; text-transform: uppercase; font-size: 0.8rem; border-bottom: 1px solid white; }

/* Dashboard Content */
.dashboard-content {
    display: grid; grid-template-columns: 1.2fr 1fr 0.8fr;
    width: 90%; max-width: 1200px; gap: 25px; margin-bottom: 50px;
}
.card-white { background: white; padding: 20px; border: 1px solid #eee; border-top: 3px solid var(--gold); box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.card-white h4 { font-family: 'Playfair Display'; margin-top: 0; border-bottom: 1px solid #f5f5f5; padding-bottom: 10px; }

/* Progress Bar */
.progress-bg { background: #eee; height: 8px; border-radius: 10px; margin: 10px 0 20px; }
.progress-fill { background: var(--gold); height: 100%; border-radius: 10px; }