/* ============================================
   SELİN ATEŞ — PORTFOLYO
   Tema: Kıvılcımdan Alevlere (Siyah / Kırmızı)
============================================ */

:root {
    --black: #0a0908;
    --charcoal: #141210;
    --charcoal-2: #1c1917;
    --ember-red: #e11d2e;
    --deep-red: #7d0f1c;
    --flame-orange: #ff5a36;
    --ivory: #f2ece4;
    --ash: #9a938c;
    --ash-dim: #5c5652;
    --font-display: 'Unbounded', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--ivory);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none;
}

@media (max-width: 900px) {
    body {
        cursor: auto !important;
    }
}

::selection {
    background: var(--ember-red);
    color: var(--ivory);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--deep-red);
    border-radius: 10px;
}

/* ============ LOADER ============ */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
    /* GÜVENLİK AĞI: script.js herhangi bir sebeple (yüklenememe, hata,
       yavaş bağlantı vb.) loader'ı kapatamazsa bile, bu animasyon 4 saniye
       sonra loader'ı JS'e ihtiyaç duymadan otomatik olarak gizler. JS normal
       çalıştığında zaten daha önce (600ms) kapanacağı için bu görünmez. */
    animation: loaderFailsafe 0.6s var(--ease) 4s forwards;
}

    .loader.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

@keyframes loaderFailsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.loader-flame {
    position: relative;
    width: 60px;
    height: 80px;
}

.ember {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--flame-orange);
    box-shadow: 0 0 12px 4px var(--ember-red);
    animation: riseFlicker 1.4s ease-in-out infinite;
}

.e1 {
    animation-delay: 0s;
    margin-left: -18px;
}

.e2 {
    animation-delay: 0.3s;
    width: 14px;
    height: 14px;
}

.e3 {
    animation-delay: 0.6s;
    margin-left: 16px;
}

@keyframes riseFlicker {
    0% {
        transform: translate(-50%, 0) scale(0.6);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50px) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -80px) scale(0.3);
        opacity: 0;
    }
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.4em;
    color: var(--ash);
}

    .loader-text .dot {
        color: var(--ember-red);
    }

/* ============ CUSTOM CURSOR ============ */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--ember-red);
    box-shadow: 0 0 8px 2px var(--ember-red);
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(225, 29, 46, 0.5);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

    .cursor-ring.hover {
        width: 56px;
        height: 56px;
        background: rgba(225, 29, 46, 0.08);
        border-color: var(--ember-red);
    }

@media (max-width: 900px) {
    .cursor-dot, .cursor-ring {
        display: none !important;
    }
}

/* ============ EMBER CANVAS ============ */
#emberCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

/* ============ LAYOUT HELPERS ============ */
main, footer, nav {
    position: relative;
    z-index: 1;
}

section {
    padding: 140px 8vw;
    position: relative;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--ember-red);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.15;
    max-width: 700px;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

    .reveal-up.in-view, .reveal-left.in-view, .reveal-right.in-view {
        opacity: 1;
        transform: translate(0, 0);
    }

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 6vw;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

    .navbar.scrolled {
        background: rgba(10, 9, 8, 0.85);
        backdrop-filter: blur(10px);
        padding: 16px 6vw;
        box-shadow: 0 1px 0 rgba(225, 29, 46, 0.15);
    }

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--ivory);
}

    .nav-logo span {
        color: var(--ember-red);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    position: relative;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ash);
    padding: 6px 0;
    transition: color 0.3s;
}

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: var(--ember-red);
        transition: width 0.3s var(--ease);
    }

    .nav-link:hover, .nav-link.active-link {
        color: var(--ivory);
    }

        .nav-link:hover::after, .nav-link.active-link::after {
            width: 100%;
        }

.nav-cta {
    background: var(--ember-red);
    color: var(--ivory) !important;
    padding: 10px 22px !important;
    border-radius: 30px;
}

    .nav-cta::after {
        display: none;
    }

    .nav-cta:hover {
        background: var(--flame-orange);
    }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    z-index: 210;
}

    .nav-toggle span {
        width: 26px;
        height: 2px;
        background: var(--ivory);
        transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(75vw, 320px);
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 28px;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

        .nav-links.open {
            transform: translateX(0);
        }
}

/* ============ HERO ============ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 6vw;
    position: relative;
}

.hero-noise {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(225,29,46,0.18), transparent 60%);
    pointer-events: none;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--ember-red);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(3rem, 12vw, 8.5rem);
    line-height: 0.95;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.flicker {
    position: relative;
    color: var(--ivory);
    text-shadow: 0 0 10px rgba(225,29,46,0.6), 0 0 30px rgba(225,29,46,0.35), 0 0 60px rgba(255,90,54,0.2);
    animation: flicker 4s infinite;
}

.flicker-delay {
    color: var(--ember-red);
    animation-delay: 0.6s;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 54%, 56%, 100% {
        text-shadow: 0 0 10px rgba(225,29,46,0.6), 0 0 30px rgba(225,29,46,0.35), 0 0 60px rgba(255,90,54,0.2);
        opacity: 1;
    }

    20%, 22%, 55% {
        text-shadow: none;
        opacity: 0.85;
    }
}

.hero-role {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--flame-orange);
    margin-top: 28px;
}

.hero-desc {
    max-width: 480px;
    color: var(--ash);
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 34px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 40px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--ember-red);
    color: var(--ivory);
    box-shadow: 0 0 0 0 rgba(225,29,46,0.6);
}

    .btn-primary:hover {
        background: var(--flame-orange);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px -8px rgba(255,90,54,0.7);
    }

.btn-outline {
    border: 1.5px solid var(--ash-dim);
    color: var(--ivory);
}

    .btn-outline:hover {
        border-color: var(--ember-red);
        background: rgba(225,29,46,0.08);
        transform: translateY(-3px);
    }

.scroll-cue {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .scroll-cue span {
        font-family: var(--font-mono);
        font-size: 0.65rem;
        letter-spacing: 0.2em;
        color: var(--ash-dim);
    }

.scroll-line {
    width: 1px;
    height: 50px;
    background: rgba(154,147,140,0.25);
    position: relative;
    overflow: hidden;
}

    .scroll-line i {
        position: absolute;
        top: -50%;
        left: 0;
        width: 100%;
        height: 50%;
        background: var(--ember-red);
        animation: scrollDown 1.8s infinite var(--ease);
    }

@keyframes scrollDown {
    0% {
        top: -50%;
    }

    60% {
        top: 100%;
    }

    100% {
        top: 100%;
    }
}

/* ============ ABOUT ============ */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    margin-top: 70px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-content {
    position: relative;
}

.visual-frame {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(225,29,46,0.4), transparent 70%);
    filter: blur(20px);
    animation: pulseGlow 3s ease-in-out infinite;
}

.logo-circle {
    width: 90px;
    height: 90px;
    border: 2px solid #e53935;
    border-radius: 50%;
    position: relative;
}

.logo-s {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: "Cormorant Garamond", serif;
    font-size: 180px;
    font-weight: 700;
    color: rgba(229,57,53,.18);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}
@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.visual-initials {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 4rem;
    color: var(--ivory);
    background: linear-gradient(145deg, var(--charcoal-2), var(--charcoal));
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(225,29,46,0.3);
    position: relative;
    z-index: 2;
}

.visual-ring {
    position: absolute;
    inset: -18px;
    border-radius: 50%;
    border: 1px dashed rgba(225,29,46,0.4);
    animation: spin 18s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.about-content p {
    color: var(--ash);
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.stat-box {
    text-align: left;
    padding: 20px 0;
    border-top: 1px solid rgba(154,147,140,0.15);
}

.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ember-red);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--ash-dim);
    font-family: var(--font-mono);
}

/* ============ SKILLS ============ */
.skills-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-top: 60px;
}

.skill-item {
    margin-bottom: 26px;
}

.skill-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.skill-pct {
    font-family: var(--font-mono);
    color: var(--flame-orange);
}

.skill-track {
    width: 100%;
    height: 6px;
    background: var(--charcoal-2);
    border-radius: 10px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--deep-red), var(--ember-red), var(--flame-orange));
    transition: width 1.4s var(--ease);
    box-shadow: 0 0 12px rgba(225,29,46,0.5);
}

.skill-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.mini-card {
    background: var(--charcoal);
    border: 1px solid rgba(154,147,140,0.1);
    padding: 26px 20px;
    border-radius: 14px;
    transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

    .mini-card:hover {
        transform: translateY(-6px);
        border-color: rgba(225,29,46,0.5);
        box-shadow: 0 20px 40px -20px rgba(225,29,46,0.4);
    }

.mini-icon {
    color: var(--ember-red);
    font-size: 1.3rem;
}

.mini-card h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin: 12px 0 8px;
}

.mini-card p {
    color: var(--ash);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============ PROJECTS ============ */
.filter-bar {
    display: flex;
    gap: 12px;
    margin: 40px 0 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid rgba(154,147,140,0.25);
    color: var(--ash);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

    .filter-btn:hover {
        color: var(--ivory);
        border-color: var(--ember-red);
    }

    .filter-btn.active {
        background: var(--ember-red);
        color: var(--ivory);
        border-color: var(--ember-red);
    }

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--charcoal);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(154,147,140,0.1);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s var(--ease);
}

    .project-card.hidden-card {
        display: none !important;
    }

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px -25px rgba(225,29,46,0.45);
    }

.project-media {
    height: 190px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    overflow: hidden;
}

    .project-media img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s var(--ease);
    }

.project-card:hover .project-media img {
    transform: scale(1.06);
}

.project-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,9,8,0.7));
}

.grad-1 {
    background: linear-gradient(135deg, #3a0d12, #7d0f1c);
}

.grad-2 {
    background: linear-gradient(135deg, #1c1917, #4a1015);
}

.grad-3 {
    background: linear-gradient(135deg, #601122, #e11d2e);
}

.grad-4 {
    background: linear-gradient(135deg, #2a0a0e, #8c1a24);
}

.grad-5 {
    background: linear-gradient(135deg, #141210, #5c1018);
}

.grad-6 {
    background: linear-gradient(135deg, #7d0f1c, #ff5a36);
}

.project-tag {
    position: relative;
    z-index: 2;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    background: rgba(10,9,8,0.6);
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.project-info {
    padding: 22px 24px 26px;
}

    .project-info h3 {
        font-family: var(--font-display);
        font-size: 1.15rem;
        margin-bottom: 10px;
    }

    .project-info p {
        color: var(--ash);
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

.project-links {
    display: flex;
    gap: 18px;
}

    .project-links a {
        font-size: 0.82rem;
        color: var(--flame-orange);
        font-weight: 600;
        transition: opacity 0.3s;
    }

        .project-links a:hover {
            opacity: 0.7;
        }

/* ============ EXPERIENCE / TIMELINE ============ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 70px auto 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(180deg, var(--ember-red), transparent);
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 50px 60px;
}

    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right;
    }

    .timeline-item:nth-child(even) {
        left: 50%;
        text-align: left;
    }

.timeline-dot {
    position: absolute;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--ember-red);
    box-shadow: 0 0 0 5px rgba(225,29,46,0.15), 0 0 16px rgba(225,29,46,0.6);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--flame-orange);
    letter-spacing: 0.05em;
}

.timeline-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    margin: 10px 0 8px;
}

.timeline-card p {
    color: var(--ash);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 760px) {
    .timeline::before {
        left: 8px;
    }

    .timeline-item, .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 40px;
    }

        .timeline-item:nth-child(odd) .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
            left: 1px;
        }
}

/* ============ CONTACT ============ */
.contact-sub {
    color: var(--ash);
    margin-top: 14px;
    max-width: 500px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 60px;
    margin-top: 60px;
}

.form-row {
    margin-bottom: 22px;
    position: relative;
}

    .form-row label {
        display: block;
        font-size: 0.82rem;
        color: var(--ash);
        margin-bottom: 8px;
        font-family: var(--font-mono);
    }

    .form-row input, .form-row textarea {
        width: 100%;
        background: var(--charcoal);
        border: 1px solid rgba(154,147,140,0.2);
        border-radius: 10px;
        padding: 14px 16px;
        color: var(--ivory);
        font-family: var(--font-body);
        font-size: 0.95rem;
        transition: border-color 0.3s, box-shadow 0.3s;
        resize: vertical;
    }

        .form-row input:focus, .form-row textarea:focus {
            outline: none;
            border-color: var(--ember-red);
            box-shadow: 0 0 0 3px rgba(225,29,46,0.15);
        }

.form-error {
    display: none;
    color: var(--flame-orange);
    font-size: 0.78rem;
    margin-top: 6px;
}

.form-row.invalid input, .form-row.invalid textarea {
    border-color: var(--ember-red);
    animation: shake 0.4s;
}

.form-row.invalid .form-error {
    display: block;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-6px);
    }

    75% {
        transform: translateX(6px);
    }
}

.btn-submit {
    position: relative;
    width: fit-content;
}

.btn-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--flame-orange);
    opacity: 0;
    pointer-events: none;
}

.btn-submit.sending .btn-spark {
    opacity: 1;
    animation: sparkFly 0.6s ease-out forwards;
}

@keyframes sparkFly {
    0% {
        transform: translate(0,0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(40px, -40px) scale(0);
        opacity: 0;
    }
}

.form-success {
    display: none;
    margin-top: 16px;
    color: var(--flame-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

    .form-success.show {
        display: block;
        animation: fadeInUp 0.5s var(--ease) forwards;
    }

/* HATA DÜZELTİLDİ: fadeInUp keyframes eklendi ve normalize edildi */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-box {
    background: var(--charcoal);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(154,147,140,0.1);
    margin-bottom: 24px;
}

    .contact-info-box h3 {
        font-family: var(--font-display);
        font-size: 1.1rem;
        margin-bottom: 18px;
    }

    .contact-info-box p {
        color: var(--ash);
        margin-bottom: 12px;
        font-size: 0.92rem;
    }

        .contact-info-box p span {
            display: block;
            font-family: var(--font-mono);
            font-size: 0.72rem;
            color: var(--ember-red);
            margin-bottom: 3px;
        }

.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-link {
    padding: 14px;
    text-align: center;
    border-radius: 10px;
    border: 1px solid rgba(154,147,140,0.2);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}

    .social-link:hover {
        background: var(--ember-red);
        border-color: var(--ember-red);
        transform: translateY(-3px);
    }

/* ============ FOOTER ============ */
.footer {
    text-align: center;
    padding: 60px 6vw 40px;
    border-top: 1px solid rgba(154,147,140,0.1);
    position: relative;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.2rem;
}

    .footer-logo span {
        color: var(--ember-red);
    }

.footer-tag {
    color: var(--ash-dim);
    font-size: 0.82rem;
    margin-top: 10px;
    font-family: var(--font-mono);
}

.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ember-red);
    color: var(--ivory);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease);
    z-index: 150;
    box-shadow: 0 10px 30px -10px rgba(225,29,46,0.6);
}

    .back-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-top:hover {
        background: var(--flame-orange);
        transform: translateY(-4px);
    }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .about-grid, .skills-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-visual {
        margin-bottom: 20px;
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    section {
        padding: 100px 6vw;
    }
}

@media (max-width: 600px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-cards {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: 1fr;
    }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============ FOCUS VISIBILITY ============ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--ember-red);
    outline-offset: 3px;
}
