﻿/*
Theme Name: Birthday Theme
Theme URI: https://altyyysha.com
Author: Valentin
Author URI: https://altyyysha.com
Description: Тема-поздравление для Дашеньки в стиле Миядзаки
Version: 1.0
License: License GNU
License URI: none
Text Domain: birthday_theme
*/
:root {
    --primary-green: #4a7c59;
    --light-green: #8fbc8f;
    --cream: #f5f5dc;
    --warm-white: #fefefe;
    --soft-brown: #8b7355;
    --accent-blue: #87ceeb;
    --text-dark: #2c3e50;
    --text-light: #666;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

/* Навигация в стиле Миядзаки */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(74, 124, 89, 0.1);
}

.navbar-brand {
    font-family: 'Comfortaa', cursive;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--primary-green) !important;
    display: flex;
    align-items: center;
}

.navbar-brand i {
    color: var(--light-green);
    margin-right: 8px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 10px;
    transition: all 0.3s ease;
    position: relative;
    text-align: -webkit-center;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Главный блок в стиле природы */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23a8d8a8" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="%234a7c59" opacity="0.2"/><circle cx="60" cy="80" r="1" fill="%238fbc8f" opacity="0.4"/></svg>');
    background-size: 200px 200px;
    animation: float 20s linear infinite;
    pointer-events: none;
}

.hero-content {
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-family: 'Comfortaa', cursive;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-nature {
    background: var(--primary-green);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-nature:hover {
    background: var(--soft-brown);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

.btn-nature i {
    margin-right: 8px;
}

/* Изображение героя */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease-out 0.4s both;
}

.hero-image-container {
    position: relative;
    display: inline-block;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(74, 124, 89, 0.15);
    transition: all 0.3s ease;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--light-green);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.3;
}

.hero-image:hover img {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(74, 124, 89, 0.2);
}

/* Декоративные элементы */
.nature-decoration {
    position: absolute;
    z-index: 1;
}

.nature-decoration.leaf-1 {
    top: 15%;
    left: 8%;
    width: 60px;
    height: 60px;
    background: var(--light-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.6;
    animation: sway 4s ease-in-out infinite;
}

.nature-decoration.leaf-2 {
    top: 60%;
    right: 10%;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    border-radius: 50% 0 50% 0;
    opacity: 0.4;
    animation: sway 3s ease-in-out infinite reverse;
}

.nature-decoration.cloud {
    top: 20%;
    right: 20%;
    width: 80px;
    height: 30px;
    background: var(--accent-blue);
    border-radius: 50px;
    opacity: 0.3;
    animation: float-cloud 8s ease-in-out infinite;
}

.nature-decoration.cloud::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
}

/* Статистика/особенности */
.hero-stats {
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}
.hero-stats .large-text{
    font-size: 2.5rem;
    line-height: 1.8rem;
    padding-bottom: 10px;
}

.stat-item {
    display: inline-block;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateX(0px) translateY(0px); }
    33% { transform: translateX(30px) translateY(-30px); }
    66% { transform: translateX(-20px) translateY(20px); }
    100% { transform: translateX(0px) translateY(0px); }
}

@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(5deg); }
}

@keyframes float-cloud {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(20px); }
}

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .nature-decoration {
        display: none;
    }

    .stat-item {
        margin-right: 1rem;
    }
}

/* Прелоадер в стиле природы */
.nature-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--warm-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-leaf {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 0 100% 0 100%;
    animation: spin-leaf 1s linear infinite;
}

@keyframes spin-leaf {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Блок "Обо мне" */
.about-section {
    background: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 80% 20%, rgba(143, 188, 143, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(74, 124, 89, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section-badge {
    display: inline-block;
    background: transparent;
    color: transparent;
    padding: 0;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Comfortaa', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.highlight-icon {
    background: var(--primary-green);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.highlight-item h5 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Сетка изображений */
.about-image-grid {
    position: relative;
    height: 600px;
}

.image-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.1);
    transition: all 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(74, 124, 89, 0.15);
}

.main-image {
    top: 0;
    left: 0;
    width: 70%;
    height: 80%;
}

.secondary-image {
    bottom: 0;
    right: 0;
    width: 50%;
    height: 60%;
}

.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(74, 124, 89, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.image-card:hover .image-overlay {
    transform: translateY(0);
}

.floating-badge {
    position: absolute;
    top: 50%;
    right: -20px;
    background: #3d2e01;
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(135, 206, 235, 0.3);
    animation: float-badge 3s ease-in-out infinite;
    max-width: 200px;
    text-align: center;
}

.floating-badge i {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@keyframes float-badge {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .about-image-grid {
        height: 400px;
        margin-bottom: 2rem;
    }

    .floating-badge {
        position: static;
        margin-top: 1rem;
        max-width: none;
    }

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

/* Блок навыков */
.skills-section {
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 15% 25%, rgba(143, 188, 143, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 85% 75%, rgba(74, 124, 89, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Категории навыков */
.skills-category {
    background: var(--warm-white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.08);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.skills-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green));
}

.creative-category::before {
    background: linear-gradient(90deg, var(--accent-blue), var(--light-green));
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

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

.creative-icon {
    background: var(--accent-blue);
}

.category-title {
    color: var(--primary-green);
    font-weight: 700;
    margin: 0;
    font-size: 1.4rem;
}

/* Технические навыки */
.skill-item {
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(143, 188, 143, 0.05);
    transform: translateX(5px);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.skill-info {
    flex: 1;
}

.skill-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
    display: block;
}

.skill-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 2px;
}

.skill-level {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 1rem;
}

.skill-bar {
    height: 10px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    width: 0;
    transition: width 2s ease-in-out;
    position: relative;
}

.php-skill { background: linear-gradient(90deg, #4a7c59, #6b9b6b); }
.js-skill { background: linear-gradient(90deg, #8fbc8f, #a8d8a8); }
.mysql-skill { background: linear-gradient(90deg, #87ceeb, #b0e0e6); }
.html-skill { background: linear-gradient(90deg, #8b7355, #a0886f); }
.wp-skill { background: linear-gradient(90deg, #4a7c59, #8fbc8f); }

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Творческие навыки */
.creative-skills-grid {
    display: grid;
    gap: 1.5rem;
}

.creative-skill {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.creative-skill:hover {
    background: rgba(135, 206, 235, 0.05);
    border-color: rgba(135, 206, 235, 0.2);
    transform: translateY(-5px);
}

.skill-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.microphone-icon { background: linear-gradient(135deg, #ff6b9d, #ff8fab); }
.dance-icon { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.anime-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.creative-thinking-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }

.creative-skill .skill-info h5 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.creative-skill .skill-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-green);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Инструменты */
.tools-section {
    background: var(--warm-white);
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(74, 124, 89, 0.08);
}

.tools-title {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tools-subtitle {
    color: var(--text-light);
    margin-bottom: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fdf8, #f0f8f0);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.08);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.tool-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.15);
}

.tool-icon {
    margin-bottom: 1rem;
}

.tool-icon img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.tool-item:hover .tool-icon img {
    transform: scale(1.1);
}

.tool-name {
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

.tool-experience {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Достижения */
.achievements-section {
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.05), rgba(143, 188, 143, 0.05));
    padding: 3rem 2rem;
    border-radius: 25px;
}

.achievement-item {
    padding: 1.5rem;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Comfortaa', cursive;
    margin-bottom: 0.5rem;
}

.achievement-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Декоративные элементы */
.skills-decoration {
    position: absolute;
    z-index: 1;
}

.leaf-left {
    top: 20%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.3;
    animation: sway 6s ease-in-out infinite;
}

.leaf-right {
    bottom: 30%;
    right: 8%;
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50% 0 50% 0;
    opacity: 0.2;
    animation: sway 4s ease-in-out infinite reverse;
}

.flower-top {
    top: 10%;
    right: 20%;
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-gentle 8s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .skills-category {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tool-item {
        padding: 1rem;
    }

    .achievement-number {
        font-size: 2.5rem;
    }

    .skills-decoration {
        display: none;
    }

    .creative-skill {
        flex-direction: column;
        text-align: center;
    }

    .skill-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
.custom-tooltip {
    position: absolute;
    background: var(--text-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    animation: fadeInTooltip 0.3s ease-out forwards;
}

@keyframes fadeInTooltip {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Блок увлечений */
.hobbies-section {
    background: linear-gradient(135deg, #fefefe 0%, #f8fdf8 100%);
    position: relative;
    overflow: hidden;
}

.hobbies-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 25% 25%, rgba(255, 182, 193, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 75% 75%, rgba(143, 188, 143, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Сетка увлечений */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.main-hobby {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .main-hobby {
        grid-column: span 1;
    }

    .hobbies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Карточки увлечений */
.hobby-card {
    background: var(--warm-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(74, 124, 89, 0.15);
}

.hobby-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.main-hobby .hobby-image {
    height: 300px;
}

.hobby-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hobby-card:hover .hobby-image img {
    transform: scale(1.05);
}

.hobby-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.7), rgba(143, 188, 143, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.hobby-card:hover .hobby-overlay {
    opacity: 1;
}

.hobby-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dance-icon { background: linear-gradient(135deg, rgba(255, 107, 157, 0.3), rgba(255, 143, 171, 0.3)); }
.event-icon { background: linear-gradient(135deg, rgba(135, 206, 235, 0.3), rgba(176, 224, 230, 0.3)); }
.japan-icon { background: linear-gradient(135deg, rgba(255, 153, 153, 0.3), rgba(255, 182, 193, 0.3)); }
.book-icon { background: linear-gradient(135deg, rgba(139, 115, 85, 0.3), rgba(160, 136, 111, 0.3)); }
.art-icon { background: linear-gradient(135deg, rgba(221, 160, 221, 0.3), rgba(238, 130, 238, 0.3)); }

/* Контент карточек */
.hobby-content {
    padding: 2rem;
}

.hobby-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Comfortaa', cursive;
}

.hobby-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Детали главного увлечения */
.hobby-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.detail-item i {
    color: var(--primary-green);
    margin-right: 0.8rem;
    width: 20px;
}

/* Теги */
.hobby-tags, .art-styles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hobby-tag, .art-tag {
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Статистика */
.hobby-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Comfortaa', cursive;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Достижения */
.hobby-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.achievement {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.achievement i {
    color: #ffd700;
    margin-right: 0.8rem;
    width: 20px;
}

/* Прогресс */
.hobby-progress {
    margin-top: 1rem;
}

.progress-item {
    margin-bottom: 1rem;
}

.progress-label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff9999, #ffb6c1);
    border-radius: 10px;
    width: 0;
    transition: width 1.5s ease-in-out;
}

/* Любимые книги */
.favorite-books {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.book-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
}

.book-item i {
    color: var(--soft-brown);
    margin-right: 0.8rem;
    width: 20px;
}

/* Цитата-вдохновение */
.inspiration-quote {
    background: linear-gradient(135deg, rgba(74, 124, 89, 0.05), rgba(143, 188, 143, 0.08));
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.quote-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-size: 3rem;
    color: var(--light-green);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-family: 'Comfortaa', cursive;
}

.quote-author {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
}

.quote-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-leaf {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--light-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.2;
}

.floating-leaf:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: float-leaf 8s ease-in-out infinite;
}

.floating-leaf:nth-child(2) {
    top: 60%;
    right: 15%;
    animation: float-leaf 6s ease-in-out infinite reverse;
}

.floating-leaf:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation: float-leaf 10s ease-in-out infinite;
}

@keyframes float-leaf {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Декоративные элементы */
.hobbies-decoration {
    position: absolute;
    z-index: 1;
}

.sakura-1 {
    top: 15%;
    left: 5%;
    width: 60px;
    height: 60px;
    background: #ffb6c1;
    border-radius: 50% 0 50% 0;
    opacity: 0.3;
    animation: sakura-fall 12s linear infinite;
}

.sakura-2 {
    top: 40%;
    right: 8%;
    width: 40px;
    height: 40px;
    background: #ffc0cb;
    border-radius: 0 50% 0 50%;
    opacity: 0.4;
    animation: sakura-fall 10s linear infinite reverse;
}

.wind-effect {
    bottom: 30%;
    left: 50%;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(143, 188, 143, 0.3), transparent);
    animation: wind-blow 6s ease-in-out infinite;
}

@keyframes sakura-fall {
    0% { transform: translateY(-20px) rotate(0deg); }
    100% { transform: translateY(20px) rotate(360deg); }
}

@keyframes wind-blow {
    0%, 100% { transform: translateX(-50px) scaleX(1); opacity: 0; }
    50% { transform: translateX(50px) scaleX(2); opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hobby-content {
        padding: 1.5rem;
    }

    .hobby-stats {
        justify-content: center;
        gap: 1rem;
    }

    .quote-text {
        font-size: 1.2rem;
    }

    .inspiration-quote {
        padding: 2rem;
    }

    .hobbies-decoration {
        display: none;
    }
}

/* Блок контактов */
.contacts-section {
    background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
    position: relative;
    overflow: hidden;
}

.contacts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(143, 188, 143, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(135, 206, 235, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Контактная информация */
.contact-info {
    background: var(--warm-white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.08);
    height: 100%;
}

.contact-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(143, 188, 143, 0.1);
}

.contact-avatar {
    position: relative;
    margin-right: 1.5rem;
}

.contact-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid var(--light-green);
}

.avatar-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 50%;
    border: 3px solid white;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.contact-name {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Comfortaa', cursive;
}

.contact-role {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.availability-badge i {
    margin-right: 0.5rem;
    font-size: 0.7rem;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Методы связи */
.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(143, 188, 143, 0.05);
    transform: translateX(10px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.email-icon { background: linear-gradient(135deg, #4a7c59, #6b9b6b); }
.phone-icon { background: linear-gradient(135deg, #87ceeb, #b0e0e6); }
.location-icon { background: linear-gradient(135deg, #ff9999, #ffb6c1); }
.time-icon { background: linear-gradient(135deg, #dda0dd, #ee82ee); }

.contact-details h5 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-green);
}

.contact-text {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-note {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

/* Социальные сети */
.social-links {
    padding-top: 2rem;
    border-top: 2px solid rgba(143, 188, 143, 0.1);
}

.social-title {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
}

.social-link i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.telegram { background: linear-gradient(135deg, #0088cc, #00a0e6); }
.github { background: linear-gradient(135deg, #333, #555); }
.linkedin { background: linear-gradient(135deg, #0077b5, #0099d4); }
.instagram { background: linear-gradient(135deg, #e4405f, #fd5949); }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: white;
}

/* Форма обратной связи */
.contact-form-wrapper {
    background: var(--warm-white);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(74, 124, 89, 0.08);
    height: 100%;
    position: relative;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

/* Поля формы */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus {
    outline: none;
    border-color: var(--light-green);
    background: white;
    box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.form-decoration {
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.form-control:focus + .form-decoration {
    width: 100%;
}

/* Чекбокс */
.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.form-check-input {
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

.form-check-label {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.privacy-link {
    color: var(--primary-green);
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(74, 124, 89, 0.3);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.btn-leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0 100% 0 100%;
    opacity: 0;
    animation: btn-leaves 3s ease-in-out infinite;
}

.btn-leaf:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.btn-leaf:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.btn-leaf:nth-child(3) {
    bottom: 20%;
    left: 60%;
    animation-delay: 2s;
}

@keyframes btn-leaves {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
}

/* Сообщение об успехе */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 20px;
    border: 2px solid rgba(76, 175, 80, 0.2);
}

.success-icon {
    font-size: 3rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.success-message h5 {
    color: #4caf50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: var(--text-light);
    margin: 0;
}

/* Дополнительная информация */
.additional-info {
    background: var(--warm-white);
    padding: 3rem 2rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(74, 124, 89, 0.08);
}

.info-card {
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.info-card h5 {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Декоративные элементы */
.contacts-decoration {
    position: absolute;
    z-index: 1;
}

.butterfly-1 {
    top: 20%;
    right: 10%;
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50% 0 50% 0;
    opacity: 0.4;
    animation: butterfly-fly 8s ease-in-out infinite;
}

.butterfly-2 {
    bottom: 30%;
    left: 8%;
    width: 30px;
    height: 30px;
    background: #ffb6c1;
    border-radius: 0 50% 0 50%;
    opacity: 0.5;
    animation: butterfly-fly 6s ease-in-out infinite reverse;
}

.magic-sparkle {
    top: 50%;
    left: 5%;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0.6;
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes butterfly-fly {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -15px) rotate(90deg); }
    50% { transform: translate(40px, 0) rotate(180deg); }
    75% { transform: translate(20px, 15px) rotate(270deg); }
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
    50% { transform: scale(1.5) rotate(180deg); opacity: 1; }
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-info, .contact-form-wrapper {
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .contact-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .contacts-decoration {
        display: none;
    }

    .additional-info {
        padding: 2rem 1rem;
    }
}

/* Футер в стиле природы */
.footer-section {
    background: linear-gradient(135deg, #2c3e50 0%, #4a7c59 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="15" cy="15" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="85" cy="35" r="0.8" fill="%23a8d8a8" opacity="0.15"/><circle cx="45" cy="75" r="0.6" fill="%238fbc8f" opacity="0.2"/></svg>');
    background-size: 150px 150px;
    animation: float 25s linear infinite;
    pointer-events: none;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--light-green);
    margin-right: 12px;
}

.footer-brand h5 {
    font-family: 'Comfortaa', cursive;
    font-weight: 600;
    margin: 0;
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-title {
    font-family: 'Comfortaa', cursive;
    font-weight: 600;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a i {
    margin-right: 8px;
    width: 16px;
    color: var(--light-green);
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-wishes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wish-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.wish-item i {
    color: var(--light-green);
    margin-right: 10px;
    width: 16px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2.5rem 0 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    padding: 10px 0;
}

.footer-social {
    padding: 10px 0;
}

.footer-nature-elements {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-nature-elements i {
    font-size: 1.5rem;
    color: var(--light-green);
    opacity: 0.7;
    animation: gentle-sway 3s ease-in-out infinite;
}

.footer-nature-elements i:nth-child(2) {
    animation-delay: 0.5s;
}

.footer-nature-elements i:nth-child(3) {
    animation-delay: 1s;
}

/* Декоративные элементы футера */
.footer-decoration {
    position: absolute;
    pointer-events: none;
}

.leaf-decoration-1 {
    top: 20%;
    left: 10%;
    width: 30px;
    height: 30px;
    background: var(--light-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.1;
    animation: gentle-float 8s ease-in-out infinite;
}

.leaf-decoration-2 {
    top: 60%;
    right: 15%;
    width: 25px;
    height: 25px;
    background: var(--accent-blue);
    border-radius: 50% 0 50% 0;
    opacity: 0.1;
    animation: gentle-float 10s ease-in-out infinite reverse;
}

.cloud-decoration {
    top: 10%;
    right: 20%;
    width: 60px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    animation: drift 15s linear infinite;
}

/* Плавающие частицы */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-green);
    border-radius: 50%;
    opacity: 0.3;
}

.particle-1 {
    left: 10%;
    animation: float-up 20s linear infinite;
}

.particle-2 {
    left: 30%;
    animation: float-up 25s linear infinite;
    animation-delay: 5s;
}

.particle-3 {
    left: 50%;
    animation: float-up 18s linear infinite;
    animation-delay: 10s;
}

.particle-4 {
    left: 70%;
    animation: float-up 22s linear infinite;
    animation-delay: 15s;
}

.particle-5 {
    left: 90%;
    animation: float-up 24s linear infinite;
    animation-delay: 8s;
}

/* Анимации */
@keyframes gentle-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

@keyframes drift {
    0% { transform: translateX(-20px); }
    100% { transform: translateX(20px); }
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Адаптивность футера */
@media (max-width: 768px) {
    .footer-section {
        padding: 3rem 0 1.5rem;
    }

    .footer-nature-elements {
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-copyright {
        text-align: center;
    }
}

/* Блог в стиле темы */
.blog-hero-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 20% 30%, rgba(143, 188, 143, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(74, 124, 89, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.blog-posts-section {
    background: var(--warm-white);
    position: relative;
}

/* Instagram-стиль сетка */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Карточка поста */
.instagram-post {
    background: var(--warm-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(74, 124, 89, 0.08);
    transition: all 0.3s ease;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 124, 89, 0.15);
}

/* Контейнер изображения */
.post-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1; /* Квадратное соотношение */
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.post-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

.post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover .post-image {
    transform: scale(1.05);
}

/* Плейсхолдер для постов без изображения */
.post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    opacity: 0.7;
}

/* Оверлей с метаданными */
.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            to bottom,
            rgba(74, 124, 89, 0.8) 0%,
            transparent 30%,
            transparent 70%,
            rgba(74, 124, 89, 0.8) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
}

.instagram-post:hover .post-overlay {
    opacity: 1;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

.post-meta span {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

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

/* Контейнер заголовка */
.post-title-container {
    padding: 1.5rem;
    text-align: center;
}

.post-title {
    margin: 0 0 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: block;
}

.post-title a:hover {
    color: var(--primary-green);
}

.post-category {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Сообщение об отсутствии постов */
.no-posts-message {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.05), rgba(74, 124, 89, 0.08));
    border-radius: 25px;
    margin: 2rem 0;
}

.no-posts-content i {
    font-size: 4rem;
    color: var(--light-green);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.no-posts-content h3 {
    color: var(--primary-green);
    font-family: 'Comfortaa', cursive;
    font-weight: 600;
    margin-bottom: 1rem;
}

.no-posts-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

/* Пагинация блога */
.blog-pagination-wrapper {
    margin: 60px 0 40px;
    display: flex;
    justify-content: center;
}

.blog-pagination {
    display: flex;
    align-items: center;
    gap: 0; /* Убираем gap */
    background: transparent;
    border-radius: 50px;
    padding: 4px;
    box-shadow: none;
}

/* Убираем стандартные стили списка WordPress */
.blog-pagination ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    gap: 0; /* Убираем gap */
    background: transparent;
    border-radius: 50px;
    padding: 4px;
    box-shadow: none;
}

.blog-pagination li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.blog-pagination li::before {
    display: none !important;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 8px 12px;
    border: none;
    border-radius: 50px;
    background: transparent;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    margin: 0;
}

.blog-pagination .page-numbers:hover {
    color: var(--primary-green);
    background: rgba(74, 124, 89, 0.1);
}

.blog-pagination .page-numbers.current {
    background: var(--primary-green);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(74, 124, 89, 0.3);
}

.blog-pagination .page-numbers.current:hover {
    background: var(--primary-green);
    color: #ffffff;
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    padding: 8px 16px;
    font-weight: 500;
}

.blog-pagination .page-numbers.prev i,
.blog-pagination .page-numbers.next i {
    font-size: 12px;
}

.blog-pagination .page-numbers.dots {
    background: transparent;
    color: #9ca3af;
    cursor: default;
    min-width: auto;
    padding: 8px 4px;
}

.blog-pagination .page-numbers.dots:hover {
    background: transparent;
    color: #9ca3af;
}

/* Адаптивность */
@media (max-width: 768px) {
    .blog-pagination-wrapper {
        margin: 40px 0 30px;
    }

    .blog-pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        font-size: 13px;
    }
}


/* Анимации загрузки */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.instagram-post {
    animation: fadeInUp 0.6s ease-out forwards;
}

.instagram-post:nth-child(1) { animation-delay: 0.1s; }
.instagram-post:nth-child(2) { animation-delay: 0.2s; }
.instagram-post:nth-child(3) { animation-delay: 0.3s; }
.instagram-post:nth-child(4) { animation-delay: 0.4s; }
.instagram-post:nth-child(5) { animation-delay: 0.5s; }
.instagram-post:nth-child(6) { animation-delay: 0.6s; }
.instagram-post:nth-child(7) { animation-delay: 0.7s; }
.instagram-post:nth-child(8) { animation-delay: 0.8s; }
.instagram-post:nth-child(9) { animation-delay: 0.9s; }

/* Декоративные элементы */
.blog-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 10% 20%, rgba(143, 188, 143, 0.03) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(135, 206, 235, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Адаптивные улучшения */
@media (max-width: 768px) {
    .post-title {
        font-size: 1rem;
    }

    .post-title-container {
        padding: 1rem;
    }

    .post-meta {
        font-size: 0.8rem;
    }

    .blog-pagination .page-numbers {
        padding: 10px 16px;
        margin: 0 4px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        gap: 1rem;
    }

    .post-title {
        font-size: 0.95rem;
    }

    .blog-pagination .page-numbers {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* Анимированный фон для блога */
.blog-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="30" r="2" fill="%234a7c59" opacity="0.4"/><circle cx="80" cy="20" r="1.5" fill="%238fbc8f" opacity="0.3"/><circle cx="60" cy="70" r="1" fill="%2387ceeb" opacity="0.5"/></svg>');
    background-size: 300px 300px;
    animation: blog-float 25s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.blog-posts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><g opacity="0.1"><circle cx="50" cy="50" r="3" fill="%234a7c59"/><circle cx="150" cy="80" r="2" fill="%238fbc8f"/><circle cx="100" cy="150" r="2.5" fill="%2387ceeb"/></g></svg>');
    background-size: 400px 400px;
    animation: blog-drift 30s linear infinite reverse;
    pointer-events: none;
    z-index: 1;
}

/* Плавающие элементы для блога */
.blog-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.blog-floating-item {
    position: absolute;
    opacity: 0.6;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

/* Плавающие иконки */
.floating-pen {
    top: 15%;
    left: 10%;
    font-size: 1.5rem;
    color: var(--primary-green);
    animation: float-gentle 8s infinite;
}

.floating-book {
    top: 25%;
    right: 15%;
    font-size: 1.2rem;
    color: var(--soft-brown);
    animation: float-gentle 10s infinite reverse;
    animation-delay: 2s;
}

.floating-heart {
    top: 60%;
    left: 8%;
    font-size: 1rem;
    color: #ffb6c1;
    animation: pulse-float 6s infinite;
    animation-delay: 1s;
}

.floating-star {
    top: 70%;
    right: 20%;
    font-size: 0.8rem;
    color: #ffd700;
    animation: twinkle 4s infinite;
    animation-delay: 3s;
}

.floating-leaf {
    top: 40%;
    right: 5%;
    font-size: 1.3rem;
    color: var(--light-green);
    animation: sway-float 12s infinite;
}

.floating-cloud {
    top: 10%;
    left: 50%;
    font-size: 2rem;
    color: var(--accent-blue);
    opacity: 0.3;
    animation: drift-slow 20s infinite;
}

/* Дополнительные элементы для постов */
.floating-code {
    top: 80%;
    left: 15%;
    font-size: 1.1rem;
    color: var(--primary-green);
    animation: code-bounce 7s infinite;
    animation-delay: 4s;
}

.floating-music {
    top: 35%;
    left: 75%;
    font-size: 1rem;
    color: #9370db;
    animation: music-wave 5s infinite;
    animation-delay: 2.5s;
}

/* Анимации */
@keyframes blog-float {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    33% { transform: translateX(30px) translateY(-20px) rotate(120deg); }
    66% { transform: translateX(-20px) translateY(15px) rotate(240deg); }
    100% { transform: translateX(0px) translateY(0px) rotate(360deg); }
}

@keyframes blog-drift {
    0% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(20px) translateY(-15px); }
    50% { transform: translateX(-15px) translateY(10px); }
    75% { transform: translateX(25px) translateY(5px); }
    100% { transform: translateX(0px) translateY(0px); }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes pulse-float {
    0%, 100% { transform: scale(1) translateY(0px); opacity: 0.6; }
    50% { transform: scale(1.2) translateY(-10px); opacity: 0.8; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

@keyframes sway-float {
    0%, 100% { transform: rotate(-10deg) translateY(0px); }
    25% { transform: rotate(5deg) translateY(-8px); }
    50% { transform: rotate(-5deg) translateY(-15px); }
    75% { transform: rotate(10deg) translateY(-8px); }
}

@keyframes drift-slow {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(30px) translateY(-10px); }
}

@keyframes code-bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-5px) scale(1.1); }
    50% { transform: translateY(-10px) scale(1); }
    75% { transform: translateY(-5px) scale(0.95); }
}

@keyframes music-wave {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-10deg); }
    50% { transform: translateY(-12px) rotate(0deg); }
    75% { transform: translateY(-8px) rotate(10deg); }
}

/* Дополнительные декоративные элементы */
.blog-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.blog-leaf-1 {
    top: 20%;
    left: 5%;
    width: 40px;
    height: 40px;
    background: var(--light-green);
    border-radius: 0 100% 0 100%;
    opacity: 0.2;
    animation: gentle-sway 8s ease-in-out infinite;
}

.blog-leaf-2 {
    top: 70%;
    right: 10%;
    width: 30px;
    height: 30px;
    background: var(--primary-green);
    border-radius: 50% 0 50% 0;
    opacity: 0.15;
    animation: gentle-sway 6s ease-in-out infinite reverse;
}

.blog-sparkle-1 {
    top: 30%;
    right: 30%;
    width: 20px;
    height: 20px;
    background: #ffd700;
    border-radius: 50%;
    opacity: 0.4;
    animation: sparkle-pulse 4s ease-in-out infinite;
}

.blog-sparkle-2 {
    top: 80%;
    left: 40%;
    width: 15px;
    height: 15px;
    background: #87ceeb;
    border-radius: 50%;
    opacity: 0.3;
    animation: sparkle-pulse 5s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(10deg) translateY(-5px); }
}

@keyframes sparkle-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

/* Адаптивность - скрываем анимации на мобилках для производительности */
@media (max-width: 768px) {
    .blog-floating-elements,
    .blog-decoration {
        display: none;
    }

    .blog-hero-section::before,
    .blog-posts-section::before {
        animation-duration: 40s; /* Замедляем на мобилках */
    }
}

/* Страница отдельного поста */
.post-hero-section {
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 60px;
}

.post-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            radial-gradient(circle at 15% 25%, rgba(143, 188, 143, 0.08) 0%, transparent 50%),
            radial-gradient(circle at 85% 75%, rgba(135, 206, 235, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.post-header {
    position: relative;
    z-index: 2;
}

.post-category-badge {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

.post-main-title {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.post-meta-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.post-meta-info span {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(74, 124, 89, 0.1);
}

.post-meta-info i {
    color: var(--primary-green);
}

/* Плавающие элементы для поста */
.post-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-feather {
    top: 20%;
    left: 10%;
    font-size: 1.8rem;
    color: var(--light-green);
    opacity: 0.4;
    animation: gentle-float 10s ease-in-out infinite;
}

.floating-heart-post {
    top: 30%;
    right: 15%;
    font-size: 1.2rem;
    color: #ffb6c1;
    opacity: 0.5;
    animation: pulse-gentle 8s ease-in-out infinite;
    animation-delay: 2s;
}

.floating-star-post {
    top: 70%;
    left: 15%;
    font-size: 1rem;
    color: #ffd700;
    opacity: 0.4;
    animation: twinkle-soft 6s ease-in-out infinite;
    animation-delay: 4s;
}

/* Секция контента */
.post-content-section {
    background: var(--warm-white);
    position: relative;
}

.post-content-card {
    background: white;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(74, 124, 89, 0.08);
    position: relative;
    overflow: hidden;
}

.post-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--light-green), var(--accent-blue));
    border-radius: 25px 25px 0 0;
}

/* Стили для контента поста */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    font-family: 'Comfortaa', cursive;
    color: var(--primary-green);
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.post-content h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--light-green);
    padding-bottom: 0.5rem;
}

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

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content a {
    color: var(--primary-green);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.post-content a:hover {
    color: var(--primary-green);
    border-bottom-color: var(--light-green);
}

.post-content blockquote {
    background: linear-gradient(135deg, rgba(143, 188, 143, 0.1), rgba(135, 206, 235, 0.08));
    border-left: 4px solid var(--primary-green);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 15px 15px 0;
    font-style: italic;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--light-green);
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content code {
    background: var(--cream);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-green);
}

.post-content pre {
    background: var(--text-dark);
    color: var(--warm-white);
    padding: 1.5rem;
    border-radius: 10px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(74, 124, 89, 0.15);
}

/* Теги */
.post-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(143, 188, 143, 0.3);
}

.tags-title {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.tags-list a {
    display: inline-block;
    background: var(--light-green);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.tags-list a:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 124, 89, 0.3);
}

/* Навигация между постами */
.post-navigation {
    margin: 3rem 0;
}

.nav-post {
    display: block;
    background: white;
    border: 2px solid var(--light-green);
    border-radius: 15px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.nav-post:hover {
    border-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 124, 89, 0.15);
}

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

.nav-title {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

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

/* Кнопка "Назад к блогу" */
.back-to-blog {
    margin-top: 3rem;
}

.btn-back-blog {
    display: inline-flex;
    align-items: center;
    background: var(--primary-green);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 124, 89, 0.3);
}

.btn-back-blog:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 124, 89, 0.4);
}

/* Анимации */
@keyframes gentle-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes pulse-gentle {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes twinkle-soft {
    0%, 100% { opacity: 0.4; transform: rotate(0deg); }
    50% { opacity: 0.8; transform: rotate(180deg); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .post-main-title {
        font-size: 2rem;
    }

    .post-content-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

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

    .post-meta-info span {
        justify-content: center;
    }

    .post-floating-elements {
        display: none;
    }

    .nav-post {
        padding: 1rem;
    }

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

@media (max-width: 480px) {
    .post-main-title {
        font-size: 1.8rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-content-card {
        padding: 1.5rem 1rem;
    }
}
