/* -----------------------------
   RESET.CSS – Ömür Matbaa
   Modern browser reset
-------------------------------- */

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
body,
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles */
ul[role='list'],
ol[role='list'],
ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Set core body defaults */
html:focus-within {
    scroll-behavior: smooth;
}

html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    line-height: 1.4;
}

/* Remove default link styling */
a {
    text-decoration: none;
    color: inherit;
}

/* Images & media */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Remove animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}

/* Buttons */
button,
input,
select,
textarea {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
    padding: 0;
    margin: 0;
}

/* Tables */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Strong */
strong, b {
    font-weight: 600;
}
