/* Основные стили */
:root {
	--primary: #19863E;
  --yellow: #19863E;
  --black: #242424;
  --white: #fff;
  --light-color: #666;
  --light-bg: #eee;
  --light-text: rgba(255, 255, 255, 0.8);
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --border: 0.1rem solid rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

/* Базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  font-style: normal;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

/* Ссылки */
a {
  color: inherit;
  transition: var(--transition);
}

a:hover {
  color: var(--yellow);
}

.eankor {
  color: #19863e; 
  font-size: 4rem; 
  font-weight: 500;
  text-decoration: none;
	text-transform: uppercase;
}

h3 {
  font-size: 3rem; 
  font-weight: 500;
  color: #ffffff; 
}

/* Кнопки */
.btn, .btnz {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--yellow);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  text-transform: uppercase;
  transition: var(--transition);
  margin: 0 auto;
  text-align: center;
}


.btn:hover, .btnz:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-0.3rem);
  box-shadow: var(--box-shadow);
}

.btnz {
  display: table;
  padding: 1rem 3rem;
  background: var(--yellow);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  text-transform: uppercase;
  transition: var(--transition);
  margin: 0 auto;
  text-align: center;
}

.btnu {
  display: table;
  padding: 1rem 3rem;
  background: var(--yellow);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  text-transform: uppercase;
  transition: var(--transition);
  margin: 0 auto;
  text-align: center;
}

.btnu:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-0.3rem);
  box-shadow: var(--box-shadow);
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2%; /* Уменьшаем отступы, чтобы логотип был ближе к краю */
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scroll-up {
  transform: translateY(0);
}

.header.scroll-down {
  transform: translateY(-100%);
}

.header .logo img {
  height: 15rem; /* Увеличиваем высоту логотипа */
  width: auto;
  max-width: 35rem; /* Увеличиваем максимальную ширину */
  object-fit: contain;
  transition: var(--transition);
}

/* Навигация */
.navbar {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  position: relative;
  transition: var(--transition);
  margin-left: auto;
}

.navbar a {
  font-size: 1.4rem;
  color: var(--black);
  text-transform: uppercase;
  margin: 0 1.0rem;
  position: relative;
  transition: var(--transition);
  /* font-weight: 500 */
}

.navbar a:hover {
  color: var(--yellow);
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: var(--transition);
}

.navbar a:hover::after {
  width: 100%;
}

/* Переключатель языка */
.language-switcher {
  position: relative;
  z-index: 1000;
}

.language-switcher-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--black);
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.language-switcher-toggle:hover {
  background: var(--yellow);
  color: var(--white);
  border-color: var(--yellow);
}

.language-switcher-toggle .flag-icon {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: cover;
  border-radius: 0.2rem;
}

.language-switcher-toggle .lang-code {
  font-size: 1.4rem;
  font-weight: 500;
  margin-left: 5px;
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: var(--border);
  padding: 0.5rem;
  margin-top: 0.5rem;
  min-width: 15rem;
  box-shadow: var(--box-shadow);
  display: none;
  z-index: 1001;
}

.language-switcher.open .language-options {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.language-options button {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.4rem;
}

.language-options button:hover {
  background: rgba(25, 134, 62, 0.1);
}

.language-options button.active {
  background: var(--yellow);
  color: var(--white);
}

.language-options button.active:hover {
  background: var(--yellow);
}

.language-options button .flag-icon {
  width: 2rem;
  height: 2rem;
  margin-right: 0.8rem;
  object-fit: cover;
}

/* Кнопка меню */
#menu-btn {
  display: none;
  font-size: 2.5rem;
  color: var(--black);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  width: 4rem;
  height: 4rem;
  line-height: 4rem;
  text-align: center;
}

#menu-btn:hover {
  transform: scale(1.1);
}

/* Секции */
section {
  padding: 5rem 3%;
}

.devp {
color: #000000;
}


.heading {
  margin-bottom: 3rem;
  font-size: 3rem;
  color: var(--black);
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.3rem;
  background: var(--yellow);
}

/* Главный слайдер */
.home {
  padding: 0;
  position: relative;
}

.home .slide {
  min-height: 60rem;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}

.home .slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--white), transparent);
}

.home .slide .content {
  width: 50rem;
  position: relative;
	padding: 2rem;
	margin-left: 5rem;
}

@media (max-width: 1200px) {
	.home .slide .content  {
		margin-left: 0rem;
	}
}

.home .slide .content h1 {
  font-size: 6rem;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.2;
	
}

.home .slide .content p {
  font-size: 1.6rem;
  color: var(--light-color);
  line-height: 1.8;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

/* О компании */
.about .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.about .row .video video {
  width: 100%;
  height: auto;
}

.about .row .content {
  flex: 1 1 41rem;
}

.about .row .content h3 {
  font-size: 3.5rem;
  color: var(--black);
  margin-bottom: 1.5rem;
	text-align: center;
}

.about .row .content p {
  font-size: 1.6rem;
  color: var(--light-color);
  line-height: 1.8;
  padding: 1rem 0;
}

/* Проекты */
.projects {
  background: var(--black);
  padding: 5rem 3%;
}

.projects .heading {
  color: var(--white);
  font-size: 3.5rem;
  letter-spacing: 0.1rem;
}

.projects .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 3rem;
}

.projects .box-container .box {
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  position: relative;
}

.projects .box-container .box:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
}

.projects .box-container .box .image {
  height: 45rem;
  overflow: hidden;
  position: relative;
}

.projects .box-container .box .image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.projects .box-container .box:hover .image::before {
  opacity: 0.8;
}

.projects .box-container .box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.projects .box-container .box:hover .image img {
  transform: scale(1.15);
}

.projects .box-container .box .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: transparent;
  color: var(--white);
  z-index: 2;
  transition: transform 0.3s ease;
  transform: translateY(0);
}

.projects .box-container .box:hover .content {
  transform: translateY(-1rem);
}

.projects .box-container .box .content .info h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.8rem;
  text-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
}

.projects .box-container .box .content .info p {
  font-size: 1.6rem;
  color: var(--light-text);
  line-height: 1.7;
}

/* Анимация для появления карточек */
.projects .box-container .box {
  animation: fadeInUp 0.6s ease-out forwards;
  animation-delay: calc(var(--i, 0) * 0.1s); /* Задержка для последовательного появления */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(3rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Контакты */
.contact {
  background: var(--black);
}

.contact .heading {
  color: var(--white);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-container form {
  flex: 1 1 41rem;
  background: var(--white);
  padding: 3rem;
  box-shadow: var(--box-shadow);
}

.contact-container form h3 {
  font-size: 2.5rem;
  color: var(--black);
  text-align: center;
  margin-bottom: 2rem;
}

.contact-container form .box {
  margin: 0.7rem 0;
  width: 100%;
  padding: 1.5rem;
  border-bottom: var(--border);
  font-size: 1.6rem;
  color: var(--light-color);
  border: 0.2rem solid #e0e0e0;
  text-align: center;
  background: var(--light-bg);
  transition: var(--transition);
}

.contact-container form .box:focus {
  border-color: var(--yellow);
}

.contact-container form textarea {
  height: 15rem;
  resize: none;
}

.contact-container form .g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.map-container {
  flex: 1 1 41rem;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container .map {
  width: 100%;
  height: 100%;
  min-height: 40rem;
  border: none;
}

/* Подвал */
.footer {
  background: #242424;
  color: var(--white);
  padding: 6rem 0 2rem;
  font-size: 1.6rem;
  text-align: center;
}

.footer .container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--white);
  margin-bottom: 2rem;
  font-size: 2rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 1rem;
}

.footer-col p {
  margin-bottom: 1.5rem;
  color: var(--light-text);
  line-height: 1.8;
}

.footer-col address p {
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 1rem;
}

.footer-col ul li a {
  color: var(--light-text);
  font-size: 1.5rem;
  transition: var(--transition);
  display: block;
  padding: 0.5rem 0;
}

.footer-col ul li a:hover {
  color: var(--yellow);
  padding-left: 0.5rem;
}

.social-links {
  display: inline-flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a i {
  font-size: 1.8rem;
  color: var(--white);
}

.social-links a:hover {
  background: var(--yellow);
  transform: translateY(-0.3rem);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
  font-size: 1.4rem;
  color: var(--light-text);
}

.footer-bottom span {
  color: var(--yellow);
}

/* Анимации */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 1200px) {
  .header {
    padding: 1rem 5%;
  }

  section {
    padding: 3rem 5%;
  }

}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  section {
    padding: 3rem 2rem;
  }


  .home .slide .content h1 {
    font-size: 4.5rem;
  }

  .about .row .content h3 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  #menu-btn {
    display: block;
  }

  .header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: var(--border);
    border-bottom: var(--border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease;
    flex-direction: column;
    padding: 2rem;
  }

  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .navbar a {
    display: block;
    margin: 1.0rem 0;
    text-align: center;
    font-size: 2rem;
  }

  .header .navbar a::after {
    display: none;
  }

  .language-switcher {
    margin-top: 2rem;
  }

  .language-switcher-toggle {
    width: 100%;
    justify-content: center;
  }

  .language-options {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .home .slide {
    justify-content: center;
    text-align: center;
    min-height: 50rem;
  }

  .home .slide .content {
    width: 100%;
  }

  .home .slide .content h1 {
    font-size: 3.5rem;
  }

  .about .row {
    flex-direction: column;
  }

  .contact-container {
    flex-direction: column;
  }

  .map-container {
    min-height: 40rem;
  }

}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }


  .heading {
    font-size: 2.5rem;
  }

  .home .slide .content h1 {
    font-size: 3rem;
  }

  .about .row .content h3 {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .header {
    padding: 1rem 2%; /* Уменьшаем отступы */
  }

  .header .logo img {
    height: 12rem; /* Чуть меньше для средних экранов */
    max-width: 30rem;
  }
}

@media (max-width: 991px) {
  .header .logo img {
    height: 10rem;
    max-width: 25rem;
  }
}

@media (max-width: 768px) {
  .header .logo img {
    height: 8rem;
    max-width: 20rem;
  }
}

@media (max-width: 450px) {
  .header .logo img {
    height: 10rem;
    max-width: 15rem;
  }
}


/* Projects Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  margin-top: 3rem;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: #333;
  padding: 2rem;
  border-radius: 1rem;
}

.project-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 100%;
}

.project-slider .swiper {
  height: 100%;
}

.project-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  color: var(--white);
  padding: 1rem;
}

.project-info h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--yellow);
}

.project-info p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-info p strong {
  color: var(--yellow);
}

.swiper-pagination {
  position: absolute;
  bottom: 1rem !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 1rem;
  height: 1rem;
  margin: 0 0.5rem !important;
  background: var(--white);
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.swiper-pagination-bullet-active {
  background: var(--yellow);
  opacity: 1;
}

@media (max-width: 991px) {
  .project-item {
    grid-template-columns: 1fr;
  }
  
  .project-slider {
    height: 40rem;
  }
}

@media (max-width: 768px) {
  .project-slider {
    height: 35rem;
  }
  
  .project-info h3 {
    font-size: 2.2rem;
  }
  
  .project-info p {
    font-size: 1.5rem;
  }
}

/* Скрытые элементы галереи */
.hidden {
  display: none;
}

/* Кастомизация lightGallery */
.lg-outer .lg-img-wrap {
  padding: 2rem;
}

.lg-outer .lg-sub-html {
  background: rgba(0, 0, 0, 0.7);
  padding: 1rem 2rem;
  text-align: center;
}

.lg-outer .lg-sub-html h3 {
  color: var(--yellow);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.lg-outer .lg-sub-html p {
  color: #fff;
  font-size: 1.4rem;
}