* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(180deg,
            #141e36 0%,
            #040b27 100%);
    margin: 0;
    background-size: cover;
    min-height: 100vh;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 30px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: stretch;
    margin-top: 0;
}

/* Left side */

.left-side {
    width: 250px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right side */

.right-side {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 20px;
    text-align: center;
    justify-content: center;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 10px;
}

/* Header */

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.header-text {
    text-align: center;
    margin-bottom: -15px;
    transition: transform 0.3s ease;
}

.header img {
    width: 250px;
    height: 250px;
    border-radius: 45px;
}

.header h1 {
    color: white;
    margin-top: 5px;
    margin-bottom: 5px;
}

.header p {
    color: white;
    margin-top: 0;
    margin-bottom: 15px;
}

.header .univ {
    text-decoration: none;
    color: #bbbbbb;
}

.header .univ:hover {
    color: rgba(255, 255, 255, 0.8);
}

.contact {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.contact a {
    text-decoration: none;
    color: white;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
}

.contact a i {
    color: white;
    font-size: 30px;
    transition: transform 0.2s ease;
}

.contact a:hover i {
    transform: scale(1.15);
}

/* Sections */

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.card {
    gap: 25px;
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.055);
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.card-header .logo-wrapper {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header .logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-header h3 {
    margin: 0;
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.2px;
}

.logo-wrapper .maribor-logo,
.logo-wrapper .aselsan-logo,
.logo-wrapper .brisa-logo,
.logo-wrapper .ies-logo {
    background-color: white;
    padding: 7.5px;
}

/* Education */

.education {
    color:white;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.education .card {
    margin-bottom: 20px;
}

.education h2 i {
    margin-right: 8px;
    margin-bottom: 5px;
}

.education h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.education h4:nth-of-type(1) {
    color: #e4e4e4;
    margin-top: 5px;
    margin-bottom: 5px;
}

.education h4 {
    color: #bbbbbb;
    margin-top: 5px;
    margin-bottom: 5px;
}

.education .text-wrapper p {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #e3d6f6;
}

/* Experience */

.experience {
    color:white;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.experience .card {
    margin-bottom: 20px;
}

.experience h2 i {
    margin-right: 8px;
}

.experience h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.experience h4:nth-of-type(1) {
    color: #e4e4e4;
    margin-top: 5px;
    margin-bottom: 5px;
}

.experience h4 {
    color: #bbbbbb;
    margin-top: 5px;
    margin-bottom: 5px;
}

.experience .text-wrapper p {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #e3d6f6;
}

/* Activity */

.activity {
    color:white;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity .card {
    margin-bottom: 20px;
}

.activity h2 i {
    margin-right: 8px;
}

.activity h3 {
    margin-top: 5px;
    margin-bottom: 5px;
}

.activity h4 {
    color: #bbbbbb;
    margin-top: 5px;
    margin-bottom: 5px;
}

.activity .text-wrapper p {
    margin-top: 5px;
    margin-bottom: 5px;
    color: #e3d6f6;
}

/* Timeline tasarımı */

.education .section-content,
.experience .section-content,
.activity .section-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.education .section-content::before,
.experience .section-content::before,
.activity .section-content::before {
    content: "";
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: rgba(255, 255, 255, 0.35);
}

.education .section-content .card,
.experience .section-content .card,
.activity .section-content .card {
    position: relative;
    width: calc(50% - 60px);
    margin: 0;
}

.education .section-content .card:nth-child(odd),
.experience .section-content .card:nth-child(odd),
.activity .section-content .card:nth-child(odd) {
    margin-right: auto;
}

.education .section-content .card:nth-child(even),
.experience .section-content .card:nth-child(even),
.activity .section-content .card:nth-child(even) {
    margin-left: auto;
}

.education .section-content .card::after,
.experience .section-content .card::after,
.activity .section-content .card::after {
    content: "";
    position: absolute;
    top: 32px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    z-index: 1;
}

.education .section-content .card:nth-child(odd)::after,
.experience .section-content .card:nth-child(odd)::after,
.activity .section-content .card:nth-child(odd)::after {
    right: -60px;
    width: 60px;
}

.education .section-content .card:nth-child(even)::after,
.experience .section-content .card:nth-child(even)::after,
.activity .section-content .card:nth-child(even)::after {
    left: -60px;
    width: 60px;
}

/* Responsive */
@media (max-width: 1000px) {
    /* çizgiler olmasın */
    .education .section-content::before,
    .experience .section-content::before,
    .activity .section-content::before {
        display: none;
    }

    .education .section-content .card::after,
    .experience .section-content .card::after,
    .activity .section-content .card::after {
        display: none;
    }

    .education .section-content .card::before,
    .experience .section-content .card::before,
    .activity .section-content .card::before {
        display: none;
    }
    
    .education .section-content::before,
    .experience .section-content::before,
    .activity .section-content::before {
        left: 18px;
        transform: none;
    }

    .education .section-content .card,
    .experience .section-content .card,
    .activity .section-content .card {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
    }

    .education .section-content .card::before,
    .experience .section-content .card::before,
    .activity .section-content .card::before {
        left: 18px;
        transform: translateX(-50%);
    }

    .education .section-content .card:nth-child(odd)::after,
    .experience .section-content .card:nth-child(odd)::after,
    .activity .section-content .card:nth-child(odd)::after,
    .education .section-content .card:nth-child(even)::after,
    .experience .section-content .card:nth-child(even)::after,
    .activity .section-content .card:nth-child(even)::after {
        left: 18px;
        width: 18px;
    }

    .education .section-content .card:nth-child(odd),
    .experience .section-content .card:nth-child(odd),
    .activity .section-content .card:nth-child(odd),
    .education .section-content .card:nth-child(even),
    .experience .section-content .card:nth-child(even),
    .activity .section-content .card:nth-child(even) {
        margin: 0;
        padding-left: 34px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
        flex-direction: column;
        gap: 28px;
        align-items: stretch;
    }

    .left-side {
        width: 100%;
        align-items: center;
    }

    .right-side {
        gap: 28px;
    }

    .header img {
        width: 200px;
        height: 200px;
        border-radius: 45px;
    }

    .contact {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .title {
        font-size: 18px;
        padding: 12px;
    }
}