/* Загальні стилі */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-green: #4A7C59;
    --light-green: #E8F1E4;
    --accent-orange: #F7B32B;
    --accent-green: #7AB317;
    --background-light: #f9f9f9;
    --text-dark: #333333;
    --text-light: #666666;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Caveat', cursive;
    margin-bottom: 1rem;
    color: var(--main-green);
}

h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--main-green);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-orange);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 3rem 0;
    position: relative;
}

section:nth-child(odd) {
    background-color: var(--background-light);
}

.wave-divider {
    margin: 1rem auto 2rem;
    width: 200px;
    height: 20px;
}

.wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Кнопки */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--main-green);
    color: white;
    box-shadow: 0 3px 10px rgba(74, 124, 89, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--main-green);
    border: 2px solid var(--main-green);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #3e6a4c;
    color: white;
}

.btn-secondary:hover {
    background-color: #f9f9f9;
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* Мікроанімація для кнопок */
.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::after, .btn-secondary:hover::after {
    left: 0;
    transform: scale(1.5);
    opacity: 0;
}

/* Шапка сайту */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-green);
}

.logo svg {
    margin-right: 0.5rem;
}

nav .menu {
    display: flex;
    gap: 1.5rem;
}

nav .menu li a {
    padding: 0.5rem 1rem;
    font-weight: 600;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease;
}

nav .menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: currentColor;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav .menu li a:hover::after {
    width: 80%;
}

/* Кольорове кодування калорійності */
.low-cal a {
    color: #7CB518;
}

.medium-cal a {
    color: #F3A712;
}

.high-cal a {
    color: #F87060;
}

.special-cal a {
    color: var(--main-green);
}

/* Герой секція */
.hero {
    position: relative;
    padding: 5rem 0 7rem;
    background: linear-gradient(135deg, #f9f9f9 0%, #e8f1e4 100%);
    overflow: hidden;
}

.hero-wave-top, .hero-wave-bottom {
    position: absolute;
    width: 100%;
    height: 50px;
}

.hero-wave-top {
    top: 0;
}

.hero-wave-bottom {
    bottom: 0;
}

.hero-wave-top svg, .hero-wave-bottom svg {
    width: 100%;
    height: 100%;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    width: 50%;
}

.hero-image {
    width: 45%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Секція Про нас */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.about-text {
    width: 55%;
}

.about-image {
    width: 40%;
}

/* Секція Переваги */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    margin: 0 auto 1.5rem;
    width: 60px;
    height: 60px;
}

/* Секція Послуги */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    width: 40%;
}

.service-content {
    width: 55%;
}

.features-list {
    margin-top: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.features-list li svg {
    margin-right: 0.5rem;
    flex-shrink: 0;
}

/* Сезонний календар */
.seasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.season-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.season-card:hover {
    transform: translateY(-5px);
}

.season-img {
    margin: 1rem 0;
}

.seasonal-foods li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.seasonal-foods li svg {
    margin-right: 0.5rem;
}

/* Інгредієнт дня */
.ingredient-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ingredient-image {
    width: 40%;
}

.ingredient-info {
    width: 55%;
}

.ingredient-benefits {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.ingredient-benefit {
    text-align: center;
    width: 30%;
}

.benefit-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--main-green);
    margin-bottom: 0.3rem;
}

.ingredient-tip {
    font-style: italic;
    border-left: 3px solid var(--accent-orange);
    padding-left: 1rem;
    margin-top: 1.5rem;
}

/* Етикетки на продуктах */
.labels-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.labels-text {
    width: 50%;
}

.labels-image {
    width: 45%;
}

.labels-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.labels-list li svg {
    margin-right: 0.7rem;
    margin-top: 0.2rem;
}

/* Галерея меню */
.menu-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.menu-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.menu-details {
    padding: 1.5rem;
}

.menu-features {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.feature svg {
    margin-right: 0.3rem;
}

/* Контактна форма */
.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.contact-text {
    width: 40%;
}

.contact-form {
    width: 55%;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item svg {
    margin-right: 0.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--main-green);
    outline: none;
}

.form-group.consent {
    display: flex;
    align-items: flex-start;
}

.form-group.consent input {
    width: auto;
    margin-right: 0.5rem;
    margin-top: 0.2rem;
}

/* Футер */
footer {
    background-color: var(--main-green);
    color: white;
    position: relative;
    padding: 5rem 0 2rem;
}

.footer-wave {
    position: absolute;
    top: 0;
    width: 100%;
    height: 50px;
    transform: translateY(-100%);
}

.footer-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2.5rem;
}

.footer-item h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-green);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Декоративні елементи */
.spoon-fork-divider {
    text-align: center;
    margin: 2rem 0;
}

.steam-line {
    position: absolute;
    height: 120px;
    opacity: 0.1;
    z-index: -1;
}

/* Адаптивність */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    .hero-content {
        padding-right: 1rem;
    }
}

@media screen and (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content,
    .service-item,
    .service-item.reverse,
    .ingredient-content,
    .labels-content,
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-text,
    .about-image,
    .service-image,
    .service-content,
    .ingredient-image,
    .ingredient-info,
    .labels-text,
    .labels-image,
    .contact-text,
    .contact-form {
        width: 100%;
    }
    
    .about-image,
    .ingredient-image,
    .labels-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .menu {
        gap: 1rem;
    }
    
    .menu li a {
        padding: 0.5rem 0.7rem;
        font-size: 0.9rem;
    }
    
    .services-list,
    .benefits-grid {
        gap: 1.5rem;
    }
}

@media screen and (max-width: 600px) {
    .header-container {
        flex-direction: column;
        padding: 1rem 5%;
    }
    
    .logo {
        margin-bottom: 0.8rem;
    }
    
    .menu {
        width: 100%;
        justify-content: space-between;
    }
    
    .benefit-card,
    .season-card {
        padding: 1.2rem;
    }
    
    .ingredient-benefits {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ingredient-benefit {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 3rem 0 5rem;
    }
    
    .menu li a {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .menu-tabs {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 375px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Favicon SVG */
.favicon-svg {
    display: none;
}