/*
Theme Name: Zenith Kanban Theme
Theme URI: https://example.com/zenith-kanban-theme
Author: Your Name
Author URI: https://example.com
Description: Тема WordPress, оптимизированная для работы с Kanban досками Zenith Projects
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenith-kanban-theme
Tags: kanban, project-management, responsive-layout, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* Переменные CSS для цветовой схемы оригинального приложения */
:root {
    --brand-primary: #4A90E2;
    --brand-secondary: #50E3C2;
    --brand-dark: #2c3e50;
    --brand-light: #f5f7fa;
    --brand-accent: #f39c12;
    --brand-secondary-dark: #3eb8a3;
    --brand-primary-light: rgba(74, 144, 226, 0.1);
    --brand-secondary-light: rgba(80, 227, 194, 0.2);
    --text-primary: #2c3e50;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Сброс стилей и базовые элементы */
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--brand-light);
}

a {
    color: var(--brand-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* Контейнер */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.site-header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin-left: 1.5rem;
}

.main-navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--brand-primary);
}

/* Основной контент */
.site-main {
    padding: 2rem 0;
}

.content-area {
    float: left;
    width: 70%;
}

.widget-area {
    float: right;
    width: 30%;
    padding-left: 2rem;
}

/* Записи */
.post {
    background-color: #fff;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.entry-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.entry-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--brand-primary);
}

.entry-meta {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Подвал сайта */
.site-footer {
    background-color: var(--brand-dark);
    color: #fff;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-widget {
    flex: 1;
    min-width: 250px;
    margin-right: 2rem;
}

.footer-widget:last-child {
    margin-right: 0;
}

.footer-widget h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-widget li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: #ccc;
}

.footer-widget a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
    font-size: 0.875rem;
    color: #ccc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .content-area,
    .widget-area {
        float: none;
        width: 100%;
    }
    
    .widget-area {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .main-navigation li {
        margin: 0 0.75rem;
    }
    
    .footer-inner {
        flex-direction: column;
    }
    
    .footer-widget {
        margin-right: 0;
        margin-bottom: 2rem;
    }
}

/* Стили для Kanban досок */
.zenith-kanban-container {
    margin: 2rem 0;
}

.zenith-kanban-board {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
}

/* Стили для приоритетов задач */
.priority-urgent {
    border-left: 4px solid #ef4444;
}

.priority-high {
    border-left: 4px solid #f97316;
}

.priority-medium {
    border-left: 4px solid #eab308;
}

.priority-low {
    border-left: 4px solid #3b82f6;
}

/* Анимации */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-backdrop {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

.animate-fade-in-backdrop {
    animation: fade-in-backdrop 0.2s ease-out;
}

/* Стили для перетаскивания */
.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
}

.drag-over {
    background-color: var(--brand-primary-light);
}