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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #0d0d0d;
  color: #eaeaea;
  line-height: 1.6;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.95);
  border-bottom: 1px solid #222;
  z-index: 10;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  color: #4da3ff;
  font-weight: 800;
  font-size: 1.3rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: #eaeaea;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #4da3ff;
}

/* ===== HEADER ===== */
.header {
  padding-top: 7rem;
  padding-bottom: 3rem;
  text-align: center;
  background: linear-gradient(180deg, #111 0%, #0d0d0d 100%);
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
  margin-bottom: 1rem;
}

.subtitle {
  color: #4da3ff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 3rem 1rem;
}

h2 {
  font-size: 1.6rem;
  color: #4da3ff;
  margin-bottom: 1rem;
}

p {
  color: #ccc;
  font-size: 1rem;
}

/* ===== EXPERIENCE ===== */
.experience-item {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.2s ease;
}

.experience-item:hover {
  background: #222;
}

.exp-date {
  color: #999;
  font-size: 0.9rem;
}

/* ===== SKILLS ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.skill-card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.skill-card:hover {
  transform: scale(1.05);
  background: #222;
}

/* ===== HOBBIES ===== */
.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.hobby-card {
  background: #1a1a1a;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: background 0.2s ease;
}

.hobby-card:hover {
  background: #222;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: #888;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    font-size: 0.95rem;
  }

  .skills-grid,
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
}
