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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* FOUC (Flash of Unstyled Content) önleyici kurallar eklendi */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--color-primary-hover);
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.8rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

p {
    margin-bottom: 1.5rem;
    max-width: 65ch;
}

.subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    margin-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.skip-link:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    z-index: 9999;
    border-radius: var(--border-radius);
    font-weight: bold;
}