/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;

    overflow-x: hidden;

}

body {
    background-color: #dbd8e3;
    color: #2a2a2a;
    overflow-x: hidden;

}

/* Header & Navbar */
header {
    background: transparent;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1000px;
    padding: 10px 25px;
    background: rgba(92, 84, 112, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
}

.logo-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: white;
}

.cv-button {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 6px 18px !important;
    border-radius: 20px;
}

/* Section Ayarları */
section {
    scroll-margin-top: 100px;

}

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 3.5rem;
    color: #352f44;
    margin-bottom: 15px;
}


.hero-btns,
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background-color: #5c5470;
    color: white;
}

.btn-primary:hover {
    background-color: #352f44;
}

.btn-secondary {
    border: 2px solid #5c5470;
    color: #5c5470;
}

.btn-secondary:hover {
    background-color: #5c5470;
    color: white;
}

.section {
    padding: 80px 0;
    /* Sağ ve sol padding'i sıfırladık, hizalamayı bozuyordu */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}






.site-footer {
    background-color: #2a2438;
    padding: 40px 0 20px 0;
    color: #dbd8e3;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

.footer-name {
    font-size: 1.2rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.footer-info p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a {
    color: #dbd8e3;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 0.6;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}






/* --- CV Dropdown Tasarımı (Güncellenmiş) --- */

/* Konumlandırma */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Açılır Menü Tasarımı */
.dropdown-menu {
    display: none;
    /* Varsayılan gizli */
    position: absolute;
    top: calc(100% + 8px);
    /* Butonun hemen altına */
    left: 50%;
    transform: translateX(-50%);

    /* Modern Overlay Görünümü */
    background: rgba(92, 84, 112, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* Şık Tasarım Hattı */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    /* Ana butonla uyumlu tam yuvarlak */
    padding: 5px 12px;
    list-style: none;

    /* Yerleşim */
    flex-direction: row;
    gap: 8px;
    justify-content: center;
    align-items: center;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    transition: all 0.3s ease;
}

/* Masaüstü Hover Etkisi */
.dropdown:hover .dropdown-menu {
    display: flex;
}

/* TR ve EN Seçenekleri */
.dropdown-menu li a {
    color: white !important;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    /* Yuvarlak seçim alanları */
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

/* Hover'da Renk Değişimi */
.dropdown-menu li a:hover {
    background: var(--pink-accent, #b55d7e);
    /* Senin pembe vurgu rengin */
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(181, 93, 126, 0.4);
}

/* Küçük Ok İşareti (Modern ve Şık) */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(92, 84, 112, 0.9);
}

/* --- Mobil Uyum Düzeltmesi --- */
@media (max-width: 768px) {
    .dropdown-menu {
        position: relative;
        top: 5px;
        left: 0;
        transform: none;
        margin: 5px auto;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        /* Menü içinde daha hafif */
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-menu.show-mobile-dropdown {
        display: flex !important;
    }

    .dropdown-menu::before {
        display: none;
    }
}

/* Hamburger Menu (Gizli, sadece mobilde görünür) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobil için */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 5%;
        right: 5%;
        background: rgba(92, 84, 112, 0.98);
        flex-direction: column;
        gap: 0;
        /* Masaüstünden gelen 30px boşluğu iptal ettik */
        padding: 15px 0 25px 0;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: 0.4s ease-in-out;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 1rem;
    }

    .nav-links .cv-button {
        display: inline-block;
        margin-top: 5px;
        margin-bottom: 10px;
        background-color: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        padding: 10px 30px !important;
        border-radius: 25px;
        width: auto;
    }

    .nav-links .cv-button:hover,
    .nav-links .cv-button:active {
        background-color: white;
        color: #5c5470 !important;
    }

    /* Mobil Dropdown Tasarımı */
    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: max-content;
        margin: 10px auto 0 auto;
        padding: 10px 15px;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.15);
        /* Menü içinde belirgin bir kutu */
    }

    .dropdown-menu li {
        width: auto !important;
        margin: 0 !important;
    }

    .dropdown-menu::before {
        display: none;
        /* Küçük oku mobilde gizle */
    }

    .dropdown-menu.show-mobile-dropdown {
        display: flex !important;
        flex-direction: row;
        gap: 10px;
        justify-content: center;
    }

    /* Hamburger açıkken X şeklini alması */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section h1 {
        font-size: 2.0rem;
    }

    .pixel-greeting {
        font-size: 1.2rem;
        line-height: 1.5;
    }

    .hero-actions {
        flex-wrap: nowrap;
        /* Butonların alt alta geçmesini engeller */
        gap: 10px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        padding: 10px 15px;
        /* Mobilde yan yana sığabilmeleri için küçülttük */
        font-size: 0.85rem;
        white-space: nowrap;
    }
}



/* Taslak Renk Paleti */
:root {
    --bg-color: #dbd8e3;
    --primary-purple: #5c5470;
    --dark-purple: #352f44;
    --pink-accent: #b55d7e;
    /* Taslağındaki pembe buton rengi */
}

/* Hero Split Layout */
.hero-split-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 150px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 90%;
}

.hero-text-content {
    flex: 1;
    text-align: left;
    position: relative;
    padding: 20px 0 20px 10px;
}

.hero-text-content::before {
    content: "";
    position: absolute;
    top: 25px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: rgba(181, 93, 126, 0.18);
    border-radius: 50%;
    filter: blur(30px);
    z-index: -1;
}

.hero-text-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 620px;
    position: relative;
}

.hero-text-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -18px;
    width: 6px;
    height: calc(100% + 10px);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(181, 93, 126, 0.95), rgba(92, 84, 112, 0.95));
    opacity: 0.8;
}

.hero-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(92, 84, 112, 0.12);
    color: #53446d;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pixel-greeting {
    font-family: 'Press Start 2P', cursive;
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 14px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.highlight-name {
    color: var(--pink-accent);
    display: inline-block;
    white-space: nowrap;
}

.hero-description {
    color: #5a4b66;
    font-size: 0.94rem;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: 'Press Start 2P', cursive;
    color: var(--dark-purple);
    font-size: 1rem;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.hero-interactive-content {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.interactive-area {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    /* Terminal ile karakter arasına daha fazla boşluk */
}

.main-pixel-img {
    width: 190px;
    image-rendering: pixelated;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    right: 40px;
    /* Karakteri sola kaydırdık */
}

.main-pixel-img:hover {
    transform: scale(1.05);
}

.floating-animation {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Düşünce Balonu */
.thought-bubble-box {
    background: white;
    border: 4px solid var(--dark-purple);
    padding: 15px 20px;
    border-radius: 0;
    /* Piksel tarzı için köşeli */
    position: absolute;
    bottom: 50%;
    /* Balonu karakterin yanına, daha aşağı indirdik */
    left: 85%;
    width: max-content;
    max-width: 280px;
    box-shadow: 6px 6px 0px var(--dark-purple);
    cursor: pointer;
    text-align: center;
    animation: floating-bubble 4s ease-in-out infinite;
    z-index: 5;
}

@keyframes floating-bubble {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

.thought-bubble-box::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 15%;
    /* Ok karakterin kafasına doğru baksın */
    border-width: 15px 15px 0 0;
    border-style: solid;
    border-color: var(--dark-purple) transparent transparent transparent;
}

.thought-bubble-box p {
    font-family: 'Press Start 2P', cursive;
    color: var(--primary-purple);
    font-size: 0.75rem;
    /* Piksel font */
    margin-bottom: 10px;
    line-height: 1.6;
}

.pixel-click-btn {
    background-color: var(--pink-accent);
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.65rem;
    padding: 8px 15px;
    border: 2px solid var(--dark-purple);
    box-shadow: 4px 4px 0px var(--dark-purple);
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.1s ease;
    display: inline-block;
    margin-top: 5px;
}

.pixel-click-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--dark-purple);
    background-color: #c9658b;
    /* Lighter pink on hover */
}

.pixel-click-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--dark-purple);
}

/* Terminal / Console Card */
.terminal-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    width: 350px;
    /* Sightly smaller to fit side-by-side */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
    border: 1px solid #333;
    overflow: hidden;
    margin-left: 20px;
    /* Space between character and terminal */
    transform: translateY(-15px);
    /* Terminali biraz daha yukarı taşıdık */
}

/* JS ile 'hidden' kaldırıldığında çalışacak giriş animasyonu */
.terminal-card:not(.hidden) {
    animation: pixel-pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes pixel-pop {
    0% {
        transform: scale(0.5) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(-15px);
        opacity: 1;
    }
}

.terminal-header {
    background-color: #333;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #111;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.btn-red,
.btn-yellow,
.btn-green {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn-red {
    background-color: #ff5f56;
    cursor: pointer;
}

.btn-yellow {
    background-color: #ffbd2e;
}

.btn-green {
    background-color: #27c93f;
}

.terminal-title {
    color: #ccc;
    font-family: monospace;
    font-size: 0.85rem;
    flex: 1;
    text-align: center;
}

.terminal-body {
    padding: 20px;
    color: #00ff00;
    /* Hacker green */
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.prompt {
    color: #fff;
    margin-right: 5px;
}

.cursor-blink {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #00ff00;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hidden {
    display: none !important;
}

/* Mobil Uyum için ek kurallar */
@media (max-width: 768px) {
    .hero-split-layout {
        flex-direction: column;
        padding-top: 100px;
        text-align: center;
        gap: 150px;
        /* Balonun butonlara değmemesi için boşluğu iyice artırdık */
    }

    .hero-text-content {
        text-align: center;
        margin-bottom: 10px;
    }

    .hero-actions {
        justify-content: center;
    }

    .pixel-greeting {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }

    .interactive-area {
        flex-direction: row;
        /* Mobilde de yan yana olsun */
        align-items: center;
        justify-content: center;
        gap: 10px;
        /* Boşluğu azalttık */
    }

    .main-pixel-img {
        width: 110px;
        position: relative;
        right: 15px;
        /* Karakteri biraz sağa aldık ki ekranın dışına taşmasın */
    }

    .terminal-card {
        width: 210px;
        max-width: none;
        margin-left: 0;
        margin-bottom: 0;
        transform: translateY(-5px);
    }

    .terminal-body {
        padding: 10px;
        font-size: 0.6rem;
        /* Yazılar küçültüldü */
    }

    .terminal-title {
        font-size: 0.6rem;
    }

    .btn-red,
    .btn-yellow,
    .btn-green {
        width: 8px;
        height: 8px;
    }

    .thought-bubble-box {
        position: absolute;
        bottom: 115%;
        /* Balonu tamamen karakterin üstüne aldık, değmesini engelledik */
        left: 0;
        right: 0;
        margin: 0 auto;
        /* Tam ortaya sabitle */
        width: 180px;
        max-width: none;
        padding: 8px 10px;
    }

    .thought-bubble-box p {
        font-size: 0.55rem;
    }

    .thought-bubble-box::after {
        left: 0;
        right: 0;
        margin: 0 auto;
        /* Oku tam ortaya sabitle */
        width: 0;
        border-width: 10px 10px 0 10px;
        /* Tam aşağı bakan üçgen */
        border-color: var(--dark-purple) transparent transparent transparent;
    }

    .pixel-click-btn {
        font-size: 0.5rem;
        padding: 5px 10px;
    }
}









/* İletişim Formu */
.contact-section {
    padding: 20px 0 60px 0;

    display: flex;
    justify-content: center;
}

.contact-container {
    width: 90%;
    max-width: 900px;
    /* Formun çok yayılmaması ama geniş durması için ideal */
    text-align: center;
}

.contact-intro {
    color: #5c5470;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

/* Geniş Form Kutusu */
.contact-box-large {
    background: white;
    border: 3px solid #352f44;
    padding: 30px;
    border-radius: 40px;
    box-shadow: 15px 15px 0px rgba(92, 84, 112, 0.2);
}

.input-row {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
}

.field-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-bottom: 15px;
}

.field-group label {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    margin-bottom: 10px;
    color: #352f44;
}

.field-group input,
.field-group textarea {
    padding: 12px;
    border: 2px solid #5c5470;
    border-radius: 12px;
    background: #fdfdfd;
    font-family: inherit;
    font-size: 1rem;
    resize: none;
}

/* Alt Kısım: Buton ve İkonlar */
.contact-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.pixel-send-btn {
    padding: 12px 60px;
    background: #5c5470;
    color: white;
    border: none;
    border-radius: 15px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 5px 5px 0px #352f44;
    transition: 0.3s;
    /*align-items: center;*/
}

.pixel-send-btn:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px #352f44;
}

/* Footer Genel Alanı */
.site-footer {
    background-color: #2a2438;
    /* Görseldeki koyu arka plan */
    padding: 60px 0 20px 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Esnek Konteyner */
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

/* Sol Taraf Bilgiler */
.footer-info {
    flex: 1;
    text-align: left;
}

.footer-name {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #dbd8e3;
    opacity: 0.9;
}

/* Dikey Ayırıcı Çizgi */
.footer-divider {
    width: 2px;
    height: 100px;
    /* Bilgilerin yüksekliğine göre ayarlanabilir */
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 60px;
}

/* Sağ Taraf İkonlar */
.footer-social {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Senin Hazırladığın Sosyal Yuvarlaklar */
.social-links-circle {
    display: flex;
    gap: 20px;
}

.circle-btn {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid #5c5470;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.circle-btn img {
    width: 28px;
    height: 28px;
}

.circle-btn:hover {
    background: #5c5470;
    transform: translateY(-5px);
}

.circle-btn:hover img {
    filter: brightness(0) invert(1);
}

/* En Alt Bant */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #7f7f7f;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-divider {
        width: 100px;
        height: 2px;
        margin: 30px auto;
    }

    .footer-social {
        justify-content: center;
    }
}

/* İletişim Başlık Grubu */
.section-header {
    text-align: left;
    /* Başlığı sola yaslar */
    margin-bottom: 30px;
    width: 100%;
    /* Çizginin yayılması için genişliği sabitler */
}

.pixel-section-title {
    font-family: 'Press Start 2P', cursive;
    /* Piksel fontu */
    font-size: 1.5rem;
    color: #352f44;
    margin-bottom: 15px;
    display: inline-block;
    /* Çizginin başlığa göre hizada kalması için */
}

/* Alt Çizgi Tasarımı */
.pixel-line {
    width: 100%;
    /* Çizgiyi tüm genişliğe yayar */
    height: 4px;
    background-color: #352f44;
    /* Başlık ile aynı renk */
    position: relative;
}


.pixel-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    width: 10px;
    height: 4px;
    background-color: rgba(53, 47, 68, 0.3);
    /* Hafif gölgeli bir bitiş */
}

/* Mobil için */
@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
    }

    .contact-footer {
        flex-direction: column;
        gap: 30px;
    }

    .contact-box-large {
        padding: 30px;
    }
}

/*İletişim Formu Sonu */

/* --- Beceriler ve 4'lü Grid Tasarımı --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.skill-card {
    background: white;
    border: 3px solid var(--dark-purple, #352f44);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 8px 8px 0px var(--dark-purple, #352f44);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.skill-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0px var(--dark-purple, #352f44);
}

.skill-card-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: var(--primary-purple, #5c5470);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px dashed #dbd8e3;
    padding-bottom: 10px;
    line-height: 1.4;
}

/* Teknik Yetkinlikler (Badges) */
.skill-group {
    margin-bottom: 15px;
}

.skill-group h4 {
    font-size: 0.85rem;
    color: #352f44;
    margin-bottom: 8px;
    font-weight: 600;
}

.category-subtitle {
    font-size: 0.85rem;
    color: #352f44;
    margin-bottom: 8px;
    font-weight: 600;
}

.skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-badge {
    background: #e8e6ed;
    color: #5c5470;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #5c5470;
}

/* Listeler (Soft Skills, Hobbies) */
.pixel-list {
    list-style: none;
    padding: 0;
}

.pixel-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #5c5470;
    line-height: 1.4;
}

.pixel-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 18C4 18 4 11 12 11V15L20 9L12 3V7C5.5 7 4 18 4 18Z' fill='%23b55d7e'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(1px 1px 0px #352f44);
    /* Retro gölge */
}

/* Diller (Progress Bars) */
.language-item {
    margin-bottom: 15px;
}

.lang-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #352f44;
    font-weight: 600;
}

.lang-level {
    color: #5c5470;
    font-size: 0.8rem;
    font-weight: normal;
}

.pixel-progress-bar {
    width: 100%;
    height: 16px;
    background-color: #e8e6ed;
    border: 2px solid #352f44;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background-color: var(--pink-accent, #b55d7e);
    border-right: 2px solid #352f44;
}

/* --- Sertifikalar Listesi --- */
.certificates-list {
    display: grid;
    /* Kartların aşırı büyümesini 380px ile sınırladık */
    grid-template-columns: repeat(auto-fit, minmax(300px, 380px));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
    justify-content: center;
    /* Kartları ortalar */
}

/* --- Sertifika Kartı Tasarımı --- */
.cert-card {
    background: white;
    border: 3px solid #352f44;
    border-radius: 20px;
    box-shadow: 8px 8px 0px #352f44;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    min-height: 420px;
    /* Dikey formun korunması için */
}

.cert-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0px #352f44;
}

.cert-image {
    width: 100%;
    height: 180px;
    background-color: #e8e6ed;
    border-bottom: 3px solid #352f44;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    position: relative;
    padding-bottom: 45px;
}

.cert-title {
    font-size: 0.95rem;
    color: #5c5470;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.cert-institution {
    font-size: 0.85rem;
    color: #888;
}

.cert-date {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    color: #b55d7e;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

.cert-image {
    width: 100%;
    /* Yüksekliği 180px'den 240px'e çıkarıyoruz ki A4 yatay form sığsın */
    height: 240px !important;
    background-color: #ffffff;
    /* Kenarlarda boşluk kalırsa beyaz görünsün */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid #352f44;
}

.cert-image img {
    /* Resmin hiçbir yerini kesmeden kutunun içine hapseder */
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    /* Resmin kenarlara çok yapışmaması için küçük bir boşluk */
    padding: 10px;
}

/* --- Gizli Alan ve JS Etkileşimi --- */
.hidden {
    display: none !important;
}

.is-visible {
    display: contents !important;
    /* Kartların ana grid'e girmesini sağlar */
}

/* --- +5 Kartı Özelleştirme --- */
.more-card {
    background: #5c5470 !important;
    color: white;
    justify-content: center;
    align-items: center;
}

.more-card:hover {
    background: #8f7092 !important;
}

.more-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.more-number {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    color: #b55d7e;
    margin-bottom: 15px;
}

.more-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    line-height: 1.5;
    color: white;
}

/* --- Mobil Uyumluluk --- */
@media (max-width: 768px) {
    .certificates-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }

    .cert-card {
        min-height: auto;
        /* Mobilde içerik kadar uzasın */
    }
}

/* --- Projeler Tasarımı --- */
.project-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.project-card {
    background: white;
    border: 3px solid var(--dark-purple, #352f44);
    border-radius: 20px;
    box-shadow: 8px 8px 0px var(--dark-purple, #352f44);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: default;
    /* Kartın tamamı değil, sadece buton tıklanabilir olsun */
}

.project-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0px var(--dark-purple, #352f44);
}

.project-image {
    width: 100%;
    height: 180px;
    background-color: #e8e6ed;
    border-bottom: 3px solid var(--dark-purple, #352f44);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
    position: relative;
    padding-bottom: 50px;
    /* Buton ve tarih için alt boşluk artırıldı */
}

.project-title {
    font-family: 'Press Start 2P', cursive;
    /* Başlığı piksel fontu yaptık */
    font-size: 0.75rem;
    color: var(--dark-purple, #352f44);
    margin-bottom: 12px;
    font-weight: normal;
    line-height: 1.6;
    text-align: center;
}

.project-desc {
    font-size: 0.85rem;
    color: var(--primary-purple, #5c5470);
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.project-footer {
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    /* Tarih solda, buton sağda */
    align-items: center;
}

.project-date {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.55rem;
    color: var(--pink-accent, #b55d7e);
}

/* GitHub Buton Tasarımı */
.github-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark-purple, #352f44);
    color: white !important;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.5rem;
    text-decoration: none;
    transition: background 0.3s ease;
}

.github-link img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    /* İkonu beyaz yapar */
}

.github-link:hover {
    background: var(--primary-purple, #5c5470);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .project-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .skills-grid,
    .project-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}







.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 düzeni için */
    gap: 25px;
    margin-top: 40px;
}

.about-card {
    background: white;
    border: 3px solid var(--dark-purple, #352f44);
    border-radius: 20px;
    padding: 25px;
    text-align: left;
    box-shadow: 8px 8px 0px var(--dark-purple, #352f44);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: default;
}

.about-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 11px 11px 0px var(--dark-purple, #352f44);
}

.about-card-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-card-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: var(--dark-purple, #352f44);
    margin-bottom: 15px;
}

.about-card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--primary-purple, #5c5470);
    margin: 0;
    text-align: justify;
}

.about-card strong {
    color: var(--dark-purple, #352f44);
    border-bottom: 2px solid var(--pink-accent, #b55d7e);
}

/* Mevcut .project-card ve .about-card yapılarına eklenebilir */
.about-card,
.project-card {
    background: rgba(255, 255, 255, 0.8) !important;
    /* Hafif şeffaflık */
    backdrop-filter: blur(8px);
    /* Modern overlay dokunuşu */
    border: 3px solid #352f44;
}

/* Mobil için tek sütun */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}








/* Pop-up Arka Planı */
.pixel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

/* Mesaj Kutusu */
.modal-content {
    background: white;
    border: 4px solid #352f44;
    padding: 30px;
    max-width: 400px;
    text-align: center;
    box-shadow: 10px 10px 0px #352f44;
    border-radius: 0;
    /* Retro tarzı için köşeli */
}

.modal-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #b55d7e;
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 0.9rem;
    color: #5c5470;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Kapatma Butonu */
.pixel-close-btn {
    background: #5c5470;
    color: white;
    border: none;
    padding: 10px 25px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    cursor: pointer;
    box-shadow: 4px 4px 0px #352f44;
}

.pixel-close-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #352f44;
}



/* --- Arka Plan Baloncukları  --- */

.falling-bubbles-background {
    position: fixed;
    /* Ekranda sabit kalsın, sayfa kaysa da aksın */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    /* Diğer tüm içeriğin (header, section vb.) arkasında kalsın */
    pointer-events: none;
    /* Mouse ile etkileşime girmesin, tıklamaları engellemesin */
    overflow: hidden;
}

/* Temel Baloncuk Tasarımı */
.bubble {
    position: absolute;
    /* Başlangıç konumu ekranın tamamen dışı */
    top: -100px;

    /* Mor/Pembe Tonu ve Piksel Kenarlık */
    background: rgba(181, 93, 126, 0.2);
    /* Çok şeffaf pembe */
    border: 3px solid #352f44;
    /* Koyu piksel kenarlık */
    border-radius: 50%;
    /* JS ile tam kare piksel yapılabilir, ama bu da uyar */

    /* İç Parlama Noktası Effect'i */
    box-shadow:
        inset 5px 5px 0px rgba(255, 255, 255, 0.4),
        /* Sol üst parlama */
        inset -3px -3px 0px rgba(0, 0, 0, 0.1);
    /* Sağ alt gölge */

    /* Süzülme Animasyonu */
    animation: fall linear infinite;
    image-rendering: pixelated;
    /* Kenarların keskin kalması için */
}

/* Balonların Üzerindeki Küçük Parlama Karesi */
.bubble::after {
    content: "";
    position: absolute;
    top: 15%;
    left: 15%;
    width: 20%;
    height: 20%;
    background: rgba(255, 255, 255, 0.6);
    opacity: 0.7;
}

/* --- Düşme ve Salınım Animasyonu (Keyframes) --- */
@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    /* Hafif sağa-sola salınım ve dönme ekleyelim */
    25% {
        transform: translateY(25vh) translateX(20px) rotate(15deg);
    }

    50% {
        transform: translateY(50vh) translateX(-20px) rotate(-15deg);
    }

    75% {
        transform: translateY(75vh) translateX(15px) rotate(10deg);
    }

    100% {
        transform: translateY(110vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
}

/* --- Farklı Boyutlar ve Gecikmeler  --- */
/* Balon 1: En Büyük */
.bubble:nth-child(1) {
    width: 65px;
    height: 65px;
    left: 10%;
    animation-duration: 12s;
}

/* Balon 2: En Küçük */
.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 30%;
    animation-duration: 7s;
    animation-delay: 2s;
}

/* Balon 3: Orta-Büyük */
.bubble:nth-child(3) {
    width: 55px;
    height: 55px;
    left: 55%;
    animation-duration: 14s;
    animation-delay: 4s;
}

/* Balon 4: Orta */
.bubble:nth-child(4) {
    width: 35px;
    height: 35px;
    left: 75%;
    animation-duration: 9s;
    animation-delay: 1s;
}

/* Balon 5: Orta-Büyük */
.bubble:nth-child(5) {
    width: 50px;
    height: 50px;
    left: 85%;
    animation-duration: 11s;
    animation-delay: 5s;
}

/* Balon 6: Küçük */
.bubble:nth-child(6) {
    width: 25px;
    height: 25px;
    left: 92%;
    animation-duration: 8s;
    animation-delay: 3s;
}

/* Balon 7: Orta-Küçük */
.bubble:nth-child(7) {
    width: 30px;
    height: 30px;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 6s;
}

/* Balon 8: Büyük */
.bubble:nth-child(8) {
    width: 60px;
    height: 60px;
    left: 45%;
    animation-duration: 13s;
    animation-delay: 7s;
}

/* Balon 9 */
.bubble:nth-child(9) {
    width: 45px;
    height: 45px;
    left: 5%;
    animation-duration: 10s;
    animation-delay: 3s;
}

/* Balon 10 */
.bubble:nth-child(10) {
    width: 22px;
    height: 22px;
    left: 40%;
    animation-duration: 8s;
    animation-delay: 8s;
}

/* Balon 11 */
.bubble:nth-child(11) {
    width: 52px;
    height: 52px;
    left: 65%;
    animation-duration: 16s;
    animation-delay: 2s;
}

/* Balon 12 */
.bubble:nth-child(12) {
    width: 28px;
    height: 28px;
    left: 88%;
    animation-duration: 11s;
    animation-delay: 5.5s;
}


.bubble {
    background: rgba(181, 93, 126, 0.15);
    /* Opaklığı %20'den %15'e çektim */
}




#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* #baafd6 rengi sayfanın %75'ine kadar baskın gelir, sonra #352f44'e yumuşakça geçer */
    background: linear-gradient(to bottom, #baafd6 0%, #baafd6 75%, #352f44 100%);
}