/* ========================================
   BASE STYLES - Reset & Typography
   ======================================== */

/* Box Model Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root element */

html {
    /* Turquoise theme variables */
    --primary-color: #00E5D0;
    --secondary-color: #00A8A8;
    --accent-color: #00D4B8;
    --code-background: #0a1c22;
    --border-color: #00D4B8;
    --surface-color: #181818;
    --background-color: #0c1418;
    --text-color: #d8f5f7;
    --text-secondary: #9aa5a8;
    --link-color: #00E5D0;
    --link-hover: #00C8C8;
    transition: background-color 0.3s ease;
    scroll-behavior: smooth;
}

html[data-font-scale="large"] {
    /* 112.5% maps the default 16px browser base to 18px for improved readability. */
    font-size: 112.5%;
}

/* Body - Uses CSS Variables for theming */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

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

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hidden {
    display: none !important;
}
