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

:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c2a;
    --light-green: #6b9f3d;
    --lighter-green: #8fc55a;
    --lightest-green: #b8e086;
    --dark-green: #1a3009;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --bg-light: #fafafa;
    --card-bg: #ffffff;
    --shadow: rgba(45, 80, 22, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f9f0 0%, #e8f5e0 100%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lang-btn {
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 2px solid var(--light-green);
    border-radius: 8px;
    color: var(--primary-green);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--light-green);
    color: white;
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile-image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-green);
    box-shadow: 0 10px 30px var(--shadow);
    transition: transform 0.3s ease;
}

.profile-image-container:hover {
    transform: scale(1.05);
}

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

.name {
    font-size: 3rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-top: 1rem;
}

.title {
    font-size: 1.5rem;
    color: var(--secondary-green);
    font-weight: 400;
}

/* Sections */
.section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--light-green);
}

/* About Section */
.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.project-card {
    background: linear-gradient(135deg, #f9fdf5 0%, #f0f9e8 100%);
    border: 2px solid var(--lighter-green);
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-card:has(.project-link) {
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-green);
    box-shadow: 0 8px 25px var(--shadow);
    background: linear-gradient(135deg, #f0f9e8 0%, #e8f5e0 100%);
}

.project-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.5rem;
    cursor: pointer;
}

.project-content {
    display: block;
    padding: 1.5rem;
}

.project-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: var(--lightest-green);
    position: relative;
}

.coming-soon-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

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

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

.project-title {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.project-description {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-label {
    font-weight: 600;
    color: var(--primary-green);
    min-width: 80px;
}

.contact-link {
    color: var(--secondary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.resume-link {
    background: var(--primary-green);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.resume-link:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
    text-decoration: none;
}

/* Social Section */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-green) 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px var(--shadow);
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--secondary-green);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1.2rem;
    }

    .section {
        padding: 1.5rem;
    }

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

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

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .profile-image-container {
        width: 150px;
        height: 150px;
    }

    .name {
        font-size: 1.75rem;
    }
}

