/* Основні стилі сайту Dynamic Balance Center */

/* Загальні стилі та скидання */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #C8E6C9;
    --secondary-color: #9575CD;
    --secondary-light: #B39DDB;
    --text-color: #212121;
    --text-light: #757575;
    --background-color: #FFFFFF;
    --background-alt: #f9f9f9;
    --border-color: #EEEEEE;
    --border-dark: #BDBDBD;
    --shadow-color: rgba(0,0,0,0.1);
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Хедер та навігація */
.header {
    background-color: #121212;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-svg {
    margin-right: 10px;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: white;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: 1.1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.contact-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
}

.contact-btn:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Герой секція */
.hero {
    background-color: #121212;
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.wave-divider {
    position: relative;
    height: 100px;
    margin-top: -1px;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #f9f9f9;
}

.wave-divider-alt {
    position: relative;
    height: 100px;
    margin-top: -1px;
}

.wave-divider-alt svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: #f9f9f9;
}

.hero-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.icon-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--text-color);
}

.icon-box p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Секція Про нас */
.about-section {
    padding: 100px 0;
    background-color: var(--background-alt);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--text-color);
}

.experience-stats {
    display: flex;
    margin-top: 40px;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Секція програми */
.programs-section {
    padding: 100px 0;
    background-color: white;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background-color: var(--background-alt);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-icon {
    margin-bottom: 20px;
}

.program-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.program-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.program-features {
    list-style-type: none;
    margin-top: auto;
    padding: 0;
}

.program-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.program-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* Секція переваги */
.benefits-section {
    padding: 100px 0;
    background-color: var(--background-alt);
}

.benefits-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.benefits-text {
    flex: 1;
}

.benefits-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefits-image img {
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.benefits-image:hover img {
    transform: scale(1.03);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.benefit-icon {
    flex-shrink: 0;
    margin-right: 20px;
    padding: 10px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
}

.benefit-description h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-block {
    background-color: white;
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-block:hover {
    transform: translateY(-5px);
}

.stat-value {
    display: block;
    font-family: 'Lora', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Секція харчування */
.nutrition-section {
    padding: 100px 0;
    background-color: white;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.nutrition-card {
    background-color: var(--background-alt);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.nutrition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.nutrition-icon {
    margin-bottom: 20px;
}

.nutrition-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.nutrition-card p {
    color: var(--text-light);
}

.nutrition-infographic {
    background-color: var(--background-alt);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nutrition-infographic h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

.infographic-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.infographic-image {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
}

.infographic-text {
    flex: 1;
}

.infographic-list {
    list-style-type: none;
    padding: 0;
}

.infographic-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
}

.infographic-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.food-category {
    font-weight: 600;
    color: var(--primary-color);
}

/* Секція FAQ */
.faq-section {
    padding: 100px 0;
    background-color: var(--background-alt);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px 20px;
    border-top: 1px solid var(--border-color);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Секція інфографіки */
.infographics-section {
    padding: 100px 0;
    background-color: white;
}

.infographics-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.infographic-block {
    background-color: var(--background-alt);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.infographic-block h3 {
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-color);
}

.infographic-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.infographic-content.reversed {
    flex-direction: row-reverse;
}

.infographic-points {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.point-icon {
    flex-shrink: 0;
}

.info-point p {
    margin-bottom: 0;
}

.info-point.warning .point-icon {
    color: var(--warning-color);
}

.info-point.recommendation .point-icon {
    color: var(--success-color);
}

/* Контактна форма */
.contact-section {
    padding: 100px 0;
    background-color: var(--background-alt);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 15px;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 15px;
    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 var(--border-color);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
    outline: none;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 35px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

/* Секція розкладу */
.schedule-section {
    padding: 100px 0;
    background-color: white;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.schedule-card {
    background-color: var(--background-alt);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.schedule-date {
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    text-align: center;
}

.schedule-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.schedule-date .month {
    display: block;
    font-size: 1rem;
    margin-top: 5px;
}

.schedule-info {
    padding: 20px;
}

.schedule-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.schedule-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.schedule-time {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
}

/* Футер */
.footer {
    background-color: #121212;
    color: #f5f5f5;
    padding: 80px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-heading {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 20px;
    font-family: 'Lora', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .logo-svg {
    margin-right: 10px;
}

.footer-description {
    color: #aaa;
    margin-bottom: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-schedule {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-schedule li {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.footer-schedule .day {
    color: #aaa;
}

.footer-schedule .hours {
    color: white;
    font-weight: 500;
}

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-icon {
    margin-right: 15px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #777;
}

.footer-policy-links {
    display: flex;
    gap: 20px;
}

.footer-policy-links a {
    color: #777;
    font-size: 0.9rem;
}

.footer-policy-links a:hover {
    color: var(--primary-color);
}

/* Сторінки політик */
.policy-page {
    padding: 100px 0;
    background-color: var(--background-alt);
    min-height: calc(100vh - 200px);
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-title {
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    margin-bottom: 15px;
}

.policy-list {
    margin-bottom: 20px;
}

.policy-list li {
    margin-bottom: 10px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    font-weight: 600;
}

.back-btn svg {
    margin-right: 10px;
}

/* Сторінка подяки */
.thank-you-page {
    padding: 100px 0;
    background-color: var(--background-alt);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-title {
    margin-bottom: 20px;
    color: var(--text-color);
}

.thank-you-message {
    margin-bottom: 30px;
    color: var(--text-light);
}

/* Адаптивність */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-icons,
    .stats-container,
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .logo-col {
        grid-column: span 3;
    }
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .benefits-content,
    .infographic-content,
    .infographic-content.reversed,
    .contact-content {
        flex-direction: column;
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nutrition-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .programs-grid,
    .hero-icons,
    .stats-container,
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-col {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-policy-links {
        justify-content: center;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .experience-stats {
        flex-direction: column;
    }
    
    .policy-container {
        padding: 30px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}