/* Landing Page Custom Styles */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #0ea5e9;
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --card-shadow-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-section.home-hero {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(248, 250, 252, 0.65) 100%), url('../../uploads/sekretariat.jpeg') center/cover no-repeat;
}

.hero-section.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(0.5px);
    z-index: 0;
}

.hero-section.home-hero .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-section .lead {
    font-weight: 400;
    opacity: 0.9;
}

/* Cards */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.card-title {
    font-weight: 700;
    color: var(--text-dark);
}

/* Stats */
.stat-card {
    padding: 2rem;
    background: #ffffff;
}

.stat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.page-header {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0) 100%);
    border-bottom: 1px solid #f1f5f9;
}

.section-title {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Utilities */
.bg-primary-soft { background-color: rgba(37, 99, 235, 0.1) !important; }
.bg-success-soft { background-color: rgba(16, 185, 129, 0.1) !important; }
.bg-warning-soft { background-color: rgba(245, 158, 11, 0.1) !important; }
.bg-info-soft { background-color: rgba(6, 182, 212, 0.1) !important; }
.bg-danger-soft { background-color: rgba(239, 68, 68, 0.1) !important; }
.bg-secondary-soft { background-color: rgba(100, 116, 139, 0.1) !important; }

.text-primary { color: #2563eb !important; }
.text-success { color: #10b981 !important; }
.text-warning { color: #f59e0b !important; }
.text-info { color: #06b6d4 !important; }
.text-danger { color: #ef4444 !important; }

.rounded-4 { border-radius: 1.5rem !important; }
.rounded-5 { border-radius: 2rem !important; }
.rounded-top-4 { border-top-left-radius: 1.5rem !important; border-top-right-radius: 1.5rem !important; }

.hover-primary:hover { color: var(--primary-color) !important; }

.shadow-sm { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important; }
.shadow { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important; }

/* Badge */
.badge {
    padding: 0.5em 1em;
    font-weight: 600;
    border-radius: 6px;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1) !important;
    padding: 0.75rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item i {
    width: 20px;
    font-size: 1.1rem;
    opacity: 0.7;
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

.dropdown-item:hover i {
    opacity: 1;
}

.dropdown-item.text-danger:hover {
    background-color: #fef2f2;
    color: #dc2626 !important;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: #f1f5f9;
}

/* Footer */
.footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 100px 0 40px;
}

.footer h5, .footer h6 {
    color: var(--text-dark);
    font-weight: 700;
}

.footer p, .footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer a:hover {
    color: var(--primary-color);
}

.footer hr {
    border-color: #e2e8f0;
    margin: 40px 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Auth Pages */
.auth-body {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    border: none;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

.auth-card .card-body {
    padding: 3rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

.form-control {
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
