/* 🎨 Theme Variables */
:root {
  --timeline-line: #3b3b3b;
  --timeline-title: #1f2937;
  --timeline-date: #6b7280;
  --timeline-place: #374151;
  --timeline-text: #4b5563;

  --skills-bg: #ffffff;
  --skills-title: #1f2937;
  --skills-subtitle: #374151;
  --skill-card-bg: linear-gradient(to bottom right, #ffffff, #f0f4f8);
  --skill-text: #1f2937;

  --card-bg: #f9f9f9;
  --card-title: #333;
  --card-subtext: #666;
}

body.dark-mode {
  --timeline-line: #888;
  --timeline-title: #e0e0e0;
  --timeline-date: #a0a0a0;
  --timeline-place: #ccc;
  --timeline-text: #bbb;

  --skills-bg: #2a2a2a;
  --skills-title: #f5f5f5;
  --skills-subtitle: #ccc;
  --skill-card-bg: linear-gradient(to bottom right, #2a2a2a, #3a3a3a);
  --skill-text: #f0f0f0;

  --card-bg: #333;
  --card-title: #f5f5f5;
  --card-subtext: #aaa;
}

/* ---------------- */

.timeline-section {
  margin: 2rem 0;
}

.timeline {
  position: relative;
  margin-left: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--timeline-line);
}

.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-marker {
  width: 14px;
  height: 14px;
  background-color: var(--timeline-line);
  border-radius: 50%;
  position: absolute;
  left: -9px;
  top: 6px;
}

.timeline-content {
  padding-left: 1rem;
}

.timeline-content h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--timeline-title);
}

.timeline-date {
  font-size: 0.85rem;
  color: var(--timeline-date);
  display: block;
  margin-top: 0.2rem;
}

.timeline-place {
  font-weight: 500;
  display: block;
  margin-top: 0.2rem;
  color: var(--timeline-place);
}

.timeline-content p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--timeline-text);
}

/* 💻 Skills Section */
.skills-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--skills-bg);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.skills-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--skills-title);
}

.skills-category {
  margin-bottom: 2.5rem;
}

.skills-category h3 {
  text-align: center;
  font-size: 1.3rem;
  color: var(--skills-subtitle);
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.skills-cluster {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.skill-card {
  width: 110px;
  height: 120px;
  background: var(--skill-card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 0.6rem;
}

.skill-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--skill-text);
  text-align: center;
}

/* ---------------- */

.card-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.card {
  width: 200px;
  height: 160px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

.card-title {
  font-weight: 600;
  color: var(--card-title);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.card-subtext {
  font-size: 1.1rem;
  color: var(--card-subtext);
  margin-bottom: 0.5rem;
}
