/* Critical CSS - Essential styles for above-the-fold content */
:root {
    --primary-color: #000;
    --secondary-color: #fff;
    --font-family: Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Prevent layout shift by reserving space for images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reserve space for custom fonts */
@font-face {
    font-family: 'CustomFont';
    font-display: swap;
    src: local('CustomFont');
}

/* Basic layout containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Prevent content jump during font load */
* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} 