/* ==============================
    Basic RESET
============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improve text rendering */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
html, body {
    height: 100%;
    margin: 0;
}
body {
    font-size: 15px;
    font-weight: normal;
    color: #333;
    background-color: #fff; 
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}
p {
    margin-bottom: 1rem;
} 
a {
    text-decoration: none;
    color: inherit;
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
input, textarea {
    font-family: inherit;
    outline: none;
}

/* Container systems */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Flex helpers */
.flex {
    display: flex;
}
.fl-center {
    display: flex;
    justify-content: center;
    align-items: center;
}
.space-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Grid helpers */
.grid {
    display: grid; 
    gap: 20px;
}

/* Common utilities */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Scrollbar (optional) */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    width: 8px;
    background: #888;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Footer always bottom of page */
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {flex: 1;}

/* ==============================
    Site HEADER
============================== */
.site-header {
    background-color: #f0f0f0;
    padding: 8px 10px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.1);
}

/* ==============================
    Site FOOTER
============================== */
.site-footer {
    background-color: #333;
    padding: 8px 10px;
}
.site-footer p {
    text-align: center;
    font-size: 15px;
    color: #ddd;
    margin-bottom: 0;
} 