/* Основные стили темы semzz */

/* Подключение шрифта TildaSans */
@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-VF.woff2') format('woff2'),
         url('../fonts/TildaSans-VF.woff') format('woff'),
         url('../fonts/TildaSans-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TildaSans';
    src: url('../fonts/TildaSans-VF.woff2') format('woff2'),
         url('../fonts/TildaSans-VF.woff') format('woff'),
         url('../fonts/TildaSans-VF.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'TildaSans', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.55;
    font-weight: 300;
    font-style: normal;
}

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

/* Текстовые стили */
.main-dec-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: #000000;
}

.main-img-right-text {
    font-size: 26px;
    font-weight: 300;
    line-height: 1.4;
    color: #000000;
}

/* Хедер */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-columns {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

.header-logo .custom-logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.header-logo .custom-logo:hover {
    transform: scale(1.05);
}

.site-title {
    font-size: 24px;
    font-weight: 900;
    color: #00a324;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title:hover {
    opacity: 0.8;
}

/* Меню */
.header-menu {
    position: relative;
    display: flex;
    justify-content: center;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    text-decoration: none;
    color: #00a324;
    font-weight: 900;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-menu a:hover {
    opacity: 0.7;
}

.primary-menu .current-menu-item a,
.primary-menu .current-page-ancestor a {
    opacity: 0.7;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a324;
    transition: width 0.3s ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after {
    width: 100%;
}

/* Контакты в хедере */
.header-contacts {
    text-align: right;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.contact-phone,
.contact-email {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.contact-link {
    color: #00a324;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.contact-link:hover {
    opacity: 0.7;
    text-decoration: none;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a324;
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

/* Кнопка мобильного меню */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.menu-toggle__line {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #00a324;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .menu-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* Контакты в мобильном меню */

.menu-contact-items {
    display: none;
}
/* Главная страница */
.hero-section {
    position: relative;
}

.hero-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 800px;
    display: flex;
    align-items: center;
}

.hero-content {
    color: #000000;
    text-align: center;
    margin: 0 auto;
    background-color: white;
    padding: 80px 86px 85px;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #000;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Секция услуг */
.services-section {
    padding: 80px 0;
}

.services-section h2 {
    text-align: center;
    color: #00a324;
    font-weight: 900;
    font-size: 28px;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    align-items: start;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 163, 36, 0.15);
    border-color: #00a324;
}

.service-image {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-item h2,
.service-item h3 {
    color: #00a324;
    font-weight: 900;
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
}

.service-item h2 a,
.service-item h3 a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.service-item h2 a:hover,
.service-item h3 a:hover {
    opacity: 0.7;
}

.service-excerpt {
    color: #333333;
    line-height: 1.5;
    font-size: 18px;
    margin: 0;
    text-align: left;
}

/* Страницы услуг и вакансий */
.service-single,
.vacancy-single {
    max-width: 800px;
    margin: 0 auto;
}

.service-header,
.vacancy-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-thumbnail,
.vacancy-thumbnail {
    margin-bottom: 30px;
}

.service-thumbnail img,
.vacancy-thumbnail img {
    max-width: 100%;
    height: 200px;
    border-radius: 8px;
}

.service-single h1,
.vacancy-single h1 {
    color: #000;
    font-weight: 900;
    font-size: 32px;
    margin-bottom: 15px;
}

.service-meta,
.vacancy-meta {
    color: #666666;
    font-size: 14px;
}

.service-content,
.vacancy-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.service-content h2,
.service-content h3,
.vacancy-content h2,
.vacancy-content h3 {
    color: #00a324;
    font-weight: 900;
    margin: 30px 0 15px 0;
}

.back-to-services,
.back-to-vacancies {
    display: inline-block;
    color: #00a324;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 0;
}

.back-to-services:hover,
.back-to-vacancies:hover {
    opacity: 0.7;
}

/* Сетка вакансий */
.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.vacancy-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vacancy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vacancy-item .post-thumbnail {
    margin-bottom: 20px;
}

.vacancy-item .post-thumbnail img {
    width: 100%;
  
    object-fit: cover;
    border-radius: 4px;
}

.vacancy-item h2 {
    color: #00a324;
    font-weight: 900;
    margin-bottom: 15px;
    font-size: 22px;
}

.vacancy-item h2 a {
    color: inherit;
    text-decoration: none;
}

.vacancy-item h2 a:hover {
    opacity: 0.7;
}

.vacancy-item .entry-content {
    color: #333333;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Контент страниц */
.page-header {
    color: #00a324;
}

.page-content {
    margin-bottom: 20px;
    padding: 30px;
    background: #f9f9f9;
}

.page-content h2 {
    color: #00a324;
    font-weight: 900;
    margin-bottom: 20px;
    font-size: 28px;
}

.page-content h3 {
    color: #00a324;
    font-weight: 900;
    margin: 25px 0 15px 0;
    font-size: 22px;
}

.page-content p {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 16px;
}

.page-content ul,
.page-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content blockquote {
    border-left: 3px solid #00a324;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.page-content table th {
    background-color: #00a324;
    color: white;
    font-weight: 900;
    padding: 12px;
    text-align: left;
}

.page-content table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.page-content table tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* Сетка постов */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

article {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

article h1,
article h2 {
	font-size: 32px;
    color: #000;
    font-weight: 600;
    margin-bottom: 15px;
}

article h2 a {
    color: #00a324;
    text-decoration: none;
}

article h2 a:hover {
    opacity: 0.7;
}

.entry-content {
    line-height: 1.6;
}

.post-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Футер */
.site-footer {
    margin-top: 0;
}

.footer-top {
    padding: 30px 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.footer-left {
    background-color: #00a324;
    color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 163, 36, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.footer-left .widget-title {
    color: #ffffff;
    margin-bottom: 25px;
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-left .footer-widget {
    color: #ffffff;
    line-height: 1.7;
}

.footer-left .footer-widget p {
    margin-bottom: 15px;
}

p.fp1 {
	font-size: 20px;
	font-weight: 450;
}
p.fp2 {
	font-size: 16px;
}

.footer-left .footer-widget a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-left .footer-widget a:hover {
    opacity: 0.8;
}

.footer-map {
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.map-widget {
    height: 100%;
}

.map-widget iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding: 10px 0;
}

.footer-bottom-columns {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 30px;
}

.footer-logo .custom-logo {
    max-height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo .custom-logo:hover {
    transform: scale(1.05);
}

.footer-menu .primary-menu {
    justify-content: center;
    gap: 30px;
}

.footer-menu .primary-menu a {
    font-size: 14px;
    padding: 5px 0;
}

/* Сообщения об отсутствии контента */
.no-services,
.no-vacancies {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
}

.no-services p,
.no-vacancies p {
    font-size: 18px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Утилиты */
.read-more,
.button {
    display: inline-block;
    background-color: #00a324;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}

.read-more:hover,
.button:hover {
    background-color: #008a1f;
    color: #ffffff;
}

/* Скрываем ненужные элементы */
.service-item .read-more {
    display: none;
}