* { margin: 0; padding: 0; box-sizing: border-box; }
:root { --primary: #8b5cf6; --pink: #ec4899; --dark: #0a0a1a; --light: #fdfdff; --gray: #64748b; --border: #ede9fe; }
body { font-family: "Plus Jakarta Sans", -apple-system, sans-serif; background: var(--light); color: var(--dark); line-height: 1.6; }

/* ============ LOGO - Righteous Font, Pembe→Sarı Gradient ============ */
.logo {
    display: inline-flex;
    align-items: baseline;
    font-family: 'Righteous', 'Manrope', sans-serif;
    font-size: 1.9rem;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    position: relative;
    padding-bottom: 8px;
    line-height: 1;
    transition: transform .3s ease;
}
.logo:hover { transform: scale(1.04); }
.logo .logo-cnk { color: #fff; font-weight: 400; }
.logo .logo-web {
    background: linear-gradient(90deg, #ec4899, #facc15);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 400;
}
.logo::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ec4899, #facc15);
    background-size: 200% auto;
    border-radius: 3px;
    animation: shine 3s linear infinite;
    opacity: 0.85;
}
@keyframes shine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

header { background: rgba(10,10,26,0.9); backdrop-filter: blur(20px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid rgba(139,92,246,0.2); }
.nav { max-width: 1200px; margin: 0 auto; padding: 1.1rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.nav-links a:hover { color: #fff; }
.nav-search { background: rgba(255,255,255,0.08); border-radius: 100px; padding: 0.3rem 0.3rem 0.3rem 1rem; border: 1px solid rgba(139,92,246,0.25); display: flex; align-items: center; }
.nav-search-input { background: transparent; border: none; color: #fff; outline: none; width: 130px; }
.nav-search-btn { background: linear-gradient(135deg, #8b5cf6, #ec4899); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; color: #fff; }

/* ============ HAMBURGER MENÜ BUTONU ============ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    position: relative;
}
.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all .3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ DARK MODE TOGGLE ============ */
.nav-toggle-li { list-style: none; }
.tema-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.3);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all .3s ease;
    padding: 0;
    font-family: inherit;
}
.tema-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
    transform: scale(1.08) rotate(15deg);
}
.tema-ikon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform .4s ease;
}

/* ============ HERO ============ */
.hero { background: radial-gradient(ellipse at top left, rgba(139,92,246,0.4), transparent 50%), radial-gradient(ellipse at bottom right, rgba(236,72,153,0.3), transparent 50%), linear-gradient(135deg, #0a0a1a 0%, #1a0b3d 50%, #0a0a1a 100%); color: #fff; padding: 6rem 2rem; position: relative; overflow: hidden; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6; }
.blob-1 { top: -10%; right: 5%; width: 400px; height: 400px; background: linear-gradient(135deg, #ec4899, #f97316); }
.blob-2 { bottom: -10%; left: 5%; width: 350px; height: 350px; background: linear-gradient(135deg, #06b6d4, #8b5cf6); }
.hero-content { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { font-family: "Manrope", sans-serif; font-size: 3rem; line-height: 1.15; margin-bottom: 1.5rem; font-weight: 900; }
.hero h1 .gradient { background: linear-gradient(90deg, #8b5cf6, #ec4899, #f97316, #facc15); background-size: 200% auto; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: shine 4s linear infinite; }
.hero p { font-size: 1.15rem; color: #cbd5e1; margin-bottom: 2rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 0.95rem 2.2rem; border-radius: 12px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; font-family: inherit; transition: all 0.3s; }
.btn-primary { background: linear-gradient(135deg, #8b5cf6, #ec4899, #f97316); background-size: 200% auto; color: #fff; box-shadow: 0 10px 30px rgba(139,92,246,0.5); animation: shine 3s linear infinite; }
.btn-outline { background: rgba(255,255,255,0.05); color: #fff; border: 2px solid rgba(139,92,246,0.5); }
.btn-outline-dark { background: #fff; color: #475569; border: 2px solid #e2e8f0; }

/* ============ HERO KOD EDİTÖRÜ ============ */
.hero-visual {
    background: #1e1e2e !important;
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 12px;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', Consolas, monospace;
}
.editor-ust {
    background: #181825;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #313244;
}
.editor-dots { display: flex; gap: 6px; }
.editor-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.editor-dot.kirmizi { background: #ff5f57; }
.editor-dot.sari    { background: #febc2e; }
.editor-dot.yesil   { background: #28c840; }
.editor-sekme { margin-left: 10px; font-size: 12px; color: #cdd6f4; display: flex; align-items: center; gap: 6px; }
.editor-dosya { background: rgba(139, 92, 246, 0.15); padding: 4px 12px; border-radius: 6px; border: 1px solid rgba(139, 92, 246, 0.3); }
.editor-govde { padding: 16px 0; min-height: 220px; font-size: 14px; line-height: 1.7; color: #cdd6f4; }
.editor-satir { display: flex; align-items: flex-start; padding: 0 14px; min-height: 1.7em; }
.editor-no { color: #6c7086; width: 32px; text-align: right; margin-right: 16px; user-select: none; flex-shrink: 0; font-size: 13px; }
.editor-kod { color: #cdd6f4; white-space: pre-wrap; word-break: break-word; flex: 1; font-family: 'Courier New', Consolas, monospace; }
.editor-kod .k-comment { color: #6c7086; font-style: italic; }
.editor-kod .k-keyword { color: #cba6f7; font-weight: 700; }
.editor-kod .k-string  { color: #a6e3a1; }
.editor-kod .k-func    { color: #89b4fa; }
.editor-kod .k-var     { color: #f9e2af; }
.editor-kod .k-brand {
    background: linear-gradient(90deg, #ec4899, #facc15);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.imlec {
    display: inline-block;
    width: 8px;
    height: 1.1em;
    background: #cba6f7;
    margin-left: 1px;
    vertical-align: middle;
    animation: imlecYanip 0.9s infinite;
    border-radius: 1px;
}
@keyframes imlecYanip { 0%, 45% { opacity: 1; } 46%, 100% { opacity: 0; } }
.editor-alt { background: #181825; padding: 8px 14px; display: flex; justify-content: space-between; font-size: 11px; color: #6c7086; border-top: 1px solid #313244; }
.editor-alt span { display: flex; align-items: center; gap: 5px; }

/* ============ GENEL SECTIONS ============ */
section { padding: 5rem 2rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-family: "Manrope", sans-serif; font-size: 2.5rem; font-weight: 900; margin-bottom: 1rem; }
.section-title p { color: var(--gray); max-width: 600px; margin: 0 auto; }
.badge { display: inline-block; padding: 0.5rem 1.2rem; background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(236,72,153,0.15)); color: #8b5cf6; border: 1px solid rgba(139,92,246,0.3); border-radius: 100px; font-size: 0.8rem; font-weight: 700; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1.5px; text-decoration: none; }
.services-grid, .vitrin-grid, .blog-grid, .tema-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.service-card, .vitrin-card, .blog-card, .tema-card { background: #fff; border: 2px solid var(--border); border-radius: 20px; padding: 2rem; transition: all 0.35s; text-decoration: none; color: inherit; display: block; }
.service-card:hover, .vitrin-card:hover, .blog-card:hover, .tema-card:hover { transform: translateY(-8px); box-shadow: 0 25px 50px rgba(139,92,246,0.2); }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 1.5rem; color: #fff; }
.service-card h3, .vitrin-card h3, .blog-card h3, .tema-card h3 { font-family: "Manrope", sans-serif; font-size: 1.2rem; font-weight: 800; margin-bottom: 0.75rem; }
.vitrin-section { background: linear-gradient(180deg, #faf5ff 0%, #fdfdff 100%); }
.vitrin-thumb, .tema-thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, #f3e8ff, #fce7f3); border-radius: 12px; overflow: hidden; margin-bottom: 1rem; position: relative; }
.vitrin-thumb img, .tema-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vitrin-placeholder, .tema-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; }
.vitrin-price, .tema-badge-fiyat { position: absolute; top: 12px; right: 12px; padding: 0.4rem 0.9rem; border-radius: 100px; font-size: 0.75rem; font-weight: 900; color: #fff; }
.vitrin-price.ucretsiz, .tema-badge-fiyat.free { background: linear-gradient(135deg, #22c55e, #16a34a); }
.vitrin-price.ucretli, .tema-badge-fiyat.paid { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.vitrin-price.iletisim, .tema-badge-fiyat.contact { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.vitrin-info { padding: 0.25rem 0.25rem 0; }
.vitrin-kategori { font-size: 0.7rem; color: var(--gray); letter-spacing: 1px; font-weight: 800; }
.vitrin-info h3 { margin-top: 0.25rem; }
.blog-image { height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: linear-gradient(135deg, #8b5cf6, #ec4899); border-radius: 12px; margin-bottom: 1rem; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.8rem; color: var(--gray); margin-bottom: 0.75rem; }
.contact { background: linear-gradient(135deg, #0a0a1a 0%, #1a0b3d 50%, #0a0a1a 100%); color: #fff; }
.contact .section-title h2 { color: #fff; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item .icon { width: 52px; height: 52px; background: linear-gradient(135deg, #8b5cf6, #6366f1); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.contact-item .label { font-size: 0.85rem; color: #94a3b8; }
.contact-item .value { font-weight: 700; }
.contact-form { background: rgba(255,255,255,0.03); border: 1px solid rgba(139,92,246,0.25); border-radius: 20px; padding: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.5rem; color: #cbd5e1; }
.form-group input, .form-group textarea { width: 100%; padding: 0.9rem; background: rgba(10,10,26,0.6); border: 2px solid rgba(139,92,246,0.2); border-radius: 12px; color: #fff; font-family: inherit; }
.form-group textarea { min-height: 120px; resize: vertical; }
footer { background: #050510; color: #94a3b8; padding: 3rem 2rem 1.5rem; }
.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: #fff; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { color: #94a3b8; text-decoration: none; }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; }
.whatsapp-float { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 30px rgba(37,211,102,0.5); z-index: 998; text-decoration: none; }
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-tooltip { position: absolute; right: 75px; background: #0a0a1a; color: #fff; padding: 0.6rem 1rem; border-radius: 10px; white-space: nowrap; opacity: 0; transition: opacity 0.3s; font-size: 0.85rem; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }
.alert { padding: 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.panel-empty { text-align: center; padding: 4rem 2rem; background: #fff; border: 2px dashed #ede9fe; border-radius: 20px; }

/* ============ STATİK SAYFALAR ============ */
.statik-sayfa { padding: 60px 20px 80px; background: #fff; }
.statik-sayfa .container { max-width: 900px; margin: 0 auto; }
.statik-baslik { text-align: center; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 2px solid #f3f4f6; }
.statik-baslik h1 { font-family: 'Manrope', sans-serif; font-size: 42px; font-weight: 900; margin: 12px 0; background: linear-gradient(90deg, #8b5cf6, #ec4899, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.2; }
.statik-baslik p { font-size: 14px; color: #6b7280; margin: 0; }
.statik-icerik { font-size: 15px; line-height: 1.85; color: #374151; }
.statik-icerik h2 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; color: #111827; margin: 40px 0 16px; padding-left: 16px; border-left: 4px solid; border-image: linear-gradient(135deg, #8b5cf6, #ec4899) 1; border-image-slice: 1; }
.statik-icerik h2:first-child { margin-top: 0; }
.statik-icerik p { margin: 0 0 16px; text-align: justify; }
.statik-icerik ul { margin: 0 0 20px; padding-left: 24px; }
.statik-icerik li { margin-bottom: 10px; line-height: 1.7; }
.statik-icerik strong { color: #111827; font-weight: 700; }
.statik-icerik a { color: #8b5cf6; text-decoration: none; border-bottom: 1px dashed #8b5cf6; }
.statik-icerik a:hover { border-bottom-style: solid; color: #7c3aed; }

/* ============ DARK MODE TEMASI ============ */
body.dark { background: #0a0a1a; color: #e5e7eb; }
body.dark section { background: #0a0a1a; color: #e5e7eb; }
body.dark .vitrin-section { background: linear-gradient(180deg, #0f0a1e 0%, #0a0a1a 100%); }
body.dark .statik-sayfa { background: #0f0f1e; }
body.dark .service-card,
body.dark .vitrin-card,
body.dark .blog-card,
body.dark .tema-card {
    background: #16162a;
    border-color: rgba(139, 92, 246, 0.25);
    color: #e5e7eb;
}
body.dark .service-card:hover,
body.dark .vitrin-card:hover,
body.dark .blog-card:hover,
body.dark .tema-card:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}
body.dark .section-title h2,
body.dark .service-card h3,
body.dark .vitrin-card h3,
body.dark .blog-card h3,
body.dark .tema-card h3,
body.dark .statik-icerik h2,
body.dark .statik-baslik h1 { color: #fff; }
body.dark .section-title p,
body.dark .service-card p,
body.dark .vitrin-info p,
body.dark .statik-icerik p,
body.dark .statik-icerik li { color: #94a3b8; }
body.dark .vitrin-kategori { color: #94a3b8; }
body.dark .statik-icerik { color: #cbd5e1; }
body.dark .statik-icerik strong { color: #fff; }
body.dark .statik-baslik { border-bottom-color: #1e293b; }
body.dark footer { background: #050510; }
body.dark .footer-col ul a { color: #64748b; }
body.dark .footer-col ul a:hover { color: #c4b5fd; }
body.dark header { background: rgba(10, 10, 26, 0.95); }
body.dark .nav-links a { color: #94a3b8; }
body.dark .nav-links a:hover { color: #fff; }
body.dark .panel-empty { background: #16162a; border-color: rgba(139, 92, 246, 0.3); color: #cbd5e1; }
body.dark .alert-success { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
body.dark .alert-danger { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
body.dark .footer-bottom { border-top-color: rgba(139, 92, 246, 0.2); color: #64748b; }

/* ============ MOBİL (768px altı) ============ */
@media (max-width: 768px) {
    /* Hamburger görünür */
    .menu-toggle {
        display: flex !important;
    }

    /* Navbar arama gizle */
    .nav-search {
        display: none !important;
    }

    /* Mobil menü - sağdan kayar */
    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        background: linear-gradient(180deg, #0a0a1a, #1a0b3d) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        padding: 2rem !important;
        transition: right 0.4s ease !important;
        z-index: 9999 !important;
        list-style: none !important;
        margin: 0 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6) !important;
    }
    .nav-links.active {
        right: 0 !important;
    }
    .nav-links li {
        width: 100% !important;
        text-align: center !important;
    }
    .nav-links a {
        display: block !important;
        padding: 1rem !important;
        font-size: 1.1rem !important;
        color: #fff !important;
    }
    body.dark .nav-links {
        background: linear-gradient(180deg, #0a0a1a, #1a0b3d) !important;
    }

    /* Hero */
    .hero-content { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .hero h1 { font-size: 2rem !important; }
    .hero-visual { display: none !important; }

    /* Diğer */
    .contact-wrapper { grid-template-columns: 1fr !important; }
    .footer-grid { grid-template-columns: 1fr !important; text-align: center !important; }
    .footer-bottom { flex-direction: column !important; text-align: center !important; }
    .whatsapp-float { width: 55px !important; height: 55px !important; bottom: 18px !important; right: 18px !important; }
    .whatsapp-tooltip { display: none !important; }
    section { padding: 3.5rem 1.25rem !important; }
    .section-title h2 { font-size: 1.9rem !important; }
}

/* Statik sayfa mobil */
@media (max-width: 640px) {
    .statik-sayfa { padding: 40px 16px 60px; }
    .statik-baslik h1 { font-size: 28px; }
    .statik-icerik h2 { font-size: 18px; }
    .statik-icerik { font-size: 14px; }
}

/* iOS form font-size (zoom engelle) */
@media screen and (max-width: 768px) {
    input, textarea, select { font-size: 16px !important; }
}
/* ============ MOBİL MENÜ - SON ÇÖZÜM v2 ============ */
@media (max-width: 768px) {
    /* Header'ın üstünde olmalı */
    .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 340px !important;
        height: 100vh !important;
        background: linear-gradient(180deg, #0a0a1a 0%, #1a0b3d 100%) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1.2rem !important;
        padding: 2rem !important;
        transition: right 0.4s ease !important;
        z-index: 99999 !important;
        list-style: none !important;
        margin: 0 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8) !important;
        overflow-y: auto !important;
    }

    .nav-links.active {
        right: 0 !important;
    }

    /* Menü linkleri GÖRÜNÜR */
    .nav-links li {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        list-style: none !important;
    }

    .nav-links li a {
        display: block !important;
        padding: 14px 20px !important;
        font-size: 1.1rem !important;
        color: #ffffff !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        transition: all .2s !important;
        font-weight: 600 !important;
    }

    .nav-links li a:hover {
        background: rgba(139, 92, 246, 0.2) !important;
        color: #fff !important;
    }

    /* Hamburger butonu X olsun ve en üstte kalsın */
    .menu-toggle {
        display: flex !important;
        z-index: 100000 !important;
        position: relative !important;
    }

    /* Navbar (header) üstünde değil, altında kalsın */
    header {
        z-index: 100 !important;
    }
}