* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #1e1e1e;
  color: #fff;
}

.resume {
  display: flex;
  max-width: 1000px;
  margin: 40px auto;
  background: #2b2b2b;
  border-radius: 16px;
  overflow: hidden;
}

/* Main sidebar styles */
.sidebar {
  background: #1b1b1b;
  padding: 30px;
  width: 300px;
  text-align: center;
}

.photo {
  width: 100px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.sidebar h2 {
  margin-bottom: 10px;
}

.experience-block p {
  margin: 20px 0;
  font-size: 18px;
}

/* Main content styles */
.content {
  padding: 40px;
  flex: 1;
}

h1 {
  font-size: 28px;
  margin-bottom: 30px;
}

/* Skills section */
.skills h3,
.tools h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.skill {
  margin-bottom: 10px;
}

.skill span {
  display: block;
  margin-bottom: 5px;
}

.bar {
  width: 100%;
  background: #444;
  height: 6px;
  border-radius: 3px;
}

.bar div {
  height: 6px;
  background: #00bcd4;
  border-radius: 3px;
}

/* Tools section */
.tools ul {
  list-style: none;
  padding-left: 0;
  columns: 2;
  column-gap: 40px;
  margin-bottom: 30px;
}

.tools li {
  margin-bottom: 8px;
}

/* Summary section */
.summary {
  margin-bottom: 30px;
  font-size: 15px;
  color: #ccc;
}

/* Buttons */
.buttons-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.experience-btn, 
.pet-projects-btn, 
.back-btn {
  background: #3c3c3c;
  border: none;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.experience-btn:hover, 
.pet-projects-btn:hover, 
.back-btn:hover {
  background: #555;
}

/* Experience section specific styles */
.experience-section {
  display: none;
}

.experience-section .sidebar {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.company-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  padding-top: 40px;
}

.company-item {
  padding-left: 20px;
  border-left: 3px solid #00bcd4;
}

.company-item h3 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #fff;
}

.company-item .period {
  font-size: 14px;
  color: #ccc;
}

/* Job description styles */
.job {
  margin-bottom: 30px;
  padding-left: 20px;
  position: relative;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.job-header h3 {
  font-size: 18px;
  color: #00bcd4;
  margin-bottom: 0;
}

.job-period {
  font-size: 14px;
  color: #ccc;
}

.job:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: #444;
}

.responsibilities {
  list-style-position: inside;
  padding-left: 5px;
}

.responsibilities li {
  margin-bottom: 8px;
}

/* Pet projects section */
.pet-projects-section {
  display: none;
}

.project {
  margin-bottom: 30px;
}

.project h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.description {
  font-style: italic;
  margin-bottom: 10px;
  color: #ccc;
}

.tech-stack {
  list-style-position: inside;
  margin-left: 15px;
}

.tech-stack li {
  margin-bottom: 5px;
}

/* Back button alignment */
.back-btn {
  display: block;
  margin: 30px auto 0;
}
