/* Общие стили */
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: 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;
}


/* Основной контент */
.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-image {
    height: 700px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.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;
}

/* Общие стили */
.product-page {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Шапка продукта */
.product-hero {
    margin-bottom: 60px;
}

.centered-title {
    font-size: 2.2rem;
    color: #1a6fc9;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.centered-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #1a6fc9, #5a8bb8);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.centered-subtitle {
    color: #5a8bb8;
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.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(26, 111, 201, 0.1);
}

/* Карточки упаковки */
/* Карточки упаковки в бежевых тонах */
.icecream-packaging {
    background: linear-gradient(135deg, #f9f5f0 0%, #f0e6d6 100%);
    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: #fffaf5;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(210, 180, 140, 0.1);
    position: relative;
    text-align: center;
    border: 1px solid #e6d5c3;
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.premium {
    background: #d2b48c; /* tan */
    color: white;
}

.economy {
    background: #cdb891; /* light beige */
    color: white;
}

.card-content {
    max-width: 100%;
}

.card-title {
    font-size: 1.5rem;
    color: #8b7355; /* brownish beige */
    margin-bottom: 25px;
    text-align: center;
}

.features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    text-align: center;
    color: #5a4a3a;
    width: 100%;
}

.icon {
    font-size: 1.3rem;
    min-width: 25px;
    color: #d2b48c;
}

.specs-container {
    background: #f5f0e6;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid #e6d5c3;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.spec-label {
    font-size: 0.85rem;
    color: #a38b6a;
    font-weight: 600;
}

.spec-value {
    font-size: 1rem;
    color: #8b7355;
    font-weight: 700;
}

.packaging-footer {
    text-align: center;
    font-size: 0.95rem;
    color: #8b7355;
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px;
    background: #fffaf5;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(210, 180, 140, 0.05);
    border: 1px solid #e6d5c3;
}

/* Центрированные элементы */
.centered-title {
    color: #5a4a3a;
}

.centered-divider {
    background: #d2b48c;
}

.centered-subtitle {
    color: #8b7355;
}

/* Адаптивность */
@media (max-width: 768px) {
    .centered-title {
        font-size: 1.8rem;
    }
    
    .packaging-cards {
        grid-template-columns: 1fr;
    }
    
    .specs-container {
        grid-template-columns: 1fr;
    }
    
    .packaging-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding-left: 0;
    }
}
/* Основные глобальные стили */
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;
}

.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: 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;
    }
}

.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; /* Гарантируем, что подчеркивания не будет */
}