@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg-main: #0b0f1a;
  --bg-sub: #111827;
  --bg-card: #0f172a;
  --border: #1f2937;

  --text-main: #e5e7eb;
  --text-sub: #9ca3af;

  --accent: #22d3ee;
  --accent-weak: #0891b2;
  --danger: #ef4444;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  min-height: 100%;
}

/* ======================= 네비게이션 ======================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(11,15,26,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

.nav-links a {
  margin-left: 20px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--accent); }

.contact-btn {
  padding: 8px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
}

.contact-btn:hover { background: rgba(34,211,238,0.1); }

/* ======================= 폼 컨테이너 ======================= */
.container {
  max-width: 700px;
  margin: 160px auto 80px;
  background: var(--bg-sub);
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.form-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--text-sub);
  margin-bottom: 30px;
  font-size: 1rem;
}

/* ======================= 폼 스타일 ======================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: var(--text-main);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 14px;
  font-size: 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-main);
  width: 100%;
  box-sizing: border-box;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  outline: none;
}

.contact-form textarea { resize: vertical; }

/* ======================= 체크박스 그룹 ======================= */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.checkbox-group label {
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}


/* ======================= 제출 버튼 ======================= */
.contact-form button {
  padding: 14px 0;
  background: var(--accent);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 16px rgba(34,211,238,0.2);
}

/* ======================= 반응형 ======================= */
@media (max-width: 768px) {
  .container { margin: 120px 20px; padding: 30px; }
}

@media (max-width: 480px) {
  .contact-form button { width: 100%; }
}
