/* Общие стили */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    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: 28px; /* Увеличен с 26px */
    font-weight: 700;
    color: #2c3e50;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 20px; /* Добавлен новый размер шрифта */
    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: 12px 22px; /* Увеличен padding */
    border-radius: 5px;
    font-weight: 500;
    font-size: 20px; /* Добавлен размер шрифта */
    cursor: pointer;
    transition: background-color 0.3s;
}

.callback-btn:hover {
    background-color: #c0392b;
}

/* Основной контент */
.product-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-hero {
    text-align: center;
    padding: 40px 0;
}

.product-hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
}

.divider {
    width: 100px;
    height: 3px;
    background-color: #3498db;
    margin: 20px auto;
}

.product-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-description {
    padding: 40px 0;
}

.product-description h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Стили футера (такие же как на главной) */
.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;
}

/* Общие стили */
.product-page {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Шапка продукта */
.product-hero {
    margin-bottom: 60px;
}

.centered-title {
    font-size: 2.2rem;
    color: #8d6e63;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.centered-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d7ccc8, #8d6e63);
    margin: 0 auto 40px;
    border-radius: 2px;
}

.product-image-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.product-main-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(141, 110, 99, 0.1);
}

/* Карточки упаковки */
.bread-packaging {
    background: #fffaf3;
    padding: 60px 20px;
    margin-bottom: 60px;
    border-radius: 12px;
}

.packaging-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.packaging-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(141, 110, 99, 0.1);
    text-align: center;
}

.card-content {
    max-width: 100%;
}

.centered-subtitle {
    font-size: 1.5rem;
    color: #5d4037;
    margin-bottom: 25px;
    text-align: center;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    text-align: left;
}

.icon {
    font-size: 1.3rem;
    min-width: 25px;
}

.specs-container {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 0.95rem;
}

.specs-container p {
    margin: 8px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .centered-title {
        font-size: 1.8rem;
    }
    
    .centered-subtitle {
        font-size: 1.3rem;
    }
    
    .packaging-cards {
        grid-template-columns: 1fr;
    }
    
    .packaging-card {
        padding: 30px 20px;
    }
    
    .product-main-image {
        max-height: 300px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
}
/* Основные глобальные стили */
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: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: auto;
    font-family: 'Playfair Display', serif;
}

.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 {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.7)), url('../img/ypppkvka.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
}

.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;
    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: 70px 0 0;
    font-size: 18px; /* Увеличен базовый размер шрифта */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 28px; /* Увеличен с 24px */
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px; /* Увеличен размер подчеркивания */
    height: 4px; /* Увеличен с 3px */
    background: rgba(255,255,255,0.5);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 24px; /* Добавлен размер шрифта */
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: white;
    padding-left: 8px; /* Увеличен отступ при наведении */
}

.footer-section p {
    margin-bottom: 15px;
    font-size: 18px; /* Добавлен размер шрифта */
    line-height: 1.6;
}

.social-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    font-size: 18px; /* Увеличен размер иконок */
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-button:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 18px; /* Увеличен размер шрифта */
}
/* Модальное окно */
.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;
    }
}
.logo {
    font-size: 32px;
    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; /* Гарантируем, что подчеркивания не будет */
}