* {
  box-sizing: border-box;
}


body {
    font-family: 'Alef', sans-serif;
    background-color: #e7e7e4;
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    margin: auto;
  }


  h4{
    color: #828282;
    font-weight: normal;
  }

  h3{
    color: #330A0E;
    font-weight: normal;

  }
  .Hero{
    display: flex;
    margin: auto;
    width: 1140px;
    height: 530px;
    padding: 36px 44px;
    gap: 10px;
    border-radius: 3px;
    flex-direction: column;
    background-image: url(images/1000.png);
    background-size: cover;
    margin-top: 50px;
  }

  nav{
    display: flex;
    height: 39px;
    justify-content: left;
    flex-shrink: 0;
    align-self: stretch;
  } 

  .button{
    background: none;
    border: none;
    color: #EFEFED;
    display: flex;
    margin-right: 30px;;
    padding: 10px 20px;
    align-items: center;
    font-family: Alef;
    font-size: 17px;
    line-height: 150%;
    text-shadow: 0.5px 0.5px 0px #330A0E;
    transition: background-color 0.3s ease;
    text-decoration: none;

  }

  .button:hover {
    color: white;
    text-decoration: none;
  }



  #order{
    background: black;
    margin-right: 30px;;
    padding: 10px 20px;
    align-items: center;
    font-family: Alef;
    font-size: 17px;
    line-height: 150%;
    color: #EFEFED;
    display: flex;
    border-radius: 10px;
    text-decoration: none;
    background-color: none;

  }

  #order:hover {
    color: white;
    text-decoration: none;
    background-color: #25070a;
  }

  .home-link, .SubTitle {
    display: inline;
    margin: 0;

  }
  
  .home-link{
    color: inherit; /* יורש את צבע הטקסט הרגיל */
    text-decoration: none;
    font-size: 40px;
    font-weight: bolder;
    color: rgb(255, 255, 255);
    letter-spacing: 2px;
    text-shadow: 0.5px 0.5px 0px #330A0E;
  }

  

  .SubTitle {
    font-size: 16px;
    font-weight: normal;
    color: #fdfdfd;
    letter-spacing: 4px;
    line-height: 2;
    text-shadow: 0.5px 0.5px 2px #240105;
    border-color: #000000;
    border-width: 15px;
    }
    
  .HeroTitle{
    padding-top:  30px;
    padding-right: 20px;}


.Content { 
  display: flex;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 25px;
  width: 1140px;
  padding: 30px 44px;
  flex-direction: column;
  text-align: center;
  background-color: #F7F7F7;
  line-height: 0px;
}

.Content h4 {
  font-style: italic;
  line-height: 0px;
}


.site-footer {
  margin-top: 50px;
  width: 100%; /* הרקע השחור פרוש על כל הרוחב */
  background-color: #090f11;
  color: whitesmoke;
  border-top: 3px solid #ffffff;
  padding: 0px; /* בלי padding פנימי */
  direction: rtl;
  white-space: nowrap;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1140px;  /* מתואם לשאר העמוד */
  width: 100%;
  margin: auto;
  padding: 40px 20px; /* קצת ריווח פנימי */
  box-sizing: border-box;
  direction: rtl;
}

.footer-columns-left {
  display: flex;
  gap: 100px;
}

.footer-column {
  flex: 1 1 200px;
  margin: 0px 0px 30px 0px;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: whitesmoke;
}

.footer-column a,
.footer-column p {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  display: inline-block;
  margin-bottom: 10px;
  transition: color 0.3s;
  white-space: nowrap;
}

.footer-column a:hover {
  color: #ccc;
}

.footer-column.brand p {
  font-size: 13px;
  margin-bottom: 10px;
  align-items: start;
}

.social-icons a {
  margin-left: 10px;
  color: white;
  font-size: 18px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #ccc;
}


.gallery-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
  line-height: 1;
}

.gallery-wrapper h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.gallery-wrapper p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* שלוש עמודות קבועות */
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1; /* ריבוע */
  object-fit: cover;   /* חותך חלק מהתמונה כדי למלא את הריבוע */
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* מודל - פופאפ */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
padding-top: 50px;
}

/* התמונה בתוך הפופאפ */
.popup-content {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px #fff;
}

/* כפתור סגירה */
.close {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
