/* Table of Contents 
 * ==========================
 * 1. CSS Reset 
 * 2. Root Variables
 * 3. Base Styles 
 * 4. Media Elements 
 * 5. Form Elements
 * 6. Links & Lists 
 * 7. Button Default 
 * 8. Container 
 * 9. Flex & Grid Default 
 * 10. Spacing Utilities 
 * 11. Text Utilities 
 * 12. Border Radius & Shadow 
 * 13. Transition Global  
 * ========================== */ 
 
/* ==========================
    1. CSS Reset (Modern)
========================== */
*, 
*::before, 
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================
    2. Root Variables
========================== */
:root {
    --color-primary: #fa0033;
    --color-dark: #000000;
    --color-gray: #666666;
    --color-light: #f0f0f0;
    --color-white: #ffffff;
    --font-main: system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

/* ==========================
    3. Base Styles
========================== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-dark);
    background: var(--color-light);
}

/* ==========================
    4. Media Elements
========================== */
img, 
picture, 
video, 
canvas,
svg {
    display: block;
    max-width: 100%;
}
 
/* ==========================
    5. Form Elements
========================== */
input,
button,
textarea, 
select {
    font: inherit;
    border: none;
    outline: none;
}

/* ==========================
    6. Links & Lists
========================== */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul, 
ol {
    list-style: none;
}

/* ==========================
    7. Button Default
========================== */
button {
    cursor: pointer;
    background: none;
}

/* ==========================
    8. Container
========================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ==========================
    9. Flex & Grid Helpers
========================== */
.flex {
    display: flex;
    align-items: center;
}
.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.grid {
    display: grid;
}

/* ==========================
    10. Spacing Utilities
========================== */
.mt-1 {
    margin-top: 0.5rem;
}
.mt-2 {
    margin-top: 1rem;
}
.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}
.mb-2 {
    margin-bottom: 1rem;
}
.mb-3 {
    margin-bottom: 1.5rem;
}

/* ==========================
    11. Text Utilities
========================== */
.text-center {
    text-align: center;
}
.text-bold {
    font-weight: bold;
}

/* ==========================
    12. Border Radius & Shadow
========================== */
.radius {
    border-radius: 6px;
}
.shadow {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ==========================
    13. Transition Global
========================== */
.transition {
    transition: var(--transition);
}
