/* Загальні стилі */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #4CAF50;
    --color-primary-light: #81C784;
    --color-primary-dark: #2E7D32;
    --color-secondary: #FF8A65;
    --color-text: #222222;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f8;
    --color-accent: #FFA000;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Work Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 20px auto 0;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--color-primary);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

.btn-tertiary {
    background-color: var(--color-accent);
    padding: 10px 25px;
    font-size: 0.9rem;
}

/* Хедер */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.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: 700;
    color: var(--color-text);
}

.logo-icon {
    margin-right: 10px;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    position: relative;
    font-weight: 500;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Герой-секція */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background-color: var(--color-bg-alt);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-circle {
    position: relative;
    width: 450px;
    height: 450px;
    flex-shrink: 0;
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 30px;
    color: var(--color-text);
}

.hero-text h1 span {
    color: var(--color-primary);
    display: block;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--color-text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* Хвилястий роздільник */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-separator path {
    fill: var(--color-bg);
}

section:nth-child(odd) .wave-separator path {
    fill: var(--color-bg-alt);
}

/* Про нас */
.about {
    background-color: var(--color-bg);
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon {
    margin-bottom: 15px;
}

.feature h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Програми */
.programs {
    background-color: var(--color-bg-alt);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
}

.program-content h3 {
    margin-bottom: 15px;
    color: var(--color-primary-dark);
}

.program-details {
    margin: 20px 0;
}

.program-details li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.program-details li svg {
    margin-right: 10px;
    flex-shrink: 0;
}

/* Інгредієнт дня */
.daily-ingredient {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.ingredient-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.ingredient-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.ingredient-info {
    flex: 1;
}

.ingredient-info h3 {
    color: var(--color-primary-dark);
    margin-bottom: 20px;
}

.ingredient-facts {
    margin-top: 30px;
}

.fact {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.fact-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

/* Інструктори */
.instructors {
    background-color: var(--color-bg-alt);
}

.instructor-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.instructor-card {
    background-color: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.instructor-card:hover {
    transform: translateY(-10px);
}

.instructor-image {
    height: 250px;
    overflow: hidden;
}

.instructor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-image img {
    transform: scale(1.1);
}

.instructor-info {
    padding: 25px;
}

.instructor-info h3 {
    margin-bottom: 5px;
    color: var(--color-primary-dark);
}

.instructor-position {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
}

/* Таймлайн */
.timeline {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.timeline-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 3px;
    background-color: var(--color-primary);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline-point {
    position: absolute;
    left: 12px;
    top: 5px;
    width: 20px;
    height: 20px;
    background-color: var(--color-primary);
    border-radius: 50%;
    z-index: 1;
}

.timeline-info h3 {
    margin-bottom: 5px;
    color: var(--color-primary-dark);
}

.timeline-info p {
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-info span {
    color: var(--color-text-light);
}

/* Відгуки */
.testimonials {
    background-color: var(--color-bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    padding: 30px;
    position: relative;
}

.quote-icon {
    margin-bottom: 20px;
    color: var(--color-primary);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Заміни це на те */
.replacement {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.replacement-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.replacement-card {
    background-color: var(--color-bg-alt);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.replacement-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.replacement-old, .replacement-new {
    flex: 1;
    text-align: center;
}

.replacement-old h3, .replacement-new h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.replacement-old h3 {
    color: var(--color-text-light);
}

.replacement-new h3 {
    color: var(--color-primary-dark);
}

.replacement-arrow {
    margin: 0 20px;
}

.replacement-old img, .replacement-new img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.replacement-benefits ul {
    margin-top: 20px;
}

.replacement-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.replacement-benefits li svg {
    margin-right: 10px;
    flex-shrink: 0;
}

/* Контакти */
.contact {
    background-color: var(--color-bg-alt);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-benefits {
    margin-top: 40px;
}

.contact-benefit {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.benefit-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: var(--color-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-weight: 400;
}

/* Календар сезонних продуктів */
.seasonal-calendar {
    background-color: var(--color-bg);
    padding: 100px 0;
}

.calendar-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.season-card {
    background-color: var(--color-bg-alt);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.season-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.season-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product {
    display: flex;
    align-items: center;
    background-color: var(--color-bg);
    padding: 10px 15px;
    border-radius: 10px;
}

.product-icon {
    margin-right: 10px;
}

/* Футер */
.footer {
    background-color: #222;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
}

.footer-logo {
    grid-column: 1;
    grid-row: 1;
}

.footer-nav {
    grid-column: 2;
    grid-row: 1;
}

.footer-contact {
    grid-column: 1;
    grid-row: 2;
}

.footer-calendar {
    grid-column: 2;
    grid-row: 2;
}

.footer-policies {
    grid-column: 1 / span 2;
    grid-row: 3;
    display: flex;
    justify-content: center;
}

.footer-logo a {
    color: white;
}

.footer-logo svg {
    stroke: var(--color-primary);
}

.footer h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer a {
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Адаптивність */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-circle {
        width: 400px;
        height: 400px;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-circle {
        width: 300px;
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .ingredient-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav {
        margin: 20px 0;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 0 10px 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-circle {
        width: 250px;
        height: 250px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .footer-logo, .footer-nav, .footer-contact, .footer-calendar, .footer-policies {
        grid-column: 1;
    }
    
    .footer-logo {
        grid-row: 1;
    }
    
    .footer-nav {
        grid-row: 2;
    }
    
    .footer-contact {
        grid-row: 3;
    }
    
    .footer-calendar {
        grid-row: 4;
    }
    
    .footer-policies {
        grid-row: 5;
        justify-content: flex-start;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero-circle {
        width: 200px;
        height: 200px;
    }
    
    .replacement-header {
        flex-direction: column;
    }
    
    .replacement-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}