/* Blog Energetyczny - Róża Wiatrów */
/* Style niestandardowe */

:root {
    --primary-color: #009ac7;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

/* Ogólne */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Navbar */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Header */
.blog-header {
    background: linear-gradient(135deg, #009ac7 0%, #18bcf2 100%);
    color: white;
    border-bottom: 4px solid #006687;
}

.blog-header h1 {
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Artykuły */
article h1 {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

article h2 {
    color: #333;
    margin-top: 2rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

article p.lead {
    font-size: 1.15rem;
    color: #555;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
}

/* Progress bar */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    font-weight: 600;
    font-size: 1rem;
}

/* Dashboard cards - specjalne style */
.card.border-success {
    border-width: 2px !important;
}

.card.border-danger {
    border-width: 2px !important;
}

.card.border-primary {
    border-width: 2px !important;
}

/* Wykresy */
canvas {
    max-height: 400px;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

/* Footer */
footer {
    box-shadow: 0 -2px 4px rgba(0,0,0,.1);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #006687;
    border-color: #006687;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #006687;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .card-body .display-4 {
        font-size: 2rem;
    }

    canvas {
        max-height: 300px;
    }
}

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

.card {
    animation: fadeIn 0.5s ease-in;
}

/* Text utilities */
.text-muted {
    color: #6c757d !important;
}

/* Spacing */
section {
    scroll-margin-top: 80px;
}

/* SVG Icons */
svg {
    vertical-align: middle;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #006687;
}
