*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1e3a5f;
    --secondary: #152b47;
    --accent: #d4960a;
    --neutral: #f5f5f5;
    --primary-dark: #2e4a7a;
    --primary-light: #5c7db5;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --error: #ef4444;
}

body {
    font-family: 'League Spartan', system-ui, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    min-height: 100vh;
}

/* ─── LANDING ─────────────────────────────── */

.landing {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.landing-header {
    background: var(--primary);
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
}

.landing-logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.05em;
}

.landing-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 680px;
}

.landing-hero p {
    font-size: 1.15rem;
    font-weight: 300;
    max-width: 540px;
    opacity: 0.9;
    line-height: 1.7;
}

.landing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.feature-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    border: 1px solid var(--gray-200);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.landing-footer {
    background: var(--gray-900);
    color: var(--gray-500);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.85rem;
}

.landing-footer span { color: var(--primary-light); }

/* ─── HATA ────────────────────────────────── */

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem;
    text-align: center;
}

.error-icon {
    width: 72px;
    height: 72px;
    background: #fef2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--error);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.error-page h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-900);
}

.error-page p {
    color: var(--gray-500);
    max-width: 380px;
    line-height: 1.6;
}

.error-page a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
}

/* ─── PERSONAL CARD ───────────────────────── */

.card-header {
    background: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 0;
    text-align: center;
}

.card-avatar {
    width: 170px;
    height: 170px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 16px;
}

.card-avatar-placeholder {
    width: 170px;
    height: 170px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-avatar-placeholder svg {
    width: 64px;
    height: 64px;
    stroke: rgba(255, 255, 255, 0.8);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    padding: 0 16px;
}

.card-header-info {
    padding: 0 16px;
    margin-bottom: 4px;
}

.card-header-info h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.card-header-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.header-actions {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 16px;
}

.header-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    gap: 6px;
    transition: opacity 0.15s;
}

.header-action:hover {
    opacity: 0.85;
}

.header-action.action-call {
    background: var(--secondary);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.header-action.action-email {
    background: var(--accent);
}

.header-action svg {
    width: 28px;
    height: 28px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Card body - white background, grid layout */
.card-body {
    background: var(--white);
}

.card-body-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .card-body-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .card-body-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* Individual contact item */
.card-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
    max-width: 400px;
}

.card-item-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-item-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--accent);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.card-item-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.card-item-label {
    font-size: 16px;
    color: var(--accent);
}

.card-item-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 2px;
    word-break: break-all;
}

.card-item-value a {
    color: inherit;
    text-decoration: none;
}

/* Social media footer */
.card-socials {
    background: var(--neutral);
}

.social-row {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

.social-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--neutral);
    border: 1px solid #e5e5e5;
    transition: background 0.15s;
    text-decoration: none;
    min-width: 80px;
}

.social-box:hover {
    background: #e0e0e0;
}

.social-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Copyright footer */
.card-footer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    font-size: 14px;
    gap: 4px;
    color: var(--gray-500);
    text-align: center;
}

.card-footer-copy a {
    color: var(--accent);
    text-decoration: none;
}

/* FAB - fixed bottom-right, mobile only */
.fab, a.fab {
    position: fixed;
    bottom: 16px;
    right: 8px;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border-radius: 9999px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s;
    font-family: inherit;
}

.fab:hover {
    transform: scale(1.05);
}

.fab svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (min-width: 768px) {
    .fab {
        display: none;
    }
}
