/* Варіант 2: style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --primary-color: #E74C3C;
  --secondary-color: #C0392B;
  --accent-color: #F1C40F;
  --light-color: #FEFAE0;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
  --hover-color: #C0392B;
  --background-color: #FEFAE0;
  --text-color: #333333;
  --border-color: rgba(231, 76, 60, 0.3);
  --divider-color: rgba(44, 62, 80, 0.15);
  --shadow-color: rgba(44, 62, 80, 0.1);
  --highlight-color: #2ECC71;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--alt-font);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--main-font);
    color: var(--dark-color);
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section:not(.hero-section) {
    padding-top: 10dvh;
    padding-bottom: 10dvh;
}

.hover-effect {
    transition: color 0.3s ease;
}

.hover-effect:hover {
    color: var(--accent-color);
}

/* Header */
.header-main {
    background-color: var(--dark-color);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.header-main a {
    color: var(--light-color);
    text-decoration: none;
    font-family: var(--main-font);
    font-weight: 600;
}

.header-main .logo img {
    height: 45px;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--light-color);
}

@media (max-width: 768px) {
    .nav-btn {
        display: block;
    }
    .navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--dark-color);
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    #nav-toggle:checked ~ .navigation {
        display: block;
    }
    .navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .header-main {
        padding: 15px 20px;
    }
}

/* Buttons */
.btn-primary, .btn-accent {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-family: var(--main-font);
    transition: all 0.3s ease;
    box-shadow: 6px 6px 12px var(--shadow-color), -6px -6px 12px #ffffff;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--hover-color);
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.2), inset -4px -4px 8px rgba(255,255,255,0.2);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--dark-color);
}

.btn-accent:hover {
    background-color: #F39C12;
    transform: scale(1.05);
}

/* Neumorphism general */
.soft-shadow {
    background: var(--background-color);
    border-radius: 15px;
    box-shadow: 9px 9px 18px #d8d4be, -9px -9px 18px #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 30px;
    transition: all 0.3s ease;
}

.soft-shadow:hover {
    box-shadow: 12px 12px 24px #d8d4be, -12px -12px 24px #ffffff;
    transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    background: url('./img/bg.jpg') no-repeat center center/cover;
    margin-top: 75px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.4));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.hero-content h1 {
    color: #ffffff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

/* Content Sections */
.content-grid {
    display: flex;
    align-items: center;
    gap: 50px;
}

.content-grid.reverse {
    flex-direction: row-reverse;
}

.content-image {
    flex: 0 0 50%;
}

.content-text {
    flex: 0 0 50%;
}

.styled-img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 15px 15px 30px #d8d4be, -15px -15px 30px #ffffff;
}

@media (max-width: 768px) {
    .content-grid, .content-grid.reverse {
        flex-direction: column;
    }
    .content-image, .content-text {
        flex: none;
        width: 100%;
    }
}

/* Divider */
.divider-section {
    padding: 20px 0;
}

.divider-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--primary-color);
}

.divider-text {
    padding: 0 30px;
    color: var(--primary-color);
}

/* CTA Sections */
.cta-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #ffffff;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.dark-overlay {
    background: rgba(44, 62, 80, 0.7);
}

.cta-container {
    position: relative;
    z-index: 2;
}

.cta-container h2 {
    color: #ffffff;
}

/* Features grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.icon-large {
    font-size: 40px;
    color: var(--primary-color);
    background: -webkit-linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Testimonials */
.testimonials-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.testim-item {
    position: relative;
}

.quote-icon {
    font-size: 30px;
    color: var(--accent-color);
    opacity: 0.5;
    position: absolute;
    top: 15px;
    left: 20px;
}

/* Educational Sections */
.edu-diet-section {
    background: linear-gradient(to bottom, var(--background-color), #f0ebd1);
}

/* FAQ Accordion */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    padding: 0;
    overflow: hidden;
}

.accordion-check {
    display: none;
}

.accordion-header {
    display: block;
    padding: 20px 25px;
    cursor: pointer;
    background-color: transparent;
    color: var(--dark-color);
    position: relative;
}

.accordion-header::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    padding: 0 25px;
    opacity: 0;
    transition: all 0.3s ease;
}

.accordion-check:checked ~ .accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}

.accordion-check:checked ~ .accordion-content {
    max-height: 600px;
    padding: 0 25px 25px 25px;
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 20px 30px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer .logo img {
    height: 55px;
}