* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif; 
}

body {
    background: #fdfafd; 
    color: #444;
}


header {
    background: white;
    padding: 20px 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #444;
}

.logo span {
    color: #ec8fb6; 
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: #ec8fb6;
    border-bottom: 2px solid #ec8fb6;
    padding-bottom: 5px;
}

.hero {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.text {
    width: 55%;
}

.text h2 {
    font-size: 35px;
    color: #333;
}

.text h1 {
    font-size: 80px;
    color: #ec8fb6;
    line-height: 1.1;
    margin-bottom: 15px;
}

.text .sub-title {
    color: #8c5abf; 
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.text p {
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    background: #ec8fb6;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px; 
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

button:hover {
    background: #e07aa3;
}

.outline {
    background: transparent;
    color: #ec8fb6;
    border: 2px solid #ec8fb6;
}

.outline:hover {
    background: #ec8fb6;
    color: white;
}


.photo img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 15px solid #f6e2f7; 
}

.about-box {
    max-width: 1200px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.interests {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
    border-top: 1px solid #f3edf6;
    padding-top: 20px;
}

.interest-item {
    text-align: center;
    color: #8c5abf;
    font-size: 14px;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr; 
    gap: 30px;
    padding: 20px;
}

.grid-container-2 {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.3fr 1.3fr; 
    gap: 30px;
    padding: 20px;
}

.bg-white { background: white; }
.bg-purple-light { background: #f6effa; } 
.bg-pink-light { background: #fff2f5; }   
.bg-blue-light { background: #f2f7ff; }   

.card-box {
    padding: 40px;
    border-radius: 24px;
}

.card-box h2 {
    color: #8c5abf;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 22px;
    letter-spacing: 1px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    text-align: center;
    padding-bottom: 10px;
}

.portfolio-card img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.portfolio-card h3 {
    font-size: 14px;
    margin: 10px 5px 5px;
    color: #333;
}

.portfolio-card p {
    font-size: 12px;
    color: #777;
    padding: 0 5px;
}

ul.list-style {
    list-style: none;
}

ul.list-style li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

ul.list-style li::before {
    content: "•";
    color: #ec8fb6; 
    font-weight: bold;
    position: absolute;
    left: 0;
}

.strengths-split {
    display: flex;
    justify-content: space-between;
}

.strengths-col {
    width: 48%;
}


.kontakt-section {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.kontakt-section h2 {
    color: #8c5abf;
    margin-bottom: 20px;
}

.kontakt-bar {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 25px;
    border-radius: 50px; 
    border: 1px solid #f3edf6;
}

.kontakt-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #ebdcf0;
    font-size: 14px;
    color: #555;
}
@media (max-width: 900px) {
    header {
        padding: 15px 20px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 18px;
    }

    nav a {
        font-size: 13px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }

    .text { 
        width: 100%; 
        order: 2; 
    }

    .photo {
        order: 1; 
    }

    .text h1 { 
        font-size: 45px; 
    }

    .text h2 {
        font-size: 26px;
    }

    .text .sub-title {
        font-size: 17px;
    }

    .hero-buttons { 
        justify-content: center; 
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons button {
        width: 100%;
    }

    .photo img { 
        width: 240px; 
        height: 240px; 
        border-width: 8px;
    }
    
    .about-box {
        padding: 20px;
        margin: 20px;
    }

    .interests {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .grid-container, .grid-container-2 {
        grid-template-columns: 1fr !important; 
        padding: 15px;
    }

    .card-box {
        padding: 20px;
    }

    .strengths-split {
        flex-direction: column;
        gap: 20px;
    }

    .strengths-col {
        width: 100%;
    }
    
    .kontakt-bar {
        flex-direction: column;
        gap: 15px;
        border-radius: 24px;
        padding: 20px;
        margin: 0 15px;
    }

    .portfolio-grid {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .portfolio-card {
        width: 100% !important;
        max-width: 280px;
    }
}