/* about.css - Hakkımızda Bölümü Stilleri */

.about {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
    overflow: hidden;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* Arkaplan kod deseni */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    pointer-events: none;
    z-index: 1;
}

/* Kod satırları animasyonu */
.code-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0.1;
}

.code-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: codeScan 8s linear infinite;
}

.code-line:nth-child(1) { top: 20%; animation-delay: 0s; }
.code-line:nth-child(2) { top: 40%; animation-delay: 2s; }
.code-line:nth-child(3) { top: 60%; animation-delay: 4s; }
.code-line:nth-child(4) { top: 80%; animation-delay: 6s; }

@keyframes codeScan {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.about-container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* ===== SOL TARAF - METİN İÇERİĞİ ===== */
.about-text {
    color: #FFFFFF;
}

.about-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    animation: fadeIn 1s ease-out;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-title span {
    color: #FFD700;
    position: relative;
    display: inline-block;
}

.about-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255, 215, 0, 0.3);
    z-index: -1;
}

.about-description {
    font-size: 1.1rem;
    color: #CCCCCC;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* İstatistikler */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-box:hover::before {
    left: 100%;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFD700;
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Yetenekler */
.about-skills {
    margin-bottom: 2.5rem;
}

.skill-item {
    margin-bottom: 1.2rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.skill-info span:first-child {
    color: #FFD700;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 10px;
    position: relative;
    width: 0;
    transition: width 1.5s cubic-bezier(0.1, 0.5, 0.2, 1);
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: #FFFFFF;
    animation: progressGlow 2s infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== SAĞ TARAF - KOD EKRANI ===== */
.about-code {
    position: relative;
    perspective: 1000px;
}

.code-window {
    background: #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(255, 215, 0, 0.1),
        0 0 30px rgba(255, 215, 0, 0.2);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
    animation: float 6s ease-in-out infinite;
}

.code-window:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

/* Pencere başlığı */
.window-header {
    background: #2a2a2a;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #FFD700;
}

.window-dots {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-dot.red { background: #ff5f56; }
.window-dot.yellow { background: #ffbd2e; }
.window-dot.green { background: #27c93f; }

.window-title {
    color: #FFD700;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    flex: 1;
}

.window-title i {
    margin-right: 8px;
}

.window-controls {
    color: #666;
    font-size: 1rem;
}

/* Pencere içeriği */
.window-content {
    padding: 25px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
    background: #1a1a1a;
    min-height: 350px;
}

.code-line-content {
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInCode 0.5s forwards;
}

.code-line-content:nth-child(1) { animation-delay: 0.1s; }
.code-line-content:nth-child(2) { animation-delay: 0.3s; }
.code-line-content:nth-child(3) { animation-delay: 0.5s; }
.code-line-content:nth-child(4) { animation-delay: 0.7s; }
.code-line-content:nth-child(5) { animation-delay: 0.9s; }
.code-line-content:nth-child(6) { animation-delay: 1.1s; }
.code-line-content:nth-child(7) { animation-delay: 1.3s; }
.code-line-content:nth-child(8) { animation-delay: 1.5s; }

@keyframes slideInCode {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #569cd6;
}

.code-variable {
    color: #9cdcfe;
}

.code-string {
    color: #ce9178;
}

.code-function {
    color: #dcdcaa;
}

.code-property {
    color: #9cdcfe;
}

.code-number {
    color: #b5cea8;
}

.code-operator {
    color: #d4d4d4;
}

.code-bracket {
    color: #ffd700;
}

.code-indent {
    margin-left: 20px;
}

.code-indent-2 {
    margin-left: 40px;
}

/* İmleç efekti */
.code-cursor {
    display: inline-block;
    width: 2px;
    height: 16px;
    background: #FFD700;
    margin-left: 5px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Teknoloji ikonları */
.tech-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFD700;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.tech-icon:nth-child(2) { animation-delay: 0.5s; }
.tech-icon:nth-child(3) { animation-delay: 1s; }
.tech-icon:nth-child(4) { animation-delay: 1.5s; }
.tech-icon:nth-child(5) { animation-delay: 2s; }

.tech-icon:hover {
    transform: scale(1.2) rotate(360deg);
    background: #FFD700;
    color: #000000;
    border-color: #FFFFFF;
}

/* Responsive Tasarım */
@media (max-width: 1024px) {
    .about-content {
        gap: 2rem;
    }
    
    .about-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-code {
        order: 1;
    }
    
    .about-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .about-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-description {
        text-align: center;
    }
    
    .about-stats {
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1rem 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .code-window {
        transform: rotateY(0deg) rotateX(0deg);
        max-width: 500px;
        margin: 0 auto;
    }
    
    .tech-icons {
        gap: 1rem;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.8rem;
    }
    
    .about-description {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .stat-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
        margin-bottom: 0;
    }
    
    .window-content {
        padding: 15px;
        font-size: 0.8rem;
        min-height: 250px;
    }
    
    .code-indent {
        margin-left: 15px;
    }
    
    .code-indent-2 {
        margin-left: 30px;
    }
    
    .tech-icons {
        gap: 0.8rem;
    }
    
    .tech-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}