/*
Theme Name: PRO-AGRO
Theme URI: https://pro-agro.rs/
Author: sala2000
Author URI: mailto:sala2000@gmail.com
Description: PRO-AGRO
Version: 0.12
Text Domain: proagro
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans', sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  color: #005fcc;
  text-decoration: none;
}

.header {
  background: #fff;
  /* box-shadow: 0 2px 10px rgba(0,0,0,0.1); */
  padding: 15px 0;
}

/* Стили для кнопки в хедере */
.header .proagro-btn-primary {
    background-color: #ef1c23;
    color: white !important;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #ef1c23;
    box-shadow: 0 2px 10px rgba(239, 28, 35, 0.2);
}

.header .proagro-btn-primary:hover {
    background-color: white;
    color: #ef1c23 !important;
    border-color: #ef1c23;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 28, 35, 0.3);
}

.header .proagro-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(239, 28, 35, 0.3);
}

.footer {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6));
  color: white;
  padding: 15px 0;
}

.logo img {
  height: 60px;
  width: auto;
}

.main-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  margin-left: 25px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: #ef1c23;
}

.section-title {
    color: #ef1c23;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ef1c23;
}

/* =Sindicat section= */
.sindicat {
    position: relative;
    padding: 0;
    background-color: #ef1c23;
    overflow: hidden;
}

.sindicat:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 75%;
    background-color: #ef1c23;
    z-index: 0;
}

.sindicat .container-fluid {
    position: relative;
    z-index: 1;
}

.sindicat-left,
.sindicat-right {
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sindicat-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sindicat-join-link {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.sindicat-join-link:hover {
    color: white;
    transform: translateX(10px);
}

.sindicat-features {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
}

.sindicat-features li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.sindicat-features .bi {
    color: white;
    font-size: 1.3rem;
    margin-right: 10px;
}

/* Карточки услуг */
.service-card {
  background: white;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-icon img {
  max-width: 80px;
  height: auto;
  margin-bottom: 15px;
}

/* =Buttons= */
.proagro-btn {
  display: inline-block;
  background: #005fcc;
  color: white !important;
  padding: 12px 30px;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
}

.proagro-btn-primary {
  background: #ef1c23;
  color: white !important;
  padding: 12px 30px;
  border-radius: 0;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
}

.proagro-btn-outline {
  background: transparent;
  border: 2px solid #005fcc;
  color: #005fcc !important;
}

/* Навигационное меню */
.navbar {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-nav {
    margin-left: auto;
    font-size: 1.1rem; /* Увеличенный размер шрифта */
}

.nav-link {
    font-weight: 600 !important; /* Более жирный шрифт (medium-bold) */
    padding: 0.5rem 1.25rem !important; /* Немного увеличенные отступы */
    color: #333 !important;
    letter-spacing: 0.5px; /* Небольшой кернинг */
    transition: color 0.2s ease-in-out; /* Плавное изменение цвета */
}

.nav-link:hover {
    color: #ef1c23 !important;
    transform: translateY(-1px);
}

.nav-link:focus {
    color: #ef1c23 !important;
}

/* Для активного пункта меню */
.nav-link.active {
    color: #ef1c23 !important;
    font-weight: 700 !important; /* Еще более жирный для активного пункта */
    position: relative;
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: #ef1c23;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.dropdown-item {
    font-weight: 500;
    transition: all 0.2s;
    padding: 0.5rem 1.5rem;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ef1c23;
    transform: translateX(3px);
}

.dropdown-item:focus {
    background-color: #f8f9fa;
    color: #ef1c23;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Футер */
.footer {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9));
    color: white;
    padding: 40px 0 20px;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-contacts address p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-link {
    color: white !important;
    text-decoration: none;
}

.footer-link:hover {
    /* color: white !important; */
    color: #ef1c23 !important;
    /* text-decoration: underline; */
}

.footer-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
    margin-right: 0;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-menu a:hover {
    color: #ef1c23;
}

/* Иконки Bootstrap */
.bi {
    margin-right: 8px;
    color: #ef1c23;
}

/* Адаптивность */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-top: 20px;
    }

    .nav-item {
        margin-bottom: 5px;
    }

    .dropdown-menu {
        margin-left: 15px;
        box-shadow: none;
    }

    .sindicat-left,
    .sindicat-right {
        padding: 40px 20px;
    }

    .sindicat-join-link {
        font-size: 1.5rem;
    }

    .sindicat-features li {
        font-size: 1rem;
    }
}


@media (max-width: 767.98px) {
    .sindicat-left {
        order: 1;
        text-align: center;
    }

    .sindicat-image {
        order: 3;
    }

    .sindicat-right {
        order: 2;
    }

    .sindicat-features {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sindicat-features li {
        margin: 0 10px 10px;
    }

    .footer .order-1 {
        order: 2;
    }
    .footer .order-2 {
        order: 1;
        margin-bottom: 30px;
    }
    .footer .order-3 {
        order: 3;
        text-align: left !important;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
  .main-menu ul {
    flex-direction: column;
  }

  /* .sindicat .container {
    padding: 20px 10px;
  }

  .sindicat h1 {
    font-size: 2rem;
  } */

  .service-card {
    margin-bottom: 20px;
  }
}

/* =WordPress-specific (Gutenberg)= */
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
