/* css/base.css */

:root {
    --bg-color: #f4f7f6;
    --text-color: #333;
    --primary-color: #007bff;
    --primary-color-dark: #0056b3;
    --secondary-color: #28a745;
    --secondary-color-dark: #218838;
    --header-bg: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    --header-text: #fff;
    --card-bg: #fff;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    --hero-bg: #fff;
    --hero-text: #555;
    --hero-title-color: var(--primary-color);
    --features-bg: #eef4f8;
    --features-title-color: var(--primary-color-dark);
    --footer-bg: #343a40;
    --footer-text: #f8f9fa;
    --link-color: var(--primary-color);
    --link-hover-color: var(--primary-color-dark);
}

body.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --primary-color: #4dabf7;
    --primary-color-dark: #1e88e5;
    --secondary-color: #69db7c;
    --secondary-color-dark: #38d9a9;
    --header-bg: linear-gradient(135deg, #1e1e1e, #121212);
    --header-text: #e0e0e0;
    --card-bg: #1e1e1e;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --card-hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    --hero-bg: #1e1e1e;
    --hero-text: #b0b0b0;
    --hero-title-color: var(--primary-color);
    --features-bg: #2c2c2c;
    --features-title-color: var(--primary-color-dark);
    --footer-bg: #1e1e1e;
    --footer-text: #e0e0e0;
    --link-color: var(--primary-color);
    --link-hover-color: #90caf9;
}

/* General Body Styling */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--hero-title-color);
}
