/* Основные стили */
:root {
    --pink-light: #fff5f7;
    --pink-pastel: #ffd6e7;
    --pink-soft: #ffb6c1;
    --pink-medium: #ff85a2;
    --pink-dark: #ff6b9d;
    --coral: #ff9a8b;
    --blush: #ffb6c1;
    --mauve: #d8bfd8;
    --lavender: #e6e6fa;
    --peach: #ffdab9;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --shadow-soft: rgba(255, 107, 157, 0.1);
    --shadow-medium: rgba(255, 107, 157, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--lavender) 100%);
    color: #5a5560;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Цветочные декорации */
.flower-decor {
    position: fixed;
    background: var(--pink-soft);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

.flower-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    background: radial-gradient(circle, var(--pink-medium), transparent 70%);
}

.flower-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    background: radial-gradient(circle, var(--blush), transparent 70%);
}

.flower-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 5%;
    background: radial-gradient(circle, var(--mauve), transparent 70%);
}

.flower-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 10%;
    background: radial-gradient(circle, var(--coral), transparent 70%);
}

/* Основной контейнер */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 30px;
    position: relative;
}

/* Боковая панель */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.profile-card {
    background: var(--white);
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    text-align: center;
    border: 1px solid rgba(255, 182, 193, 0.3);
    backdrop-filter: blur(10px);
}

/* Аватарка */
.avatar-container {
    position: relative;
    margin-bottom: 25px;
}

.avatar-frame {
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 10px;
    background: linear-gradient(135deg, var(--pink-medium), var(--blush));
    position: relative;
}

.avatar-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: var(--pink-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 3px solid white;
}

.status-dot {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    background: #4cd964;
    border-radius: 50%;
    border: 3px solid white;
}

/* Текст профиля */
.name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-dark), var(--coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.title {
    font-size: 1.1rem;
    color: var(--pink-medium);
    margin-bottom: 25px;
    font-weight: 500;
}

/* Контактная информация */
.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 182, 193, 0.2);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    width: 30px;
    height: 30px;
    background: var(--pink-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-dark);
}

.contact-label {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 3px;
}

.contact-value {
    display: block;
    font-weight: 500;
    color: #5a5560;
}

/* Социальные кнопки */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-btn.pink { background: var(--pink-medium); }
.social-btn.coral { background: var(--coral); }
.social-btn.blush { background: var(--blush); }
.social-btn.mauve { background: var(--mauve); }

/* Цитата */
.quote {
    background: linear-gradient(135deg, var(--pink-light), var(--lavender));
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

.quote i:first-child {
    position: absolute;
    top: 10px;
    left: 15px;
    color: var(--pink-medium);
    opacity: 0.5;
}

.quote i:last-child {
    position: absolute;
    bottom: 10px;
    right: 15px;
    color: var(--pink-medium);
    opacity: 0.5;
}

.quote p {
    font-style: italic;
    color: var(--pink-dark);
    margin: 0;
    padding: 0 20px;
    font-size: 0.95rem;
}

/* Основной контент */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Секции */
.welcome-section, .skills-section, .projects-section, .about-section {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 10px 40px var(--shadow-soft);
    border: 1px solid rgba(255, 182, 193, 0.3);
    backdrop-filter: blur(10px);
}

/* Заголовки секций */
.section-header {
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #5a5560;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.title-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink-medium), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.section-subtitle {
    color: var(--pink-medium);
    font-size: 1.1rem;
}

/* Приветственная секция */
.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-message {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    line-height: 1.8;
}

.floating-element {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--pink-light), var(--lavender));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--pink-dark);
    animation: float 3s ease-in-out infinite;
}

.floating-element.large {
    width: 150px;
    height: 150px;
    font-size: 3.5rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Сетка навыков */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.skill-category-card {
    background: var(--gray-light);
    border-radius: 20px;
    padding: 25px;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.skill-category-card:hover {
    transform: translateY(-5px);
    border-color: var(--pink-soft);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink-light), var(--lavender));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-dark);
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.4rem;
    color: #5a5560;
    margin: 0;
}

/* Прогресс-бары */
.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 500;
    color: #5a5560;
}

.skill-percent {
    font-weight: 600;
    color: var(--pink-dark);
}

.skill-bar {
    height: 10px;
    background: rgba(255, 182, 193, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 5px;
    transition: width 1.5s ease;
}

/* Проекты */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 182, 193, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.project-header {
    height: 120px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.project-number {
    font-size: 2.5rem;
    font-weight: 700;
    opacity: 0.7;
    font-family: 'Playfair Display', serif;
}

.project-icon {
    font-size: 2rem;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.4rem;
    color: #5a5560;
    margin-bottom: 15px;
}

.project-content p {
    color: #777;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 15px;
    background: var(--pink-light);
    color: var(--pink-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Секция "Обо мне" */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

.fun-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.fact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--pink-light);
    border-radius: 15px;
    color: var(--pink-dark);
    font-weight: 500;
}

.fact i {
    color: var(--pink-medium);
}

/* Футер */
.footer {
    margin-top: 60px;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 182, 193, 0.3);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: var(--pink-dark);
    margin-bottom: 15px;
}

.footer-logo i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.footer-text {
    color: #888;
    margin-bottom: 10px;
}

.footer-note {
    color: #aaa;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .welcome-section,
    .about-content {
        flex-direction: column;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-section,
    .skills-section,
    .projects-section,
    .about-section {
        padding: 25px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .name {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .avatar-frame {
        width: 150px;
        height: 150px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
}


