/* Software Light Theme - MB Yazilim */

/* Header Solid */
.header-solid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Code typewriter effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    animation: typing 3s steps(40) 1s both, blink-caret 0.75s step-end infinite;
}

/* Terminal Window - Light version handled in index.php/home.php or here */
.terminal-window.glow-cyan {
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.1);
}

/* Masonry Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 1.25rem;
}
.masonry-tall { grid-row: span 2; }
.masonry-item { cursor: pointer; }

@media (max-width: 1024px) { .masonry-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 640px)  { .masonry-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; } .masonry-tall { grid-row: span 1; } }

/* Inner Page Hero */
.inner-hero {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--primary-color), transparent 95%) 0%, transparent 70%);
    pointer-events: none;
}

/* Tech tag */
.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border: 1px solid color-mix(in srgb, var(--primary-color), transparent 90%);
    background: color-mix(in srgb, var(--primary-color), transparent 96%);
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-tag:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    shadow: 0 4px 12px color-mix(in srgb, var(--primary-color), transparent 80%);
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid background pattern */
.grid-pattern {
    background-image: 
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Form messages */
.form-msg { padding: 1rem; border-radius: 1rem; font-size: 0.9rem; margin-bottom: 1.5rem; font-weight: 500; }
.form-msg.success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.form-msg.error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* Selection */
::selection {
    background: var(--primary-color);
    color: #fff;
}
