@font-face {
  font-family: 'Thmanyah';
  src: url('thmanyahserifdisplay-Regular.otf') format('opentype');
  font-weight: 400;
}

@font-face {
  font-family: 'Thmanyah';
  src: url('thmanyahserifdisplay-Bold.otf') format('opentype');
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Thmanyah', serif;
  background-color: #fafaf8;
  color: #17181a;
}

header {
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e5e3dc;
}

.logo {
  font-weight: 700;
  font-size: 20px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  position: relative;
  text-decoration: none;
  color: #17181a;
  font-size: 15px;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1px;
  background: #17181a;
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

#lang-toggle {
  font-family: inherit;
  font-size: 14px;
  background: none;
  border: 1px solid #17181a;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  color: #17181a;
  transition: background 0.2s ease, color 0.2s ease;
}

#lang-toggle:hover {
  background: #17181a;
  color: #fff;
}

.hero, .about, .contact {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero.visible, .about.visible, .contact.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero {
  padding: 120px 48px 100px;
  text-align: center;
}

.badge {
  display: inline-block;
  font-size: 13px;
  color: #2f8a4e;
  border: 1px solid #d8e6da;
  background: #f1f8f2;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  transition: transform 0.2s ease;
}

.badge:hover {
  transform: scale(1.04);
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1.2;
  margin-bottom: 8px;
  font-feature-settings: "salt" 1;
}

.desc {
  font-size: 18px;
  color: #555;
  max-width: 480px;
  margin: 0 auto;
  font-feature-settings: "salt" 1;
}

.about {
  padding: 80px 48px;
  border-top: 1px solid #e5e3dc;
  text-align: center;
}

.about h2 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 4px;
  font-feature-settings: "salt" 1;
}

.about-grid {
  max-width: 560px;
  margin: 40px auto 0;
}

.about-text {
  font-size: 17px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 28px;
  font-feature-settings: "salt" 1;
}

.skills {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.skills span {
  font-size: 14px;
  border: 1px solid #d8d6ce;
  padding: 8px 16px;
  border-radius: 100px;
  color: #333;
  transition: transform 0.2s ease, background 0.2s ease;
}

.skills span:hover {
  transform: translateY(-3px);
  background: #f1f0ea;
}

.contact {
  padding: 80px 48px 100px;
  border-top: 1px solid #e5e3dc;
  text-align: center;
}

.contact h2 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 12px;
  font-feature-settings: "salt" 1;
}

.contact-sub {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  font-feature-settings: "salt" 1;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.contact-links a {
  text-decoration: none;
  color: #17181a;
  font-size: 16px;
  border-bottom: 1px solid #d8d6ce;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-links a:hover {
  color: #2f8a4e;
  border-color: #2f8a4e;
}
