/* Основные цвета из палитры
 * Electric Coral (#FF6B6B)
 * Deep Mint (#00B894)
 * Slate Gray (#576574)
 * Ghost White (#F8F9FA)
 * Neon Lemon (#E4FF1A)
 */

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #576574;
    background-color: #F8F9FA;
    line-height: 1.6;
}

a {
    color: #00B894;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка сайта */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    transition: transform 0.3s ease;
}

.logo:hover svg {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 30px;
    position: relative;
}

.main-nav ul li a {
    font-weight: 600;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B6B;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #576574;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

/* Hero секция */
.hero {
    background: linear-gradient(135deg, #00B894, #E4FF1A);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 150px;
    height: 150px;
    background-color: rgba(228, 255, 26, 0.3);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #FF6B6B;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn:hover {
    background-color: #ff5252;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* О нас секция */
.about {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 184, 148, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #576574;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #00B894, #E4FF1A);
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(2deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: rotate(0);
}

/* Преимущества секция */
.benefits {
    background-color: #f0f4f8;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.benefits::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.benefits-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.benefit-card {
    flex: 0 0 calc(33.333% - 30px);
    margin: 15px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #00B894, #E4FF1A);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #00B894;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #576574;
}

/* Рецепты секция */
.recipes {
    padding: 80px 0;
}

.recipes-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.recipe-card {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 30px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recipe-card:hover .recipe-image img {
    transform: scale(1.1);
}

.recipe-content {
    padding: 20px;
}

.recipe-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #576574;
}

.recipe-price {
    display: inline-block;
    background-color: #E4FF1A;
    color: #576574;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.recipe-card .btn {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

/* Галерея секция */
.gallery {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 250px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(4) {
    grid-column: span 2;
    grid-row: span 1;
}

/* Отзывы секция */
.testimonials {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(228, 255, 26, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.testimonial-card {
    flex: 0 0 calc(50% - 20px);
    margin-bottom: 40px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 184, 148, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: #576574;
}

.author-info p {
    font-size: 0.9rem;
    color: #aab1b8;
}

/* FAQ секция */
.faq {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    background-color: white;
    color: #576574;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: block;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle {
    display: none;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-toggle:checked ~ .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item:hover .faq-question {
    color: #00B894;
}

/* Форма заказа секция */
.order-form {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.order-form::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background-color: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: rgba(228, 255, 26, 0.15);
    border-radius: 50%;
    z-index: -1;
}

.form-container::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 180px;
    height: 180px;
    background-color: rgba(0, 184, 148, 0.15);
    border-radius: 50%;
    z-index: -1;
}

.form-header {
    background: linear-gradient(135deg, #00B894, #E4FF1A);
    padding: 30px;
    text-align: center;
    color: white;
}

.form-content {
    padding: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #576574;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: none;
    background-color: #f0f4f8;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.3);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #00B894;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Контакты секция */
.contacts {
    padding: 80px 0;
    background-color: #f0f4f8;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-wrap: wrap;
}

.contact-info {
    flex: 0 0 40%;
    background: linear-gradient(135deg, #00B894, #E4FF1A);
    color: white;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.contact-details {
    position: relative;
    z-index: 1;
}

.contact-details p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-details i {
    margin-right: 15px;
    font-size: 1.2rem;
}

.contact-form {
    flex: 0 0 60%;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #576574;
}

/* Подвал */
.site-footer {
    background-color: #576574;
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-info {
    flex: 0 0 30%;
}

.footer-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-contact {
    flex: 0 0 30%;
}

.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact address p i {
    margin-right: 10px;
}

.footer-links {
    flex: 0 0 30%;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #E4FF1A;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
    animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-content h3 {
    margin-bottom: 10px;
    color: #576574;
}

.cookie-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.cookie-content form {
    margin-bottom: 10px;
}

.cookie-more {
    display: inline-block;
    font-size: 0.85rem;
}

/* Страница благодарности */
.thank-you {
    padding: 100px 0;
    text-align: center;
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #00B894;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Страницы политик */
.policy-page {
    padding: 80px 0;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-title {
    margin-bottom: 40px;
    text-align: center;
}

.policy-title h1 {
    font-size: 2.5rem;
    color: #576574;
}

.policy-content h2 {
    font-size: 1.8rem;
    color: #576574;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-content h3 {
    font-size: 1.4rem;
    color: #576574;
    margin-top: 25px;
    margin-bottom: 15px;
}

.policy-content p, .policy-content ul, .policy-content ol {
    margin-bottom: 15px;
}

.policy-content ul, .policy-content ol {
    margin-left: 20px;
}

/* Сообщения для пользователя */
.message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.message-success {
    background-color: rgba(0, 184, 148, 0.1);
    border: 1px solid #00B894;
    color: #00B894;
}

.message-error {
    background-color: rgba(255, 107, 107, 0.1);
    border: 1px solid #FF6B6B;
    color: #FF6B6B;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .benefit-card, .recipe-card {
        flex: 0 0 calc(50% - 20px);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info, .contact-form {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 2000;
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    input[type="checkbox"]:checked ~ .main-nav {
        right: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .benefit-card {
        flex: 0 0 100%;
    }
    
    .recipe-card {
        flex: 0 0 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .footer-info, .footer-contact, .footer-links {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item:nth-child(1), .gallery-item:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .thank-you h1 {
        font-size: 2rem;
    }
}