:root {
    /* Весенняя палитра */
    --primary: #40916c;
    --primary-light: #52b788;
    --primary-dark: #2d6a4f;
    --white: #FFFFFF;
    --text-dark: #212121;
    --text-light: #757575;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Параллакс фон */
.parallax-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    z-index: -2;
    overflow: hidden;
}

.parallax-background img {
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: top center;
    will-change: transform;
}

/* Анимация снега */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: white;
    font-size: 1em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* Санта */
.santa-container {
    position: fixed;
    bottom: 10%;
    left: -200px;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.santa-gif {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Кнопка звука */
.sound-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(64, 145, 108, 0.9);
    border: 2px solid white;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sound-toggle:hover {
    background: var(--primary);
    transform: scale(1.1);
}

/* Навигация */
.navbar {
    background: rgba(64, 145, 108, 0.88);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(64, 145, 108, 0.92);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.3rem;
    color: white !important;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: white !important;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-btn {
    margin-left: 15px;
}

/* Секции */
.section {
    padding: 20px 0;
    position: relative;
    display: flex;
    align-items: center;
}

/* Контентные блоки */
.content-block {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(64, 145, 108, 0.3);
    position: relative;
    z-index: 10;
}

/* Герой секция */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    color: white;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    color: white;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-newyear {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(64, 145, 108, 0.35);
}

/* Кнопки */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(64, 145, 108, 0.4);
    color: white;
}

.btn-outline-light {
    border-width: 2px;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    border-color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(64, 145, 108, 0.25);
}

/* Заголовки секций */
.section-title {
    color: var(--primary);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Карточки преимуществ */
.benefit-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 145, 108, 0.2);
    position: relative;
    z-index: 10;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(64, 145, 108, 0.2);
    border-color: var(--primary);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Таймлайн */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), rgba(64, 145, 108, 0.35));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Карточки рецептов */
.recipe-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 145, 108, 0.2);
    position: relative;
    z-index: 10;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 145, 108, 0.2);
}

.recipe-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Карточки материалов */
.material-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 145, 108, 0.2);
    text-align: center;
    position: relative;
    z-index: 10;
}

.material-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 145, 108, 0.2);
}

.material-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.material-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* Карточки заданий */
.task-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 145, 108, 0.2);
    position: relative;
    z-index: 10;
}

.task-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 145, 108, 0.2);
}

.task-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(64, 145, 108, 0.3);
}

.task-card h4 {
    color: var(--primary);
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Карточки призов */
.prize-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(64, 145, 108, 0.2);
    text-align: center;
    position: relative;
    z-index: 10;
}

.prize-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(64, 145, 108, 0.2);
}

.prize-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

/* Карточки отзывов */
.testimonial-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(64, 145, 108, 0.2);
    position: relative;
    z-index: 10;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    color: rgba(64, 145, 108, 0.2);
    position: absolute;
    top: -20px;
    left: -15px;
    font-family: serif;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
}

/* Регистрация */
.register-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(64, 145, 108, 0.2);
    position: relative;
    z-index: 10;
}

.register-card h3 {
    color: var(--primary);
}

/* FAQ */
.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 10;
}

.faq-question {
    background-color: var(--primary);
    color: white;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: var(--primary-dark);
}

.faq-answer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Партнёры */
.project-intro {
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.project-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), rgba(64, 145, 108, 0.5));
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.partner-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(64, 145, 108, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 10;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.partner-card:hover::before {
    left: 100%;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(64, 145, 108, 0.2);
    text-decoration: none;
    color: inherit;
    border-color: var(--primary);
}

.foodft-logo {
    width: 160px;
    border-radius: 12px;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

.foodft-logo:hover {
    transform: scale(1.1);
}

.partner-logo {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.partner-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Футер */
.footer {
    background: rgba(64, 145, 108, 0.88);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    z-index: 100;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.7);
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section {
        padding: 70px 0;
    }
    
    .content-block {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .santa-gif {
        width: 150px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

