/* Mobil uyumluluk için temel ayarlar */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }

    .project-card-container {
        height: 360px; /* Mobilde biraz daha yüksek */
    }

    .project-card-front,
    .project-card-back {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.25rem;
    }

    .card-content p {
        font-size: 0.875rem;
    }

    .tech-tags {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .tech-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .technologies span {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
    }

    .github-link {
        width: 100%;
        justify-content: center;
    }

    /* Kategori butonları için mobil düzenlemeler */
    .category-btn,
    .sub-category-btn,
    .scale-btn {
        width: calc(50% - 0.5rem);
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
        text-align: center;
        white-space: nowrap;
    }

    .category-btn i,
    .sub-category-btn i,
    .scale-btn i {
        margin-right: 0.25rem;
    }

    /* İstatistik kartları için mobil düzenlemeler */
    .statistics-card {
        padding: 1rem;
    }

    .statistics-card .counter {
        font-size: 2rem;
    }

    .statistics-card i {
        font-size: 1.5rem;
    }

    /* Mobil menü düzenlemeleri */
    #mobile-menu {
        background: rgba(17, 24, 39, 0.95);
        backdrop-filter: blur(8px);
    }

    .nav-link {
        padding: 0.75rem 1rem;
        display: block;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(55, 65, 81, 0.5);
    }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    .project-card-container {
        height: 400px; /* En küçük ekranlarda daha yüksek */
    }

    .category-btn,
    .sub-category-btn,
    .scale-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .statistics-card {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .project-link-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Sadece mobil cihazlar için özel ayarlar */
@media only screen and (max-width: 768px) {
    html {
        min-width: 1280px;
        overflow-x: hidden;
    }
    
    body {
        zoom: 0.35;
        -moz-transform: scale(0.35);
        -moz-transform-origin: 0 0;
        -webkit-transform: scale(0.35);
        -webkit-transform-origin: 0 0;
        transform: scale(0.35);
        transform-origin: 0 0;
        width: 1280px;
        margin: 0 auto;
        overflow-x: hidden;
    }

    /* Proje kartları grid yapısı */
    #projects-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    /* Proje kartlarının boyutları ve görünümü */
    .project-card {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        transform: none !important;
    }

    .project-card-front,
    .project-card-back {
        padding: 2rem !important;
    }

    /* Kart içeriği yazı boyutları */
    .project-card h3 {
        font-size: 1.5rem !important;
    }

    .project-card p {
        font-size: 1rem !important;
    }

    .tech-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
    }

    .tech-tag {
        font-size: 0.875rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* Container'ı sabit genişlikte tut */
    .container {
        width: 1280px !important;
        max-width: none !important;
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        margin: 0 auto !important;
    }

    /* Grid yapısını koru */
    .grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2rem !important;
        width: 100% !important;
    }

    /* Proje kartlarının boyutlarını koru */
    .project-card-container {
        height: auto !important;
    }

    /* Kartların orijinal boyutlarını koru */
    .project-card {
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }

    /* Font boyutlarını orijinal haliyle koru */
    h1, h2, h3, p, span, a, button {
        font-size: inherit !important;
        line-height: inherit !important;
    }

    /* Buton ve etiketlerin boyutlarını koru */
    .category-btn,
    .sub-category-btn,
    .scale-btn,
    .tech-tag,
    .project-link-btn {
        font-size: inherit !important;
        padding: inherit !important;
        width: auto !important;
        margin: inherit !important;
    }

    /* İstatistik kartlarının orijinal görünümünü koru */
    .statistics-card {
        flex-direction: row !important;
        text-align: left !important;
        padding: inherit !important;
    }

    /* Filtreleme butonları container'ı */
    .filter-container {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 1rem !important;
        padding: 1rem 0 !important;
    }

    /* Logo container için özel stil */
    .flex.justify-between.items-start.mb-8.flex-wrap.gap-8 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 2rem !important;
    }

    /* Logo div'leri için özel stil */
    .flex.justify-between.items-start.mb-8.flex-wrap.gap-8 > div {
        width: auto !important;
        margin: 0 1rem !important;
    }
}

/* Daha küçük ekranlar için ek düzenlemeler */
@media (max-width: 480px) {
    html {
        min-width: 1280px;
        overflow-x: hidden;
    }
    
    body {
        zoom: 0.30;
        -moz-transform: scale(0.30);
        -moz-transform-origin: 0 0;
        -webkit-transform: scale(0.30);
        -webkit-transform-origin: 0 0;
        transform: scale(0.30);
        transform-origin: 0 0;
        width: 1280px;
        margin: 0 auto;
        overflow-x: hidden;
    }
}

/* Orta boy mobil cihazlar için */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    body {
        zoom: 0.35;
        -moz-transform: scale(0.35);
        -moz-transform-origin: 0 0;
        -webkit-transform: scale(0.35);
        -webkit-transform-origin: 0 0;
        transform: scale(0.35);
        transform-origin: 0 0;
    }
}

/* Mobil görünüm için özel ayarlar */
@media (max-width: 768px) {
    body {
        zoom: 0.35; /* Tüm içeriği orantılı olarak küçültür */
        -moz-transform: scale(0.35);
        -moz-transform-origin: 0 0;
        min-width: 1280px; /* Minimum genişliği web görünümüyle aynı tutar */
    }

    /* Container genişliğini sabit tut */
    .container {
        width: 1280px !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        transform-origin: top left;
    }

    /* Grid yapısını koru */
    .grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        gap: 2rem !important;
    }

    /* Buton boyutlarını ve yazı tiplerini orantılı küçült */
    .category-btn,
    .sub-category-btn,
    .scale-btn {
        font-size: 14px !important;
        padding: 0.75rem 1.5rem !important;
        white-space: nowrap !important;
    }

    /* Proje kartlarının boyutlarını koru */
    .project-card {
        width: 300px !important;
        height: 400px !important;
    }

    /* Header ve navigation boyutlarını koru */
    header {
        padding: 1rem 2rem !important;
    }

    nav {
        gap: 1.5rem !important;
    }

    /* Filtreleme butonları container'ı */
    .filter-container {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 1rem !important;
        padding: 1rem !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Tüm margin ve padding değerlerini koru */
    * {
        margin: inherit !important;
        padding: inherit !important;
    }

    /* Scroll davranışını düzelt */
    html, body {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* Daha küçük ekranlar için ek zoom */
@media (max-width: 480px) {
    body {
        zoom: 0.30; /* Daha küçük ekranlar için daha fazla küçült */
        -moz-transform: scale(0.30);
    }
}

/* Touch cihazlar için hover efektleri */
@media (hover: none) {
    .project-card-container:hover .project-card {
        transform: none;
    }

    .project-card-container.active .project-card {
        transform: rotateY(180deg);
    }

    .github-link:hover,
    .project-link-btn:hover,
    .statistics-card:hover {
        transform: none;
    }
}

/* Animasyonlar */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Resize animasyonlarını durdurma */
.resize-animation-stopper * {
    animation: none !important;
    transition: none !important;
}

/* Proje kartları */
.project-card {
    position: relative;
    width: 100%;
    height: 300px;
    perspective: 2000px;
    cursor: pointer;
}

.project-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.project-card:hover .project-card-inner {
    transform: rotateY(180deg);
}

.project-card-front, .project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 1rem;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.project-card-front {
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.9));
}

.project-card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.project-card:hover .project-card-front::before {
    transform: translateX(100%);
}

.project-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.95);
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
}

.project-link.github:hover {
    background: #333;
}

.project-link.website:hover {
    background: #2563eb;
}

.project-link.youtube:hover {
    background: #dc2626;
}

.project-link i {
    font-size: 1.5rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #9CA3AF;
}

.project-details strong {
    color: white;
}

.project-card .tech-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.project-card .github-link,
.project-card .website-link,
.project-card .youtube-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    color: white;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card .github-link {
    background: linear-gradient(135deg, rgba(36, 41, 46, 0.9), rgba(26, 30, 34, 0.9));
}

.project-card .website-link {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.9));
}

.project-card .youtube-link {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(220, 38, 38, 0.9));
}

.project-card .github-link:hover,
.project-card .website-link:hover,
.project-card .youtube-link:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.15);
}

.project-card .github-link::before,
.project-card .website-link::before,
.project-card .youtube-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.project-card .github-link:hover::before,
.project-card .website-link:hover::before,
.project-card .youtube-link:hover::before {
    left: 100%;
}

.project-card .github-link:hover {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(36, 41, 46, 0.5),
        0 0 40px rgba(36, 41, 46, 0.3);
}

.project-card .website-link:hover {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(37, 99, 235, 0.5),
        0 0 40px rgba(37, 99, 235, 0.3);
}

.project-card .youtube-link:hover {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(239, 68, 68, 0.5),
        0 0 40px rgba(239, 68, 68, 0.3);
}

.investment-banner {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 1;
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.investment-banner.investment-open {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(16, 185, 129, 0.15));
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.investment-banner.investment-closed {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.investment-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.investment-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    font-size: 1.25rem;
    position: relative;
    overflow: hidden;
}

.investment-open .investment-icon {
    background: linear-gradient(135deg, #22c55e, #10b981);
    color: white;
}

.investment-closed .investment-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.investment-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.investment-banner:hover .investment-icon::before {
    transform: translateX(100%);
}

.investment-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.investment-status {
    font-weight: 600;
    letter-spacing: 0.025em;
}

.investment-open .investment-status {
    color: #4ade80;
}

.investment-closed .investment-status {
    color: #f87171;
}

.investment-details {
    font-size: 0.75rem;
    opacity: 0.9;
}

.investment-open .investment-details {
    color: #22c55e;
}

.investment-closed .investment-details {
    color: #ef4444;
}

.investment-pulse {
    position: absolute;
    top: 50%;
    left: 1.25rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    pointer-events: none;
}

.investment-open .investment-pulse {
    animation: pulse-green 2s infinite;
}

.investment-closed .investment-pulse {
    animation: pulse-red 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.project-card:hover .investment-banner {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* İkon animasyonları */
.project-card i {
    transition: transform 0.3s ease;
}

.project-card:hover i {
    transform: translateY(-5px);
}

/* AI Quote Animasyonu */
.ai-quote {
    transition: all 0.5s ease;
    transform: translateY(20px);
}

.ai-quote.active {
    opacity: 1;
    transform: translateY(0);
}

.ai-quote.inactive {
    opacity: 0;
    transform: translateY(-20px);
}

/* CV butonu için özel efekt */
.bg-gradient-to-r {
    background-size: 200% auto;
    transition: all 0.3s ease;
}

.bg-gradient-to-r:hover {
    background-position: right center;
}

/* Genel container düzenlemesi */
.container {
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Başlıklar için görünürlük iyileştirmesi */
h1, h2, h3, .text-xl, .text-lg {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* AI Quote animasyonunu düzenleyelim */
.ai-quote-container {
    min-height: 4rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem;
    margin: 2rem 0;
}

.ai-quote {
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .project-card {
        margin: 0.5rem;
    }
    
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    .category-filter {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Scroll bar stilini düzenleyelim */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.7);
}

/* Kategori başlıkları için özel stil */
.category-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.category-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
}

/* Geliştirme filtreleri için stil */
.development-filter {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.development-filter.active {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(147, 197, 253, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
}

/* Kategori container stilleri */
.category-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.category-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
}

/* Kategori kartları için gölge ve hover efektleri */
.bg-gray-800.bg-opacity-50 {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.bg-gray-800.bg-opacity-50:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Filtreleme butonları için ortak stiller */
.original-filter,
.development-filter {
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: all 0.3s ease;
}

.original-filter.active,
.development-filter.active {
    border-color: currentColor;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Özgün projeler için özel renkler */
.original-filter.active {
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #60A5FA;
}

/* Kendini geliştirme projeleri için özel renkler */
.development-filter.active {
    background: linear-gradient(45deg, rgba(167, 139, 250, 0.2), rgba(139, 92, 246, 0.2));
    color: #A78BFA;
}

/* Logo stilleri */
.logo-style {
    filter: brightness(1.2) contrast(1.2);
    mix-blend-mode: screen;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 80px;  /* Sabit genişlik */
    height: 80px; /* Sabit yükseklik - genişlikle aynı olmalı */
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
}

/* Responsive için farklı boyutlar */
@media (min-width: 768px) {
    .logo-style {
        width: 100px;
        height: 100px;
    }
}

.logo-style img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.logo-style:hover {
    filter: brightness(1.4) contrast(1.4);
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Logo container hover efekti */
.logo-container {
    position: relative;
    overflow: hidden;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.logo-container:hover::after {
    left: 100%;
}

/* Logo container stilleri */
.logo-container {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Video Bölümü Stilleri */
.tech-video-section {
    min-height: 80vh;
    background-color: rgba(0, 0, 0, 0.7);
}

.tech-icon-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-icon-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.tech-icon-card i {
    filter: drop-shadow(0 0 10px currentColor);
    transition: all 0.3s ease;
}

.tech-icon-card:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 20px currentColor);
}

/* Video arkaplan animasyonu */
video {
    filter: grayscale(30%) brightness(0.7);
    transition: all 0.5s ease;
}

.tech-video-section:hover video {
    filter: grayscale(0%) brightness(0.8);
}

/* Gradient overlay animasyonu */
.tech-video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(17, 24, 39, 1), transparent);
    z-index: 15;
}

/* İçerik için kontrast ve okunabilirlik iyileştirmeleri */
.container {
    position: relative;
    z-index: 1;
}

/* Navigasyon için arka plan */
nav {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
}

/* Filtreleme bölümü için arka plan */
.sticky {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(10px);
}

/* Parçacık sistemi ayarları */
.particle {
    opacity: 0.6;
}

/* Metin içeriği için kontrast artırma */
.text-gray-400 {
    color: rgba(156, 163, 175, 0.9);
}

/* Başlıklar için gölge efekti */
h1, h2, h3, .text-xl, .text-lg {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* AI Quote container için arka plan */
.ai-quote-container {
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
}

/* İstatistik ikonları için stil */
.project-card .text-3xl i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.project-card:hover .text-3xl i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 20px currentColor);
}

/* İstatistik metinleri için stil */
.project-card p {
    font-size: 1rem;
    margin-top: 0.25rem;
}

/* İstatistik kartları grid container */
.grid.grid-cols-1.sm\:grid-cols-2.md\:grid-cols-3 {
    position: relative;
    z-index: 10;
    opacity: 1 !important;
    visibility: visible !important;
    display: grid !important;
}

/* Tüm içerik için z-index */
main.container {
    position: relative;
    z-index: 5;
}

/* Hero bölümü için z-index */
.min-h-\[70vh\] {
    position: relative;
    z-index: 5;
}

/* Ana Kategori Butonları */
.category-btn {
    background: rgba(17, 24, 39, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: 0.5s;
}

.category-btn:hover::before {
    left: 100%;
}

.category-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.category-btn.active {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* Alt Kategori Butonları */
.sub-category-btn {
    background: rgba(31, 41, 55, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Her alt kategori için özel renkler */
.sub-category-btn[data-subcategory="ai"].active {
    background: linear-gradient(45deg, #3B82F6, #60A5FA);
    border-color: #60A5FA;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.4);
    color: white;
    transform: translateY(-2px);
}

.sub-category-btn[data-subcategory="web-mobile"].active {
    background: linear-gradient(45deg, #10B981, #34D399);
    border-color: #34D399;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    color: white;
    transform: translateY(-2px);
}

.sub-category-btn[data-subcategory="automation"].active {
    background: linear-gradient(45deg, #8B5CF6, #A78BFA);
    border-color: #A78BFA;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
    color: white;
    transform: translateY(-2px);
}

.sub-category-btn[data-subcategory="research"].active {
    background: linear-gradient(45deg, #EC4899, #F472B6);
    border-color: #F472B6;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
    color: white;
    transform: translateY(-2px);
}

/* Hover efektleri */
.sub-category-btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

/* Aktif butonlar için ikon animasyonu */
.sub-category-btn.active i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Seçili olmayan butonlar için soluk efekti */
.sub-category-btn:not(.active) {
    opacity: 0.7;
}

.sub-category-btn.active {
    opacity: 1;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Hover durumunda opaklığı düzelt */
.sub-category-btn:hover {
    opacity: 1;
}

/* Ölçek butonları için stiller */
.scale-btn {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.7);
}

.scale-btn.active {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.scale-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Özgün projeler için kart stilleri */
.project-card-container {
    perspective: 1000px;
    height: 320px; /* Yüksekliği azalttık */
    width: 100%;
    margin-bottom: 1rem;
}

.project-card-flip {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.project-card-container:hover .project-card-flip {
    transform: rotateY(180deg);
}

.project-card-front,
.project-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari için */
    backface-visibility: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.project-card-front {
    background: rgba(17, 24, 39, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    color: white;
    position: relative;
}

/* İkon stilleri */
.card-content .text-3xl {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Başlık stilleri */
.card-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

/* Açıklama stilleri */
.card-content p {
    color: #94A3B8;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

/* Teknoloji etiketleri */
.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.technologies span {
    background: rgba(59, 130, 246, 0.1);
    color: #60A5FA;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Kategori etiketleri */
.project-header {
    position: relative;
    z-index: 1;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
}

.category-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.category-tag.research {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.2));
    color: #c4b5fd;
    border-color: rgba(139, 92, 246, 0.3);
}

.category-tag.ai {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(37, 99, 235, 0.2));
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

.category-tag.web {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.2), rgba(249, 115, 22, 0.2));
    color: #fdba74;
    border-color: rgba(234, 88, 12, 0.3);
}

.category-tag.mobile {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
    color: #6ee7b7;
    border-color: rgba(16, 185, 129, 0.3);
}

.category-tag.desktop {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(219, 39, 119, 0.2));
    color: #f9a8d4;
    border-color: rgba(236, 72, 153, 0.3);
}

.project-card:hover .category-tag {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tech-tag {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover .tech-tag {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.15);
}

/* Yatırım banner stilleri */
.investment-banner {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.investment-open {
    background: rgba(16, 185, 129, 0.1);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.investment-closed {
    background: rgba(239, 68, 68, 0.1);
    color: #F87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.investment-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

.investment-content i {
    font-size: 1rem;
}

/* Arka yüz stilleri */
.project-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.95);
    transform: rotateY(180deg);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.project-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.project-link:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.2);
}

.project-link.github:hover {
    background: #333;
}

.project-link.website:hover {
    background: #2563eb;
}

.project-link.youtube:hover {
    background: #dc2626;
}

.project-link i {
    font-size: 1.5rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: #9CA3AF;
}

.project-details strong {
    color: white;
}

/* İstatistik kartları için stiller */
.statistics-card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.statistics-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.statistics-card .counter {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.statistics-card i {
    font-size: 2rem;
    margin-right: 1rem;
}

/* GitHub buton stilleri */
.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(75, 85, 99, 0.2);
    color: #E5E7EB;
    border: 1px solid rgba(75, 85, 99, 0.3);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.github-link:hover {
    background: rgba(75, 85, 99, 0.3);
    transform: translateY(-2px);
}

.github-link i {
    font-size: 1.125rem;
}

/* Website ve YouTube linkleri için stiller */
.website-link,
.youtube-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.website-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.youtube-link:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.website-link i,
.youtube-link i {
    font-size: 1.25rem;
}

/* Mobil uyumluluk için link stilleri */
@media (max-width: 768px) {
    .website-link,
    .youtube-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .website-link i,
    .youtube-link i {
        font-size: 1rem;
    }
}

/* Teknolojik Desenler */
.tech-patterns {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.15;
}

.circuit-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(59, 130, 246, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(59, 130, 246, 0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: circuitFlow 20s linear infinite;
}

.tech-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle at center,
        rgba(139, 92, 246, 0.3) 1px,
        transparent 1px
    );
    background-size: 15px 15px;
    animation: dotsPulse 4s ease-in-out infinite;
}

.data-flow {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(59, 130, 246, 0.1) 10px,
        rgba(59, 130, 246, 0.1) 20px
    );
    animation: dataStream 15s linear infinite;
}

@keyframes circuitFlow {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(20px) translateY(20px);
    }
}

@keyframes dotsPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

@keyframes dataStream {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Link container için özel stiller */
.links-container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover durumunda arka plan efektlerini vurgula */
.project-card:hover .circuit-lines {
    animation-duration: 10s;
}

.project-card:hover .tech-dots {
    animation-duration: 2s;
}

.project-card:hover .data-flow {
    animation-duration: 7.5s;
}

/* Ölçek butonları için stiller */
.scale-btn {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(17, 24, 39, 0.7);
}

.scale-btn.active {
    background: linear-gradient(45deg, #3B82F6, #8B5CF6);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.scale-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Proje kartı arka yüzü */
.project-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.95));
    position: relative;
    overflow: hidden;
}

.project-card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.1) 25%, transparent 50%),
        linear-gradient(-90deg, transparent 0%, rgba(139, 92, 246, 0.1) 25%, transparent 50%),
        linear-gradient(0deg, rgba(17, 24, 39, 0.95), rgba(31, 41, 55, 0.95));
    background-size: 400% 100%, 400% 100%, 100% 100%;
    animation: shimmer 8s linear infinite;
    z-index: 0;
}

.project-card-back::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, transparent 95%, rgba(59, 130, 246, 0.1) 100%),
        linear-gradient(0deg, transparent 95%, rgba(139, 92, 246, 0.1) 100%);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.5;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        background-position: 100% 0, 0 0, 0 0;
    }
    100% {
        background-position: -100% 0, 200% 0, 0 0;
    }
}

.project-card-back > * {
    position: relative;
    z-index: 2;
}

/* Link butonları */
.github-link,
.website-link,
.youtube-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    font-weight: 500;
}

.github-link:hover {
    background: #333;
    transform: translateY(-2px);
}

.website-link:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.youtube-link:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.links-container {
    width: 100%;
    padding: 0 1rem;
}

/* Mobil görünüm için özel ayarlar */
@media (max-width: 768px) {
    body {
        zoom: 0.35;
        -moz-transform: scale(0.35);
        -moz-transform-origin: 0 0;
        min-width: 1280px;
    }

    .container {
        width: 1280px !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        transform-origin: top left;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        gap: 2rem !important;
    }

    .category-btn,
    .sub-category-btn,
    .scale-btn {
        font-size: 14px !important;
        padding: 0.75rem 1.5rem !important;
        white-space: nowrap !important;
    }

    .project-card {
        width: 300px !important;
        height: 400px !important;
    }

    header {
        padding: 1rem 2rem !important;
    }

    nav {
        gap: 1.5rem !important;
    }

    .filter-container {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 1rem !important;
        padding: 1rem !important;
        justify-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
    }

    html, body {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    body {
        zoom: 0.30;
        -moz-transform: scale(0.30);
    }
}