/* =========================================================
   BASE - Renk degiskenleri, genel sayfa, konteyner ve SPA gecisleri
   ========================================================= */

:root {
    --bg-page: #0e0f12;
    --bg-surface: rgba(24, 26, 32, 0.72);
    --bg-surface-solid: #17191f;
    --bg-elevated: #1f222a;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --accent: #ff3e3e;
    --accent-hover: #e62e2e;
    --accent-soft: rgba(255, 62, 62, 0.14);
    --text-primary: #f3f4f6;
    --text-secondary: #b4b9c4;
    --text-muted: #7f8694;
    --container-max: 1080px;
    --navbar-height: 68px;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-page);
    background-image: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(255, 62, 62, 0.07), transparent 65%);
    background-repeat: no-repeat;
    color: var(--text-primary);
    font-family: 'Questrial', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0 0 48px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    user-select: none;
}

.container {
    max-width: var(--container-max);
    padding: 24px 24px 40px 24px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-section {
    scroll-margin-top: calc(var(--navbar-height) + 28px);
}

.section-heading {
    margin-bottom: 28px;
    text-align: center;
}

.section-title {
    margin: 0 0 10px 0;
    font-size: 1.95rem;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.06em;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background-color: var(--accent);
}

.section-subtitle {
    margin: 0 auto;
    max-width: 560px;
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- VIEW SECTIONS (SPA Routing) --- */
.view-section {
    display: none;
    width: 100%;
}

.view-section.active {
    display: block;
    animation: fadeSlideIn 0.45s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
