:root {
    --primary: #0f4c81;
    --primary-dark: #0a3560;
    --primary-light: #1a6bb3;
    --accent: #e85d04;
    --accent-light: #f48c06;
    --success: #2d6a4f;
    --danger: #9d0208;
    --warning: #e9c46a;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--gray-900); line-height: 1.6; background: var(--gray-100); }

/* Landing Page */
.landing-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0a2d4a 100%);
    min-height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.landing-hero .hero-content h1 { text-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    position: relative;
    z-index: 2;
}
.landing-nav .logo { font-size: 1.5rem; font-weight: 700; }
.landing-nav .nav-links { display: flex; gap: 2rem; }
.landing-nav a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.landing-nav a:hover { color: white; }
.btn-landing {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-landing:hover { background: var(--accent-light); color: white !important; }
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}
.hero-content h1 { font-size: 3.5rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
.hero-content p { font-size: 1.25rem; opacity: 0.95; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-btns .btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-btns .btn-outline:hover { background: white; color: var(--primary); }
.features-section {
    padding: 5rem 2rem;
    background: white;
}
.features-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: var(--gray-900); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-card i { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.feature-card h3 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--gray-600); font-size: 0.95rem; }
.event-types-section {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--gray-100) 0%, white 100%);
}
.event-types-section h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; }
.types-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.type-badge {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}
.cta-section {
    padding: 5rem 2rem;
    background: var(--primary);
    color: white;
    text-align: center;
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.95; }
.landing-footer {
    padding: 2rem;
    background: var(--gray-900);
    color: var(--gray-300);
    text-align: center;
    font-size: 0.9rem;
}

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 2rem;
}
.auth-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
}
.auth-box h1 { font-size: 1.75rem; margin-bottom: 1.5rem; color: var(--gray-900); text-align: center; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.4rem; font-weight: 500; color: var(--gray-800); }
.form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,76,129,0.15); }
.btn-primary {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); }
.auth-links { text-align: center; margin-top: 1.5rem; }
.auth-links a { color: var(--primary); text-decoration: none; font-weight: 500; }
.auth-links a:hover { text-decoration: underline; }

/* User Dashboard */
.user-dashboard {
    display: flex;
    min-height: 100vh;
}
.user-sidebar {
    width: 260px;
    background: var(--gray-900);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}
.user-sidebar .brand { padding: 0 1.5rem 1.5rem; font-weight: 700; font-size: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 1rem; }
.user-sidebar a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.2s;
}
.user-sidebar a:hover, .user-sidebar a.active { background: rgba(255,255,255,0.1); color: white; }
.user-main {
    flex: 1;
    margin-left: 260px;
    padding: 2rem;
    background: var(--gray-100);
}
.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.user-header h1 { font-size: 1.75rem; }
.card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.card h2, .card h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid var(--gray-200); }
th { background: var(--gray-100); font-weight: 600; color: var(--gray-800); }
tr:hover { background: var(--gray-100); }
.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.badge-pending { background: #fff3cd; color: #856404; }
.badge-approved { background: #d4edda; color: var(--success); }
.badge-rejected { background: #f8d7da; color: var(--danger); }
.badge-completed { background: #cce5ff; color: var(--primary); }
.badge-cancelled { background: var(--gray-300); color: var(--gray-800); }
.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.875rem; border-radius: var(--radius); border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-primary-sm { background: var(--primary); color: white; }
.btn-primary-sm:hover { background: var(--primary-dark); }
.btn-danger-sm { background: var(--danger); color: white; }
.btn-success-sm { background: var(--success); color: white; }
.btn-outline-sm { background: transparent; border: 1px solid var(--primary); color: var(--primary); }
.btn-outline-sm:hover { background: var(--primary); color: white; }

/* Admin Dashboard */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1.5rem 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar .brand {
    padding: 0 1.5rem 1.5rem;
    font-weight: 700;
    font-size: 1.35rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-sidebar .nav-section { margin-bottom: 1.5rem; }
.admin-sidebar .nav-section-title {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.6);
}
.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.2s;
}
.admin-sidebar a:hover { background: rgba(255,255,255,0.15); color: white; }
.admin-sidebar a.active { background: rgba(255,255,255,0.2); color: white; font-weight: 600; }
.admin-main {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: var(--gray-100);
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.admin-header h1 { font-size: 1.75rem; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}
.stat-card.success { border-left-color: var(--success); }
.stat-card.warning { border-left-color: var(--warning); }
.stat-card.danger { border-left-color: var(--danger); }
.stat-card h3 { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 0.5rem; }
.stat-card .value { font-size: 1.75rem; font-weight: 700; color: var(--gray-900); }

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* Forms */
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
select.form-control { cursor: pointer; }
textarea.form-control { min-height: 100px; resize: vertical; }

/* Service packages */
.package-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.package-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: border-color 0.2s;
}
.package-card:hover { border-color: var(--primary); }
.package-card.selected { border-color: var(--primary); background: rgba(15,76,129,0.05); }
.package-card h4 { margin-bottom: 0.5rem; }
.package-card .price { font-size: 1.25rem; font-weight: 700; color: var(--primary); }
.package-card .items { font-size: 0.9rem; color: var(--gray-600); margin-top: 0.5rem; }

/* Landing enhancements */
.landing-nav { transition: background 0.3s; }
.hero-btns .btn-landing { padding: 0.9rem 2rem; font-size: 1.05rem; }
.feature-card { border: 1px solid transparent; }
.feature-card:hover { border-color: var(--primary); }
.cta-section .btn-landing { padding: 0.9rem 2.5rem; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 768px) {
    .landing-nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
    .hero-content h1 { font-size: 2rem; }
    .user-sidebar, .admin-sidebar { width: 100%; position: relative; }
    .user-main, .admin-main { margin-left: 0; }
    .user-dashboard, .admin-dashboard { flex-direction: column; }
}
