/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #fbbf24; /* Original accent */
    --accent: #c5a059;       /* Modern Gold accent */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --nav-bg: #ffffff;
    --nav-text: #0f172a;
    --primary: #0f172a;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    padding-top: 80px;
}

/* ========================================
   NAVIGATION
   ======================================== */
nav {
    background: var(--nav-bg);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    color: var(--accent);
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--nav-text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

/* Indikator Menu Aktif & Hover */
nav ul li a:hover, 
nav ul li a.active {
    color: var(--accent);
    background: rgba(241, 245, 249, 0.8);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a.active::after {
    width: 60%;
}

/* ========================================
   DROPDOWN & ALERTS (Rest of your styles)
   ======================================== */
.user-dropdown-nav { position: relative; }
.user-button-nav {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.user-button-nav:hover { background: var(--accent); }

.dropdown-menu-nav {
    position: absolute;
    right: 0;
    top: 120%;
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: none;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}
.user-dropdown-nav:hover .dropdown-menu-nav { display: block; }

.dropdown-item-nav {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}
.dropdown-item-nav:hover { background: #f8fafc; color: var(--accent); }

.alert {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    color: white;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    animation: slideIn 0.5s ease;
}
.alert-success { background: #10b981; }
.alert-error { background: #ef4444; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* FOOTER */
footer { background: #0f172a; color: white; padding: 80px 0 30px; margin-top: 100px; }
.footer-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; }
.footer-section h3 { font-size: 1.5rem; margin-bottom: 25px; color: var(--accent); }
.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 12px; }
.footer-section ul li a { color: #94a3b8; text-decoration: none; transition: 0.3s; }
.footer-section ul li a:hover { color: var(--accent); }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); color: #64748b; }