/*
Theme Name: Kyiv Propiska Final Pro
Theme URI: https://propiska-kyiv.com.ua
Author: Webmaster SEO Team
Description: Повноцінна корпоративна двомовна тема (Укр/Рус) зі сторінками (page.php) та записами (single.php).
Version: 5.1.0
License: Proprietary
Text Domain: kyiv-propiska
*/

:root {
    --navy: #0f172a;
    --navy-dark: #090d16;
    --emerald: #059669;
    --emerald-hover: #047857;
    --accent: #f59e0b;
    --light-bg: #f8fafc;
    --dark-text: #1e293b;
    --gray-text: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--dark-text); background-color: var(--light-bg); line-height: 1.6; }

/* Top Bar */
.top-bar { background-color: var(--navy-dark); color: #94a3b8; font-size: 0.875rem; padding: 0.6rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
.top-bar-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.top-bar-contacts { display: flex; gap: 1.5rem; align-items: center; }
.top-bar-contacts a { color: var(--white); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.top-bar-contacts a:hover { color: #34d399; }

/* Header */
.site-header { background: var(--white); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.site-branding a { font-size: 1.4rem; font-weight: 800; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }

.main-navigation ul { list-style: none; display: flex; gap: 1.5rem; align-items: center; }
.main-navigation a { color: var(--dark-text); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.main-navigation a:hover { color: var(--emerald); }

.lang-switcher { display: flex; gap: 0.5rem; background: var(--light-bg); padding: 4px 10px; border-radius: 4px; border: 1px solid var(--border); }
.lang-switcher a { font-size: 0.85rem; color: var(--gray-text); text-decoration: none; font-weight: 600; }
.lang-switcher .active { color: var(--emerald); }

/* Hero */
.hero-section { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: var(--white); padding: 4rem 1.5rem; text-align: center; }
.hero-section h1 { font-size: 2.5rem; margin-bottom: 1rem; font-weight: 800; line-height: 1.2; }
.hero-section p { font-size: 1.15rem; max-width: 800px; margin: 0 auto 2rem; color: #cbd5e1; }

.btn-primary { background-color: var(--emerald); color: var(--white); padding: 0.9rem 2.2rem; font-size: 1.1rem; font-weight: bold; border-radius: 6px; text-decoration: none; display: inline-block; transition: background-color 0.2s, transform 0.2s; border: none; cursor: pointer; }
.btn-primary:hover { background-color: var(--emerald-hover); transform: translateY(-2px); }

/* Layout */
.site-container { max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem; }
.layout-grid { display: grid; grid-template-columns: 2.2fr 1fr; gap: 2.5rem; }
.content-area { background: var(--white); padding: 3rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.content-area h1 { font-size: 2.2rem; color: var(--navy); margin-bottom: 1.5rem; }
.content-area h2 { font-size: 1.8rem; color: var(--navy); margin: 2rem 0 1rem; }
.content-area p { margin-bottom: 1.2rem; font-size: 1.05rem; }
.content-area ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.content-area li { margin-bottom: 0.5rem; }

/* Posts */
.post-meta { font-size: 0.9rem; color: var(--gray-text); margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }

/* Sidebar */
.sidebar-area { background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); height: fit-content; }
.sidebar-area h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; }
.sidebar-area ul { list-style: none; }
.sidebar-area ul li { margin-bottom: 0.8rem; }
.sidebar-area ul li a { color: var(--emerald); text-decoration: none; font-weight: 500; }
.sidebar-area ul li a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background-color: var(--navy-dark); color: #cbd5e1; padding: 5rem 1.5rem 2rem; margin-top: 5rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 3rem; margin-bottom: 3.5rem; }
.footer-widget h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 1.5rem; border-left: 3px solid var(--emerald); padding-left: 0.75rem; }
.footer-widget p, .footer-widget ul { font-size: 0.95rem; line-height: 1.8; }
.footer-widget ul { list-style: none; }
.footer-widget ul li { margin-bottom: 0.7rem; }
.footer-widget ul li a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-widget ul li a:hover { color: var(--white); }
.footer-phones { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; }
.footer-phones a { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.footer-phones a:hover { color: #34d399; }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; text-align: center; font-size: 0.9rem; color: #64748b; }

@media(max-width: 768px) { .layout-grid { grid-template-columns: 1fr; } .top-bar-container { flex-direction: column; text-align: center; } }
