/* Design Minimaliste Moderne - CSS Global */
:root {
    --primary-dark: #0a0a0a;
    --primary-accent: #2563eb;
    --text-muted: #6b7280;
    --bg-light: #f9fafb;
    --border-light: #e5e7eb;
    --text-light: #9ca3af;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

/* Reset et Base */
body {
    color: var(--primary-dark);
    line-height: 1.6;
}

/* Typography */
.display-1, .display-2, .display-3, .display-4, .display-5 {
    color: var(--primary-dark);
    font-weight: 800;
}

/* Hero Sections */
.hero-minimal {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: white;
}

.hero-minimal-small {
    min-height: 50vh;
    display: flex;
    align-items: center;
    background: white;
}

/* Cards */
.metric-card {
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
    background: white;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-accent);
    line-height: 1;
}

.service-card {
    padding: 3rem 2rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1);
}

.content-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Badges */
.tech-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0.25rem;
}

.badge-primary {
    background: var(--primary-accent);
    color: white;
}

.badge-dark {
    background: var(--primary-dark);
    color: white;
}

/* Buttons */
.btn-minimal {
    padding: 1rem 2.5rem;
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-minimal:hover {
    background: var(--primary-accent);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-outline {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary-dark);
    text-decoration: none;
    border: 2px solid var(--primary-dark);
    border-radius: 0.5rem;
    display: inline-block;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: white;
    text-decoration: none;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* Navigation Override */
.navbar {
    background: white !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: none;
    padding: 1.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark) !important;
}

.nav-link {
    color: var(--text-muted) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

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

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

/* Footer Override */
footer {
    background: white !important;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-accent);
    text-decoration: none;
}

/* Forms */
.form-control {
    border: 1px solid var(--border-light);
    border-radius: 0.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Tables */
.table {
    border: 1px solid var(--border-light);
}

.table thead th {
    background: var(--bg-light);
    border-bottom: 2px solid var(--border-light);
    font-weight: 600;
    color: var(--primary-dark);
}

.table tbody tr:hover {
    background: var(--bg-light);
}

/* Sections */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Blog Cards */
.blog-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 1.5rem;
}

/* Utilities */
.text-accent {
    color: var(--primary-accent);
}

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

.border-light {
    border-color: var(--border-light) !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
}

.shadow-md {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important;
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .btn-minimal, .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Override OneUI Styles */
.block {
    border: 1px solid var(--border-light) !important;
    box-shadow: none !important;
}

.block-header {
    background: var(--bg-light) !important;
    border-bottom: 1px solid var(--border-light) !important;
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}