/* ====================================
Learnify GLOBAL BASE STYLES (styles.css)
Handles global variables, body, and typography.
==================================== */

/* --- 1. CSS Variables (Color Palette) --- */
:root {
    --primary-color: #14b8a6;   /* Teal/Success */
    --secondary-info: #facc15;  /* Gold/Warning */
    --error-color: #ef4444;     /* Red/Error */
    --primary-bg: #f8fafc;      /* Light Background (Text on Dark) */
    --nav-bg: #1e293b;          /* Dark Blue/Secondary Background */
    --secondary-bg: #0f172a;    /* Very Dark Blue/Body Background */
    --primary-text: #e2e8f0;    /* Light Text */
    --secondary-text: #94a3b8;  /* Muted Text */
}

/* --- 2. Global Resets and Typography --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--secondary-bg);
    color: var(--primary-text);
    min-height: 100vh;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 600;
}

/* --- 3. Utility Classes (Site-wide) --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Base button style (for general site buttons, not form submission buttons) */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--primary-bg);
}

.btn-primary:hover {
    background-color: #0d9488; /* Darker teal */
}
