:root {
  --bg: #121212;
  --card: #1e1e1e;
  --text: #e0e0e0;
  --muted: #9aa0a6;
  --primary: #1a73e8;
  --border: #2a2a2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  font-weight: 700;
}

.nav {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95em;
}

.lang-switch {
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.6em;
}

.hero-content h1 span {
  display: block;
  font-size: 0.45em;
  font-weight: 300;
  margin-top: 10px;
  color: var(--muted);
}

.btn-primary {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

/* SECTIONS */
section {
  padding: 90px 0;
  border-bottom: 1px solid var(--border);
}

h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* ABOUT */
.about-text {
  max-width: 700px;
  margin: auto;
  text-align: center;
  color: var(--muted);
}

/* SERVICES */
.services-list {
  max-width: 600px;
  margin: auto;
  list-style: none;
  padding: 0;
}

.services-list li {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}

/* CONTACT */
.contact-text {
  text-align: center;
  margin-bottom: 30px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-links a {
  color: var(--primary);
  text-decoration: none;
}

/* PROJECTS LINK */
#projects-link {
  padding: 40px 0;
  text-align: center;
  font-size: 0.95em;
  color: var(--muted);
}

#projects-link a {
  color: var(--text);
  border-bottom: 1px dashed var(--primary);
  text-decoration: none;
}

/* FOOTER */
.footer {
  padding: 30px 0;
  text-align: center;
  font-size: 0.85em;
  color: var(--muted);
}
