:root {
  --primary: #cba25d; /* Dark Gold/Champagne */
  --secondary: #1a1a1a; /* Very Dark Gray */
  --accent: #d4af37; /* Lighter Gold */
  --bg: #0d0d0d;
  --panel-bg: rgba(30, 30, 30, 0.7);
  --text-main: #f0f0f0;
  --text-sub: #b0b0b0;
  --font-thai: 'Prompt', sans-serif;
  --font-en: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-en);
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .thai-text {
  font-family: var(--font-thai);
}

/* Glassmorphism utility */
.glass {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

/* Base Layout Sections */
section {
  min-height: 100vh;
  padding: 100px 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Hero Section */
#hero {
  text-align: center;
  padding-top: 0;
}

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 1s forwards ease-out;
}

.hero-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 4px solid var(--primary);
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(203, 162, 93, 0.3);
  object-fit: cover;
}

h1.hero-name {
  font-size: 4rem;
  margin-bottom: 10px;
  background: linear-gradient(to right, var(--primary), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Experience Timeline */
.timeline {
  width: 100%;
  max-width: 800px;
  position: relative;
  margin-top: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  width: 45%;
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transition: all 0.6s ease-out;
}

.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 55%; }

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item.left { transform: translateX(-50px); }
.timeline-item.right { transform: translateX(50px); }

.timeline-content {
  padding: 20px;
  border-radius: 12px;
}

.year {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 5px;
}

/* Animations */
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  padding: 10px 30px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--text-sub);
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  h1.hero-name { font-size: 2.5rem; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 90%; left: 40px !important; text-align: left !important; }
}
