/* 
* Wavonistra Shop - Ruoka on voima
* Стилі для сайту про харчування і фізичну витривалість
*/

/* Базові налаштування */
:root {
    /* Основні кольори */
    --color-white: #F8F9F7;
    --color-green: #3C6E58;
    --color-blue: #1C2F40;
    --color-yellow: #E0A958;
    --color-red: #C44D58;
    
    /* Відтінки */
    --color-light-green: #6A9C86;
    --color-dark-green: #2A4F3E;
    --color-light-blue: #3D5673;
    --color-dark-blue: #0F1A24;
    --color-light-yellow: #ECC285;
    --color-dark-yellow: #C48A30;
    
    /* Шрифти */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Розміри */
    --container-width: 1200px;
    --container-padding: 20px;
    --border-radius: 8px;
    --border-radius-large: 16px;
    
    /* Тіні */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Переходи */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Скидання стилів */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-blue);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--color-green);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-light-green);
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 1em;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Контейнер */
.container {
    max-width: var(--container-width);
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    margin-left: auto;
    margin-right: auto;
}

/* Загальні стилі для секцій */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2em;
    text-align: center;
    color: var(--color-light-blue);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-yellow);
    color: var(--color-blue);
}

.btn-secondary:hover {
    background-color: var(--color-dark-yellow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-green);
    color: var(--color-green);
}

.btn-outline:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn-newsletter {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.btn-newsletter:hover {
    background-color: var(--color-dark-blue);
    color: var(--color-white);
}

/* Хедер і навігація */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(248, 249, 247, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header-scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 48px;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--color-blue);
    font-weight: 500;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: width var(--transition-normal);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.nav-highlight {
    color: var(--color-green) !important;
    font-weight: 600;
}

.nav-highlight:hover {
    color: var(--color-dark-green) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-blue);
    margin: 5px 0;
    border-radius: 3px;
    transition: all var(--transition-fast);
}

/* Мобільне меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 1001;
    transition: right var(--transition-slow);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-container {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    margin-bottom: auto;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    font-size: 1.25rem;
    color: var(--color-blue);
    font-weight: 600;
    display: block;
    padding: 10px 0;
}

.mobile-menu-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(28, 47, 64, 0.1);
}

/* Перемикач мови */
.lang-switch {
    display: flex;
    align-items: center;
}

.lang-switch a {
    padding: 5px;
    color: var(--color-blue);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lang-switch a:hover,
.lang-switch a.active {
    opacity: 1;
}

.lang-switch span {
    margin: 0 5px;
    color: var(--color-blue);
    opacity: 0.5;
}

/* Секція Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 100px;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 47, 64, 0.8), rgba(28, 47, 64, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5em;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2em;
    opacity: 0.9;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
}

/* Секція: Чому харчування — це енергія */
.why-nutrition-section {
    background-color: var(--color-white);
    padding-top: 100px;
}

.energy-circles {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.energy-circle {
    flex: 0 0 30%;
    text-align: center;
    padding: 20px;
    transition: transform var(--transition-normal);
}

.energy-circle:hover {
    transform: translateY(-10px);
}

.circle-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.energy-circle h3 {
    color: var(--color-green);
    margin-bottom: 15px;
}

.energy-flow {
    text-align: center;
    margin-top: 30px;
}

.energy-arrow {
    margin: 20px auto;
}

.energy-result {
    max-width: 300px;
    margin: 0 auto;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
}

.result-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Секція: Витривалість і раціон: наука простими словами */
.science-section {
    background-color: var(--color-white);
    position: relative;
}

.science-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/data.jpg");
    opacity: 0.5;
    z-index: 1;
}

.science-section .container {
    position: relative;
    z-index: 2;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background-color: var(--color-white);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.faq-question:hover {
    background-color: rgba(60, 110, 88, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    flex-shrink: 0;
}

.faq-toggle .vertical {
    transition: all var(--transition-fast);
}

.faq-item.active .faq-toggle .vertical {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 20px;
}

/* Секція: Фінський підхід до харчування */
.finnish-approach-section {
    position: relative;
    padding: 100px 0;
}

.parchment-bg {
    position: relative;
    background-color: #F5F2E9;
    background-image: url("images/par.jpg");
    border-radius: var(--border-radius-large);
    padding: 60px 0;
    box-shadow: var(--shadow-lg);
}

.parchment-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--color-dark-yellow) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

.vintage-title, 
.vintage-subtitle {
    font-family: 'Manrope', serif;
    color: var(--color-dark-blue);
}

.vintage-title {
    font-size: 2.5rem;
    text-shadow: 1px 1px 0 rgba(224, 169, 88, 0.3);
}

.vintage-subtitle {
    font-style: italic;
    color: var(--color-light-blue);
}

.vintage-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
}

.vintage-illustration {
    flex: 0 0 40%;
    margin-right: 5%;
}

.vintage-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transform: rotate(-2deg);
}

.vintage-text {
    flex: 0 0 55%;
    display: flex;
    flex-wrap: wrap;
}

.vintage-column {
    flex: 0 0 100%;
    margin-bottom: 20px;
}

.vintage-column h3 {
    color: var(--color-dark-green);
    font-size: 1.3rem;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.vintage-column h3::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-yellow);
    font-size: 1.5rem;
}

.vintage-quote {
    margin-top: 60px;
    text-align: center;
}

.vintage-quote blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-dark-blue);
    max-width: 800px;
    margin: 0 auto 15px;
    position: relative;
    padding: 0 40px;
}

.vintage-quote blockquote::before,
.vintage-quote blockquote::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--color-yellow);
    opacity: 0.5;
    position: absolute;
    height: 30px;
    line-height: 0;
}

.vintage-quote blockquote::before {
    top: 15px;
    left: 0;
}

.vintage-quote blockquote::after {
    bottom: -10px;
    right: 0;
    transform: rotate(180deg);
}

.quote-author {
    font-style: italic;
    color: var(--color-light-blue);
}

/* Секція: Раціон для витривалості */
.diet-section {
    background-color: var(--color-white);
    position: relative;
    z-index: 1;
}

.diet-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(60, 110, 88, 0.05));
    z-index: -1;
}

.timing-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.timing-column {
    flex: 1;
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.timing-column:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.before-column {
    border-top: 5px solid var(--color-green);
}

.during-column {
    border-top: 5px solid var(--color-yellow);
}

.after-column {
    border-top: 5px solid var(--color-red);
}

.timing-header {
    padding: 30px 20px;
    text-align: center;
    background-color: rgba(248, 249, 247, 0.5);
}

.timing-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.timing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timing-content {
    padding: 20px;
}

.food-list {
    list-style: none;
    margin-bottom: 20px;
}

.food-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.food-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
}

.food-item {
    font-weight: 500;
}

.timing-tips {
    background-color: rgba(60, 110, 88, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.timing-tips p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.timing-tips p:last-child {
    margin-bottom: 0;
}

.timing-tips p::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-dark-green);
}

/* Секція: Практичні поради */
.tips-section {
    background-color: rgba(60, 110, 88, 0.05);
    position: relative;
    overflow: hidden;
}

.tips-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(224, 169, 88, 0.2) 0%, rgba(224, 169, 88, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.tips-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60, 110, 88, 0.1) 0%, rgba(60, 110, 88, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.tips-section .container {
    position: relative;
    z-index: 2;
}

.tips-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.tips-slider {
    display: flex;
    overflow: hidden;
    margin-bottom: 30px;
}

.tip-slide {
    flex: 0 0 100%;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.tip-slide:hover {
    transform: translateY(-5px);
}

.tip-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.tip-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tip-slide h3 {
    color: var(--color-green);
    margin-bottom: 15px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform var(--transition-fast);
}

.slider-prev:hover,
.slider-next:hover {
    transform: scale(1.2);
}

.slider-dots {
    display: flex;
    margin: 0 20px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(60, 110, 88, 0.3);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--color-green);
}

/* Секція: Тест */
.test-section {
    background-color: var(--color-white);
    position: relative;
}

.test-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-lg);
}

.test-intro {
    text-align: center;
    display: none;
}

.test-intro.active {
    display: block;
}

.test-intro p {
    margin-bottom: 30px;
}

.test-questions {
    display: none;
}

.test-questions.active {
    display: block;
}

.question {
    display: none;
}

.question.active {
    display: block;
}

.question h3 {
    margin-bottom: 20px;
    color: var(--color-blue);
}

.answers {
    margin-bottom: 30px;
}

.answer {
    display: block;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
    background-color: rgba(248, 249, 247, 0.8);
    border: 1px solid rgba(60, 110, 88, 0.1);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.answer:hover {
    background-color: rgba(60, 110, 88, 0.05);
}

.answer input {
    margin-right: 10px;
}

.test-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.test-results {
    display: none;
    text-align: center;
}

.test-results.active {
    display: block;
}

.test-results h3 {
    color: var(--color-green);
    margin-bottom: 20px;
}

.results-content {
    margin-bottom: 30px;
}

.results-cta {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(60, 110, 88, 0.1);
}

/* Секція: Відгуки */
.reviews-section {
    position: relative;
    background-color: rgba(28, 47, 64, 0.02);
    overflow: hidden;
}

.reviews-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/rew.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.reviews-section .container {
    position: relative;
    z-index: 2;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    flex: 0 0 calc(100% - 40px);
    max-width: 900px;
    display: flex;
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-image {
    flex: 0 0 200px;
}

.review-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-content {
    flex: 1;
    padding: 30px;
}

.reviewer-info {
    margin-bottom: 15px;
}

.reviewer-info h3 {
    margin-bottom: 5px;
}

.reviewer-title {
    font-size: 0.9rem;
    color: var(--color-light-blue);
    margin-bottom: 10px;
}

.review-text {
    margin-bottom: 20px;
    font-style: italic;
}

.review-rating {
    color: var(--color-yellow);
}

.star, .half-star {
    display: inline-block;
    margin-right: 2px;
}

.half-star {
    position: relative;
    display: inline-block;
}

.half-star::after {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: rgba(224, 169, 88, 0.3);
}

/* Секція: Спробуйте наш план харчування */
.plans-section {
    background-color: var(--color-white);
    position: relative;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/pla.jpg");
    z-index: 1;
}

.plans-section .container {
    position: relative;
    z-index: 2;
}

.plan-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.plan-card {
    flex: 0 0 calc(33.333% - 30px);
    max-width: 350px;
    padding: 40px 30px;
    border-radius: var(--border-radius-large);
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.basic-plan {
    border: 1px solid rgba(60, 110, 88, 0.1);
}

.standard-plan {
    background: linear-gradient(to bottom right, var(--color-white) 0%, rgba(60, 110, 88, 0.05) 100%);
    border: 2px solid var(--color-green);
    z-index: 3;
}

.premium-plan {
    background: linear-gradient(to bottom right, var(--color-white) 0%, rgba(224, 169, 88, 0.05) 100%);
    border: 1px solid rgba(224, 169, 88, 0.3);
}

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.plan-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.plan-title {
    color: var(--color-blue);
    margin-bottom: 5px;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-green);
}

/* Секція: Контактна форма та карта */
.contact-section {
    background-color: rgba(28, 47, 64, 0.02);
    position: relative;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.contact-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-green);
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    padding: 30px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(28, 47, 64, 0.2);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-green);
}

.form-consent {
    margin-bottom: 20px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--color-white);
    border: 1px solid rgba(28, 47, 64, 0.2);
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--color-green);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-green);
    border-color: var(--color-green);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-text {
    font-size: 0.9rem;
}

.map-container {
    margin-top: 50px;
}

.map-container h3 {
    margin-bottom: 20px;
    text-align: center;
}

.google-map {
    height: 400px;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Футер */
.footer {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-logo {
    flex: 0 0 100%;
    max-width: 250px;
    margin-bottom: 30px;
}

.footer-logo p {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-nav {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-nav-column {
    flex: 1;
    min-width: 150px;
}

.footer-nav-column h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-nav-column ul {
    list-style: none;
    margin: 0;
}

.footer-nav-column li {
    margin-bottom: 10px;
}

.footer-nav-column a {
    color: rgba(248, 249, 247, 0.7);
    transition: color var(--transition-fast);
}

.footer-nav-column a:hover {
    color: var(--color-white);
}

.footer-newsletter {
    flex: 0 0 100%;
    max-width: 350px;
}

.footer-newsletter h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-newsletter p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.newsletter-form .form-group {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(248, 249, 247, 0.1);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer .lang-switch a {
    color: var(--color-white);
    opacity: 0.7;
}

.footer .lang-switch a:hover,
.footer .lang-switch a.active {
    opacity: 1;
}

.footer .lang-switch span {
    color: var(--color-white);
    opacity: 0.5;
}

/* Адаптивний дизайн */
@media (max-width: 1200px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .plan-card {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-section {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .energy-circles {
        flex-direction: column;
        align-items: center;
    }
    
    .energy-circle {
        flex: 0 0 100%;
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .vintage-content {
        flex-direction: column;
    }
    
    .vintage-illustration {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .vintage-text {
        flex: 0 0 100%;
    }
    
    .timing-columns {
        flex-direction: column;
    }
    
    .timing-column {
        margin-bottom: 30px;
    }
    
    .review-card {
        flex-direction: column;
    }
    
    .review-image {
        flex: 0 0 auto;
        height: 200px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo, 
    .footer-nav, 
    .footer-newsletter {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .plan-card {
        flex: 0 0 100%;
        max-width: 400px;
    }
    
    .vintage-column {
        flex: 0 0 100%;
    }
    
    .contact-container {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-copyright {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .footer {
        padding-top: 40px;
    }
    
    .footer-nav {
        flex-direction: column;
    }
    
    .footer-nav-column {
        margin-bottom: 30px;
    }
}

/* Анімації для AOS (Animate On Scroll) */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}