/*
Theme Name: Прописка в Украине (Двуязычная)
Theme URI: http://example.com/
Author: AI Assistant
Description: Тема для сайта юридических услуг с двуязычным интерфейсом (UA/RU).
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: propiskaua
*/

:root {
    --primary-color: #004b87; /* Trust Blue */
    --accent-color: #f2a900; /* Gold/Yellow */
    --diia-color: #000000; /* Diia Black */
    --diia-accent: #27C4A5; /* Diia Mint Green */
    --bg-color: #f9f9f9;
    --text-color: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
body { background: var(--bg-color); color: var(--text-color); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh;}
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%;}

/* Информационная полоса */
.info-bar {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 0;
    font-size: 14px;
}
.info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.info-badge {
    color: #fff;
    font-weight: normal;
}

/* ВЫДЕЛЕНИЕ ТЕЛЕФОНОВ В ШАПКЕ */
.phone-highlight a {
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 900;
    margin-right: 15px;
    letter-spacing: 0.5px;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.5);
    transition: 0.2s;
}
.phone-highlight a:hover {
    color: #fff;
}
.tg-highlight a {
    background: #0088cc;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}
.tg-highlight a:hover { background: #006699; }

.top-lang a {
    color: #888;
    margin-left: 10px;
    font-weight: bold;
}
.top-lang a.active { color: #fff; }

/* Основная шапка (Липкая) */
.sticky-header {
    background: #ffffff;
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 20px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип и значок ДІЯ */
.header-left {
    display: flex;
    flex-direction: column;
}
.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.logo span {
    color: var(--accent-color);
}
.diia-badge {
    background: var(--diia-accent);
    color: var(--diia-color);
    font-weight: 900;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 3px;
    text-transform: uppercase;
    width: fit-content;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(39, 196, 165, 0.3);
}

/* Навигация */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.main-navigation a {
    color: #333;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s;
}
.main-navigation a:hover {
    color: var(--primary-color);
}

/* Кнопка заявки */
.btn-action {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,75,135,0.3);
}
.btn-action:hover {
    background: #003666;
    color: #fff;
}

/* CONTENT GRID */
.site-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 40px; margin-bottom: 60px; flex: 1; }
@media(max-width: 992px) {
    .site-content { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; gap: 20px; text-align: center;}
    .main-navigation ul { flex-wrap: wrap; justify-content: center; }
    .header-left { align-items: center; }
}

/* SERVICES CARDS */
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}
.service-title { font-size: 24px; margin-bottom: 15px; color: var(--primary-color); }
.diia-tag {
    display: inline-block;
    background: var(--diia-color);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 10px;
    vertical-align: middle;
}

/* SIDEBAR */
.sidebar { background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); height: fit-content; }
.sidebar h3 { font-size: 20px; border-bottom: 2px solid var(--accent-color); padding-bottom: 10px; margin-bottom: 20px; color: var(--primary-color);}
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px;}
.sidebar a { color: #444; font-weight: 500;}
.sidebar a:hover { color: var(--primary-color); }

/* ВЫДЕЛЕНИЕ ТЕЛЕФОНОВ В САЙДБАРЕ */
.sidebar-phone {
    font-size: 22px;
    margin-bottom: 15px;
    background: #f4f8fb;
    padding: 10px;
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}
.sidebar-phone a {
    color: var(--primary-color);
    font-weight: 900;
}
.sidebar-phone a:hover {
    color: var(--accent-color);
}
.sidebar-tg {
    display: inline-block;
    background: #0088cc;
    color: #fff !important;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold !important;
    margin-top: 5px;
    width: 100%;
    text-align: center;
}
.sidebar-tg:hover { background: #006699; }

/* ==================== FOOTER ==================== */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
    font-size: 14px;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.footer-logo span {
    color: var(--accent-color);
}
.footer-col p {
    color: #d1e2f3;
}
.footer-col h4 {
    font-size: 18px;
    color: var(--accent-color); 
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}
.footer-links, .footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-contacts li {
    margin-bottom: 12px;
}
.footer-links a, .footer-contacts a {
    color: #d1e2f3;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover, .footer-contacts a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    color: #99badd;
}
