/* Tema Royal Purple - Style.css */

/* Reset dan base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 50%, #ce93d8 100%);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c27b0 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9c27b0 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(156, 39, 176, 0.3);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ba68c8 100%);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, #4caf50 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #f44336 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ff9800 100%);
    color: #333;
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #2196f3 100%);
    color: white;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 25px rgba(156, 39, 176, 0.1);
    padding: 1rem 0;
    border-bottom: 2px solid rgba(156, 39, 176, 0.1);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c27b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-color);
    margin: 0 1rem;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(156, 39, 176, 0.1);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(156, 39, 176, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(156, 39, 176, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.25);
}

.card-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.3rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e1bee7;
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(156, 39, 176, 0.1);
    background: white;
}

/* Alerts */
.alert {
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(135deg, var(--accent-color) 0%, #4caf50 100%);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #f44336 100%);
    color: white;
}

.alert-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #ff9800 100%);
    color: #333;
}

.alert-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #2196f3 100%);
    color: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 3px solid rgba(156, 39, 176, 0.2);
}

.footer a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Utility classes */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--accent-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--info-color); }

.bg-primary { background: linear-gradient(135deg, var(--primary-color) 0%, #9c27b0 100%); }
.bg-secondary { background: linear-gradient(135deg, var(--secondary-color) 0%, #ba68c8 100%); }
.bg-success { background: linear-gradient(135deg, var(--accent-color) 0%, #4caf50 100%); }
.bg-danger { background: linear-gradient(135deg, var(--danger-color) 0%, #f44336 100%); }
.bg-warning { background: linear-gradient(135deg, var(--warning-color) 0%, #ff9800 100%); }
.bg-info { background: linear-gradient(135deg, var(--info-color) 0%, #2196f3 100%); }

/* Custom animations */
@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200px 100%;
    animation: shimmer 2s infinite;
}

@keyframes royalGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(156, 39, 176, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(156, 39, 176, 0.6);
    }
}

.royal-glow {
    animation: royalGlow 2s ease-in-out infinite;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c27b0 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="crown" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 5 L20 15 L25 10 L30 20 L25 25 L20 20 L15 25 L10 20 L5 25 L0 20 L5 10 L10 15 Z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23crown)"/></svg>');
    opacity: 0.3;
}

/* Royal elements */
.crown-pattern {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 10 L60 30 L70 20 L80 40 L70 50 L60 40 L50 50 L40 40 L30 50 L20 40 L30 20 L40 30 Z" fill="rgba(156,39,176,0.1)"/></svg>');
    background-size: 60px 60px;
    background-repeat: repeat;
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3e5f5;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, #9c27b0 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #9c27b0 0%, var(--primary-color) 100%);
} 