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

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.cv-header {
  background: linear-gradient(135deg, #000 0%, #333 100%);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cv-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }

  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.header-content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.profile-image {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
}

.header-info h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-info .title {
  font-size: 1.3rem;
  color: #aaa;
  margin-bottom: 20px;
  font-weight: 300;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.contact-icon {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #666 0%, #999 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.main-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.section {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.section h2 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
  padding-bottom: 10px;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(135deg, #666 0%, #999 100%);
  border-radius: 2px;
}

.experience-item,
.education-item {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-item:last-child,
.education-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.job-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.company {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 5px;
}

.date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 15px;
  font-style: italic;
}

.responsibilities {
  list-style: none;
  padding-left: 0;
}

.responsibilities li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #ddd;
  font-size: 0.9rem;
}

.responsibilities li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #666;
  font-size: 10px;
}

.technologies {
  margin-top: 15px;
  font-size: 0.8rem;
  color: #aaa;
  font-style: italic;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.skill-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.skill-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .header-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .main-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .header-info h1 {
    font-size: 2rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
    margin: auto;
  }
}
