/* Programlarım Sayfası CSS - Ana sayfa ile aynı tasarım */

/* Beceriler Bölümü Stilleri */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.skill-category {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.1) 0%, rgba(30, 30, 30, 0.8) 50%, rgba(20, 20, 20, 0.9) 100%);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 111, 0, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 111, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight-color), #ff9e42, var(--highlight-color));
    border-radius: 20px 20px 0 0;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 111, 0, 0.3), 0 0 40px rgba(255, 111, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.4);
}

.category-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--highlight-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.category-title i {
    font-size: 1.6rem;
    color: var(--highlight-color);
    text-shadow: 0 0 10px rgba(255, 111, 0, 0.5);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
}

.skill-name {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.skill-years {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    background: rgba(255, 111, 0, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(255, 111, 0, 0.2);
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--highlight-color), #ff9e42);
    border-radius: 15px;
    width: 0;
    transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 0 15px rgba(255, 111, 0, 0.5);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Projeler Bölümü Stilleri */
.projects-section {
    margin-top: 40px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--highlight-color);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.section-title i {
    color: var(--highlight-color);
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(255, 111, 0, 0.5);
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.1) 0%, rgba(30, 30, 30, 0.8) 50%, rgba(20, 20, 20, 0.9) 100%);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 111, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(15px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 111, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight-color), #ff9e42, var(--highlight-color));
    border-radius: 20px 20px 0 0;
}

.project-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 111, 0, 0.3), 0 0 40px rgba(255, 111, 0, 0.2);
    border-color: rgba(255, 111, 0, 0.4);
}

.project-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.project-header i {
    color: var(--highlight-color);
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(255, 111, 0, 0.5);
}

.project-header h4 {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
}

.project-card p {
    margin-bottom: 18px;
    flex-grow: 1;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background: rgba(255, 111, 0, 0.2);
    color: var(--highlight-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 111, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-tech span:hover {
    background: rgba(255, 111, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

/* Typing animasyonu */
.typing-animation {
    overflow: hidden;
    border-right: 2px solid var(--highlight-color);
    white-space: nowrap;
    animation: typing 4s steps(60, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--highlight-color); }
}

/* Aktif menü */
.sidebar-button.active {
    background: rgba(255, 111, 0, 0.2);
    border-color: var(--highlight-color);
    box-shadow: 0 0 15px rgba(255, 111, 0, 0.5);
    transform: translateY(-3px);
}

.sidebar-button.active i,
.sidebar-button.active span {
    color: var(--highlight-color);
    text-shadow: 0 0 5px var(--highlight-color);
}

.sidebar-button.active .neon-border {
    border-color: var(--highlight-color);
    box-shadow: inset 0 0 10px var(--highlight-color),
                0 0 10px var(--highlight-color);
}

/* Animasyonlar */
.skill-category, .project-card {
    animation: fadeIn 0.5s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.skill-category:nth-child(1) { animation-delay: 0.1s; }
.skill-category:nth-child(2) { animation-delay: 0.2s; }
.skill-category:nth-child(3) { animation-delay: 0.3s; }
.skill-category:nth-child(4) { animation-delay: 0.4s; }

.project-card:nth-child(1) { animation-delay: 0.5s; }
.project-card:nth-child(2) { animation-delay: 0.6s; }
.project-card:nth-child(3) { animation-delay: 0.7s; }

/* Responsive düzenlemeler */
@media (max-width: 992px) {
    .skills-container {
        gap: 25px;
    }
    
    .skill-category {
        padding: 25px;
    }
    
    .project-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .project-card {
        padding: 20px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .skills-container {
        gap: 20px;
    }
    
    .skill-category {
        padding: 20px;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .skill-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .skill-years {
        align-self: flex-end;
    }
}

@media (max-width: 576px) {
    .skill-category {
        padding: 15px;
    }
    
    .project-card {
        padding: 15px;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .project-header h4 {
        font-size: 1.1rem;
    }
    
    .skill-name {
        font-size: 0.9rem;
    }
    
    .skill-years {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

/* Fare Hareketleri */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overscroll-behavior-y: contain;
}