/* Reset and font setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: #FAFAF6;
  color: #2D2D2A;
  padding: 40px 20px;
  min-height: 100vh;
  position: relative;
}

/* כפתור חזרה */
.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 12px;
  background: #FAFAF6;
  color: #D9A5B3;
  border: 2px solid #F1B4AA;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

/* Container holding all experiences */
.container {
  max-width: 1200px;
  margin: 60px auto 0 auto;
}

/* Main title */
h1 {
  border-bottom: 2px solid #D9A5B3;
  padding-bottom: 3px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #2D2D2A;
  font-size: 25px;
  text-align: left;
}

/* Experience box */
.experience-item {
  background: white;
  border: 2px solid #F1B4AA;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(217, 165, 179, 0.2);
  padding: 25px;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.experience-item:hover {
  transform: translateY(-3px);
}

/* Header inside each experience box (logo + content) */
.experience-header {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start; /* מונע יישור לאמצע שמרחיק את הטקסט */
  gap: 20px;
  margin-bottom: 1px;
}

/* Company logo */
.company-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Experience content */
.experience-content {
  flex: 1;
}

/* Job title */
.job-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 3px;
  color: #D98A9B;
}

/* Company name */
.company {
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
}

/* Location & date */
.location-date {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-bottom: 1px;
}

/* List of responsibilities */
ul.responsibilities {
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

ul.responsibilities li {
  margin-bottom: 1px;
}

/* Optional: bold keywords */
.job-title strong,
.company strong,
.location-date strong {
  color: #2D2D2A;
  margin-bottom: 0;
}

/* Optional: tag for temporary positions */
.temporary-tag {
  font-size: 0.85rem;
  color: #999;
  margin-left: 5px;
}
