/* style.css - Mehmet Portfolio */

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

body {
    background-color: #0d0d0d;
    color: #e0e0e0;
    font-family: 'Courier New', monospace;
    line-height: 1.8;
    padding: 2rem 1rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    max-width: 720px;
    width: 100%;
    background: #141414;
    padding: 2.5rem 2rem;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.8);
}

section {
    margin-bottom: 2.2rem;
    border-bottom: 1px dashed #282828;
    padding-bottom: 1.8rem;
}

section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

h2 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b0b0b0;
    margin-bottom: 0.8rem;
    border-left: 3px solid #4a4a4a;
    padding-left: 0.8rem;
}

h3 {
    font-size: 1rem;
    font-weight: 400;
    color: #d0d0d0;
    margin-top: 0.6rem;
    margin-bottom: 0.2rem;
}

p {
    color: #c8c8c8;
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.2rem;
    margin: 0.6rem 0 1rem 0;
}

ul li {
    font-size: 0.85rem;
    background: #1e1e1e;
    padding: 0.15rem 0.8rem;
    border-radius: 20px;
    border: 1px solid #2e2e2e;
    color: #d4d4d4;
    letter-spacing: 0.5px;
}

a {
    color: #9ac7d4;
    text-decoration: none;
    border-bottom: 1px dotted #3a5a5a;
    transition: color 0.2s, border-color 0.2s;
    font-size: 0.95rem;
}

a:hover {
    color: #c0e0e8;
    border-bottom-color: #7aaab8;
}

.email {
    display: inline-block;
    margin-top: 0.3rem;
    color: #b0b0b0;
    border-bottom: 1px dashed #3a3a3a;
}

.email:hover {
    color: #d4d4d4;
    border-bottom-color: #6a6a6a;
}

#type {
    font-size: 1.5rem;
    font-weight: 300;
    color: #e8e8e8;
    border-right: 2px solid #5a5a5a;
    padding-right: 0.3rem;
    display: inline-block;
    min-height: 2.8rem;
    letter-spacing: 1px;
    animation: blink 0.9s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #222;
    font-size: 0.75rem;
    color: #606060;
    text-align: center;
    letter-spacing: 0.3px;
    line-height: 2;
}

footer br {
    display: none;
}

footer::after {
    content: " ☕";
    color: #3a3a3a;
    margin-left: 0.3rem;
}

@media (max-width: 480px) {
    main {
        padding: 1.5rem 1rem;
    }
    #type {
        font-size: 1.2rem;
        min-height: 2.2rem;
    }
    ul {
        gap: 0.4rem 0.8rem;
    }
    ul li {
        font-size: 0.8rem;
    }
}
