:root {
  --accent-color: #007aff; /* Blu Apple-style */
  --bg-light: #f8f9fa;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background-color: #ffffff;
  color: #1d1d1f;
  -webkit-font-smoothing: antialiased;
}

/* Navbar Minimal */
.navbar {
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: saturate(180%) blur(20px);
}

/* Hero Portfolio */
.hero-title {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

/* Card Progetto Elegante */
.project-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-light);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.project-img {
  height: 400px;
  object-fit: cover;
  filter: grayscale(20%);
  transition: 0.4s;
}

.project-card:hover .project-img {
  filter: grayscale(0%);
}

/* Badge Competenze */
.skill-badge {
  background: #f2f2f7;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 5px;
  display: inline-block;
}

/* Footer Sticky */
footer {
  border-top: 1px solid #eee;
  padding: 50px 0;
  margin-top: auto;
  background: #fff;
}

.btn-primary {
  background-color: var(--accent-color);
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  font-weight: 600;
}

.x-small {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Effetto focus sulla timeline */
.border-start div:hover h5 {
  color: var(--accent-color);
  transition: 0.3s;
}

/* Timeline più sottile e moderna */
.experience-timeline {
  border-left: 1px solid #e9ecef;
}

.experience-item .dot {
  position: absolute;
  left: -30px; /* Centrato sulla linea */
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border: 2px solid #007aff;
  border-radius: 50%;
}

/* Tool Cards eleganti */
.tool-card {
  background: #ffffff;
  border: 1px solid #f1f1f1;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.tool-card:hover {
  background: #edf2f752;
  border-color: rgba(219, 220, 223, 0.804);
  transform: translateY(-3px);
}

/* Utility per spaziature e testi */
.ls-1 {
  letter-spacing: 1px;
}
.z-n1 {
  z-index: -1;
}
