:root {
    --primary-color: #2d3436;
    --secondary-color: #0984e3;
    --background-color: #ffffff;
    --text-color: #2d3436;
    --hover-color: #74b9ff;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

nav {
    padding: 1rem;
    text-align: right;
}

.language-switch a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.language-switch a:hover {
    color: var(--secondary-color);
}

.language-switch a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.profile-container {
    text-align: center;
    margin: 2rem 0;
}

.profile-image {
    width: min(200px, 30vw);
    height: min(200px, 30vw);
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    margin: 1rem 0;
    color: var(--text-color);
}

.typing-text {
    min-height: 2em;
    margin: 1rem 0;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-icon {
    font-size: 1.8rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.tech-stack {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.tech-item {
    font-size: 2.5rem;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tech-item:hover {
    color: var(--secondary-color);
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .profile-image {
        margin: 0 auto 1rem;
    }
    
    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .social-icon {
        font-size: 1.5rem;
    }
    
    .blog-button {
        margin: 1.5rem 0;
    }
    
    .typing-text {
        min-height: 1.5em;
        margin: 0.5rem 0;
    }
}

@media (max-height: 600px) {
    .profile-image {
        width: min(150px, 25vw);
        height: min(150px, 25vw);
    }
    
    .blog-button {
        margin: 1rem 0;
    }
    
    .social-links {
        margin: 1rem 0;
    }
}

.social-links .social-icon {
    font-size: 1.8rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.social-links .social-icon:nth-child(5) {
    display: none;
}

.blog-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--secondary-color);
    color: white;
    padding: clamp(0.8rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border-radius: 8px;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-decoration: none;
    margin: 2rem 0;
    transition: all 0.3s ease;
    font-weight: 500;
}

.blog-button:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(9, 132, 227, 0.3);
}

.blog-button i {
    font-size: 1.4rem;
}

.language-nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.3rem;
}

.language-switch span {
    color: var(--text-color);
    opacity: 0.5;
}

.language-switch a:hover {
    color: var(--secondary-color);
}

.language-switch a.active {
    color: var(--secondary-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .language-nav {
        top: 1rem;
        right: 1rem;
    }
} 