/* Sürüm: v4.13.0 */

/* Modern ve canlı renk paleti */
:root {
    --primary: #7c3aed;         /* canlı mor */
    --primary-dark: #4c1d95;    /* koyu mor */
    --primary-readable: #6d28d9; /* okunabilir mor */
    --secondary: #f472b6;       /* canlı pembe */
    --secondary-dark: #be185d;  /* koyu pembe */
    --accent: #38bdf8;          /* canlı mavi */
    --success: #22c55e;         /* canlı yeşil */
    --error: #ef4444;           /* canlı kırmızı */
    --warning: #fbbf24;         /* canlı sarı */
    --bg: #f3f4f6;              /* açık gri */
    --bg-alt: #e0e7ef;          /* açık mavi-gri */
    --text: #18181b;            /* koyu gri */
    --text-light: #6b7280;      /* orta gri */
    --card: #fff;
    --border: #e5e7eb;
    --radius: 18px;
    --shadow: 0 4px 24px rgba(124,58,237,0.08);
    --font: 'Inter', Arial, sans-serif;
    --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
    position: relative;
    overflow-x: hidden;
}

@keyframes animated-bg {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* Animasyonlu arka plan overlay - daha canlı ve parlak */
/* Düzeltildi: z-index -1 ve html/body overflow ayarı */
html, body {
    height: 100%;
    min-height: 100vh;
}
body {
    position: relative;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
    background: conic-gradient(
        from 90deg,
        #7c3aed 0%,
        #38bdf8 15%,
        #f472b6 30%,
        #fbbf24 45%,
        #22d3ee 60%,
        #7c3aed 75%,
        #f472b6 90%,
        #7c3aed 100%
    );
    background-size: 300% 300%;
    animation: animated-bg-vivid 12s linear infinite;
    filter: blur(0.5px) saturate(1.3) brightness(1.15);
    transition: opacity 0.3s, filter 0.3s;
}
body.dark::before {
    /* Karanlık temada da aynı canlı arka plan ve efektler */
    opacity: 0.7;
    background: conic-gradient(
        from 90deg,
        #7c3aed 0%,
        #38bdf8 15%,
        #f472b6 30%,
        #fbbf24 45%,
        #22d3ee 60%,
        #7c3aed 75%,
        #f472b6 90%,
        #7c3aed 100%
    );
    background-size: 300% 300%;
    animation: animated-bg-vivid 12s linear infinite;
    filter: blur(0.5px) saturate(1.3) brightness(0.7);
    transition: opacity 0.3s, filter 0.3s;
}

@keyframes animated-bg-vivid {
    0% {background-position: 0% 50%;}
    25% {background-position: 50% 100%;}
    50% {background-position: 100% 50%;}
    75% {background-position: 50% 0%;}
    100% {background-position: 0% 50%;}
}

body.dark {
    --bg: #181825;
    --bg-alt: #23263a;
    --text: #e0e7ef;
    --text-light: #a1a1aa;
    --card: #23263a;
    --border: #312e81;
    background: linear-gradient(120deg, #181825 0%, #23263a 100%);
}

/* Koyu tema için kart, section ve modalı daha belirgin ve modern yap */
body.dark section,
body.dark .card,
body.dark .portfolio-item,
body.dark article,
body.dark .modal-content,
body.dark form,
body.dark .ref-card {
    background: rgba(36, 37, 46, 0.98);
    border-color: #312e81;
    box-shadow: 0 6px 32px 0 rgba(60, 60, 120, 0.18);
    color: #e0e7ef;
}

body.dark input,
body.dark textarea {
    background: #23263a;
    color: #e0e7ef;
    border-color: #312e81;
}

body.dark label {
    color: #a5b4fc;
}

body.dark .btn,
body.dark .btn.secondary,
body.dark .btn.success,
body.dark .btn.error {
    color: #fff;
    box-shadow: 0 2px 12px #312e8133;
}

body.dark .btn:hover,
body.dark .btn:focus {
    background: var(--secondary-dark);
    color: #fff;
}

body.dark .theme-toggle {
    background: var(--primary-dark);
    color: #fff;
}
body.dark .theme-toggle:hover {
    background: var(--secondary-dark);
}

body.dark .counter-card {
    background: #23263a;
    border-color: #312e81;
}

body.dark .counter-label {
    color: #a1a1aa;
}

body.dark .timeline-content {
    background: #23263a;
    color: #e0e7ef;
}

body.dark .timeline-dot {
    border-color: #23263a;
    background: var(--secondary-dark);
}

body.dark .quote-banner {
    background: #312e81;
    color: #f472b6;
}

body.dark .welcome-hero-bg {
    background: linear-gradient(120deg, #312e81 60%, #be185d 100%);
    opacity: 0.80; /* Opaklık azaltıldı, yazı daha net */
}

body.dark .welcome-hero-title,
body.dark .welcome-hero-subtitle {
    color: #fff;
}

body.dark .welcome-hero-desc {
    color: #fffde7;
    background: rgba(60, 60, 80, 0.38);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 18px #0005;
}

body.dark .welcome-hero-highlight {
    color: #fffbe6;
    background: none;
    -webkit-text-fill-color: #fffbe6;
    text-shadow: 0 2px 8px #000a;
}

body.dark .social a {
    background: #23263a;
    color: #a5b4fc;
}
body.dark .social a:hover,
body.dark .social a:focus {
    background: var(--primary-dark);
    color: #fff;
}

body.dark .modal-content {
    background: #23263a;
    color: #e0e7ef;
    border: 1.5px solid #312e81;
}

body.dark details {
    background: #23263a;
    color: #e0e7ef;
    border: 1px solid #312e81;
}
body.dark details[open] {
    background: #312e81;
}

body.dark .skill-bar-bg {
    background: #23263a;
}
body.dark .skill-bar-fill {
    background: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark));
}

body.dark .achievements-list {
    color: #e0e7ef;
}

/* Üstte ve altta yüzen blob efektlerini ekleyerek siteye canlılık kattım */
.bg-blob {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.18;
    animation: blob-move 18s ease-in-out infinite alternate;
}
.bg-blob.top {
    top: -120px;
    left: -120px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle at 30% 30%, #0077ff 80%, #ffb400 100%);
    animation-delay: 0s;
}
.bg-blob.bottom {
    bottom: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 70% 70%, #ffb400 70%, #0077ff 100%);
    animation-delay: 6s;
}
body.dark .bg-blob.top {
    background: radial-gradient(circle at 30% 30%, #005fcc 80%, #ffb400 100%);
}
body.dark .bg-blob.bottom {
    background: radial-gradient(circle at 70% 70%, #ffb400 60%, #005fcc 100%);
}
@keyframes blob-move {
    0% { transform: scale(1) translateY(0) translateX(0);}
    50% { transform: scale(1.15) translateY(40px) translateX(40px);}
    100% { transform: scale(1) translateY(0) translateX(0);}
}

/* Section'lara cam efekti ve gölge verdim, böylece içerikler daha öne çıkıyor */
section {
    margin-bottom: 3.2rem;
    padding: 2.2rem 1.5rem 2.2rem 1.5rem;
    background: rgba(255,255,255,0.93);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1.5px solid var(--border);
    position: relative;
    transition: background 0.2s;
}
body.dark section {
    background: rgba(35,38,58,0.95);
}

/* Section ve ana içerik üstünde kalmalı */
main, header, footer, .theme-toggle {
    position: relative;
    z-index: 2;
}

header {
    background: var(--card);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1.5px solid var(--border);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 1.2rem;
}

.logo {
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--primary);
    letter-spacing: -1px;
    text-decoration: none;
    transition: color 0.2s;
}

#nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: var(--primary);
}

#nav-menu {
    display: flex;
    gap: 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius);
    transition: background 0.18s, color 0.18s;
    font-size: 1.01rem;
}

#nav-menu a:hover, #nav-menu a:focus {
    background: var(--primary);
    color: #fff;
    outline: none;
}

/* Navbar Donate Button */
.nav-donate {
    margin-left: 0.5rem;
}

.nav-donate-link {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px #ff6b6b, 0 0 0 3px #ffb3b3;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-donate-link:hover {
    background: linear-gradient(135deg, #ee5a52 0%, #f39c12 100%) !important;
    color: white !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 12px 30px #ff4444, 0 0 0 5px #ff8888 !important;
    filter: saturate(1.2) brightness(1.1);
}

.nav-donate-link:active {
    transform: translateY(-1px) scale(1.02) !important;
}

.nav-donate-link i {
    font-size: 1rem;
    animation: heartPulse 2s infinite;
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px #000000);
    z-index: 2;
    position: relative;
}

.nav-donate-link:hover i {
    color: white;
    animation: heartPulse 1s infinite, bounce 0.6s ease-in-out;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 100% { transform: scale(1.1) translateY(0); }
    50% { transform: scale(1.2) translateY(-2px); }
}

.nav-donate-link span {
    font-size: 0.9rem;
    font-weight: 700;
    text-shadow: 0 1px 2px #000000;
    z-index: 2;
    position: relative;
}

.nav-donate-link small {
    display: none; /* Küçük text'i gizle, daha temiz görünüm için */
}

@keyframes heartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.nav-donate-link > * {
    position: relative;
    z-index: 1;
}

main {
    flex: 1;
    max-width: 1100px;
    margin: 2.2rem auto;
    padding: 0 1rem;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 0.7rem;
    letter-spacing: -0.5px;
}

h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.25rem;
}
h3 {
    font-size: 1.08rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--border);
    transition: box-shadow 0.18s, transform 0.18s;
    min-height: 120px;
}
.card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
    transform: translateY(-4px) scale(1.03);
}

.ref-container {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.ref-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.8rem 1rem;
    font-size: 0.97rem;
    flex: 1;
    border: 1px solid var(--border);
    min-width: 180px;
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.profile-img {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.5rem 1.3rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: inline-block;
    margin-top: 0.7rem;
    letter-spacing: 0.1px;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(.4,0,.2,1), height 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.btn:hover::after, .btn:focus::after {
    width: 220%;
    height: 220%;
}
.btn, .btn.secondary, .btn.success, .btn.error {
    z-index: 1;
}
.btn > *, .btn.secondary > *, .btn.success > *, .btn.error > * {
    position: relative;
    z-index: 2;
}
.btn:hover, .btn:focus {
    background: var(--secondary);
    color: #fff;
}
.btn.secondary {
    background: var(--accent);
    color: #fff;
}
.btn.success {
    background: var(--success);
    color: #fff;
}
.btn.error {
    background: var(--error);
    color: #fff;
}

/* Mobil uyumluluk */
@media (max-width: 700px) {
    #kardes-siteler {
        padding: 1rem 0.5rem;
        max-width: 98vw;
        font-size: 0.98rem;
    }
    #kardes-siteler h2 {
        font-size: 1.1rem;
    }
    #kardes-siteler a {
        font-size: 1rem;
    }
}

/* Kartlara (card, portfolio-item, article) hafif büyüme ve gölge animasyonu */
.card, .portfolio-item, article {
    transition: box-shadow 0.18s, transform 0.18s, background 0.22s;
}
.card:hover, .portfolio-item:hover, article:hover {
    transform: translateY(-6px) scale(1.035) rotate(-0.5deg);
    box-shadow: 0 12px 36px rgba(124,58,237,0.13), 0 2px 8px #0001;
    background: #f8fafc;
}
body.dark .card:hover, body.dark .portfolio-item:hover, body.dark article:hover {
    background: #23263a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 sütun sabit */
    gap: 1.2rem;
}

/* Mobilde tek sütun, tablette iki sütun */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

.portfolio-item {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.18s, transform 0.18s;
}
.portfolio-item:hover {
    box-shadow: 0 8px 32px rgba(244,63,94,0.13);
    transform: translateY(-4px) scale(1.03);
}
.portfolio-item img {
    width: 100%;
    max-width: 220px;
    border-radius: var(--radius);
    margin-bottom: 0.7rem;
    object-fit: cover;
}

.blog-list {
    display: grid;
    gap: 1rem;
}
article {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--border);
    transition: box-shadow 0.18s, transform 0.18s;
}
article:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.13);
    transform: translateY(-3px) scale(1.02);
}

.last-update {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 2rem 0;
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    font-style: italic;
}

body.dark-mode .last-update {
    background: var(--bg);
    border-left-color: var(--secondary);
}

form {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    border: 1px solid var(--border);
}
label {
    font-weight: 600;
    margin-bottom: 0.1rem;
    font-size: 0.98rem;
}
input, textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem;
    font-size: 1rem;
    font-family: var(--font);
    background: #f1f5f9;
    transition: border 0.18s, box-shadow 0.18s;
}
input:focus, textarea:focus {
    border: 1.5px solid var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px #2563eb22;
}
textarea {
    min-height: 80px;
    resize: vertical;
}

.g-recaptcha {
    margin: 0.3rem 0;
}

#form-message {
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--primary);
    min-height: 1.2em;
    font-size: 0.97rem;
}
#form-message.success { color: var(--success); }
#form-message.error { color: var(--error); }

details {
    background: #f1f5f9;
    border-radius: var(--radius);
    margin-bottom: 0.7rem;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    cursor: pointer;
    color: var(--text);
    font-size: 0.98rem;
}
body.dark details {
    background: #23263a;
    color: #f1f5f9;
    border: 1px solid #2d3143;
}
details[open] {
    background: #e0e7ef;
}
body.dark details[open] {
    background: #2d3143;
}
details summary {
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

footer {
    background: var(--card);
    border-top: 1.5px solid var(--border);
    text-align: center;
    padding: 1.2rem 0 0.5rem 0;
    margin-top: 2rem;
    border-radius: var(--radius) var(--radius) 0 0;
}

.social {
    margin-bottom: 0.5rem;
}
.social a {
    color: var(--primary);
    font-size: 1.35rem;
    margin: 0 0.35rem;
    transition: color 0.18s, transform 0.18s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    text-decoration: none;
    border-bottom: none !important;
    box-shadow: none;
}
.social a:visited,
.social a:active,
.social a:focus {
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none;
}

.theme-toggle {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 100;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.theme-toggle:hover {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 8px 32px rgba(244,63,94,0.13);
}

/* Mobil tema seçme tuşu */
.mobile-theme-toggle {
    position: fixed;
    left: 1.2rem;
    bottom: 1.2rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 100;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
}
.mobile-theme-toggle:hover {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 8px 32px rgba(244,63,94,0.13);
}
/* Mobil tema seçme tuşu sadece mobilde görünsün */
@media (max-width: 700px) {
    .mobile-theme-toggle {
        display: flex !important;
    }
}
@media (min-width: 701px) {
    .mobile-theme-toggle {
        display: none !important;
    }
}

/* Sayaçlar (Counter) */
.counter-section {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0 1.5rem 0;
    flex-wrap: wrap;
}
.counter-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem 1.5rem;
    text-align: center;
    min-width: 110px;
    border: 1px solid var(--border);
    transition: box-shadow 0.18s, transform 0.18s;
}
.counter-card:hover {
    box-shadow: 0 8px 32px rgba(16,185,129,0.13);
    transform: translateY(-3px) scale(1.04);
}
.counter-number {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
    transition: color 0.18s;
}
.counter-label {
    font-size: 0.98rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}
body.dark .counter-card {
    background: #23263a;
    border-color: #312e81;
}
body.dark .counter-label {
    color: #a1a1aa;
}

/* Skill Barlar */
.skills-section {
    margin: 1.5rem 0 1.5rem 0;
    max-width: 420px;
}
.skills-section h2 {
    margin-bottom: 0.7rem;
}
.skill-bar {
    margin-bottom: 0.7rem;
}
.skill-bar span {
    font-weight: 600;
    color: var(--primary-readable);
    display: inline-block;
    margin-bottom: 0.1rem;
    font-size: 0.97rem;
}
.skill-bar-bg {
    background: #e0e7ef;
    border-radius: 8px;
    height: 14px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 1px 4px #2563eb11;
    position: relative;
}
body.dark .skill-bar-bg {
    background: #23263a;
}
.skill-bar-fill {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    height: 100%;
    width: 0%;
    border-radius: 8px;
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
    box-shadow: 0 1px 8px #2563eb22;
}

/* Başarılar/Sertifikalar */
.achievements-section {
    margin: 1.5rem 0;
    width: 100%;
}
.achievements-section h2 {
    margin-bottom: 0.7rem;
}
.achievements-list {
    list-style: "🏅 ";
    padding-left: 1.2rem;
    color: var(--text);
}
.achievements-list li {
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
    font-weight: 500;
}

/* Timeline (zaman çizelgesi) */
.timeline {
    margin: 1.5rem 0 1rem 0;
    position: relative;
    padding-left: 24px;
    border-left: 2.5px solid var(--primary);
}
.timeline-item {
    position: relative;
    margin-bottom: 1.2rem;
}
.timeline-dot {
    position: absolute;
    left: -11px;
    top: 0.1rem;
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px #2563eb22;
}
.timeline-content {
    margin-left: 14px;
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 2px 8px #0001;
    padding: 0.5rem 1rem;
    min-width: 120px;
    font-size: 0.97rem;
}
.timeline-item:hover .timeline-content {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #f8fafc;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
body.dark .timeline-item:hover .timeline-content {
    background: #2d3143;
}
.timeline-date {
    font-size: 0.97em;
    color: var(--primary-dark);
    font-weight: 700;
}
.timeline-title {
    display: block;
    font-weight: 700;
    margin: 0.1rem 0 0.1rem 0;
}
.timeline-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}
body.dark .timeline-desc {
    color: #a1a1aa;
}
body.dark .timeline-content {
    background: #23263a;
    color: #e0e7ef;
}

body.dark .timeline-dot {
    border-color: #23263a;
}

/* Modal popup */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; width: 100vw; height: 100vh;
    background: rgba(37,99,235,0.13);
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem;
    max-width: 340px;
    margin: auto;
    box-shadow: 0 8px 32px 0 rgba(37,99,235,0.18);
    position: relative;
    text-align: center;
}
body.dark .modal-content {
    background: #23263a;
    color: #f1f5f9;
}
.modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    font-size: 1.3rem;
    color: #888;
    cursor: pointer;
}
.modal.show {
    display: flex;
}

/* Dil seçici butonları kaldırıldı */
#lang-switcher .btn,
#lang-switcher .btn.secondary,
#lang-switcher {
    display: none !important;
}

/* Toast bildirimi */
.toast {
    position: fixed;
    bottom: 2.2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-dark);
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px #0003;
    font-size: 1.01rem;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
    transition: opacity 0.22s;
}
.toast.show {
    opacity: 1;
    pointer-events: auto;
}

/* Geri dön butonu */
#backToTop {
    position: fixed;
    right: 1.2rem;
    bottom: 5.2rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    border: none;
    box-shadow: var(--shadow);
    font-size: 1.2rem;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 101;
    cursor: pointer;
    transition: background 0.18s, opacity 0.18s, transform 0.18s;
}
#backToTop:hover {
    transform: scale(1.13) rotate(-8deg);
    background: var(--primary);
}
#backToTop.show {
    display: flex !important;
    opacity: 1;
}

/* Progress bar (sayfa yukarıda ilerleme çubuğu) */
#progress-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 200;
    width: 0;
    transition: width 0.2s;
}

/* Motivasyon sözü banner'ı */
.quote-banner {
    background: #fef3c7;
    color: #be123c;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px #0001;
    padding: 0.7rem 1.1rem;
    margin-bottom: 1.1rem;
    font-size: 1.01rem;
    text-align: center;
    font-style: italic;
}

/* Hero alanı (üst karşılama) - eskiye yakın, büyük ve etkileyici */
.welcome-hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
}
.welcome-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--primary) 60%, var(--secondary) 100%);
    opacity: 0.85;
    z-index: 1;
}
.welcome-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    flex-wrap: wrap;
    color: #fff;
}
.welcome-hero-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px #0002;
    background: #fff;
    flex-shrink: 0;
}
.welcome-hero-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1.5px;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 12px #0002, 0 1px 0 #7c3aed44;
    line-height: 1.1;
}
@media (max-width: 900px) {
    .welcome-hero-title {
        font-size: 1.5rem;
    }
}
@media (max-width: 600px) {
    .welcome-hero-title {
        font-size: 1.1rem;
    }
}

.welcome-hero-subtitle {
    font-size: 1.18rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1.1rem;
    letter-spacing: 0.1px;
    text-shadow: 0 1px 8px #0001;
}

.welcome-hero-desc {
    font-size: 1.11rem;
    color: #f8fafc;
    background: rgba(124,58,237,0.09);
    border-radius: 8px;
    padding: 0.7em 1em 0.7em 1em;
    margin-bottom: 1.3rem;
    box-shadow: 0 2px 8px #0001;
    line-height: 1.7;
    border-left: 4px solid var(--primary);
}

.welcome-hero-highlight {
    color: #fffbe6;
    background: linear-gradient(90deg, #7c3aed 0%, #fbbf24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline;
}

/* Koyu temada karşılama yazısı ve motivasyon sözü için kontrast ve derinlik düzeltmeleri */
body.dark .welcome-hero-bg {
    background: linear-gradient(120deg, #312e81 60%, #be185d 100%);
    opacity: 0.80; /* Opaklık azaltıldı, yazı daha net */
}

body.dark .welcome-hero-desc {
    color: #fffde7;
    background: rgba(60, 60, 80, 0.38);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 18px #0005;
}

body.dark .welcome-hero-highlight {
    color: #fffbe6;
    background: none;
    -webkit-text-fill-color: #fffbe6;
    text-shadow: 0 2px 8px #000a;
}

body.dark .quote-banner {
    background: #181825;
    color: #fbbf24;
    box-shadow: 0 4px 18px #0007;
    border: 1.5px solid #312e81;
    position: relative;
    z-index: 2;
}

/* Karşılama yazısı ve motivasyon sözü için açık temada da kontrast ve derinlik düzeltmeleri */
.welcome-hero-bg {
    background: linear-gradient(120deg, var(--primary) 60%, var(--secondary) 100%);
    opacity: 0.80; /* Opaklık azaltıldı, yazı daha net */
    z-index: 1;
}

.welcome-hero-desc {
    color: #2d2250;
    background: rgba(240, 240, 255, 0.82);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 18px #0002;
}

.welcome-hero-highlight {
    color: #7c3aed;
    background: none;
    -webkit-text-fill-color: #7c3aed;
    text-shadow: 0 2px 8px #fff8;
}

.quote-banner {
    background: #fffbe6;
    color: #be123c;
    box-shadow: 0 4px 18px #0002;
    border: 1.5px solid #e5e7eb;
    position: relative;
    z-index: 2;
}

/* Scroll ile değişen arka plan overlay efekti kaldırıldı */
/* body.scrolled::before {
    opacity: 0.85;
    filter: saturate(1.25) blur(1.5px);
    transition: opacity 0.4s, filter 0.4s;
}
body.dark.scrolled::before {
    opacity: 0.5;
    filter: saturate(1.15) blur(2px);
} */

/* Butonlara animasyonlu hover efekti */
.btn, .btn.secondary, .btn.success, .btn.error {
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: "";
    position: absolute;
    left: 50%; top: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.35s cubic-bezier(.4,0,.2,1), height 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.btn:hover::after, .btn:focus::after {
    width: 220%;
    height: 220%;
}
.btn, .btn.secondary, .btn.success, .btn.error {
    z-index: 1;
}
.btn > *, .btn.secondary > *, .btn.success > *, .btn.error > * {
    position: relative;
    z-index: 2;
}

/* Kartlara (card, portfolio-item, article) hafif büyüme ve gölge animasyonu */
.card, .portfolio-item, article {
    transition: box-shadow 0.18s, transform 0.18s, background 0.22s;
}
.card:hover, .portfolio-item:hover, article:hover {
    transform: translateY(-6px) scale(1.035) rotate(-0.5deg);
    box-shadow: 0 12px 36px rgba(124,58,237,0.13), 0 2px 8px #0001;
    background: #f8fafc;
}
body.dark .card:hover, body.dark .portfolio-item:hover, body.dark article:hover {
    background: #23263a;
}

/* Sosyal ikonlara sallanma ve renk geçişi animasyonu */
@keyframes icon-bounce {
    0% { transform: scale(1) rotate(0deg);}
    30% { transform: scale(1.18) rotate(-8deg);}
    60% { transform: scale(0.95) rotate(6deg);}
    100% { transform: scale(1) rotate(0deg);}
}
.social a:hover, .social a:focus {
    animation: icon-bounce 0.5s;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: #fff;
}

/* Sayaçlar için sayının artışı animasyonu */
.counter-number {
    transition: color 0.22s, transform 0.22s;
}
.counter-card:hover .counter-number {
    color: var(--secondary);
    transform: scale(1.13) rotate(-2deg);
}

/* Skill bar animasyonu */
.skill-bar-fill {
    transition: width 1.2s cubic-bezier(.4,0,.2,1), background 0.3s;
}
.skill-bar:hover .skill-bar-fill {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

/* Modal açılış/kapanış animasyonu */
.modal-content {
    animation: modal-pop 0.33s cubic-bezier(.4,0,.2,1);
}
@keyframes modal-pop {
    0% { transform: scale(0.85) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Toast bildirimi için yukarıdan aşağıya animasyon */
.toast {
    animation: toast-in 0.4s cubic-bezier(.4,0,.2,1);
}
@keyframes toast-in {
    0% { transform: translateX(-50%) translateY(30px); opacity: 0; }
    100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* Blog kartlarına hoverda renkli border ve hafif gölge */
.blog-list article:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
}

/* Progress bar animasyonu */
#progress-bar {
    transition: width 0.2s cubic-bezier(.4,0,.2,1), background 0.3s;
}
#progress-bar:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    opacity: 0.18;
    pointer-events: none;
}

/* Geri dön butonuna hover animasyonu */
#backToTop {
    transition: background 0.18s, opacity 0.18s, transform 0.18s;
}
#backToTop:hover {
    transform: scale(1.13) rotate(-8deg);
    background: var(--primary);
}

/* Section başlıklarına fade-in animasyonu */
h1, h2, h3 {
    opacity: 0;
    transform: translateY(24px);
    animation: fadein-title 0.7s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes fadein-title {
    to {
        opacity: 1;
        transform: none;
    }
}

/* İlk yüklemede başlıklar sırayla gelsin */
h1 { animation-delay: 0.1s; }
h2 { animation-delay: 0.2s; }
h3 { animation-delay: 0.3s; }

/* Mobil uyumluluk geliştirmeleri ve eksiklerin tamamlanması */
@media (max-width: 900px) {
    main {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .about-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .skills-section,
    .achievements-section {
        max-width: 100%;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .welcome-hero-content {
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem 1rem 1.2rem 1rem;
        align-items: flex-start;
    }
    .welcome-hero-img {
        width: 110px;
        height: 110px;
    }
    .welcome-hero-title {
        font-size: 1.45rem;
    }
    .welcome-hero-subtitle {
        font-size: 1.05rem;
    }
    .counter-section {
        flex-direction: column;
        gap: 0.7rem;
        align-items: stretch;
    }
    .card, .portfolio-item, article, form {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .ref-container {
        flex-direction: column;
        gap: 0.7rem;
    }
    .modal-content {
        max-width: 98vw;
        padding: 1rem 0.5rem;
    }
    .profile-img {
        width: 110px;
        height: 110px;
    }
    .skills-section, .achievements-section {
        margin: 1rem 0;
    }
    /* Footer sosyal ikonları ve iletişim satırı daha iyi hizalansın */
    footer .social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    footer > div {
        word-break: break-all;
        font-size: 0.97rem;
    }
}

@media (max-width: 600px) {
    .welcome-hero-content {
        padding: 1rem 0.3rem 1rem 0.3rem;
    }
    .welcome-hero-img {
        width: 80px;
        height: 80px;
    }
    .welcome-hero-title {
        font-size: 1.05rem;
    }
    .welcome-hero-subtitle {
        font-size: 0.98rem;
    }
    .profile-img {
        width: 80px;
        height: 80px;
    }
    .skills-section, .achievements-section {
        margin: 0.7rem 0;
    }
    .timeline-content {
        padding: 0.4rem 0.5rem;
        font-size: 0.93rem;
    }
    .timeline {
        padding-left: 14px;
    }
    .modal-content {
        padding: 0.7rem 0.2rem;
    }
    .btn, .btn.secondary, .btn.success, .btn.error {
        font-size: 0.97rem;
        padding: 0.45rem 1rem;
    }
    .counter-card {
        padding: 0.7rem 0.7rem;
        min-width: 0;
    }
    .card, .portfolio-item, article, form {
        padding: 0.7rem 0.7rem;
    }
    .quote-banner {
        font-size: 0.97rem;
        padding: 0.5rem 0.5rem;
    }
    .blog-list {
        gap: 0.5rem;
    }
    .bg-blob.top, .bg-blob.bottom {
        width: 140px;
        height: 140px;
        top: -40px !important;
        left: -40px !important;
        right: -40px !important;
        bottom: -40px !important;
    }
    .theme-toggle, #backToTop {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
        right: 0.7rem;
        bottom: 0.7rem;
    }
    /* Footer iletişim satırı dikeyde daha iyi görünsün */
    footer > div {
        display: block;
        margin-bottom: 0.5rem;
    }
}

/* Mobil menü */
@media (max-width: 700px) {
    nav {
        flex-wrap: wrap;
        padding: 0.7rem 0.5rem;
    }
    #nav-toggle {
        display: block;
    }
    #nav-menu {
        display: none;
        flex-direction: column;
        gap: 0;
        background: var(--card);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 8px 32px #0002;
        border-bottom-left-radius: var(--radius);
        border-bottom-right-radius: var(--radius);
        z-index: 20;
        padding: 0.7rem 0;
    }
    #nav-menu.open {
        display: flex;
    }
    #nav-menu li {
        margin: 0.2rem 0;
        text-align: left;
    }
    #nav-menu a {
        padding: 0.7rem 1.2rem;
        font-size: 1.07rem;
        border-radius: 0;
        width: 100%;
        display: block;
    }
    
    /* Mobil navbar donate */
    .nav-donate {
        margin-left: 0;
        margin-top: 0.5rem;
        padding: 0 1.2rem;
    }
    
    .nav-donate-link {
        justify-content: center !important;
        text-align: center !important;
        border-radius: 8px !important;
        margin: 0.2rem 0 !important;
    }
    
    .nav-donate-link small {
        display: none; /* Mobilde "PayTR Güvencesi" yazısını gizle */
    }
}

/* Modal mobilde tam ekran ve kaydırılabilir olsun */
@media (max-width: 600px) {
    .modal-content {
        max-width: 99vw;
        max-height: 98vh;
        overflow-y: auto;
    }
}

/* Form ve inputlar mobilde daha rahat tıklanabilir olsun */
@media (max-width: 600px) {
    form {
        padding: 0.7rem 0.3rem;
        max-width: 99vw;
    }
    input, textarea {
        font-size: 1.05rem;
        padding: 0.7rem 0.7rem;
    }
    label {
        font-size: 1.01rem;
    }
}

/* Sertifikalar için gelişmiş grid ve kart tasarımı */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem auto;
    max-width: 100%;
    justify-content: start;
    justify-items: stretch;
}

/* Maksimum 3 sütun sınırlaması */
@media (min-width: 1000px) {
    .certificates-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1100px;
        margin: 1.5rem auto 1.5rem 0;
        justify-content: start;
    }
}

/* Tablet için 2 sütun */
@media (min-width: 769px) and (max-width: 999px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.3rem;
        max-width: 700px;
        margin: 1.3rem auto 1.3rem 0;
    }
}
.certificate-card {
    display: flex;
    align-items: flex-start;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 1.1rem 1.2rem;
    gap: 1.1rem;
    min-height: 110px;
    transition: box-shadow 0.18s, transform 0.18s;
}
.certificate-card:hover {
    box-shadow: 0 8px 32px rgba(37,99,235,0.13);
    transform: translateY(-4px) scale(1.03);
    background: #f8fafc;
}
.certificate-icon {
    font-size: 2.1rem;
    margin-right: 0.7rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.certificate-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.certificate-title {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--primary-readable);
    margin-bottom: 0.2rem;
}
.certificate-actions {
    margin-top: 0.2rem;
}
.certificate-view-btn {
    font-size: 0.98rem;
    padding: 0.38rem 1.1rem;
    border-radius: 999px;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
}
@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .certificate-card {
        flex-direction: row;
        padding: 1rem;
        min-height: 90px;
    }
    .certificate-icon {
        font-size: 1.7rem;
        margin-right: 0.8rem;
    }
    .certificate-title {
        font-size: 1rem;
    }
}

/* Modern scroll bar tasarımı */
::-webkit-scrollbar {
    width: 10px;
    background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, var(--primary) 60%, var(--secondary) 100%);
    border-radius: 8px;
    min-height: 40px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
}
::-webkit-scrollbar-corner {
    background: var(--bg-alt);
}

/* Firefox için */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-alt);
}

/* Koyu tema scroll barı */
body.dark ::-webkit-scrollbar {
    background: #23263a;
}
body.dark ::-webkit-scrollbar-thumb {
    background: linear-gradient(120deg, var(--primary-dark) 60%, var(--secondary-dark) 100%);
}
body.dark ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(120deg, var(--secondary-dark), var(--primary-dark));
}
body.dark ::-webkit-scrollbar-corner {
    background: #23263a;
}
body.dark html {
    scrollbar-color: var(--primary-dark) #23263a;
}

footer .kardes-site-link {
    background: #fff; /* Açık temada kutu içi beyaz */
    padding: 0.7em 1.4em;
    border-radius: 14px;
    box-shadow: 0 6px 24px 0 #38bdf855, 0 2px 8px #0003;
    display: inline-block;
    margin: 1.1rem 0 0.5rem 0;
    border: 2.5px solid #38bdf8;
    font-size: 1.08em;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s, color 0.2s;
    color: #23263a; /* Açık temada yazı rengi koyu */
}
footer .kardes-site-link a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.09em;
    letter-spacing: 0.01em;
    transition: color 0.18s, text-shadow 0.18s;
}
footer .kardes-site-link a:hover,
footer .kardes-site-link a:focus {
    color: #fbbf24;
    text-shadow: 0 2px 8px #fbbf2433;
    text-decoration: underline;
}
footer .kardes-site-link i {
    color: #38bdf8;
    margin-right: 0.5em;
    font-size: 1.18em;
    vertical-align: -2px;
    filter: drop-shadow(0 0 4px #38bdf8cc);
}
body.dark footer .kardes-site-link {
    background: linear-gradient(120deg, #181825 80%, #23263a 100%);
    border-color: #7c3aed;
    box-shadow: 0 8px 32px 0 #7c3aed33, 0 2px 8px #0003;
    color: #7c3aed; /* Koyu temada yazı rengi tema moru */
}
body.dark footer .kardes-site-link a {
    color: #38bdf8;
}
body.dark footer .kardes-site-link a:hover,
body.dark footer .kardes-site-link a:focus {
    color: #f472b6;
}

/* Yükleniyor ekranı kaldırıldı */

/* Floating Donate Button */
.floating-donate {
    position: fixed;
    left: 1.5rem;
    bottom: 1.5rem;
    z-index: 999;
}

.floating-donate-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartbeat 2s infinite;
}

.floating-donate-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.6);
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    14% { transform: scale(1.1); }
    28% { transform: scale(1); }
    42% { transform: scale(1.1); }
    70% { transform: scale(1); }
}

.floating-donate-tooltip {
    position: absolute;
    left: 70px;
    bottom: 0;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.floating-donate:hover .floating-donate-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-donate-tooltip::after {
    content: '';
    position: absolute;
    left: -8px;
    bottom: 24px;
    width: 0;
    height: 0;
    border-right: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.floating-donate-tooltip span {
    font-weight: 600;
    color: var(--text);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.floating-donate-tooltip p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.donate-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.donate-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Dark mode için tooltip stilleri */
body.dark .floating-donate-tooltip {
    background: var(--card);
    border-color: var(--border);
    color: var(--text);
}

body.dark .floating-donate-tooltip::after {
    border-right-color: var(--card);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
    .floating-donate {
        left: 1rem;
        bottom: 1rem;
    }
    
    .floating-donate-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .floating-donate-tooltip {
        width: 220px;
        padding: 0.875rem;
        left: 60px;
    }
    
    .floating-donate-tooltip span {
        font-size: 0.9rem;
    }
    
    .floating-donate-tooltip p {
        font-size: 0.8rem;
    }
}

/* Donate Modal Styles - Compact Version */
.donate-modal {
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: var(--radius);
}

.donate-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.donate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--error), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}

.donate-icon i {
    font-size: 1.5rem;
    color: white;
}

.donate-header h2 {
    color: var(--text);
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.donate-header p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.donate-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-container {
    text-align: center;
}

.qr-code {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin: 0 auto 0.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
    border: 2px solid var(--border);
    max-width: fit-content;
}

.qr-code img {
    width: 240px;
    height: 240px;
    display: block;
    border-radius: 8px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    object-fit: contain;
    background: white;
    padding: 8px;
}

.qr-label {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

.bank-guide h4 {
    color: var(--text);
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.bank-list {
    display: grid;
    gap: 0.5rem;
}

.bank-item {
    background: var(--bg-alt);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.bank-item:hover {
    background: var(--bg);
    transform: translateX(2px);
}

.bank-name {
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
}

.bank-path {
    color: var(--text-light);
    font-size: 0.85rem;
}

.donate-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1rem;
    margin: 1.5rem 0 1rem 0;
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.warning-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.warning-text p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #92400e;
    font-weight: 500;
}

.warning-text strong {
    color: #78350f;
    font-weight: 600;
}

.donate-footer {
    text-align: center;
    padding: 1rem 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.donate-footer p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Nav donate button style fix */
.nav-donate-link {
    background: none !important;
    border: none !important;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    padding: inherit;
    margin: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Floating donate tooltip button fix */
.floating-donate-tooltip .donate-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.floating-donate-tooltip .donate-link:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.4);
}

/* Dark mode için donate modal */
body.dark-mode .donate-modal {
    background: var(--card);
}

body.dark-mode .qr-code {
    background: var(--bg-alt);
    border-color: var(--border);
}

body.dark-mode .bank-item {
    background: var(--bg);
}

body.dark-mode .bank-item:hover {
    background: var(--bg-alt);
}

body.dark-mode .donate-warning {
    background: linear-gradient(135deg, #451a03 0%, #78350f 100%);
    border-color: #f59e0b;
}

body.dark-mode .warning-text p {
    color: #fbbf24;
}

body.dark-mode .warning-text strong {
    color: #fcd34d;
}

/* Mobile responsive for donate modal */
@media (max-width: 768px) {
    .donate-modal {
        max-width: 95vw;
        margin: 0.5rem;
    }
    
    .qr-code img {
        width: 200px;
        height: 200px;
        image-rendering: pixelated;
        image-rendering: -moz-crisp-edges;
        image-rendering: crisp-edges;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: optimize-contrast;
        -ms-interpolation-mode: nearest-neighbor;
        object-fit: contain;
        background: white;
        padding: 8px;
    }
    
    .bank-item {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        padding: 0.6rem;
    }
    
    .donate-icon {
        width: 50px;
        height: 50px;
    }
    
    .donate-icon i {
        font-size: 1.2rem;
    }
    
    .donate-header h2 {
        font-size: 1.2rem;
    }
    
    .bank-name, .bank-path {
        font-size: 0.8rem;
    }
    
    .donate-warning {
        margin: 1rem 0 0.75rem 0;
        padding: 0.75rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .warning-icon {
        font-size: 1rem;
        margin-top: 0;
    }
    
    .warning-text p {
        font-size: 0.8rem;
    }
}
