﻿

/* =========================
   ABOUT SECTION – FINAL
========================= */
/*#about {
    padding-top: 80px;
    padding-bottom: 20px;
}*/


    /* BAŞLIK */
    /*#about .section-title h2 {
        font-size: 40px;
        font-weight: 700;
        color: #111;
    }*/

    /* SOL TARAF (AÇIKLAMA) */
    /*#about .about-text {
        font-size: 15px;
        line-height: 1.8;
        color: #333;
        max-width: 520px;
        margin: 0;
    }*/

    /* SAĞ TARAF */
    /*#about .about-right {
        border-left: 1px solid #e5e7eb;
        padding-left: 28px;
    }*/

    /* KİŞİSEL BİLGİLER */
    /*#about .about-info {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        #about .about-info li {
            font-size: 14px;
            color: #333;
            margin-bottom: 10px;
        }

        #about .about-info strong {
            font-weight: 600;
        }*/

    /* EĞİTİM */
    /*#about .about-education {
        margin-top: 32px;
    }

        #about .about-education h4 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 12px;
        }

        #about .about-education strong {
            display: block;
            font-size: 14px;
            margin-bottom: 4px;
        }

        #about .about-education div {
            font-size: 14px;
        }

        #about .about-education span {
            font-size: 13px;
            color: #6b7280;
        }*/

/* ABOUT RESPONSIVE */
/*@media (max-width: 992px) {
    #about .about-right {
        border-left: none;
        padding-left: 0;
        margin-top: 24px;
    }

    #about .about-text {
        max-width: 100%;
    }
}*/







/* =========================
   SKILLS SECTION – FINAL
========================= */
/*#skills {
    padding-top: 80px;
    padding-bottom: 20px;*/ /* 👈 kritik */
/*}*/
    /* BAŞLIK */
    /*#skills .section-title h2 {
        font-size: 40px;
        font-weight: 700;
        color: #111;
        text-align: center;
    }*/

    /* GRID – ABOUT İLE AYNI HİZA */
    /*#skills .skills-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }*/

    /* TEK SKILL */
    /*#skills .skill-box {
        width: 100%;
    }*/

    /* BAŞLIK SATIRI */
    /*#skills .skill-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
    }

    #skills .skill-title {
        font-size: 15px;
        font-weight: 600;
        color: #111;
    }

    #skills .skill-percent {
        font-size: 14px;
        font-weight: 600;
        color: #2563eb;
    }*/

    /* BAR */
    /*#skills .skill-bar {
        width: 100%;
        height: 8px;
        background-color: #e5e7eb;
        border-radius: 999px;
        overflow: hidden;
    }

    #skills .skill-bar-fill {
        height: 100%;
        background-color: #2563eb;
        border-radius: 999px;
        transition: width 1s ease-out;
    }*/

/* SKILLS RESPONSIVE */
/*@media (max-width: 768px) {
    #skills .skills-grid {
        grid-template-columns: 1fr;
    }
}*/
/* =========================
   PORTFOLIO – SIFIRDAN (3 ÜST + 1 ALT)
========================= */

/*.portfolio-section {
    padding: 40px 0 20px;
}*/

/* grid alanı */
/*#portfolio .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);*/ /* çizdiğin kare kutu gibi */
    /*justify-content: center;*/ /* tüm grid ortada */
    /*gap: 48px 48px;*/ /* yatay/dikey boşluk */
    /*margin-top: 28px;
}*/

/* kart */
/*#portfolio .portfolio-card {
    width: 300px;
    height: 260px;*/ /* kareye yakın */
    /*border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #111;
}*/

/* görsel */
/*#portfolio .portfolio-media,
#portfolio .portfolio-media img {
    width: 100%;
    height: 100%;
}

    #portfolio .portfolio-media img {
        object-fit: cover;
        display: block;
    }*/



/* RESPONSIVE */
/*@media (max-width: 1100px) {
    #portfolio .portfolio-grid {
        grid-template-columns: repeat(2, 300px);*/ /* tablet: 2 + 2 */
    /*}
}

@media (max-width: 680px) {
    #portfolio .portfolio-grid {
        grid-template-columns: 1fr;*/ /* mobil: tek tek */
        /*justify-items: center;
    }

    #portfolio .portfolio-card {
        width: 92%;
        max-width: 340px;
        height: 240px;
    }
}

#portfolio .portfolio-filter {
    margin-bottom: 48px;*/ /* ← nefes burada */
/*}*/

/* =========================
   PORTFOLIO – FINAL CLEAN
========================= */

/*#portfolio .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
}*/

/* KART – TAMAMI TIKLANABİLİR */
/*.portfolio-card {
    display: flex;
    flex-direction: column;
    width: 300px;
    border-radius: 16px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}*/

    /* HOVER → SADECE KART BÜYÜR */
    /*.portfolio-card:hover {
        transform: translateY(-8px) scale(1.03);
        box-shadow: 0 24px 48px rgba(0,0,0,0.18);
    }*/

/* ÜST – RESİM (BOYUT SABİT, BÜYÜME YOK) */
/*.portfolio-image {
    width: 100%;
    height: 220px;*/ /* 👈 2. görseldeki ideal boy */
    /*background: #000;
    overflow: hidden;
}

    .portfolio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }*/

/* ALT – YAZI */
/*.portfolio-body {
    padding: 16px 18px 18px;
    background: #f9fafb;
}

    .portfolio-body h4 {
        font-size: 16px;
        font-weight: 700;
        margin-bottom: 6px;
        color: #111;
    }

    .portfolio-body p {
        font-size: 14px;
        line-height: 1.5;
        color: #374151;
        margin: 0;
    }*/

/* =========================
   RESPONSIVE
========================= */

/*@media (max-width: 1100px) {
    #portfolio .portfolio-grid {
        grid-template-columns: repeat(2, 300px);
    }
}

@media (max-width: 680px) {
    #portfolio .portfolio-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .portfolio-card {
        width: 92%;
        max-width: 340px;
    }

    .portfolio-image {
        height: 200px;
    }
}

#portfolio-detail {
    padding: 80px 0;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: #2563eb;
    font-weight: 500;
    text-decoration: none;
}

.detail-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-image {
    max-width: 900px;
    margin: 0 auto;
}

    .detail-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 18px;
        background: #000;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    }


.detail-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.detail-category {
    color: #6b7280;
    margin-bottom: 20px;
}

.detail-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}*/

/* Responsive */
/*@media (max-width: 992px) {
    .detail-card {
        grid-template-columns: 1fr;
    }
}*/

/* =========================
   PORTFOLIO DETAIL – CLEAN FINAL
========================= */

/*.portfolio-detail-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}*/

/* Geri dön */
/*.back-link {
    display: inline-block;
    margin-bottom: 40px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}*/

/* Ana düzen */
/*.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: flex-start;
}*/

/* SOL YAZI */
/*.detail-info h1 {
    font-size: 40px;
    margin-bottom: 12px;
}

.detail-meta {
    display: inline-block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 26px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e7eb;
}

.detail-desc {
    font-size: 16px;
    line-height: 1.9;
    color: #374151;
    max-width: 480px;
    margin-bottom: 32px;
}*/

/* Buton */
/*.detail-actions {
    margin-bottom: 48px;
}*/

/* BEN NELER YAPTIM */
/*.detail-section {
    max-width: 480px;
}

    .detail-section h3 {
        font-size: 22px;
        margin-bottom: 20px;
        position: relative;
    }

        .detail-section h3::after {
            content: "";
            display: block;
            width: 40px;
            height: 2px;
            background: #6366f1;
            margin-top: 8px;
        }

    .detail-section ul {
        padding-left: 16px;
    }

    .detail-section li {
        margin-bottom: 12px;
        line-height: 1.6;
        color: #374151;
    }*/

/* 3D TASARIM – ALT GALERİ */
/*.detail-gallery {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

    .detail-gallery img {
        width: 160px;
        height: 100px;
        object-fit: cover;
        border-radius: 12px;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }*/

        /* HOVER EFEKT */
        /*.detail-gallery img:hover {
            transform: scale(1.08);
            box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
            z-index: 2;
        }*/


/* SAĞ GÖRSEL */
/*.detail-image {
    position: sticky;
    top: 120px;
}

    .detail-image img {
        width: 100%;
        max-height: 300px;
        object-fit: cover;
        border-radius: 18px;
        background: #000;
        box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    }*/

/* RESPONSIVE */
/*.portfolio-detail-page {
    max-width: 1200px;*/ /* 1100 → 1200 */
    /*margin: 0 auto;
    padding: 72px 32px;
}

.detail-layout {
    background: #fafafa;
    border-radius: 24px;
    padding: 48px;
}

   
    .detail-info h1 {
        font-size: 32px;
    }

    .detail-image img {
        max-height: 260px;
    }

    .detail-image {
        position: static;
    }
}

.image-actions {
    margin-top: 24px;
    text-align: left;*/ /* soldaki maddelerle aynı hizayı verir */
/*}

.image-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.image-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.demo-label {
    font-size: 16px;*/ /* biraz büyüttük */
    /*font-weight: 600;*/ /* okunurluk */
    /*color: #6d28d9;*/ /* Demo morunun yumuşak tonu */
    /*margin-bottom: 6px;
}

.main-image {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}*/

/* GALERİ */
/*.detail-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}

    .detail-gallery img {
        width: 100%;
        height: 90px;
        object-fit: cover;
        border-radius: 12px;
        cursor: pointer;
        transition: transform .25s ease, box-shadow .25s ease;
    }

      .pixel-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
}

        .pixel-gallery img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: contain;*/
            /* 🔽 SİYAHI KALDIR */
            /*background: #f8fafc;*/ /* çok açık gri */
            /*padding: 12px;
            border-radius: 12px;
            border: 1px solid #e5e7eb;
            image-rendering: pixelated;*/ /* 🔥 pixel art netliği */
            /*transition: transform .25s ease, box-shadow .25s ease;
        }

            .pixel-gallery img:hover {
                transform: translateY(-4px) scale(1.03);
                box-shadow: 0 12px 30px rgba(0,0,0,.18);
            }


.portfolio-filter a.active {
    color: #6d28d9;
    border-bottom: 2px solid #6d28d9;
}*/


/* =========================
   SIDEBAR FINAL (overlay çakışmasız)
========================= */

/* Sidebar ana zemin */
.sidebar {
    background: #3B3355 !important;
    color: #f5f3ff !important;
}

    /* Template'in koyuluk veren katmanı: SAKLAMA, MOR YAP + OPAK YAP */
    .sidebar .overlay-inner,
    .sidebar .overlay-inner.bg-dark {
        background: #3B3355 !important;
        opacity: 1 !important;
    }

    /* opacity class'ı sidebar içinde etkisiz */
    .sidebar .opacity-85 {
        opacity: 1 !important;
    }

/* Menü renkleri */
.sidebar-menu a {
    color: #e9d5ff;
}

    .sidebar-menu a:hover {
        background: rgba(233,213,255,0.18);
        color: #fff;
    }

    .sidebar-menu a.active {
        background: linear-gradient(90deg,#a78bfa,#6366f1);
        color: #fff;
    }
.portfolio-main-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.portfolio-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 24px 20px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3ecff;
    color: #6c2bd9;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .portfolio-ext-link:hover {
        background: #e9dcff;
        color: #5421aa;
    }

.portfolio-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-page-btn {
    min-width: 36px;
    height: 36px;
    border: 1px solid #c9b3f7;
    border-radius: 999px;
    background: #ffffff;
    color: #5c2fae;
    font-weight: 600;
    cursor: pointer;
}

    .portfolio-page-btn.active {
        background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
        color: #ffffff;
        border-color: transparent;
    }

#portfolio .portfolio-grid .portfolio-card.portfolio-hidden {
    display: none !important;
}

#portfolio .portfolio-grid .portfolio-card[hidden] {
    display: none !important;
}

/* =========================
   PUBLIC UX FIXES (MOBILE + LINKS + SKILLS)
========================= */

.portfolio-card .portfolio-ext-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 48px);
    margin: 0 auto 20px;
    text-align: center;
}

.project-detail-link-wrap {
    display: flex;
    justify-content: center;
}

.project-detail-link {
    min-width: 136px;
    justify-content: center;
}

.skills-section {
    padding: 10px 0 40px;
}

.skills-title {
    text-align: center;
    margin-bottom: 24px;
}

.skills-slider {
    max-width: 940px;
    margin: 0 auto;
}

.skills-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
}

.skills-page {
    display: contents;
}

.skill-item {
    min-width: 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #3b2f52;
}

.skill-percent {
    font-size: 1rem;
    font-weight: 600;
    color: #4a375f;
}

.skill-progress {
    width: 100%;
    height: 14px;
    border-radius: 999px;
    background: #ddcff3;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
}

.skills-dots {
    display: none;
}

@media (max-width: 1199.98px) {
    .mobile-logo,
    .nav-toggle {
        z-index: 10020;
    }

    .site-header {
        z-index: 10010;
    }

    body.site-header-open .site-header {
        transform: translate3D(0, 0, 0) !important;
    }

    body.site-header-open .header-overlay {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767.98px) {
    .skills-slider {
        overflow: hidden;
        padding: 0 6px;
    }

    .skills-track {
        display: flex;
        gap: 0;
        transition: transform 0.45s ease;
        will-change: transform;
    }

    .skills-page {
        display: block;
        min-width: 100%;
        padding: 0 6px;
    }

    .skill-item + .skill-item {
        margin-top: 24px;
    }

    .skills-dots {
        margin-top: 16px;
        display: flex;
        justify-content: center;
        gap: 8px;
    }

    .skills-dot {
        width: 10px;
        height: 10px;
        border: 0;
        border-radius: 999px;
        background: rgba(76, 52, 117, 0.28);
        padding: 0;
    }

    .skills-dot.active {
        width: 24px;
        background: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
    }
}

/* =========================
   SPACING + SIDEBAR POLISH
========================= */

#about,
#skills,
#portfolio,
#contact {
    padding: 4.75rem 0;
}

.site-header .header-inner {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

.site-header .header-brand {
    margin-bottom: 2.25rem;
}

.site-header .nav-divider {
    height: 30px;
    opacity: 0.24;
}

.site-header .nav-divider.mb-8 {
    margin-bottom: 1.25rem !important;
}

.site-header .nav-divider.my-8 {
    margin-top: 1.25rem !important;
    margin-bottom: 1.25rem !important;
}

.site-header .site-nav li {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.site-header .site-nav a:not(.btn) {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.site-header .sidebar-social {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 18px !important;
    padding: 30px 0 18px !important;
}

.site-header .sidebar-social .social-bubbles {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

@media (max-width: 1199.98px) {
    #about,
    #skills,
    #portfolio,
    #contact {
        padding: 3.75rem 0;
    }

    .site-header .header-inner {
        padding-top: 2.75rem;
        padding-bottom: 2.75rem;
    }
}

/* If another stylesheet enforces larger section paddings, keep compact spacing. */
.zh-home,
#about,
#skills,
#portfolio,
#contact {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}

.zh-home {
    padding-bottom: 34px !important;
}

@media (max-width: 768px) {
    #about,
    #skills,
    #portfolio,
    #contact {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
    }

    .zh-home {
        padding-top: 72px !important;
        padding-bottom: 26px !important;
    }
}

@media (max-width: 1199.98px) {
    .nav-toggle {
        top: 12px !important;
        right: 12px !important;
        width: 46px !important;
        height: 46px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-left: 11px !important;
    }

    .nav-toggle span {
        width: 18px !important;
        margin: 0 !important;
    }

    .nav-toggle span,
    .nav-toggle span:before,
    .nav-toggle span:after {
        height: 2px !important;
    }

    .nav-toggle span:before,
    .nav-toggle span:after {
        width: 18px !important;
        left: 0 !important;
        right: auto !important;
    }

    .nav-toggle span:before {
        top: -7px !important;
    }

    .nav-toggle span:after {
        top: 7px !important;
    }

    .nav-toggle.open span:before,
    .nav-toggle.open span:after {
        top: 0 !important;
        width: 18px !important;
    }

    .nav-toggle.open span:before {
        left: 0 !important;
    }

    .nav-toggle.open span:after {
        left: 0 !important;
        right: auto !important;
    }
}
