/*
 Theme Name: Агро шаблон
 Theme URI: http://example.com
 Author: Your Name
 Author URI: http://example.com
 Description: Custom theme for KT SK Agro Invest
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: kt-sk-agro
*/

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}


.top_line{
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 0;
}

.top_line p{
    margin: 0;
    padding: 0;
}

.top_line a{
    color:#fff;
}

.hero_section{
    height: 500px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}
.hero_section::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .5;
}

.hero_section h2{
    color: #fff;
    position: relative;
    z-index: 9;
}

.hero_section p{
    color: #fff;
    position: relative;
    z-index: 9;
}

.content-hero{
    text-align: center;
}

/* Стили для названия сайта */
.site-logo .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #4CAF50;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.site-logo .navbar-brand:hover {
    color: #45a049;
}

/* Стили для меню */
/* Стили для меню */
.main_menu_top .navbar-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main_menu_top .navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #4CAF50;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

/* Эффект линии под ссылками */
.main_menu_top .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4CAF50;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.main_menu_top .navbar-nav .nav-link:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

/* Эффект изменения цвета при наведении */
.main_menu_top .navbar-nav .nav-link:hover {
    color: #45a049;
}

/* Добавление анимации появления меню */
.main_menu_top .navbar-nav .nav-link {
    opacity: 0;
    animation: fadeInMenu 0.5s forwards;
    animation-delay: calc(0.1s * var(--i));
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Последовательная анимация для каждого пункта меню */
.main_menu_top .navbar-nav .nav-item {
    --i: 1;
}

.main_menu_top .navbar-nav .nav-item:nth-child(2) {
    --i: 2;
}

.main_menu_top .navbar-nav .nav-item:nth-child(3) {
    --i: 3;
}

.main_menu_top .navbar-nav .nav-item:nth-child(4) {
    --i: 4;
}

/* Общие стили для адаптивности */
@media (max-width: 991.98px) {
    .main_menu_top .navbar-nav {
        justify-content: center;
    }

    .main_menu_top .navbar-nav .nav-link {
        padding: 10px 20px;
    }
}

/* Стили для списка меню */
.main_menu_top ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.main_menu_top ul li {
    margin-right: 20px;
}

.main_menu_top ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #4CAF50;
    padding: 10px 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

/* Эффект линии под ссылками */
.main_menu_top ul li a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4CAF50;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.main_menu_top ul li a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

/* Эффект изменения цвета при наведении */
.main_menu_top ul li a:hover {
    color: #45a049;
}

/* Общие стили для адаптивности */
@media (max-width: 991.98px) {
    .main_menu_top ul {
        flex-direction: column;
        align-items: center;
    }

    .main_menu_top ul li {
        margin-right: 0;
        margin-bottom: 10px;
    }
}


.about-us {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-us-tile {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.about-us-tile-image,
.about-us-tile-text {
    width: 50%;
    padding: 0 15px;
}

.about-us-tile-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-us-tile-text h2 {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.about-us-tile-text p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

/* Зеркальное отображение для четных плиток */
.about-us-tile.reverse {

}

/* Адаптивность */
@media (max-width: 768px) {
    .about-us-tile {
        flex-direction: column;
    }

    .about-us-tile.reverse {
        flex-direction: column;
    }

    .about-us-tile-image,
    .about-us-tile-text {
        width: 100%;
        padding: 0;
    }
}


.page-title {
    font-family: 'Montserrat', sans-serif; /* Использование шрифта Montserrat */
    font-size: 2.5rem; /* Размер шрифта */
    font-weight: 700; /* Жирность текста */
    color: #4CAF50; /* Зелёный цвет текста */
    text-transform: uppercase; /* Преобразование текста в верхний регистр */
    letter-spacing: 2px; /* Интервал между буквами */
    text-align: center; /* Выравнивание по центру */
    margin-top: 30px; /* Отступ сверху */
    margin-bottom: 20px; /* Отступ снизу */
    position: relative; /* Для позиционирования псевдоэлемента */
}

.page-title::before {
    content: ''; /* Пустой контент для линии */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px; /* Отступ от текста */
    width: 100px; /* Ширина линии */
    height: 3px; /* Высота линии */
    background-color: #4CAF50; /* Цвет линии */
}

.page-title::after {
    content: ''; /* Пустой контент для декоративной линии */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px; /* Отступ от первой линии */
    width: 50px; /* Ширина второй линии */
    height: 3px; /* Высота второй линии */
    background-color: #45a049; /* Темно-зелёный цвет */
}

.contact-info {
    font-family: 'Montserrat', sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 10px;
    text-align: center;
}

.contact-address,
.contact-bin,
.contact-phone {
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.contact-phone a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-phone a:hover {
    color: #45a049;
}


footer {
    margin-top: auto;
    background-color: #f9f9f9; /* или любой другой цвет фона */
    text-align: center;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif; /* используйте шрифт по желанию */
}