/* Custom CSS for SIMANISNU Bootstrap 5 */

/* Font Family */
body {
    font-family: 'Inter', sans-serif;
}

/* Color Variables */
:root {
    --primary-color: #16a34a;
    --secondary-color: #0ea5e9;
    --accent-color: #059669;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --gradient-primary: linear-gradient(135deg, #16a34a 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #16a34a 0%, #0ea5e9 100%);
    --shadow-elegant: 0 10px 30px -10px rgba(22, 163, 74, 0.3);
}

/* Custom Bootstrap Theme Colors */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    opacity: 0.9;
    transform: translateY(-2px);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background: var(--gradient-primary) !important;
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation Styles */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(31, 41, 55, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    background-image: url('https://www.sentrakalibrasiindustri.com/wp-content/uploads/2023/12/Ulasan-Apa-yang-Dimaksud-Dengan-Manajemen-Administrasi-Perkantoran.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.8) 100%);
}

/* Scroll Indicator */
.scroll-indicator {
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 0; top: 8px; }
    50% { opacity: 1; }
    100% { opacity: 0; top: 20px; }
}

/* Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-elegant);
}

/* Icon Boxes */
.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.icon-box i {
    font-size: 1.5rem;
}

/* Workflow Steps */
.workflow-step {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
}

/* Utilities */
.text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-25 {
    color: rgba(255, 255, 255, 0.25) !important;
}

.border-white-25 {
    border-color: rgba(255, 255, 255, 0.25) !important;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -10px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up-delay {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding-top: 100px;
        min-height: 90vh;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

/* Additional Background Patterns */
.bg-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Shadow Utilities */
.shadow-elegant {
    box-shadow: var(--shadow-elegant) !important;
}