:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --text: #333;
    --text-light: #7f8c8d;
    --success: #2ecc71;
    --error: #e74c3c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background-color: var(--primary);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 700;
}

.logo span {
    color: var(--secondary);
}

.logo-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.logo-link:hover {
    color: inherit;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Герой секция */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-media {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) brightness(0.7);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: white;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeIn 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Секции */
.section {
    padding: 80px 0;
    scroll-margin-top: 100px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
    margin: 15px auto 0;
}

/* Галерея */
.gallery-section {
    background-color: white;
}

.gallery-container {
    width: 100%;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) var(--light);
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: var(--light);
    border-radius: 10px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 10px;
}

.gallery {
    display: flex;
    gap: 25px;
    padding: 0 10px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 15px;
    text-align: center;
    font-weight: 500;
    color: var(--dark);
    background: white;
}

/* О компании */

.about-section {
    background-color: var(--light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.features-list {
    list-style: none;
    margin-top: 20px;
    display: inline-block;
    text-align: left;
}

.features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Производство */
.production-section {
    background-color: var(--light);
}

.production-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.production-description p {
    margin-bottom: 20px; /* Отступ между абзацами для "воздуха" */
}

.production-description .production-intro {
    font-size: 1.3rem; /* Чуть крупнее для акцента на вступлении */
    font-weight: 500;
    color: var(--dark);
}

.production-description .highlight {
    color: var(--secondary); /* Выделение ключевых фраз цветом */
    font-weight: 500;
}

.production-description .production-cta {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary); /* Акцент на призыв к действию */
    margin-top: 30px;
    padding: 15px;
    background-color: rgba(52, 152, 219, 0.1); /* Лёгкий фон для выделения */
    border-radius: 5px;
}

/* Анимация появления текста */
.production-description p {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: calc(0.2s * var(--order)); /* Плавное появление абзацев */
}

.production-description p:nth-child(1) { --order: 1; }
.production-description p:nth-child(2) { --order: 2; }
.production-description p:nth-child(3) { --order: 3; }
.production-description p:nth-child(4) { --order: 4; }
/* Контакты */
.contacts-section {
    background-color: white;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-item a {
    color: var(--text);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--secondary);
}

/* Форма */
.feedback-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px;
    background: var(--light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feedback-form input,
.feedback-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: var(--secondary);
    outline: none;
}

.feedback-form textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    width: 34%;
}

.btn:hover {
    background-color: #2980b9;
}

/* Уведомление об успехе */
.form-success {
    display: none;
    margin-top: 20px;
    padding: 15px;
    background: var(--success);
    color: white;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
    animation: fadeIn 0.5s ease-out;
}

/* Подвал */
.footer {
    background-color: var(--dark);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: var(--light);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-item {
        width: 250px;
    }

    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-media video {
        filter: blur(2px) brightness(0.7);
        transform: none;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feedback-form {
        padding: 20px;
    }
}