/* ============================================ */
/* GLOBAL CSS DEĞİŞKENLERİ - Dark/Light Mode  */
/* ============================================ */
:root {
    /* Temel Renkler */
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #00d2ff;
    
    /* Gradient */
    --grad-start: #0f0f0f;
    --grad-end: #1a1f26;
    
    /* Kartlar ve Transparans */
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glass-bg: var(--card-bg);
    --glass-border: var(--card-border);
    
    /* Buton Renkleri */
    --btn-primary: var(--accent-color);
    --btn-success: #2ecc71;
    --btn-danger: #e74c3c;
    --btn-warning: #ff4757;
    
    /* Animasyon */
    --smooth-timing: cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Typography */
    --metin-beyaz: #e0e0e0;
    --metin-gri: #999;
}

/* LIGHT MODE THEME */
body.light-mode {
    --bg-color: #f0f2f5;
    --text-color: #2d3436;
    --accent-color: #0984e3;
    
    --grad-start: #dfe6e9;
    --grad-end: #f0f2f5;
    
    --card-bg: rgba(0, 0, 0, 0.05);
    --card-border: rgba(0, 0, 0, 0.1);
    --glass-bg: var(--card-bg);
    --glass-border: var(--card-border);
    
    --btn-primary: var(--accent-color);
    --btn-success: #00b894;
    --btn-danger: #d63031;
    --btn-warning: #fdcb6e;
    
    --metin-beyaz: #2d3436;
    --metin-gri: #636e72;
}

/* --- SERTİFİKA SLIDER BÖLÜMÜ (YENİ) --- */
#certificates {
    padding: 60px 5%;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Kayan Ana Gövde */
.cert-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s var(--smooth-timing);
    will-change: transform;
}

/* Sertifika Kartı */
.cert-slide {
    min-width: calc(50% - 10px); /* Masaüstünde yan yana 2 tane */
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 20px;
    transition: 0.4s var(--smooth-timing);
}

.cert-slide img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.2);
}

.cert-slide h3 {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--metin-beyaz);
}

/* Navigasyon Okları */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--ana-renk);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.slider-btn:hover {
    background: var(--ana-renk);
    color: #fff;
    box-shadow: 0 0 15px var(--ana-renk);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Sayfa Noktaları (Pagination) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--ana-renk);
    width: 30px;
    border-radius: 10px;
}

/* Telefon Formatı (Responsive) */
@media (max-width: 768px) {
    .cert-slide {
        min-width: 100%; /* Mobilde tekli görünüm */
    }
    
    .cert-slide img {
        height: 200px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* --- MEVCUT CSS KODUNUN DEVAMI (DEĞİŞTİRİLMEDİ) --- */
/* 1. GLOBAL RESET & MODERN DEĞİŞKENLER */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

:root {
    --ana-renk: #00d2ff;
    --ana-renk-soft: rgba(0, 210, 255, 0.2);
    --koyu-gri: #121212;
    --metin-beyaz: #f0f2f5;
    --metin-gri: #b0b3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --smooth-timing: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: #0f0f0f;
    color: var(--metin-beyaz);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loaded header, body.loaded section {
    animation: slideUpFade 1s var(--smooth-timing) forwards;
}

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

/* --- GENEL BAŞLIKLAR --- */
h2 {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    box-shadow: 
        inset 0 0 15px rgba(255,255,255,0.05),
        0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

h2::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    animation: headerShine 4s infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: all;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1002;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--metin-beyaz);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--ana-renk);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--ana-renk);
}

header, section, footer {
    position: relative;
    z-index: 2;
}

.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.8s var(--smooth-timing), opacity 0.8s var(--smooth-timing);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

header {
    text-align: center;
    padding: clamp(100px, 15vh, 150px) 5% 30px 5%;
}

.hero h1 {
    font-size: clamp(2.2rem, 8vw, 4rem);
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
}

.hero p {
    max-width: 750px;
    margin: 0 auto;
    color: var(--metin-gri);
    font-size: clamp(1rem, 2vw, 1.15rem);
}

#about {
    padding: 30px 5%; 
    max-width: 1300px;
    margin: 0 auto;
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    background: var(--glass-bg);
    padding: 35px;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

#projects {
    padding: 30px 5% 60px 5%; 
    max-width: 1300px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 25px;
    transition: all 0.4s var(--smooth-timing);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* Blog / Referans / Yorum Vitrin */
.vitrin-section {
    padding: 40px 0;
    text-align: center;
}

#cv,
#testimonials {
    text-align: center;
}

#cv {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#cv .vitrin-grid {
    width: 100%;
}

#cv h2,
#testimonials h2 {
    margin-left: auto;
    margin-right: auto;
}

.vitrin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 5%;
    justify-items: center;
    justify-content: center;
    align-items: start;
}

.vitrin-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.25s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    align-self: start;
}

#cv .vitrin-card,
#testimonials .vitrin-card {
    text-align: center;
    align-items: center;
}

#cv .vitrin-card img,
#testimonials .vitrin-card img {
    margin-left: auto;
    margin-right: auto;
}

.vitrin-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-color);
    box-shadow: 0 12px 28px rgba(0, 210, 255, 0.12);
}

.vitrin-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto 12px;
}

.vitrin-meta {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.vitrin-tags {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.vitrin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    background: rgba(124, 156, 255, 0.15);
    color: var(--accent-color);
    margin: 0 6px 6px 0;
}

.vitrin-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    align-self: center;
}

.vitrin-stars {
    color: #f4d03f;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

@media (max-width: 600px) {
    .vitrin-section {
        padding: 30px 0;
    }

    .vitrin-grid {
        padding: 16px 6%;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header,
    section,
    footer {
        text-align: center;
    }

    .about-container {
        text-align: center;
        justify-items: center;
    }

    .about-text,
    .about-skills {
        text-align: center;
    }

    .skills-grid {
        justify-content: center;
    }

    .project-card,
    .contact-container,
    .membership-cta {
        text-align: center;
    }
}

/* Bildirim Butonu ve Panel */
.notify-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notify-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s var(--smooth-timing);
}

.notify-btn:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 210, 255, 0.25);
}

.notify-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff4757;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
}

button,
.nav-links a,
.nav-links a.nav-cta,
.nav-services,
.membership-btn,
.admin-login-card button.submit-btn,
.admin-btn {
    text-align: center;
}

.notify-panel {
    position: fixed;
    top: 120px;
    right: 40px;
    width: 320px;
    max-height: 420px;
    overflow: hidden;
    background: rgba(15, 20, 27, 0.95);
    border: 1px solid rgba(102, 192, 244, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    z-index: 1003;
    display: none;
    flex-direction: column;
}

.notify-panel.open { display: flex; }

.notify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
}

.notify-header button {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.notify-list {
    padding: 12px 16px;
    overflow-y: auto;
    max-height: 360px;
}

.notify-item {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.notify-item.unread h4 {
    color: #2ecc71;
}

.notify-item.read {
    opacity: 0.75;
}

.notify-item:last-child { border-bottom: none; }

.notify-item h4 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
    color: var(--accent-color);
}

.notify-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.85rem;
}

.notify-toast {
    position: fixed;
    right: 20px;
    bottom: 90px;
    background: rgba(20, 27, 38, 0.95);
    border: 1px solid rgba(102, 192, 244, 0.3);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.35);
    z-index: 1004;
    display: none;
}

.notify-toast.show { display: block; }

#contact {
    padding: 40px 5% 80px 5%; 
    max-width: 1100px;
    margin: 0 auto;
}

.contact-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 50px 20px;
    border-radius: 40px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
}

.social-item {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metin-beyaz);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.4s var(--smooth-timing);
}

#admin-login-btn, #theme-toggle {
    position: fixed;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--metin-beyaz);
    transition: all 0.3s ease;
}

#admin-login-btn { bottom: 25px; right: 25px; }
#theme-toggle { top: 85px; right: 25px; }

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background: rgba(18, 18, 18, 0.95);
        backdrop-filter: blur(25px);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        padding-top: 50px;
        gap: 40px;
        transition: 0.4s var(--smooth-timing);
    }
    .nav-links.active { right: 0; }
}

footer {
    text-align: center;
    padding: 40px 20px;
    opacity: 0.5;
    font-size: 0.85rem;
}
