
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f0f5fe;
    color: #2d3436;
}


.header {
    background: linear-gradient(135deg, #2d3436 0%, #0984e3 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}


.nav-container {
    display: flex;
    justify-content: center;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-btn {
    margin: 0 1rem;
    padding: 0.8rem 1.5rem;
    border: none;
    background: transparent;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 25px;
}

.nav-btn.active {
    background: #ff7675;
    color: white;
}


.page {
    display: none;
    padding: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.page.active {
    display: block;
}


.about-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.about-photo {
    flex: 1;
    text-align: center;
}

.about-photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
}

.download-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: #0984e3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.about-description {
    flex: 2;
}

/* Services */
.service-container {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.service-icon {
    font-size: 3rem;
    color: #0984e3;
    margin-bottom: 1rem;
}


.competence-category {
    margin: 2rem 0;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.skill-progress {
    margin: 1rem 0;
}

.progress-bar {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    background: #0984e3;
    height: 10px;
}


.project-container {
    display: flex;
    gap: 2rem;
    justify-content: space-around;
}

.project-card {
    position: relative;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
}

.project-card img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(9, 132, 227, 0.8);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-name {
    transform: translateY(0);
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeIn 0.6s ease-out;
}


@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        text-align: center;
    }

    .nav-btn {
        margin: 0.5rem 0;
    }

    .about-container {
        flex-direction: column;
    }

    .service-container, .project-container {
        flex-direction: column;
    }
}