body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    text-align: center; /* Центрируем весь текст по умолчанию */
}

/* Центрирование всех заголовков и параграфов */
h1, h2, h3, h4, h5, h6, p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%; /* Чтобы текст не растягивался на всю ширину */
}

/* Стили для шапки (остаются без изменений) */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
	margin-right:80px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #666;
}

.phone {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Дополнительные стили для центрирования контента */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .main-nav {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .phone {
        font-size: 12px;
    }
    
    h1, h2, h3, h4, h5, h6, p {
        max-width: 95%; /* На мобильных делаем текст чуть шире */
    }
}
/* Стили для футера */
.site-footer {
    background-color: #1e88e5; /* Синий цвет фона */
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e3f2fd;
    text-decoration: underline;
}

.footer-section p {
    margin: 10px 0;
    text-align: left;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    color: #1e88e5;
    text-decoration: none;
    transition: transform 0.3s, background-color 0.3s;
    font-weight: bold;
}

.social-button:hover {
    transform: translateY(-3px);
}

.social-button.vk:hover {
    background-color: #4a76a8;
    color: white;
}

.social-button.whatsapp:hover {
    background-color: #25D366;
    color: white;
}

.social-button.telegram:hover {
    background-color: #0088cc;
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section p {
        text-align: center;
    }
    
    .social-buttons {
        justify-content: center;
    }
}
/* Стили для страницы политики */
.privacy-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.privacy-content {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.privacy-content h2 {
    color: #1e88e5;
    margin-top: 30px;
}

}
/* Плавный переход между страницами */
html {
    scroll-behavior: smooth;
}

/* Стиль для активной ссылки */
.footer-section a.active {
    font-weight: bold;
    text-decoration: underline;
}


/* Подсветка активной ссылки в футере */
.footer-section a.active {
    font-weight: 600;
    color: #e3f2fd;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .privacy-content {
        padding: 25px;
    }
}
/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #333;
}

/* Стили формы */
.callback-form {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.submit-btn {
  background-color: #1e88e5;
  color: white;
  border: none;
  padding: 12px 20px;
  width: 100%;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #1565c0;
}

/* Стиль кнопки в шапке */
.callback-btn {
  background-color: #1e88e5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-left: 20px;
}

.callback-btn:hover {
  background-color: #1565c0;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 20% auto;
    width: 90%;
  }
  
  .callback-btn {
    margin-left: 0;
    margin-top: 10px;
  }
}
/* Шапка сайта */
.main-header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav {
  display: flex;
  gap: 15px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 0.3s;
  padding: 8px 12px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #1e88e5;
}

.callback-btn {
  background-color: #1e88e5;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.callback-btn:hover {
  background-color: #1565c0;
}

/* Адаптивность */
@media (max-width: 992px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-wrapper {
    flex-direction: column;
    width: 100%;
  }
  
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .nav-link, .callback-btn {
    font-size: 12px;
    padding: 6px 10px;
  }
}
/* About Company Section */
.about-company {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-header h2 {
  font-size: 36px;
  color: #1e88e5;
  margin-bottom: 15px;
}

.about-header .divider {
  width: 80px;
  height: 3px;
  background: #D30B0B;
  margin: 0 auto;
}

.about-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 30px;
  margin-bottom: 30px;
}

.about-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text p {
    font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
}

.about-text h3 {
  color: #1e88e5;
  margin-bottom: 20px;
}

.about-text ul {
  padding-left: 20px;
}

.about-text li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.about-text li:before {
  content: "•";
  color: #1e88e5;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.products-section {
  margin-top: 40px;
}

.products-section h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #1e88e5;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-category li {
	font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
}

.product-category {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-category h4 {
  color: #D30B0B;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.clients-section {
  margin-top: 50px;
}

.clients-section h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #1e88e5;
}

.clients-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.client-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s;
}

.client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .about-card {
    padding: 20px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* Основные стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Шапка сайта */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #1e88e5;
    font-family: 'Playfair Display', serif;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #1e88e5;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #1e88e5;
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

.callback-btn {
    background-color: #1e88e5;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(30, 136, 229, 0.3);
}

.callback-btn:hover {
    background-color: #1565c0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(30, 136, 229, 0.4);
}

/* Герой-секция */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5)), url('../img/packaging-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    position: relative;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 28px;
    margin: 15px 0;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    animation: fadeIn 1.5s ease;
}

.hero-subtitle:before,
.hero-subtitle:after {
    content: '~';
    position: absolute;
    top: 0;
    opacity: 0.7;
}

.hero-subtitle:before {
    left: 0;
}

.hero-subtitle:after {
    right: 0;
}

/* Преимущества */
.advantages-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    color: #333;
}

/* Продукция */
.products-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    left: 50%;
    transform: translateX(-50%);
}

.fire {
    color: #ff6b00;
    animation: pulse 1.5s infinite;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    margin: 0;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .main-nav {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
}




/* Основные стили */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Шапка сайта */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #e74c3c;
}

.nav-link.active-section {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 5px;
}

.callback-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.callback-btn:hover {
    background-color: #c0392b;
}

/* Герой-секция */
.hero-section {
    height: 80vh;
    background-image: url('./img/bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    margin: 0;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 24px;
    margin: 10px 0;
}

.fire {
    color: #e74c3c;
}

/* Почему выбирают нас */
.why-us-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.section-title-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-us-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.why-us-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e74c3c;
}

/* Преимущества */
.advantages-section {
    padding: 60px 0;
    background-color: #fff;
}

.advantages-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    margin: 0;
    color: #2c3e50;
}

/* Основные стили секции */
.products-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.about-header {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.divider {
    width: 100px;
    height: 3px;
    background: var(--primary-color, #D30B0B); /* Если --primary-color нет, использует #D30B0B */
    margin: 0 auto 40px;
}

/* Сетка продуктов */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Карточка продукта */
.product-card {
    position: relative;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Добавлено для выравнивания */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.product-card h3 {
    padding: 20px;
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    text-align: center;
    flex-grow: 1; /* Растягиваем текст на всю доступную высоту */
    display: flex;
    align-items: center; /* Выравнивание по вертикали */
    justify-content: center; /* Выравнивание по горизонтали */
}

/* Оверлей и кнопка */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background-color: rgba(250, 235, 215, 0.9); /* papayawhip */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    height: 60px;
}

.details-btn {
    padding: 10px 20px;
    background-color: white;
    color: #D30B0B;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-card:hover .details-btn {
    opacity: 1;
    transform: translateY(0);
}

.details-btn:hover {
    background-color: #D30B0B;
    color: white;
}

/* О компании */
/* Стили для секции оборудования */
.about-company {
    padding: 60px 0;
    background-color: white;
}

.about-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 4px;
    background: #D30B0B;
    margin: 0 auto 30px;
    border-radius: 2px;
}

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 800px;
    margin: 0 auto;
}

.equipment-item {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    border-radius: 4px;
}

.white-bg {
    background-color: white;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.red-bg {
    background-color: #D30B0B;
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-header h2 {
        font-size: 28px;
    }
    
    .equipment-item {
        padding: 15px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-header h2 {
        font-size: 24px;
    }
    
    .equipment-item {
        padding: 12px 10px;
        font-size: 15px;
    }
}

/* Клиенты */
.clients-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.clients-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-item {
    background-color: white;
    padding: 15px 30px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Футер */
.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e74c3c;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-button:hover {
    transform: translateY(-5px);
}

.vk {
    background-color: #4a76a8;
}

.whatsapp {
    background-color: #25D366;
}

.telegram {
    background-color: #0088cc;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #34495e;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.submit-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #c0392b;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .main-nav {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .advantages-container {
        flex-direction: column;
        align-items: center;
    }
    
    .equipment-list {
        columns: 1;
    }
}

/* Основные стили */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 20px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about-header {
    margin-bottom: 30px;
}

.about-header h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.divider {
    width: 80px;
    height: 2px;
    background: var(--primary-color, #D30B0B); /* Если --primary-color нет, использует #D30B0B */
    margin: 0 auto 20px;
}

/* Стили для текста */
p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}
.centered-subtitle  {
	font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
	text-align: center;
}

.feature-item{
		font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
	text-align: center;
	
}


.specs-container{
	font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
	text-align: center;
	font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
	text-align: center;
}

/* Стили для списков */
.about-list,
.equipment-list {
    font-size: 15px;
    padding-left: 20px;
    max-width: 800px;
    margin: 0 auto;
	font-family: 'PT Serif', serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    font-weight: 400;
}

.about-list li,
.equipment-list li {
    margin-bottom: 8px;
    list-style-type: disc;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-header h2 {
        font-size: 20px;
    }
    
    p {
        font-size: 14px;
    }
    
    .about-list,
    .equipment-list {
        font-size: 14px;
    }
}
/* Основные глобальные стили */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* Цветовая схема на основе #D30B0B */
:root {
    --primary-color: #D30B0B;
    --primary-dark: #A00808;
    --primary-light: #FF3A3A;
    --primary-extra-light: rgba(211, 11, 11, 0.1);
}

/* Шапка сайта */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: auto;
    font-family: 'Playfair Display', serif;
    text-decoration: none; /* Убираем подчеркивание */
    cursor: pointer; /* Меняем курсор при наведении */
    transition: color 0.3s ease; /* Плавное изменение цвета */
}

.logo:hover {
    color: var(--primary-dark); /* Изменение цвета при наведении */
    text-decoration: none; /* Гарантируем, что подчеркивания не будет */
}

.main-nav {
    display: flex;
    gap: 25px;
    margin-right: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s;
    padding: 8px 0;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-link:hover:after {
    width: 100%;
}

.callback-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(211, 11, 11, 0.3);
}

.callback-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(211, 11, 11, 0.4);
}

/* Герой-секция */
/* Герой-секция с оригинальным изображением без затемнения */
.hero-section {
    width: 100%;
    padding: 0 5px; /* Отступы 5px слева и справа */
    margin: 0 auto;
    background-color: #f5f5f5;
    box-sizing: border-box; /* Чтобы padding не увеличивал общую ширину */
}

.hero-container {
    width: 100%;
    max-width: 1920px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование */
    height: 500px; /* Фиксированная высота */
    overflow: hidden; /* На случай, если изображение выходит за границы */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e0e0e0; /* Фон на случай, если изображение не загрузится */
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Изображение не обрезается, сохраняет пропорции */
    object-position: center; /* Центрирование изображения */
}
/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .hero-image {
        width: 100%;
        height: 300px;
        max-width: 100%;
    }
    
    .hero-image-wrapper {
        padding: 15px;
        width: calc(100% - 30px);
    }
    
    .hero-section {
        padding: 40px 15px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 250px;
    }
}
.hero-content {
    text-align: center;
    color: white;
    padding: 0 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Тень только для текста */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}


.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 28px;
    margin: 15px 0;
    letter-spacing: 5px;
    position: relative;
    display: inline-block;
    padding: 0 25px;
}

.hero-subtitle:before,
.hero-subtitle:after {
    content: '~';
    position: absolute;
    top: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.hero-subtitle:before {
    left: 0;
}

.hero-subtitle:after {
    right: 0;
}

/* Разделители */
.divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color, #D30B0B); /* Если --primary-color нет, использует #D30B0B */
	color: #D30B0B;
    margin: 20px auto;
    border-radius: 2px;
}

/* Секции */
.section-title {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

/* Карточки */
.card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border-top: 4px solid var(--primary-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Футер */
.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 0 0;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: rgba(255,255,255,0.5);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.social-button {
    background: rgba(255,255,255,0.2);
}

.social-button:hover {
    background: rgba(255,255,255,0.3);
}

/* Модальное окно */
.modal-content {
    border-top: 5px solid var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
}

.submit-btn:hover {
    background-color: var(--primary-dark);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        margin: 20px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 14px;
    }
}
.divider {
    width: 80px;
    height: 4px;
    background: #D30B0B; /* Явно задаем красный цвет */
    margin: 20px auto;
    border-radius: 2px;
}
/* Продукция */
.products-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    display: inline-block;
    padding: 0 20px;
    left: 50%;
    transform: translateX(-50%);
}

.fire {
    color: #ff6b00;
    animation: pulse 1.5s infinite;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    display: block;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-card h3 {
    padding: 20px;
    text-align: center;
    font-size: 18px;
    margin: 0;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.details-btn {
    padding: 10px 20px;
    background: #fff;
    color: #333;
    border-radius: 5px;
    font-weight: bold;
}

