/* CV Page Styles */
.cv-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

.cv-section {
  margin-bottom: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 1.2rem;
  border: 1px solid var(--medium-gray);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cv-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.cv-section h3 {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.cv-section h4 {
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 0.3rem;
}

.cv-section h5 {
  font-size: 1rem;
  color: var(--dark-gray);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.personal-info-container {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.profile-photo-container {
  flex: 0 0 auto;
}

.profile-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.personal-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.personal-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.personal-info-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-color);
}

.job-item {
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--medium-gray);
}

.job-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.job-date {
  font-size: 0.9rem;
  color: var(--dark-gray);
  margin-bottom: 0.5rem;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.skill-category {
  flex: 1;
  min-width: 250px;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.skill-item {
  background: var(--gradient-bg);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.skill-item a {
  color: white;
  text-decoration: none;
}

.skill-item a:hover {
  text-decoration: underline;
}

.skill-item svg {
  width: 14px;
  height: 14px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-item {
  background-color: var(--light-gray);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.project-item h4 {
  margin-bottom: 0.3rem;
}

.project-item h4 a {
  color: var(--primary-color);
  text-decoration: none;
}

.project-item h4 a:hover {
  text-decoration: underline;
}

.project-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.languages-list, .hobbies-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.language-item, .hobby-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--light-gray);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

.language-item svg, .hobby-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-color);
}

.links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.link-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .personal-info-container {
    flex-direction: column;
    align-items: center;
  }
  
  .profile-photo-container {
    margin-bottom: 1rem;
  }
  
  .personal-info {
    width: 100%;
  }
  
  .skills-container {
    flex-direction: column;
  }
}
