/* GENEL DEĞİŞKENLER VE TEMEL AYARLAR */
:root {
    --primary-color: #091540;
    --secondary-color: #3546f0;
    --accent-color: #b527cf;
    --bg-light: #f8f7f9;
    --text-white: #ffffff;
    --text-dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

/* NAVBAR STİLLERİ */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    background: rgba(9, 21, 64, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    right: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.hamburger-lines {
    display: none;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 22px;
    right: 20px;
    z-index: 2;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.4s ease-in-out;
}

.menu-items {
    display: flex;
    list-style: none;
    align-items: center;
}

.menu-items li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.menu-items li a:hover {
    color: var(--accent-color);
}

/* HEADER & PROFILE */
#header {
    position: relative;
    height: 60vh;
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(9, 21, 64, 0.7), rgba(9, 21, 64, 0.7)), url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2070');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.header-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

#header .profile-img {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, #a5fecb, #20bdff, #5433ff) border-box;
    border: 5px solid transparent;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    z-index: 10;
}

/* HAKKIMDA SECTION */
#about {
    padding: 130px 0 60px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 10px;
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    max-width: 950px;
    margin: 0 auto;
}

/* UZMANLIK ALANLARI (Cards) */
#expertise {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.card {
    position: relative;
    height: 380px;
    border-radius: 15px;
    padding: 30px;
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
    z-index: 1;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.88;
}

.card-1::before { background: linear-gradient(135deg, #b527cf 0%, #3546f0 100%); }
.card-2::before { background: linear-gradient(135deg, #3bd9d9 0%, #8035f0 100%); }
.card-3::before { background: linear-gradient(135deg, #ff9500 0%, #d5cb0f 100%); }

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card h2 { margin-bottom: 12px; font-size: 1.6rem; }
.card p { font-size: 0.95rem; line-height: 1.6; opacity: 0.95; margin-bottom: 20px; }
.card h4 { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 700; border-top: 1px solid rgba(255,255,255,0.3); padding-top: 15px; }

/* ÖZGEÇMİŞ & YETENEKLER */
#resume {
    padding: 80px 0;
    background: white;
}

.resume-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.resume-column-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.resume-item {
    margin-bottom: 35px;
    padding-left: 25px;
    border-left: 3px solid var(--secondary-color);
    position: relative;
}

.resume-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.resume-item h3 { color: var(--primary-color); margin-bottom: 5px; font-size: 1.2rem; }
.resume-item .company { display: block; color: var(--secondary-color); font-weight: 600; margin-bottom: 5px; }
.resume-item .date { display: block; color: #888; margin-bottom: 12px; font-size: 0.85rem; }
.resume-item ul { padding-left: 18px; color: #555; font-size: 0.95rem; }
.resume-item ul li { margin-bottom: 6px; }

/* YETENEK ETİKETLERİ */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.skill-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.skill-tag:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(53, 70, 240, 0.2);
}
.skill-tag i {
    font-size: 1rem;
    opacity: 0.8;
}

/* SERTİFİKALAR */
.cert-list { list-style: none; }
.cert-list li {
    padding: 12px;
    background: var(--bg-light);
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    transition: transform 0.2s;
}
.cert-list li:hover { transform: translateX(5px); background: #f0f0f5; }
.cert-list i { color: #f39c12; }

.cert-badge {
    width: 50px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.contact-item { display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.contact-item i { color: var(--accent-color); font-size: 1.2rem; }

.social-links { margin-bottom: 25px; }
.social-links a {
    color: white;
    font-size: 1.6rem;
    margin: 0 15px;
    transition: all 0.3s;
    display: inline-block;
}
.social-links a:hover { color: var(--accent-color); transform: translateY(-3px); }

/* MOBİL UYUMLULUK */
@media (max-width: 992px) {
    .resume-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger-lines { display: flex; }
    .menu-items {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        flex-direction: column;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.5s ease-in-out;
    }
    .nav-container input[type="checkbox"]:checked ~ .menu-items { transform: translateX(0); }
    .header-content h1 { font-size: 2.2rem; }
    #header .profile-img { width: 140px; height: 140px; bottom: -70px; }
    #about { padding-top: 100px; }
}