/* ===== CSS Variables ===== */
:root {
    --bg-color: #f9f9f9;
    --text-color: #333;
    --header-bg: #2c3e50;
    --header-text: white;
    --section-bg: white;
    --link-color: #3498db;
    --border-color: rgba(0, 0, 0, 0.1);
}

/* ===== Dark Theme ===== */
[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --text-color: #f0f0f0;
    --header-bg: #111;
    --header-text: #ddd;
    --section-bg: #222;
    --link-color: #5da9dd;
    --border-color: rgba(255, 255, 255, 0.1);
}

/* ===== Base Styles ===== */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s, color 0.3s;
}

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

a:hover {
    text-decoration: underline;
}

/* ===== Header ===== */
header {
    background-color: var(--header-bg);
    color: var(--header-text);
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: normal;
    color: var(--header-text);
}

/* ===== Navigation ===== */
nav {
    margin-top: 10px;
}

nav a {
    color: var(--header-text);
    margin: 0 10px;
}

/* ===== Main Content ===== */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
}

/* ===== Sections (Hero, About, Links, Social) ===== */
.hero,
.about,
.links,
.social {
    margin-bottom: 20px;
    padding: 15px;
    background-color: var(--section-bg);
    border-radius: 5px;
    box-shadow: 0 2px 5px var(--border-color);
}

.hero {
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p,
.about p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== Lists ===== */
.links ul,
.social ul {
    list-style: none;
    padding: 0;
}

.links li,
.social li {
    margin-bottom: 10px;
}

/* ===== Resume Section ===== */
.resume {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: var(--section-bg);
    border-radius: 5px;
    box-shadow: 0 2px 5px var(--border-color);
}

.section {
    margin-bottom: 20px;
}

.section h3 {
    border-bottom: 2px solid var(--link-color);
    padding-bottom: 5px;
    color: var(--text-color);
}

.section ul {
    padding-left: 20px;
}

.section li {
    margin-bottom: 8px;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--header-bg);
    color: var(--header-text);
    margin-top: 20px;
    font-size: 0.9rem;
}

/* Hide the theme toggle button */
.theme-toggle {
    display: none;
}
/* WIP Overlay for Resume Page */
.wip-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's above everything else */
    color: white;
    text-align: center;
    font-family: Arial, sans-serif;
}

.wip-content {
    max-width: 600px;
    padding: 20px;
    border: 3px solid rgb(253, 182, 29);
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.6);
}

.wip-content h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.wip-content p {
    font-size: 1.2rem;
    margin: 10px 0 0;
}

.wip-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
