/*
Theme Name: Job Russian RS
Theme URI: https://job.russian.rs
Author: Your Name
Author URI: https://yourwebsite.com
Description: Тема для сайта трудоустройства job.russian.rs
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: job-russian
Tags: jobs, employment, recruitment, сербия, работа
*/

/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #212529;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок сайта */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 18px;
    font-weight: bold;
    color: #1c7ed6;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li {
    font-size: 14px;
    color: #495057;
}

nav ul li:hover {
    color: #1c7ed6;
}

.user-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher {
    display: flex;
    gap: 3px;
}

.language-switcher button {
    width: 30px;
    height: 25px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    background-color: #f1f3f5;
    color: #495057;
    font-size: 12px;
    cursor: pointer;
}

.language-switcher button.active {
    background-color: #339af0;
    color: white;
    border-color: #339af0;
}

.login-button {
    padding: 5px 12px;
    background-color: #228be6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #1c7ed6;
}

/* Героическая секция */
.hero {
    background: linear-gradient(135deg, #3498db 0%, #2074b8 50%, #16589e 100%);
    padding: 40px 0;
    color: white;
    margin-top: 60px; /* Для отступа от фиксированного хедера */
    text-align: center;
}

.hero h1 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero p {
    font-size: 14px;
    color: #e7f5ff;
    margin-bottom: 20px;
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    color: #495057;
}

.search-button {
    padding: 10px 20px;
    background-color: #fa5252;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background-color: #e03131;
}

/* Секция выбора пользователя */
.user-type-section {
    padding: 30px 0;
}

.user-types {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.user-type-card {
    flex: 1;
    background-color: white;
    border-radius: 4px;
    position: relative;
    padding: 25px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.user-type-card:first-child {
    border-left: 4px solid #228be6;
}

.employer-card {
    border-left: 4px solid #ff922b;
}

.user-type-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #212529;
}

.user-type-card p {
    color: #868e96;
    font-size: 14px;
}

/* Секция с последними вакансиями */
.latest-jobs {
    padding: 20px 0 30px;
}

.section-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #212529;
    font-weight: bold;
}

.job-card {
    background-color: white;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.job-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #212529;
}

.job-company {
    color: #868e96;
    font-size: 14px;
    margin-bottom: 10px;
}

.job-description {
    color: #495057;
    font-size: 14px;
    margin-bottom: 10px;
}

.job-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.job-tag {
    background-color: #e9ecef;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    color: #495057;
}

.apply-button, 
.job-card .apply-button,
button.apply-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #228be6;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    float: right;
    transition: background-color 0.2s;
    text-decoration: none;
}

.apply-button:hover, 
.job-card .apply-button:hover,
button.apply-button:hover {
    background-color: #1971c2;
}

.job-time {
    font-size: 12px;
    color: #868e96;
    text-align: right;
    margin-top: 10px;
}

.view-all-button {
    display: block;
    width: 200px;
    margin: 20px auto 0;
    padding: 10px 0;
    text-align: center;
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    color: #495057;
    font-size: 14px;
    transition: all 0.2s;
}

.view-all-button:hover {
    background-color: #f1f3f5;
}

/* Секция со статистикой */
.statistics {
    background-color: #212529;
    padding: 30px 0;
    color: white;
}

.statistics-content {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: #ced4da;
}

/* Подвал сайта */
footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
    font-size: 14px;
    color: #adb5bd;
}

.footer-column ul li:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #495057;
    color: #adb5bd;
    font-size: 12px;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .user-types {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    nav ul {
        gap: 15px;
        margin: 10px 0;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-input {
        border-radius: 4px;
    }
    
    .search-button {
        border-radius: 4px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Сброс стилей для лучшего соответствия дизайну */
.header-content:after,
.job-card:after {
    content: "";
    display: table;
    clear: both;
}
