/* הרקע הכללי של האתר */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #FAFAF6;
  color: #2D2D2A;
  line-height: 1.6;
  font-size: 18px;
}

/* תבנית לעמוד המרכזי */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* כותרת עמוד */
h1 {
  border-bottom: 2px solid #D9A5B3;
  padding-bottom: 1px;
  margin: 30px 0 20px;
  color: #2D2D2A;
  font-size: 25px;
  text-align: left; 
}


/* כפתור חזרה */
.back-btn {
  display: inline-block;
  margin: 20px 0 0 20px;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  background: #FAFAF6;
  color: #D9A5B3;
  border: 2px solid #F1B4AA;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

/***********************Box design*******************/

/* גריד של תיבות */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

/* תיבה בודדת */
.project-box {
  background: #fff;
  border: 2px solid #F1B4AA;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center; /* ממרכז טקסט */
}

.project-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(217, 165, 179, 0.2);
}

/* כותרת פרויקט */
.project-box h3 {
  font-size: 1.2rem;
  color: #D9A5B3;
  margin-bottom: 8px;
}

/* תיאור */
.project-box p {
  flex-grow: 1;
  font-size: 1rem;
  color: #444;
  margin-bottom: 16px;
}

/* עטיפה של הלוגו והכפתור */
.btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center; /* מרכז את הלוגו + כפתור */
  gap: 10px;
  margin-top: auto;
}

/* תמונה (לוגו) */
.btn-icon {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  background-color: #fff;
}

/* עיצוב כפתור */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  background: #FAFAF6;
  border: 2px solid #F1B4AA;
  color: #2D2D2A;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}
.btn:hover {
  background-color: #F1E6E9;
}


