/* ---------------- GLOBAL ---------------- */

:root {
    --bg: #050816;
    --bg-soft: #0b1120;
    --accent: #38bdf8;
    --accent-soft: rgba(56, 189, 248, 0.15);
    --text: #e5e7eb;
    --muted: #9ca3af;
    --card-bg: rgba(15, 23, 42, 0.9);
    --border: rgba(148, 163, 184, 0.25);
    --radius-xl: 18px;
    --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.8);
}

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

body {
    font-family: "Poppins", sans-serif;
    background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* ---------------- WRAPPER ---------------- */

.wrapper {
    width: 100%;
    max-width: 1100px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.96));
    border-radius: 28px;
    padding: 30px 28px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Glow efektleri */
.wrapper::before,
.wrapper::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.5;
    pointer-events: none;
}

.wrapper::before {
    width: 220px;
    height: 220px;
    background: rgba(56, 189, 248, 0.25);
    top: -80px;
    right: -60px;
}

.wrapper::after {
    width: 180px;
    height: 180px;
    background: rgba(129, 140, 248, 0.3);
    bottom: -60px;
    left: -40px;
}

/* Hover’da hafif glow */
.wrapper:hover {
    border-color: rgba(56, 189, 248, 0.5);
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.95);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ---------------- HEADER ---------------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.9rem;
    color: var(--muted);
}

.pill {
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    background: rgba(15, 23, 42, 0.8);
}

.dot {
    width: 7px;
    height: 7px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
}

/* ---------------- CONTENT LAYOUT ---------------- */

.content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
}

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

/* Fade-in animasyonu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.left-col {
    animation: fadeInUp 0.7s ease-out 0.05s both;
}

.right-col {
    animation: fadeInUp 0.75s ease-out 0.15s both;
}

/* ---------------- LEFT SECTION ---------------- */

.small-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 6px;
}

.hero-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
    max-width: 520px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.4);
    color: var(--muted);
}

/* ---------------- BUTTONS ---------------- */

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.btn {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #020617;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.8);
}

.btn-ghost {
    background: rgba(15, 23, 42, 0.85);
    color: var(--text);
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-ghost:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: var(--accent);
}

/* ---------------- SOCIAL ---------------- */

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    background: rgba(15, 23, 42, 0.9);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}

/* CV ikonlu buton */
.cv-btn {
    padding: 0;
}

/* Meanwhile / hedef durumu için pill */
.meanwhile-pill {
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 0.75rem;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.9);
}

.meanwhile-pill .dot-small {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* ---------------- CARDS ---------------- */

.section-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 8px;
}

.section-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 18px;
    margin-bottom: 16px;
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.stack-badge {
    font-size: 0.75rem;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    border: 1px solid rgba(45, 212, 191, 0.3);
    color: #a5f3fc;
}

/* ---------------- RIGHT SECTION ---------------- */

.profile-card {
    background: var(--card-bg);
    border-radius: 22px;
    padding: 18px;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-card:hover {
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    border: 2px solid rgba(148, 163, 184, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 20%, #38bdf8, #0f172a);
    color: white;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.profile-name {
    font-size: 1rem;
    font-weight: 600;
}

.profile-role {
    font-size: 0.8rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.meta-list {
    list-style: none;
    color: var(--muted);
    display: grid;
    gap: 6px;
    font-size: 0.8rem;
}

.meta-list i {
    color: var(--accent);
    font-size: 0.85rem;
}

.cta-note a {
    color: var(--accent);
}

/* Minimal birlikte çalışalım alanı */
.contact-short {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.contact-short-text {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 10px;
    line-height: 1.5;
}

.contact-short-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.contact-short-email:hover {
    color: #5cdcff;
    transform: translateY(-2px);
}

/* ---------------- FOOTER ---------------- */

.footer {
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--muted);
    text-align: right;
}

.footer span {
    color: var(--accent);
}

/* JS ile eklenen tıklama efekti (daha belirgin) */
.is-pressed {
    transform: translateY(2px) scale(0.94);
    box-shadow: none !important;
    filter: brightness(1.1);
}

/* JS ile kısa bir pulse animasyonu için */
@keyframes clickPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
    }
    100% {
        box-shadow: 0 0 0 12px rgba(56, 189, 248, 0);
    }
}

.clicked {
    animation: clickPulse 0.35s ease-out;
}

/* JS çalışmasa bile minimum fark olsun diye :active fallback */
.btn:active,
.social-btn:active {
    transform: translateY(2px) scale(0.94);
}


