/* Modern CSS reset and variables */
:root {
    --primary: #7856ff;
    --primary-dark: #6345e0;
    --background: #f8f5f0;
    --background-card: #ffffff;
    --text: #1a1a1a;
    --text-muted: #6b7280;
    --accent: #7856ff;
    --border: #e5e0da;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header styles */
header {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-card);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.01em;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Main content styles */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero {
    text-align: center;
    max-width: 800px;
    margin: 3rem 0 2rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.coming-soon {
    background-color: var(--background-card);
    border-radius: 1rem;
    padding: 3rem;
    margin: 2rem 0;
    border: 1px solid var(--border);
    text-align: center;
    box-shadow: var(--shadow);
    width: 100%;
}

.coming-soon h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    letter-spacing: -0.01em;
}

.coming-soon p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(120, 86, 255, 0.3);
}

/* Section styling */
section {
    width: 100%;
    margin: 3rem 0;
    background-color: var(--background-card);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text);
    text-align: center;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 0.75rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent);
}

/* Skills section */
.skills {
    text-align: center;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 2.5rem;
}

.skill-badge {
    background-color: rgba(120, 86, 255, 0.1);
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    transition: var(--transition);
    color: var(--primary);
    font-weight: 500;
}

.skill-badge:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(120, 86, 255, 0.3);
}

/* Education section */
.education-item {
    background-color: var(--background);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent);
    transition: var(--transition);
}

.education-item:last-child {
    margin-bottom: 0;
}

.education-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.education-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.education-place {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.education-date {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
}

/* About & Languages */
.about p {
    color: var(--text-muted);
    line-height: 1.6;
}

.languages {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.language-item {
    text-align: center;
}

.language-name {
    font-weight: 600;
    display: block;
}

.language-level {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Experience section */
.experience-item {
    background-color: var(--background);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    border-left: 3px solid var(--accent);
}

.experience-item:last-child {
    margin-bottom: 0;
}

.experience-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 600;
}

.experience-place,
.experience-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.experience-duties {
    list-style: disc inside;
    margin-top: 0.75rem;
}

/* Contact form */
.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    resize: vertical;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--background-card);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
    box-shadow: var(--shadow);
}

footer .social-links {
    margin-bottom: 1rem;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
    animation-play-state: paused;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

/* Scroll animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .hero {
        margin: 2rem 0 1rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }

    .coming-soon {
        padding: 2rem;
    }

    .cta-button {
        padding: 0.5rem 1.5rem;
    }

    .languages {
        flex-direction: column;
        gap: 1rem;
    }

    .languages .language-item {
        width: 100%;
    }

    .skill-badges {
        gap: 0.75rem;
    }
}
