:root {
    --bg-color: #FDF8F0;
    --text-color: #111111;
    --accent-color: #8B1E3F;
    --accent-dark: #6B1D3C;
    --card-bg: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Крафт-текстура (шум) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

/* Placeholder styles */
.placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #ddd 0%, #eee 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #999;
    border: 2px dashed #bbb;
}

.placeholder p {
    margin: 0;
}

.placeholder-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ddd 0%, #eee 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #999;
    border: 2px dashed #bbb;
}

.placeholder-small p {
    margin: 0;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(253, 248, 240, 0.98);
    z-index: 9999;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-color);
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: var(--transition);
    display: inline-block;
}

.nav-links a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    padding-top: 180px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-content .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 500px;
}

.accent-text {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    border: 2px solid var(--accent-color);
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 30, 63, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
}

.btn-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.hero-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    border-radius: 12px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.15);
    object-fit: contain;
    object-position: center;
}

/* About Section */
.about {
    background-color: #fff;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-card h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.about-card p {
    font-size: 18px;
    color: #444;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.highlight {
    font-weight: 700;
    color: var(--accent-color);
}

/* Catalog Section */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
}

.flavor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.flavor-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    padding: 0 0 15px 0;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.flavor-card:hover {
    border-color: var(--accent-color);
    transform: scale(1.02);
}

.flavor-img {
    width: 100%;
    height: auto;
    min-height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f9f5f0 0%, #f5f1eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.flavor-img img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    display: block;
}

.flavor-card h3 {
    margin: 12px 15px 5px 15px;
    font-size: 20px;
}

.flavor-card p {
    margin: 0 15px;
    font-size: 14px;
    color: #666;
}

.flavor-details {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px dashed var(--accent-color);
    margin-bottom: 40px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon {
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.review-action {
    text-align: center;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-links h3 {
    margin-bottom: 25px;
}

.icons {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 28px;
    color: white;
    background-color: var(--accent-color);
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(139, 30, 63, 0.2);
}

.social-icon:hover {
    background-color: var(--accent-dark);
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 8px 20px rgba(139, 30, 63, 0.35);
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.tagline {
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 10px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .flavor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid, .features-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .flavor-grid {
        grid-template-columns: 1fr;
    }
    
    .flavor-card {
        max-width: 100%;
    }
    
    .flavor-img {
        height: 300px;
    }
    
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content .subtitle {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .flavor-img {
        height: 250px;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .review-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content .subtitle {
        font-size: 14px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }
    
    .flavor-img {
        height: 200px;
    }
    
    .flavor-card {
        padding-bottom: 15px;
    }
    
    .flavor-card h3 {
        font-size: 18px;
        margin: 15px 0 8px;
    }
    
    .flavor-card p {
        font-size: 14px;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .review-card {
        padding: 15px;
    }
    
    .review-header {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-grid {
        gap: 30px;
    }
    
    .social-links h3 {
        margin-top: 20px;
    }
    
    .icons {
        gap: 15px;
        justify-content: center;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    section {
        padding: 40px 0;
    }
}
