:root {
    --primary-color: #1a4d2e;
    --secondary-color: #9c0e31;
    --light-green: #baded6;
    --light-grey: #f8f8f8;
    --dark-grey: #333333;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark-grey);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat', cursive;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

section {
    padding: 4rem 2rem;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    height: auto;
}

.divider {
    margin: 1rem 0;
    width: 100%;
}

header {
    background-color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    padding: 0.5rem;
}

.nav-icon {
    transform: translateY(0);
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    transform: translateY(-5px);
}

.nav-item span {
    font-size: 0.9rem;
    opacity: 0.8;
    transform: translateY(0);
    transition: var(--transition);
}

.nav-item:hover span {
    opacity: 1;
    color: var(--secondary-color);
    transform: translateY(5px);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-item:hover::after {
    width: 80%;
}

.hero-section {
    position: relative;
    background-color: var(--light-green);
    overflow: hidden;
    padding: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    z-index: 1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-collage {
    flex: 1;
    position: relative;
    height: 450px;
    z-index: 1;
}

.collage-item {
    position: absolute;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.collage-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.item1 {
    top: 0;
    left: 10%;
    width: 60%;
    height: 55%;
    z-index: 3;
}

.item2 {
    top: 15%;
    right: 5%;
    width: 50%;
    height: 45%;
    z-index: 2;
}

.item3 {
    bottom: 0;
    left: 20%;
    width: 55%;
    height: 50%;
    z-index: 1;
}

.collage-decorative {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.3;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: 100%;
    height: 50px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.primary-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.outline-btn {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.outline-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.card-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: var(--transition);
    z-index: -1;
}

.card-btn:hover {
    color: var(--white);
}

.card-btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.expert-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    margin-top: 1rem;
}

.expert-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.subscribe-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 0 5px 5px 0;
    padding: 0.7rem 1rem;
}

.subscribe-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.plans-section {
    background-color: var(--light-grey);
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.featured::after {
    content: 'Найпопулярніший';
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    border-bottom-left-radius: one;
}

.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.nutrition-plate {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
}

.plate-caption {
    text-align: center;
    margin-top: 1rem;
    font-style: italic;
}

.recipes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.recipe-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.recipe-image {
    position: relative;
    height: 200px;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.difficulty {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--white);
}

.easy {
    background-color: #4caf50;
}

.medium {
    background-color: #ff9800;
}

.hard {
    background-color: #f44336;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ingredient-section {
    background-color: var(--light-grey);
}

.ingredient-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.ingredient-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.ingredient-content {
    flex: 1.5;
    min-width: 300px;
}

.ingredient-fact {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.ingredient-benefits li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.ingredient-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.ingredient-usage {
    margin-top: 1.5rem;
}

.ingredient-usage h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.experts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.expert-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    transition: var(--transition);
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expert-photo {
    height: 250px;
}

.expert-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-info {
    padding: 1.5rem;
}

.expert-position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.seasonal-calendar {
    background-color: var(--light-grey);
}

.calendar-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.season-column {
    flex: 1;
    min-width: 200px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.season-column h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.season-products li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--light-green);
    text-align: center;
}

.season-products li:last-child {
    border-bottom: none;
}

.portions-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portion-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
    max-width: 200px;
}

.portion-info h3 {
    margin: 1rem 0 0.5rem;
}

.portion-info p {
    font-size: 0.9rem;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1.5;
    min-width: 300px;
}

.about-content p {
    margin-bottom: 1rem;
}

.contact-section {
    background-color: var(--light-grey);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: normal;
}

.checkbox-label input {
    width: auto;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.footer-item {
    flex: 1;
    min-width: 200px;
}

.footer-item.brand {
    flex: 1.5;
}

.footer-item h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-item a {
    color: var(--white);
    opacity: 0.8;
}

.footer-item a:hover {
    color: var(--white);
    opacity: 1;
}

.footer-item.brand p {
    margin-top: 1rem;
    opacity: 0.8;
}

.footer-item.links ul li {
    margin-bottom: 0.8rem;
}

.subscribe-form {
    display: flex;
    margin-top: 1rem;
}

.subscribe-form input {
    flex: 1;
    border-radius: 5px 0 0 5px;
    border: none;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-policies {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        padding: 4rem 2rem;
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-collage {
        height: 400px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        gap: 1rem;
    }
    
    .nav-item {
        padding: 0.3rem;
    }
    
    .nav-item span {
        font-size: 0.8rem;
    }
    
    .hero-collage {
        height: 350px;
    }
    
    .item1 {
        left: 5%;
        width: 65%;
    }
    
    .item2 {
        right: 0;
        width: 55%;
    }
    
    .item3 {
        left: 15%;
        width: 60%;
    }
    
    .card {
        min-width: 250px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policies {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .hero-content {
        padding: 3rem 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-collage {
        height: 300px;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .main-nav ul {
        gap: 0.5rem;
    }
    
    .nav-icon {
        width: 24px;
        height: 24px;
    }
    
    .nav-item span {
        font-size: 0.7rem;
    }
    
    .footer-policies {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-collage {
        height: 250px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    input, select, textarea {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

.thankyou-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 60vh;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.thankyou-icon {
    margin-bottom: 2rem;
}

.thankyou-message {
    margin-bottom: 2rem;
}

.thankyou-message h1 {
    margin-bottom: 1rem;
}

.thankyou-message p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.return-btn {
    margin-top: 1rem;
}

.policy-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-header h1 {
    margin-bottom: 1rem;
}

.policy-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.policy-content {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 2rem;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 2rem;
    list-style: disc;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

.return-home {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}