/* ============================================================
   index.css — Ana Sayfa Stilleri
   ============================================================ */

/* ── Hero Section ── */
.hero-section {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: 4rem 5%;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.hero-greeting {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent2);
    margin-bottom: 1rem;
}

.hero-name {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-typing-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

#typing-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent1);
    animation: blink 0.9s step-end infinite;
    border-radius: 1px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Photo ── */
.hero-photo-wrap {
    position: relative;
}

.hero-photo-ring {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--accent-grad);
    padding: 4px;
    box-shadow: 0 0 60px rgba(124, 92, 252, 0.4);
}

.hero-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    overflow: hidden;
}

.hero-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.floating-badge {
    position: absolute;
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: float 3s ease-in-out infinite;
    white-space: nowrap;
}

.floating-badge.b1 {
    bottom: 10px;
    left: -20px;
    animation-delay: 0s;
}

.floating-badge.b2 {
    top: 10px;
    right: -30px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ── Quick Nav Cards ── */
.quick-nav {
    padding: 2rem 5% 5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.quick-nav-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
}

.quick-card:hover {
    background: var(--surface-hov);
    border-color: rgba(124, 92, 252, 0.4);
    transform: translateY(-3px);
}

.quick-card-icon {
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(124, 92, 252, 0.12);
    flex-shrink: 0;
}

.quick-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

.quick-card small {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-photo-wrap {
        justify-self: center;
    }

    .hero-photo-ring {
        width: 200px;
        height: 200px;
    }

    .hero-typing-wrapper {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .floating-badge.b2 {
        right: -10px;
    }
}