/* Базові налаштування */
:root {
    --primary-color: #0c7489;
    --primary-dark: #05616f;
    --primary-light: #5aadbb;
    --secondary-color: #f9a826;
    --secondary-dark: #e69008;
    --tertiary-color: #e0f2f1;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f5f5f5;
    --gray: #dddddd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --border-radius: 4px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    --font-size-base: 16px;
    --font-size-increased: 18px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

body.font-increased {
    font-size: var(--font-size-increased);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-light);
}

code {
    font-family: monospace;
    background-color: var(--gray-light);
    padding: 0.2rem 0.4rem;
    border-radius: var(--border-radius);
}

hr {
    border: 0;
    border-top: 1px solid var(--gray);
    margin: 2rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--gray);
}

th {
    background-color: var(--tertiary-color);
    font-weight: 700;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 1rem;
}

.button:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.button-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.button-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.button-secondary {
    background-color: var(--secondary-color);
}

.button-secondary:hover {
    background-color: var(--secondary-dark);
}

.font-button {
    display: flex;
    align-items: center;
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.font-button:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.font-button i {
    margin-right: 0.5rem;
}

/* Утиліти */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.d-flex {
    display: flex;
}

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

.align-center {
    align-items: center;
}

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

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.bg-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.bg-tertiary {
    background-color: var(--tertiary-color);
    color: var(--text-color);
}

.bg-light {
    background-color: var(--gray-light);
    color: var(--text-color);
}

.rounded {
    border-radius: var(--border-radius);
}

.shadow {
    box-shadow: var(--box-shadow);
}

/* Хедер і навігація */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: block;
    max-width: 120px;
    margin-right: 1rem;
}

.logo img {
    width: 100%;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 0 0.75rem;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem;
    position: relative;
}

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

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Герой-секція */
.hero {
    background-color: var(--tertiary-color);
    background-image: linear-gradient(rgba(12, 116, 137, 0.8), rgba(12, 116, 137, 0.6)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Секції */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1rem auto 0;
}

.featured-posts {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.post-thumbnail {
    position: relative;
    height: 0;
    padding-top: 60%;
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 0.75rem;
}

.view-all {
    text-align: center;
    margin-top: 3rem;
}

/* Форма підписки на розсилку */
.newsletter {
    background-color: var(--tertiary-color);
    padding: 4rem 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Футер */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.footer h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.social-links {
    display: flex;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-right: 0.75rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Сторінка блогу */
.page-header {
    background-color: var(--tertiary-color);
    padding: 3rem 0;
    text-align: center;
}

.blog-posts {
    padding: 4rem 0;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-meta span {
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 0.5rem;
}

.post-category {
    color: var(--primary-color);
}

/* Сторінка поста */
.post-single {
    padding: 4rem 0;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header .post-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-author {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 500;
}

.author-title {
    color: var(--text-light);
    font-size: 0.9rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.post-content img {
    margin: 2rem 0;
    border-radius: var(--border-radius);
}

.post-content a {
    font-weight: 500;
    text-decoration: underline;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 3rem 0;
}

.tags-title {
    font-weight: 500;
    margin-right: 1rem;
}

.tag {
    display: inline-block;
    background-color: var(--tertiary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-light);
    color: var(--white);
}

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.share-title {
    font-weight: 500;
    margin-right: 1rem;
}

.social-share {
    display: flex;
}

.social-share a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--text-color);
    margin-right: 0.75rem;
    transition: var(--transition);
}

.social-share a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
    padding: 2rem 0;
}

.prev-post,
.next-post {
    max-width: 45%;
}

.next-post {
    text-align: right;
}

.nav-label {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 500;
    font-size: 1.1rem;
}

.related-posts {
    margin: 4rem 0;
}

.related-posts h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.related-post {
    display: flex;
    flex-direction: column;
}

.related-thumbnail {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.related-thumbnail img {
    transition: var(--transition);
}

.related-post:hover .related-thumbnail img {
    transform: scale(1.05);
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.related-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Інформаційні картки і спеціальні елементи */
.info-card {
    background-color: var(--tertiary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.recipe-box {
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.recipe-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.recipe-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

.ingredients h4,
.preparation h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.important-note {
    background-color: rgba(255, 193, 7, 0.2);
    border-left: 4px solid var(--warning-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.important-note h3 {
    color: var(--text-color);
    margin-top: 0;
}

.tips-box {
    background-color: rgba(12, 116, 137, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.tips-box h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.research-quote {
    font-style: italic;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.comparison-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.comparison-table table {
    min-width: 600px;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.history-box {
    background-color: var(--tertiary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.history-box h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.composition-table {
    margin: 2rem 0;
    overflow-x: auto;
}

.composition-table table {
    min-width: 600px;
    border-collapse: collapse;
}

.composition-table th,
.composition-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--gray);
}

.composition-table th {
    background-color: var(--primary-color);
    color: var(--white);
}

.research-box {
    margin: 2rem 0;
}

.research-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--box-shadow);
}

.research-item h4 {
    color: var(--primary-color);
    margin-top: 0;
}

.checklist {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: var(--box-shadow);
}

.checklist h3 {
    margin-top: 0;
}

.checklist ul {
    list-style: none;
    padding: 0;
}

.checklist li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.checklist i {
    color: var(--success-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.preparation-steps {
    margin: 2rem 0;
}

.preparation-steps ol {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.preparation-steps li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.5rem;
}

.preparation-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--primary-color);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

.program-box {
    margin: 2rem 0;
    overflow-x: auto;
}

.program-box table {
    min-width: 600px;
    border-collapse: collapse;
}

.program-box th,
.program-box td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--gray);
}

.program-box th {
    background-color: var(--primary-color);
    color: var(--white);
}

.program-box ul {
    margin-bottom: 0;
}

/* Сторінка Контактів */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-icon {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.info-text h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-checkbox {
    flex-direction: row;
    align-items: center;
}

.form-checkbox input {
    margin-right: 0.75rem;
    width: auto;
}

.map-container {
    margin-top: 3rem;
}

.map {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Модальне вікно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1010;
    overflow-y: auto;
    padding: 2rem 0;
}

.modal-content {
    background-color: var(--white);
    margin: 0 auto;
    max-width: 500px;
    border-radius: var(--border-radius);
    position: relative;
    animation: modal-open 0.3s ease;
}

@keyframes modal-open {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
}

.thank-you-message {
    padding: 3rem 2rem;
    text-align: center;
}

.thank-you-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-message h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.close-button {
    margin-top: 1.5rem;
}

/* Сторінка Про нас */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-text h2 {
    margin-top: 0;
}

.about-text blockquote {
    font-size: 1.25rem;
    margin: 2rem 0;
}

.mission-section {
    margin: 4rem 0;
}

.mission-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.mission-icon {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.team-section {
    margin: 4rem 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.25rem;
    margin: 1.5rem 1.5rem 0.5rem;
}

.member-title {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0 1.5rem 1rem;
    display: block;
}

.team-member p {
    margin: 0 1.5rem 1.5rem;
}

.values-section {
    margin: 4rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.value-icon {
    background-color: var(--tertiary-color);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.cta-section {
    background-color: var(--tertiary-color);
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Правові сторінки */
.policy-content {
    padding: 4rem 0;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

.policy-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    margin-bottom: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.refund-steps {
    background-color: var(--tertiary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.cookie-more-info {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Адаптивність */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

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

    .recipe-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .post-header .post-title {
        font-size: 2rem;
    }

    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }

    .prev-post,
    .next-post {
        max-width: 100%;
    }

    .next-post {
        text-align: left;
    }

    .mission-content {
        flex-direction: column;
    }

    .mission-icon {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-container {
        width: 100%;
        justify-content: space-between;
    }

    .main-nav {
        width: 100%;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 0.75rem;
        border-bottom: 1px solid var(--gray);
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }

    .newsletter-form button {
        border-radius: var(--border-radius);
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .post-header .post-title {
        font-size: 1.75rem;
    }

    .post-intro {
        font-size: 1.1rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .post-content h3 {
        font-size: 1.25rem;
    }

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

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-meta span {
        margin-right: 0;
    }

    .post-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .social-share a {
        width: 32px;
        height: 32px;
    }

    .info-item {
        flex-direction: column;
        gap: 1rem;
    }

    .info-icon {
        margin-right: 0;
    }
}
