/* css/base.css - Общие стили, переменные, сбросы, типографика */

/* --- Переменные для удобства (цвета, шрифты) --- */
:root {
    --main-accent-color: #007bff;
    --dark-text-color: #333;
    --light-text-color: #666;
    --header-top-bg: #2b507e;
    --footer-bg: #333;
    --link-color: #007bff;
    --hover-color: #0056b3;
    --green-accent: #a5d134;
    --border-color: #eee;
    --light-blue-bg: #eef5fb;
    
    --font-family-body: 'Open Sans', sans-serif;
    --font-family-headings: 'Roboto', sans-serif;
}

/* --- Базовый сброс и общие стили --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-body);
    line-height: 1.6;
    color: var(--dark-text-color);
    background-color: #f8f8f8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
    color: var(--dark-text-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    font-weight: 700;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

h4 {
    font-size: 1.4em;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

ul {
    list-style: none;
}