@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Noto+Sans+SC&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  color: #2c3e50;
  background: #f8f9fa;
  line-height: 1.7;
  scroll-behavior: smooth;
}

#about, #products, #social, #contact {
  scroll-margin-top: 144px;
}

header {
  background: white;
  color: #2c3e50;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 8px 5%;
}

header .logo {
  flex-shrink: 0;
  width: 400px;
}

header .logo img {
  max-width: 100%;
  height: auto;
  padding-top: 0px;
  transition: max-width 0.3s ease;
}



header.scrolled .logo img {
  max-width: 220px;
}


        @media (max-width: 768px) {
header .logo {
  flex-shrink: 0;
  width: 50%;

}

header .logo img {
  max-width: 100%;
  height: auto;
  padding-top: 5px;
  transition: max-width 0.3s ease;
}



header.scrolled .logo img {
  max-width: 100%;
}


header.scrolled {
  padding: 0px 0%;
}


        }











nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: 30px;
  margin-right: 30px;
  flex-grow: 1;
  justify-content: center;
}

nav a {
  color: #0078d4;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #2ecc71;
}

/* Кнопка переключения языка */
.lang-switch {
  background: #2ecc71;
  color: white !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  background: #27ae60;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.banner {
  background: linear-gradient(135deg, #0078d4, #2ecc71), url('https://via.placeholder.com/1920x600') center/cover;
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
  position: relative;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.banner h1 {
  font-size: 2.8em;
  margin: 0;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.banner p {
  font-size: 1.3em;
  margin: 20px auto;
  max-width: 880px;
  opacity: 0.95;
}

.btn {

  background: #2ecc71;
  color: white;
  padding: 14px 36px;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin: 15px 10px;
  font-size: 1.1em;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(46, 204, 113, 0.4);
}

.container {
  max-width: 1300px;
  margin: 100px auto 50px;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2em;
  color: #0078d4;
  margin-bottom: 40px;
  font-weight: 600;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: #2ecc71;
  margin: 10px auto;
}

.product-title {
  color: #0078d4;
  margin-top: 0;
  font-size: 1.4em;
  position: relative;
  padding-bottom: 8px;
  text-align: center;
  display: block;
  width: 100%;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.product-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #2ecc71;
  border-radius: 1px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid #e0e0e0;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.product-card h3 {
  color: #0078d4;
  margin-top: 0;
  font-size: 1.4em;
  border-bottom: 2px solid #2ecc71;
  padding-bottom: 8px;
  text-align: center;
}

.product-card ul {
  padding-left: 18px;
  margin: 15px 0;
  font-size: 0.95em;
  line-height: 1.8;
  word-break: break-word;
}

.product-card li {
  margin-bottom: 8px;
}

.cas {
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
}

.about-content p {
  margin: 20px 0;
  position: relative;
  padding-left: 30px;
  text-indent: -1.2em;
  padding-left: 1.8em;
}

.about-content p:before {
  content: '•';
  color: #2ecc71;
  font-size: 1.8em;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: -6px;
}

.news-content {
  flex: 1;
}

.news-content p {
  margin: 10px 0;
  text-align: justify;
  text-justify: inter-word;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: 30px 0;
}

.gallery-item {
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item:hover {
  transform: translateY(-5px);
}



.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}


@media(max-width: 768px){

.gallery-item {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

}



.gallery-item p {
  text-align: center;
  margin: 10px 0 0;
  font-size: 0.9em;
  color: #555;
}

.placeholder {
  color: #e74c3c;
  font-weight: 600;
  font-style: italic;
  text-align: center;
  padding: 40px 20px;
  background: #fdf2f2;
  border-radius: 8px;
  border: 1px dashed #e74c3c;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 80px;
  font-size: 0.95em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.footer-contact a {
  color: #2ecc71 !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #27ae60 !important;
  text-decoration: underline;
}

.address-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ddd;
  font-size: 0.95em;
  justify-content: center;
}

.address-label i {
  color: #2ecc71;
}

footer p {
  margin: 0;
  opacity: 0.9;
}

.fullscreen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.fullscreen img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 2001;
}

.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 2em;
  color: white;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
  z-index: 2001;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.prev:hover, .next:hover {
  opacity: 1;
}

.dropdown {
  position: relative;
  width: 100%;
}

.dropdown-input {
  width: 98%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  min-height: 20px;
}

.selected-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  min-height: 20px;
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  background: #e3f2fd;
  border: 1px solid #bbdefb;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.9em;
  color: #1565c0;
}

.selected-tag .remove-tag {
  margin-left: 6px;
  color: #d32f2f;
  font-weight: bold;
  cursor: pointer;
  font-size: 1.1em;
}

.selected-tag .remove-tag:hover {
  color: #b71c1c;
}

.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: white;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dropdown-item {
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: #f0f0f2;
}

.dropdown-item input[type="checkbox"] {
  margin-right: 8px;
}

.dropdown-item label {
  margin: 0;
  cursor: pointer;
  font-size: 0.95em;
}

.inquiry-cta {
  text-align: center;
  font-size: 1.1em;
  color: #333;
  margin: 40px 0;
}

.inquiry-cta a {
  color: #0078d4;
  font-weight: 600;
  text-decoration: underline;
}

.news-container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin: 30px 0;
}

.news-date {
  font-size: 1.1em;
  color: #2ecc71;
  font-weight: 600;
  min-width: 120px;
  text-align: left;
  white-space: nowrap;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  color: #0078d4;
  margin: 0 0 15px 0;
  font-size: 1.5em;
}

.news-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 15px;
}

.news-gallery .gallery-item {
  width: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.news-gallery .gallery-item:hover {
  transform: translateY(-5px);
}

.news-gallery .gallery-item img {
  width: 100%;
  height: 129px;
  object-fit: cover;
}

@media (max-width: 768px) {

.news-gallery .gallery-item {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.news-gallery .gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


  .news-container {
    flex-direction: column;
    text-align: center;
  }
  .news-date {
    min-width: auto;
    text-align: center;
  }
  .news-gallery {
    margin-top: 20px;
  }
}

@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  header {
    flex-direction: row;
    text-align: center;
    padding: 0;
  }
  header .logo {
    margin-bottom: 0px;
  }
  nav {
    margin: 0;
    order: 2;
  }
  .banner h1 {
    font-size: 2.2em;
  }
  .banner p {
    font-size: 1.1em;
  }
}



form#inquiry-form input,textarea {
    background:#fff;
}

.captcha-img {
    float:left;
    width: 35%;
    height:38px;
    padding:0 10px 0 10px;
    /*border: 1px solid #ccc;*/
    border-radius: 4px;
}














        
        /* 移动端菜单按钮 */
        .menu-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
        }
        
        .menu-toggle span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: #2c3e50;
            border-radius: 3px;
            transition: all 0.3s ease;
        }
        
        /* 移动端导航菜单 */
        .mobile-nav {
            position: fixed;
            padding-top: 5%;
            left: 0;
            width: 100%;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transform: translateY(-100%);
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 999;
            visibility: hidden;
        }
        
        .mobile-nav.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        
        .mobile-nav a {
            display: block;
            padding: 15px 20px;
            text-decoration: none;
            color: #2c3e50;
            border-bottom: 1px solid #f1f1f1;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .mobile-nav a:hover {
            /*background-color: #fff;*/
            color: #3498db;
        }
        
        .mobile-nav .lang-switch {
            background-color: #27ae60;
            color: white;
            margin: 10px 20px;
            text-align: center;
            border-radius: 4px;
            border: none;
        }

       
        /* 响应式设计 */
        @media (max-width: 768px) {
            .menu-toggle {
                display: flex;
                padding-right: 10px;
            }
            
            nav {
                display: none;
            }
            
            .logo img {
                max-width: 150px;
            }
        }
        
        @media (min-width: 769px) {
            .mobile-nav {
                display: none;
            }
        }








/* 字体动画 */



        
        .section-title {
            opacity: 0;
            transform: translateX(-1000px);
            transition: all 0.8s ease;
        }
        
        .section-title.animate {
            opacity: 1;
            transform: translateX(0px);
        }
        




 /*       
        .news-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 60px;
            opacity: 0;
            transform: translateX(-50px);
            transition: all 0.8s ease 0.2s;
        }
        
        .news-container.animate {
            opacity: 1;
            transform: translateX(0);
        }
        
        .news-content {
            flex: 1;
            min-width: 300px;
            padding: 30px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .news-content h3 {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .news-date {
            font-size: 1rem;
            color: #7f8c8d;
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .news-content p {
            margin-bottom: 15px;
            font-size: 1.1rem;
            line-height: 1.7;
        }
        
        .news-gallery {
            flex: 1;
            min-width: 300px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .gallery-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            opacity: 0;
            transform: translateX(-30px);
            transition: all 0.6s ease;
        }
        
        .gallery-item.animate {
            opacity: 1;
            transform: translateX(0);
        }
        
        .gallery-item:nth-child(1) {
            transition-delay: 0.4s;
        }
        
        .gallery-item:nth-child(2) {
            transition-delay: 0.6s;
        }
        
        .gallery-item:hover {
            transform: translateY(-5px);
        }
        
        .gallery-item img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.05);
        }*/
        
        /* 占位内容，用于演示滚动效果 */
        .placeholder {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: #7f8c8d;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            margin-bottom: 40px;
            border-radius: 10px;
        }
        
        @media (max-width: 768px) {
            .news-container {
                flex-direction: column;
            }
            
            .section-title {
                font-size: 2rem;
            }
            
            .news-content h3 {
                font-size: 1.5rem;
            }
        }
