/* Base Styles */
:root {
    --primary-color: #2D5D34;
    --secondary-color: #1A1A1A;
    --accent-color-1: #B83D6E; /* Малиновий */
    --accent-color-2: #4A5FC1; /* Чорничний */
    --accent-color-3: #E0474C; /* Клубничний */
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --font-heading: 'Bitter', serif;
    --font-body: 'Open Sans', sans-serif;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color-1);
}

ul, ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 60px 0;
    position: relative;
}

/* Header */
header {
    background-color: var(--bg-color);
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.logo a svg {
    margin-right: 12px;
}

.logo a span {
    display: inline-block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 32px;
}

.main-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    font-weight: 500;
}

.main-nav a svg {
    margin-bottom: 6px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover svg {
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--border-radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #1d4023;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.wave-divider {
    position: absolute;
    width: 100%;
    height: 100px;
    left: 0;
}

.top-wave {
    top: 0;
}

.bottom-wave {
    bottom: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 24px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 32px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-calendar {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Services Section */
.services-section {
    background-color: var(--bg-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.service-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card h3 {
    text-align: center;
    color: var(--primary-color);
}

.service-card p {
    text-align: center;
    color: var(--text-light);
}

/* Menu Section */
.menu-section {
    background-color: var(--bg-light);
    position: relative;
}

.weekly-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.menu-day {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.menu-day h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--accent-color-2);
}

.menu-image {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--bg-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.benefit-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.benefit-card h3 {
    text-align: center;
    color: var(--primary-color);
}

.benefit-card p {
    text-align: center;
    color: var(--text-light);
}

.replacement-section {
    margin-top: 60px;
}

.replacement-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.replacement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.replacement-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.replacement-from,
.replacement-to {
    text-align: center;
    flex: 1;
}

.replacement-from img,
.replacement-to img {
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow);
}

.replacement-from p,
.replacement-to p {
    font-weight: 500;
    margin-bottom: 0;
}

.replacement-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Portions Section */
.portions-section {
    background-color: var(--bg-light);
    position: relative;
}

.portions-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.portion-item {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portion-image {
    height: 200px;
    overflow: hidden;
}

.portion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portion-item:hover .portion-image img {
    transform: scale(1.05);
}

.portion-info {
    padding: 24px;
}

.portion-info h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
}

.portion-info p {
    color: var(--text-light);
    margin-bottom: 8px;
}

/* Calendar Section */
.calendar-section {
    background-color: var(--bg-color);
}

.seasonal-calendar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.season-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.season-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-color);
}

.season-products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 100px;
}

.product-icon {
    margin-bottom: 8px;
}

.product p {
    text-align: center;
    margin-bottom: 0;
}

.calories-section {
    margin-top: 60px;
}

.calories-section h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.calories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.calorie-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.calorie-image {
    height: 130px;
    overflow: hidden;
}

.calorie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calorie-info {
    padding: 16px;
}

.calorie-info h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.calorie-value {
    font-weight: 600;
    color: var(--accent-color-1);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-light);
    position: relative;
}

.contact-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.contact-form-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 93, 52, 0.2);
}

.contact-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: white;
}

.footer-logo svg {
    margin-bottom: 12px;
}

.footer-nav h4,
.footer-diet h4,
.footer-contact h4,
.footer-policies h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-nav ul,
.footer-diet ul,
.footer-policies ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li,
.footer-diet li,
.footer-policies li {
    margin-bottom: 10px;
}

.footer-nav a,
.footer-diet a,
.footer-policies a {
    color: #ccc;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-diet a:hover,
.footer-policies a:hover {
    color: white;
}

.footer-contact p {
    color: #ccc;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #aaa;
    font-size: 0.9rem;
}

/* Thank You Page */
.thankyou-section {
    background-color: var(--bg-light);
    position: relative;
    padding: 80px 0;
}

.thankyou-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.thankyou-icon {
    margin-bottom: 24px;
}

.thankyou-content h1 {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.thankyou-message {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.thankyou-info {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.thankyou-info h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    text-align: left;
}

.thankyou-info ol {
    margin-bottom: 0;
}

.thankyou-info li {
    margin-bottom: 8px;
}

.thankyou-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Policy Pages */
.policy-section {
    background-color: var(--bg-light);
    position: relative;
    padding: 80px 0;
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
}

.policy-header h1 {
    color: var(--primary-color);
}

.policy-date {
    color: var(--text-light);
}

.policy-content {
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.policy-item {
    margin-bottom: 40px;
}

.policy-item:last-child {
    margin-bottom: 0;
}

.policy-item h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: left;
}

.policy-item h3 {
    font-size: 1.2rem;
    color: var(--accent-color-2);
    margin-bottom: 16px;
}

.policy-footer {
    text-align: center;
}

.cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.cookie-type {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 20px;
}

.browser-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
    list-style: none;
    padding: 0;
}

.browser-links li {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 12px;
    text-align: center;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-logo {
        grid-column: span 3;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contact-form-container {
        flex-direction: column;
    }
    
    .contact-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .replacement-item {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-logo {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 16px 16px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .policy-content {
        padding: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        grid-column: span 1;
    }
    
    .thankyou-buttons {
        flex-direction: column;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .header-inner {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 16px;
    }
    
    .main-nav {
        width: 100%;
    }
    
    .main-nav ul {
        justify-content: space-between;
    }
    
    .main-nav li {
        margin: 0 8px 16px;
    }
    
    .service-card,
    .benefit-card,
    .policy-content {
        padding: 16px;
    }
}