/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8BC34A;
    --secondary-color: #FFA726;
    --accent-color: #FF6B6B;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --bg-light: #FFF8F0;
    --bg-white: #FFFFFF;
    --warm-beige: #F5E6D3;
    --soft-green: #E8F5E9;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-family: 'Comfortaa', cursive;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Главный экран */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--warm-beige) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(139, 195, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 167, 38, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Comfortaa', cursive;
    font-size: 56px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.btn-primary:hover {
    background: #7CB342;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 195, 74, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-out 0.9s backwards;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--primary-color);
}

.scroll-indicator:hover .scroll-arrow {
    border-color: var(--secondary-color);
    transform: rotate(-45deg) translateY(5px);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-left: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(-45deg);
    margin: 10px auto;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    50% {
        transform: rotate(-45deg) translateY(10px);
    }
}

/* Секции */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Comfortaa', cursive;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 15px;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* О нас */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.about-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.about-card h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 30px;
    color: white;
    font-size: 20px;
    font-style: italic;
}

/* Индивидуальное питание CTA */
.personal-nutrition-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--soft-green) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.personal-nutrition-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Comfortaa', cursive;
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-benefits {
    list-style: none;
    margin-bottom: 35px;
}

.cta-benefits li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.cta-benefits li:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.cta-benefits .benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cta-benefits strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cta-benefits p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.cta-note {
    color: var(--text-light);
    font-size: 14px;
    font-style: italic;
}

.cta-image {
    max-width: 100%;
}

.cta-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    height: 400px;
}

.cta-img-main {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.cta-image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 20px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 195, 74, 0.4);
}

.badge-text {
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.badge-subtext {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 5px;
}

.cta-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
}

/* Меню */
.menu-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-category {
    padding: 12px 25px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-category:hover,
.menu-category.active {
    background: var(--primary-color);
    color: white;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.menu-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.menu-item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.menu-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-item:hover .menu-item-overlay {
    opacity: 1;
}

.btn-view {
    padding: 10px 25px;
    background: white;
    color: var(--text-dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-color);
    color: white;
}

.menu-item-content {
    padding: 25px;
}

.menu-item-content h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.menu-item-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.menu-item-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--soft-green);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Галерея */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* Контакты */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary-color);
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.contact-form-wrapper h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Футер */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-family: 'Comfortaa', cursive;
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    font-size: 24px;
}

.social-links a {
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #BDC3C7;
}

/* Адаптивность */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 30px;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .burger-menu {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }
}
