/* CSS Reset - Normalize browser defaults */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Reset */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

p {
    margin-bottom: 1rem;
}

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

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

/* List Reset */
ul, ol {
    list-style: none;
}

li {
    list-style: none;
}

/* Form Reset */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

input, select, textarea {
    border: 1px solid #ddd;
    padding: 0.75rem;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(68, 181, 160, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* Image Reset */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Blockquote Reset */
blockquote {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 4px solid var(--color-primary);
}

/* Code Reset */
code, pre {
    font-family: 'Courier New', monospace;
    background-color: #f5f5f5;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

pre {
    padding: 1rem;
    overflow-x: auto;
}

/* HR Reset */
hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 2rem 0;
}
