
/* ==========================================
   EDUCATION 2040
   GLOBAL BASE STYLES
   ========================================== */

/* Βασικές μεταβλητές σχεδιασμού */

:root {
    --color-primary: #155eef;
    --color-primary-hover: #0046c7;

    --color-text: #172b4d;
    --color-text-muted: #64748b;

    --color-background: #ffffff;
    --color-background-soft: #f8fafc;

    --color-border: #e8edf3;

    --font-primary: "Inter", Arial, sans-serif;
}

/* ==========================================
   GLOBAL RESET
   ========================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: var(--color-background);
    color: var(--color-text);

    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin-top: 0;
}

/* ==========================================
   LINKS
   ========================================== */

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* ==========================================
   IMAGES
   ========================================== */

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

/* ==========================================
   MAIN CONTENT
   ========================================== */

#main-content {
    width: 100%;
    min-height: 60vh;
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
