@font-face {
    font-family: acedigate;
    src: url('../fonts/acedigate.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --tabbar-h: 52px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

hr {
    height: 2px;
    border: none;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 2px;
    margin: 20px 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow-x: hidden;
    letter-spacing: -0.005em;
}

.profile-pp {
    border-radius: 50%;
    display: block;
}

/* ========== LOGO ========== */
.logo {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    overflow: hidden;
}

.logo::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.6), rgba(102, 126, 234, 0.6));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.logo:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 12px 32px rgba(78, 205, 196, 0.25),
        0 0 0 4px rgba(78, 205, 196, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.logo:hover::before { opacity: 1; }

.logo:active {
    transform: translateY(0) scale(0.98);
    transition-duration: 0.1s;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}
.logo:hover img { transform: rotate(-4deg); }

/* Mobilde biraz daha kucuk */
@media (max-width: 600px) {
    .logo {
        width: 48px;
        height: 48px;
        top: 14px;
        left: 14px;
        border-radius: 15px;
        padding: 6px;
    }
}

/* ========== SIDEBAR ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100dvh;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.97) 0%, rgba(118, 75, 162, 0.97) 100%);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.sidebar-user-avatar {
    flex-shrink: 0;
    display: block;
    line-height: 0;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}
.sidebar-user-avatar:hover { transform: scale(1.05); }
.sidebar-user-avatar .profile-pp {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.sidebar-user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.sidebar-username {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    min-width: 0;
}

.sidebar-username > :first-child:not(.sidebar-verified) {
    /* Username text node için ellipsis (ikon var ise textNode'a class atayamayız,
       o yüzden parent'ta overflow yok; ikon flex-shrink:0 ile sığar) */
}

.sidebar-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    /* Beyaz halka gölge: koyu arkaplanlarda da görünsün */
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.65))
            drop-shadow(0 0 4px rgba(255,255,255,0.30));
}
.sidebar-verified svg {
    display: block;
    width: 100%;
    height: 100%;
}

.sidebar-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}
.sidebar-edit-btn i {
    font-size: 0.65rem;
    opacity: 0.85;
}
.sidebar-edit-btn:hover {
    color: #fff;
    transform: translateX(2px);
}

.sidebar-user-meta {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.1;
}

.sidebar .close-btn {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 300;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    /* &times; karakteri optik olarak hafif yukari kaymis goruntu verir, kucuk bir nudge ile ortalariz */
    padding-bottom: 3px;
    transition: background 0.3s ease, transform 0.3s ease;
    user-select: none;
}
.sidebar .close-btn:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: rotate(90deg);
}

/* ========== SIDEBAR TABS (Dikey Slider Göstergeleri) ========== */
.sidebar-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.sidebar-tab {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sidebar-tab:hover {
    background: rgba(255, 255, 255, 0.65);
    transform: scale(1.2);
}

.sidebar-tab.active {
    background: #4ecdc4;
    height: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.6);
}

/* ========== SIDEBAR PANELS (Dikey Slider) ========== */
.sidebar-panels-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.sidebar-panels-track {
    display: flex;
    flex-direction: column;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.sidebar-panel {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 100%;
    /* Yükseklik JS tarafından atanır */
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateX(10px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ========== SIDEBAR MENU ========== */
.sidebar-menu {
    list-style: none;
    padding: 0.8rem 0;
    margin: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

/* Menu icin ince scrollbar */
.sidebar-menu::-webkit-scrollbar { width: 4px; }
.sidebar-menu::-webkit-scrollbar-track { background: transparent; }
.sidebar-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.18); border-radius: 4px; }
.sidebar-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

.sidebar-menu li {
    margin-bottom: 0.2rem;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.sidebar-menu li a i {
    width: 18px;
    text-align: center;
    opacity: 0.8;
    font-size: 0.95rem;
}

.sidebar-menu li a:hover {
    background: rgba(255, 255, 255, 0.13);
    border-left-color: #4ecdc4;
    padding-left: 2.2rem;
}

/* Sidebar auth buttons */
.sidebar-auth {
    padding: 1rem 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border: none;
    padding: 0.85rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.sidebar-btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.5);
}

.sidebar-btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* Sidebar overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Scrollbar styling for sidebar */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }

/* Responsive sidebar */
@media (max-width: 768px) {
    .sidebar { width: 280px; left: -280px; }
}
@media (max-width: 480px) {
    .sidebar { width: 100%; left: -100%; }
}

/* ========== FOOTER ========== */
.footer {
    background-color: #000011;
    position: relative;
    width: 100%;
    text-align: center;
    color: #f1f1f1;
    padding: 2rem 0 1.5rem;
}

.footer .sign {
    font-family: acedigate;
    padding-top: 15px;
}

.footer .sign a {
    color: #fff;
    text-decoration: none;
}

/* ========== HERO SECTION ========== */
.hero-section {
    /* Hero + alttaki tab bar birlikte tam viewport yuksekligini kaplasin */
    min-height: calc(100dvh - var(--tabbar-h, 52px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    font-size: .9rem;
}

.container {
    text-align: center;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
    backdrop-filter: blur(15px);
    border-radius: 25px;
    animation: fadeInUp 0.8s ease;
    position: relative;
}

/* Edit profil button */
.edit-profil {
    user-select: none;
    position: absolute;
    top: 15px;
    left: 20px;
    cursor: pointer;
    font-size: 1.3rem;
    color: #f1f1f1;
    opacity: .65;
    transition: opacity 0.2s;
}

.edit-profil:hover { opacity: 1; }

.edit-profil a {
    color: #f1f1f1;
    text-decoration: none;
}

/* Profile avatar */
.profile-avatar {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: bold;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 0 4px rgba(255,255,255,0.08), 0 0 30px rgba(78,205,196,0.25), 0 0 60px rgba(78,205,196,0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    /* Yumuşak kenar efekti */
    outline: none;
    position: relative;
}

.profile-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.10), 0 0 40px rgba(78,205,196,0.20);
    pointer-events: none;
}

.profile-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* ========== PROFILE NAME + VERIFIED BADGE (INLINE) ========== */
.profile-name-row {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 0.2rem;
    padding: 0;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0;
    line-height: 1.2;
    display: inline-block;
    position: relative;
}

/* Verified badge ad-soyad'in ortalanmasini bozmasin diye absolute */
.verified-badge {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 6px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
    /* Beyaz hafif gölge: koyu/siyah arkaplanlarda da görünsün */
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.55))
            drop-shadow(0 0 6px rgba(255,255,255,0.30));
}

.verified-badge:hover {
    transform: translateY(-50%) scale(1.15);
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.75))
            drop-shadow(0 0 10px rgba(255,255,255,0.40));
}

.verified-badge svg {
    display: block;
}

/* ========== PROFILE DETAILS ========== */
.profile-title {
    font-size: 1.05rem;
    font-weight: 300;
    color: #ddd;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.profile-bio {
    font-size: .8rem;
    color: #ecf0f1;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: justify;
}

/* Social icons */
.social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    margin-bottom: 0.5rem;
    max-width: 480px;  /* 8 ikona yetecek genislik */
    margin-left: auto;
    margin-right: auto;
}

.social-icon {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.25rem;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.social-icon:hover {
    transform: translateY(-6px) scale(1.08);
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.linkedin:hover   { background: linear-gradient(45deg, #0077B5, #00a0dc); }
.github:hover     { background: linear-gradient(45deg, #333, #555); }
.twitter:hover    { background: linear-gradient(45deg, #1DA1F2, #0d8bd9); }
.instagram:hover  { background: linear-gradient(45deg, #f09433, #dc2743); }
.facebook:hover   { background: linear-gradient(45deg, #1877f2, #0d65d9); }
.youtube:hover    { background: linear-gradient(45deg, #ff0000, #cc0000); }
.tiktok:hover     { background: linear-gradient(45deg, #000, #25f4ee); }
.dribbble:hover   { background: linear-gradient(45deg, #ea4c89, #c93b75); }
.behance:hover    { background: linear-gradient(45deg, #1769ff, #0050d4); }
.medium:hover     { background: linear-gradient(45deg, #000, #333); }
.website:hover    { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
.email:hover      { background: linear-gradient(45deg, #ff6b6b, #ee5a24); }

/* Mobilde 4 yan yana */
@media (max-width: 600px) {
    .social-icons {
        gap: 0.6rem;
        max-width: 280px;  /* 4 ikon + gap'lere yetecek */
    }
    .social-icon {
        width: 56px;
        height: 56px;
    }
}

/* CTA button */
.cv-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.9rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.cv-download:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-indicator i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========== CONTENT SECTIONS ========== */
.content-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 5rem 0;
    position: relative;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #ecf0f1;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #bdc3c7;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== SKILLS ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Kart */
.skill-card {
    border-radius: 28px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}

.skill-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(0,0,0,0.4);
}

/* Her kart için farklı arka plan */
.skill-card.frontend {
    background: linear-gradient(135deg, rgba(102,126,234,0.18) 0%, rgba(78,205,196,0.12) 100%);
    border: 1px solid rgba(102,126,234,0.3);
}
.skill-card.backend {
    background: linear-gradient(135deg, rgba(255,107,107,0.18) 0%, rgba(238,90,36,0.1) 100%);
    border: 1px solid rgba(255,107,107,0.28);
}
.skill-card.design {
    background: linear-gradient(135deg, rgba(118,75,162,0.2) 0%, rgba(255,107,107,0.1) 100%);
    border: 1px solid rgba(118,75,162,0.32);
}

/* Büyük arka plan ikonu */
.skill-card-bg-icon {
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 7rem;
    opacity: 0.06;
    pointer-events: none;
    line-height: 1;
}

/* Kart başlığı */
.skill-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.8rem;
}

.skill-card-emoji {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.skill-card-label h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: 0.2px;
}

.skill-card-label p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Yetenek çipleri grid'i */
.skill-chips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.skill-chip {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 0.75rem 1rem;
    transition: background 0.25s ease;
}

.skill-chip:hover {
    background: rgba(255,255,255,0.11);
}

.skill-chip-icon {
    font-size: 1.15rem;
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.frontend .skill-chip-icon { color: #7eb8f7; }
.backend  .skill-chip-icon { color: #ff9a9a; }
.design   .skill-chip-icon { color: #c09ef7; }

.skill-chip-info {
    flex: 1;
    min-width: 0;
}

.skill-chip-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Seviye halkaları */
.skill-chip-level {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.skill-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    background: transparent;
    transition: all 0.3s ease;
}

.frontend .skill-dot.on { background: #7eb8f7; border-color: #7eb8f7; box-shadow: 0 0 6px rgba(126,184,247,0.6); }
.backend  .skill-dot.on { background: #ff9a9a; border-color: #ff9a9a; box-shadow: 0 0 6px rgba(255,154,154,0.6); }
.design   .skill-dot.on { background: #c09ef7; border-color: #c09ef7; box-shadow: 0 0 6px rgba(192,158,247,0.6); }

/* Kart alt bant */
.skill-card-foot {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill-foot-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.skill-foot-ring {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* SVG halka */
.skill-ring-svg {
    transform: rotate(-90deg);
}

.skill-ring-bg   { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 3; }
.skill-ring-fill {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}

.frontend .skill-ring-fill { stroke: #7eb8f7; }
.backend  .skill-ring-fill { stroke: #ff9a9a; }
.design   .skill-ring-fill { stroke: #c09ef7; }

.skill-ring-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
}

.skill-card.mobile  { background: linear-gradient(135deg, rgba(247,199,126,0.15) 0%, rgba(255,107,107,0.1) 100%); border: 1px solid rgba(247,199,126,0.28); }
.skill-card.devops  { background: linear-gradient(135deg, rgba(126,247,184,0.15) 0%, rgba(78,205,196,0.1) 100%); border: 1px solid rgba(126,247,184,0.28); }
.skill-card.data    { background: linear-gradient(135deg, rgba(247,126,184,0.15) 0%, rgba(118,75,162,0.1) 100%); border: 1px solid rgba(247,126,184,0.28); }
.skill-card.other   { background: linear-gradient(135deg, rgba(170,170,170,0.12) 0%, rgba(100,100,100,0.08) 100%); border: 1px solid rgba(170,170,170,0.2); }

.mobile .skill-dot.on { background:#f7c77e; border-color:#f7c77e; box-shadow:0 0 6px rgba(247,199,126,0.6); }
.devops .skill-dot.on { background:#7ef7b8; border-color:#7ef7b8; box-shadow:0 0 6px rgba(126,247,184,0.6); }
.data   .skill-dot.on { background:#f77eb8; border-color:#f77eb8; box-shadow:0 0 6px rgba(247,126,184,0.6); }
.other  .skill-dot.on { background:#aaaaaa; border-color:#aaaaaa; }

/* ========== PORTFOLIO ========== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(45deg, rgba(255,107,107,0.8), rgba(78,205,196,0.8));
    height: 300px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.portfolio-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
    min-width: 100%;
    min-height: 100%;
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Resmi olmayan kartların kapalı haldeki yüzeyi */
.portfolio-cover {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    transition: opacity 0.4s ease;
}
.portfolio-cover i {
    font-size: 3rem;
    opacity: 0.9;
}
.portfolio-cover span {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.portfolio-item:hover .portfolio-cover { opacity: 0; }

/* Kart renk varyantları */
.portfolio-item--coral  { background: linear-gradient(45deg, rgba(255,107,107,0.85), rgba(78,205,196,0.85)); }
.portfolio-item--purple { background: linear-gradient(45deg, rgba(102,126,234,0.85), rgba(118,75,162,0.85)); }
.portfolio-item--dark   { background: linear-gradient(45deg, rgba(52,73,94,0.95),    rgba(44,62,80,0.95)); }
.portfolio-item--orange { background: linear-gradient(45deg, rgba(255,107,107,0.9),  rgba(238,90,36,0.9)); }
.portfolio-item--teal   { background: linear-gradient(45deg, rgba(78,205,196,0.9),   rgba(102,126,234,0.9)); }

.portfolio-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    padding: 2rem;
}

.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-content { text-align: center; }

.portfolio-icon {
    font-size: 3rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.8rem;
}

.portfolio-category {
    font-size: .9rem;
    color: #ff6b6b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.portfolio-description {
    font-size: 0.8rem;
    color: #bdc3c7;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.portfolio-tag {
    background: rgba(78,205,196,0.2);
    color: #4ecdc4;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(78,205,196,0.3);
}

/* ========== EXPERIENCE ========== */
.experience-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #4ecdc4, #ff6b6b);
    transform: translateX(-50%);
}

.experience-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.experience-item:nth-child(odd) { flex-direction: row-reverse; }

.experience-content {
    flex: 1;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 15px;
    margin: 0 2rem;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.experience-content:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.experience-date {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.experience-title {
    font-size: 1.4rem;
    color: #ecf0f1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.experience-company {
    font-size: 1.1rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
}

.experience-description {
    color: #bdc3c7;
    line-height: 1.6;
}

.experience-marker {
    position: absolute;
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 50%;
    border: 3px solid #2c3e50;
    z-index: 10;
}

/* ========== CONTACT ========== */
.contact-section {
    background: linear-gradient(135deg, rgba(102,126,234,0.08), rgba(78,205,196,0.05));
    padding: 3rem 2.5rem;
    border-radius: 24px;
    margin: 3rem auto;
    max-width: 720px;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.contact-form {
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
}

/* Honeypot - görünmez ama erişilebilir formda kalır */
.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Yan yana iki alanlı satır */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
@media (max-width: 600px) {
    .contact-form-grid { grid-template-columns: 1fr; }
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid rgba(255,255,255,0.10);
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 0.96rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    resize: vertical;
}

.form-group textarea {
    min-height: 130px;
    line-height: 1.5;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: rgba(255,255,255,0.20);
    background: rgba(255,255,255,0.06);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    background: rgba(78,205,196,0.06);
    box-shadow: 0 0 0 3px rgba(78,205,196,0.18);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: rgba(255,107,107,0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.contact-char-counter {
    text-align: right;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.4rem;
    font-variant-numeric: tabular-nums;
}

.submit-btn {
    text-decoration: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 0.95rem 2.2rem;
    border-radius: 12px;
    color: white;
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.5rem;
    box-shadow: 0 6px 20px rgba(102,126,234,0.30);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(102,126,234,0.45);
}

.submit-btn:disabled,
.submit-btn.is-loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.is-loading i {
    animation: btnSpin 0.8s linear infinite;
}
@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

/* ===== Contact form result modal ===== */
.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    animation: cmFade 0.2s ease;
}
.contact-modal.open { display: flex; }
@keyframes cmFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.contact-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: linear-gradient(160deg, #1a1a2e, #16213e);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2.5rem 2rem 1.8rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 25px 70px rgba(0,0,0,0.55);
    animation: cmPop 0.25s cubic-bezier(.18,.89,.32,1.28);
}
@keyframes cmPop {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.contact-modal-close {
    position: absolute;
    top: 12px; right: 14px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.contact-modal-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.contact-modal-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}
.contact-modal-card.is-success .contact-modal-icon {
    background: linear-gradient(135deg, rgba(46,204,113,0.18), rgba(46,204,113,0.05));
    color: #2ecc71;
    border: 1.5px solid rgba(46,204,113,0.4);
}
.contact-modal-card.is-error .contact-modal-icon {
    background: linear-gradient(135deg, rgba(255,107,107,0.18), rgba(255,107,107,0.05));
    color: #ff6b6b;
    border: 1.5px solid rgba(255,107,107,0.4);
}

.contact-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
    letter-spacing: -0.01em;
}

.contact-modal-body {
    font-size: 0.96rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
    margin: 0 0 1.5rem 0;
}

.contact-modal-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 0.7rem 2.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(102,126,234,0.30);
}
.contact-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(102,126,234,0.45);
}
.contact-modal-card.is-success .contact-modal-btn {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 6px 18px rgba(46,204,113,0.30);
}
.contact-modal-card.is-success .contact-modal-btn:hover {
    box-shadow: 0 10px 24px rgba(46,204,113,0.45);
}
.contact-modal-card.is-error .contact-modal-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    box-shadow: 0 6px 18px rgba(255,107,107,0.30);
}
.contact-modal-card.is-error .contact-modal-btn:hover {
    box-shadow: 0 10px 24px rgba(255,107,107,0.45);
}

/* ========== MODAL ========== */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* float animasyonu kaldırıldı */

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero-section { padding: 1rem 0; }
    .container    { padding: 2rem; }
    .profile-name { font-size: 1.1rem; }
    .section-title { font-size: 2.5rem; }

    .skills-grid,
    .portfolio-grid { grid-template-columns: 1fr; }

    .experience-timeline::before { left: 20px; }
    .experience-item { flex-direction: column !important; }
    .experience-content { margin-left: 3rem; margin-right: 0; }
    .experience-marker { left: 20px; transform: translateX(-50%); }
}

@media (max-width: 480px) {
    .profile-avatar { width: 120px; height: 120px; font-size: 3rem; }
    .profile-name   { font-size: 1rem; }
    .section-title  { font-size: 2rem; }
}

/* ========== PROFILE TABS ========== */
.profile-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Saydam ve bulanik (hero altinda hero rengini emici, scroll'da koyulasir) */
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Sticky aktif iken (sayfa scroll edildiginde) daha koyu glass */
.profile-tabs.is-stuck {
    background: rgba(15, 17, 22, 0.72);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.profile-tab {
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.98rem;
    font-weight: 600;
    padding: 1.05rem 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    white-space: nowrap;
    transition: color 0.25s ease, background 0.25s ease;
    width: 100%;
}
.profile-tab i { font-size: 1rem; }
.profile-tab:hover { color: rgba(255, 255, 255, 0.95); background: rgba(255, 255, 255, 0.04); }

.profile-tab.active { color: #fff; }
.profile-tab.active::after {
    content: "";
    position: absolute;
    left: 25%;
    right: 25%;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #4ecdc4, #667eea);
}

/* Panellerin gizli/aktif davranisi */
.tab-panel { display: none; }
.tab-panel.active {
    display: block;
    animation: tabFadeIn 0.35s ease;
    background: rgba(15, 17, 22, 0.55) !important;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* content-section.tab-panel: solid gradient bg'i ezerek saydamlik */
.content-section.tab-panel,
.content-section.tab-panel.active {
    background: rgba(15, 17, 22, 0.55) !important;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
}
/* info-panel: dış kapsayıcı saydam blur'lu, hero altında profil arkaplanı görünsün */
.info-panel {
    background: rgba(15, 17, 22, 0.55);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
/* İçerideki content-section'lar artık kendi solid gradient bg'lerini kullanmasın -
   info-panel'in saydam arkaplanı görünsün. */
.info-panel .content-section {
    background: transparent !important;
    min-height: 0;          /* her bölüm tüm ekranı kaplamasın */
    padding: 4rem 0;
}
.info-panel .content-section + .content-section {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
/* pages/profile.php'nin yeni yapisi icin tab-panels container */
.tab-panels .tab-panel.active {
    background: rgba(15, 17, 22, 0.55) !important;
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    padding: 2rem 1.5rem;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== FEED (Twitter-style timeline) ========== */
.feed-container { max-width: 720px; }

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.feed-post {
    display: flex;
    gap: 0.9rem;
    padding: 1.2rem 1.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease;
}
.feed-post:last-child { border-bottom: none; }
.feed-post:hover { background: rgba(255, 255, 255, 0.025); }

.feed-avatar {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea, #4ecdc4);
}
.feed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feed-body {
    flex: 1;
    min-width: 0;
}

.feed-meta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}
/* Yazar + verified-badge bloğu: arada gap olmasın, badge yazarın hemen yanında */
.feed-author-block {
    display: inline-flex;
    align-items: center;
    gap: 4px;                /* yazar ile badge arasında çok az nefes */
    line-height: 1;
}
.feed-author {
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}
.feed-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 16px;             /* sabit boyut hizalama için */
    height: 16px;
    flex-shrink: 0;
    /* Beyaz halka gölge: siyah konturlu çiçek ikonu koyu arkaplanlarda da görünsün */
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.65))
            drop-shadow(0 0 5px rgba(255,255,255,0.35));
}
.feed-verified svg {
    display: block;
    width: 100%;
    height: 100%;
}
.feed-handle, .feed-time, .feed-dot {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.feed-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
}

.feed-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 0.7rem 0;
    word-wrap: break-word;
}

.feed-image {
    margin: 0.6rem 0 0.8rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.feed-image img {
    width: 100%;
    height: auto;
    display: block;
}

.feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.7rem 0;
}
.feed-tag {
    color: #4ecdc4;
    font-size: 0.85rem;
    font-weight: 500;
}

.feed-actions {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.5rem;
    max-width: 420px;
    justify-content: space-between;
}
.feed-action {
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}
.feed-action i { font-size: 0.95rem; }
.feed-action:hover { color: #4ecdc4; background: rgba(78, 205, 196, 0.1); }
.feed-action:nth-child(2):hover { color: #2ecc71; background: rgba(46, 204, 113, 0.1); }
.feed-action:nth-child(3):hover { color: #ff6b6b; background: rgba(255, 107, 107, 0.12); }

@media (max-width: 600px) {
    .profile-tab { padding: 0.95rem 0.6rem; font-size: 0.9rem; gap: 0.45rem; }
    .profile-tab i { font-size: 0.9rem; }
    .profile-tab.active::after { left: 18%; right: 18%; }

    .feed-post { padding: 1rem; gap: 0.7rem; }
    .feed-avatar { width: 42px; height: 42px; }
    .feed-meta { font-size: 0.85rem; }
    .feed-title { font-size: 1rem; }
    .feed-text { font-size: 0.92rem; }
}

/* ========== EDUCATION ========== */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.education-card {
    background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.08));
    border: 1px solid rgba(102,126,234,0.25);
    border-radius: 22px;
    padding: 2rem 1.8rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.education-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, #4ecdc4, #667eea);
}
.education-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.35);
    border-color: rgba(78,205,196,0.45);
}
.education-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4ecdc4, #667eea);
    color: #fff;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(78,205,196,0.3);
}
.education-period {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4ecdc4;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.education-degree {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}
.education-school {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 0.4rem;
}
.education-detail {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

/* ========== CERTIFICATIONS ========== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-bottom: 4rem;
}
.cert-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 1.3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.cert-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,107,107,0.3);
}
.cert-badge {
    flex-shrink: 0;
    width: 56px; height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: #fff;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(255,107,107,0.25);
}
.cert-body { flex: 1; min-width: 0; }
.cert-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem;
    line-height: 1.3;
}
.cert-issuer {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin: 0 0 0.3rem;
}
.cert-date {
    display: inline-block;
    font-size: 0.72rem;
    color: #4ecdc4;
    background: rgba(78,205,196,0.12);
    padding: 2px 9px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ========== LANGUAGES ========== */
.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.2rem;
    margin-bottom: 4rem;
}
.language-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    padding: 1.3rem 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0.4rem 1rem;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.language-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102,126,234,0.4);
}
.language-flag {
    grid-row: 1 / 3;
    width: 50px; height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(102,126,234,0.3);
}
.language-info {
    grid-column: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.language-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.language-level {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 500;
}
.language-bar {
    grid-column: 2;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
}
.language-fill {
    height: 100%;
    background: linear-gradient(90deg, #4ecdc4, #667eea);
    border-radius: 999px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== INTERESTS ========== */
.interests-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.interest-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.interest-chip i {
    color: #4ecdc4;
    font-size: 0.85rem;
}
.interest-chip:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(78,205,196,0.12);
    border-color: rgba(78,205,196,0.4);
    box-shadow: 0 8px 20px rgba(78,205,196,0.18);
}
.interest-chip:nth-child(3n) i { color: #ff6b6b; }
.interest-chip:nth-child(3n):hover { background: rgba(255,107,107,0.12); border-color: rgba(255,107,107,0.4); }
.interest-chip:nth-child(3n+1) i { color: #667eea; }
.interest-chip:nth-child(3n+1):hover { background: rgba(102,126,234,0.12); border-color: rgba(102,126,234,0.4); }

@media (max-width: 600px) {
    .education-card { padding: 1.5rem 1.3rem; }
    .education-degree { font-size: 1.05rem; }
    .cert-card { padding: 1.1rem; }
    .cert-badge { width: 48px; height: 48px; font-size: 1.25rem; }
    .language-card { padding: 1.1rem 1.2rem; }
    .interest-chip { padding: 0.55rem 1rem; font-size: 0.85rem; }
}

/* ========== FEED COMPOSE ========== */
.feed-compose {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(255,255,255,0.02);
    margin-bottom: 1rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.feed-compose:focus-within {
    border-color: rgba(78, 205, 196, 0.4);
    background: rgba(255,255,255,0.04);
}
.feed-compose-inner {
    display: flex;
    gap: 0.9rem;
    padding: 1.2rem 1.3rem;
}
.feed-compose-avatar { flex-shrink: 0; }
.feed-compose-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 0;
}
.feed-compose-title,
.feed-compose-textarea,
.feed-compose-tags {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.4rem 0;
    outline: none;
    width: 100%;
}
.feed-compose-title { font-weight: 700; font-size: 1rem; }
.feed-compose-textarea {
    resize: vertical;
    min-height: 60px;
    line-height: 1.5;
}
.feed-compose-tags { font-size: 0.85rem; color: rgba(78, 205, 196, 0.85); }
.feed-compose-title::placeholder,
.feed-compose-textarea::placeholder,
.feed-compose-tags::placeholder { color: rgba(255, 255, 255, 0.35); }
.feed-compose-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 0.3rem;
}
.feed-compose-attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #4ecdc4;
    cursor: pointer;
    transition: background 0.2s ease;
}
.feed-compose-attach:hover { background: rgba(78,205,196,0.12); }
.feed-compose-attach-name {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.feed-compose-submit {
    appearance: none;
    border: none;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: transform 0.2s ease, box-shadow 0.25s ease, filter 0.2s ease;
    box-shadow: 0 6px 16px rgba(255,107,107,0.25);
}
.feed-compose-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255,107,107,0.35);
    filter: brightness(1.05);
}

/* Feed empty / loader / end */
.feed-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    border: 1px dashed rgba(255,255,255,0.12);
    border-radius: 18px;
    color: rgba(255,255,255,0.55);
}
.feed-empty i {
    font-size: 2rem;
    color: #4ecdc4;
    margin-bottom: 0.8rem;
    display: block;
}
.feed-empty p { margin: 0; font-size: 0.95rem; }
.feed-loader,
.feed-end {
    text-align: center;
    padding: 1.5rem 1rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.feed-end i { color: #4ecdc4; margin-right: 0.4rem; }
.feed-loader i { margin-right: 0.4rem; color: #4ecdc4; }

/* Daha fazla goster butonu */
.feed-more-btn {
    appearance: none;
    background: rgba(78, 205, 196, 0.10);
    border: 1px solid rgba(78, 205, 196, 0.30);
    color: #b6f0ec;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.feed-more-btn:hover:not(:disabled) {
    background: rgba(78, 205, 196, 0.18);
    border-color: rgba(78, 205, 196, 0.55);
    color: #fff;
    transform: translateY(-1px);
}
.feed-more-btn:disabled {
    opacity: 0.7;
    cursor: progress;
}

/* Feed post sil butonu */
.feed-post-delete {
    margin-left: auto;
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.85rem;
}
.feed-post-delete:hover {
    color: #ff6b6b;
    background: rgba(255,107,107,0.12);
}

/* Info empty (kullanici bilgi eklememisse) */
.info-empty-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 60vh;
}
.info-empty {
    text-align: center;
    padding: 4rem 1.5rem;
    color: rgba(255,255,255,0.7);
}
.info-empty i {
    font-size: 3rem;
    color: #4ecdc4;
    margin-bottom: 1.2rem;
    display: block;
}
.info-empty h2 {
    font-size: 1.6rem;
    margin: 0 0 0.6rem;
    color: #fff;
}
.info-empty p {
    margin: 0 0 1.5rem;
    font-size: 0.95rem;
}
.info-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 8px 22px rgba(255,107,107,0.25);
}
.info-empty-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255,107,107,0.35);
}

/* ========== CONFIRM MODAL ========== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.modal-box {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 2rem 2rem 1.5rem;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.92) translateY(12px);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
    opacity: 0;
}
.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
    opacity: 1;
}
.modal-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.12);
    border: 1px solid rgba(255, 107, 107, 0.25);
    display: flex; align-items: center; justify-content: center;
    color: #ff6b6b; font-size: 1.4rem;
    margin: 0 auto 1.2rem;
}
.modal-title {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.modal-body {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
}
.modal-actions {
    display: flex;
    gap: 0.7rem;
}
.modal-btn {
    flex: 1;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}
.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}
.modal-btn-delete {
    background: linear-gradient(45deg, #ff6b6b, #ee5a5a);
    color: #fff;
    box-shadow: 0 6px 16px rgba(255, 107, 107, 0.3);
}
.modal-btn-delete:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(255, 107, 107, 0.4);
}

/* ========== PORTFOLIO LINK BUTONU ========== */
.portfolio-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.portfolio-link i { font-size: 0.78rem; }
.portfolio-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ========== PORTFOLIO ARKAPLAN ========== */
/* Portfolio kartının resim yokken placeholder ve resim varken overlay */
.portfolio-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    background: rgba(0,0,0,0.15);
}
.portfolio-cover i { font-size: 2rem; }
.portfolio-cover span { font-size: 0.85rem; }

.portfolio-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 20px 20px 0 0;
}

/* Feed post action buttons (edit + delete) */
.feed-post-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
}
.feed-post-edit {
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    font-size: 0.82rem;
}
.feed-post-edit:hover {
    color: #4ecdc4;
    background: rgba(78,205,196,0.1);
}

