
/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

:root {
  --background-color: #f4f7f9;
  --container-bg: #ffffff;
  --primary-color: #5a9ee4;
  --text-color: #333;
  --shadow-color: rgba(0, 0, 0, 0.08);
  --glow-color: rgba(90, 158, 228, 0.4);
  --input-bg: #f9f9f9;
  --input-border: #e0e0e0;
}

body.dark-mode {
  --background-color: #1c2128;
  --container-bg: #2d333b;
  --text-color: #cdd9e5;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --glow-color: rgba(90, 158, 228, 0.3);
  --input-bg: #22272e;
  --input-border: #444c56;
}

body {
  font-family: 'Noto Sans KR', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding-top: 80px; /* Space for fixed header */
  padding-bottom: 80px; /* Space for fixed footer */
  min-height: 100vh;
  box-sizing: border-box;
  transition: background-color 0.3s, color 0.3s;
}

.header {
    background-color: var(--container-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    padding: 0 2rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    transition: background-color 0.3s;
}

.header .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.header .nav-links {
    display: flex;
    gap: 1.5rem;
}

.header .nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 5px;
}

.header .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease-out;
}

.header .nav-links a:hover::after {
    width: 100%;
}

.footer {
    background-color: var(--container-bg);
    box-shadow: 0 -2px 10px var(--shadow-color);
    padding: 1.5rem 2rem;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    text-align: center;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.container {
  background: var(--container-bg);
  padding: 2rem 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow-color);
  text-align: center;
  max-width: 90%;
  width: 600px;
  margin: 2rem auto;
  transition: background-color 0.3s, box-shadow 0.3s;
}
