body {
  font-family: Arial, sans-serif;
  background: #181818;
  color: #fff;
  margin: 0;
  padding: 0;
}
header {
  background: #202020;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 2rem;
  letter-spacing: 2px;
  box-shadow: 0 2px 8px #0004;
  position: relative;
  padding-top: 1.5rem;
}
header img {
  position: absolute;
  right: 2rem;
  top: 1.2rem;
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 2px 8px #0006;
  background: #fff2;
}
header .site-title {
  font-family: 'Segoe Script', cursive;
  color: #ffb300;
  font-size: 2.2rem;
  letter-spacing: 3px;
  text-shadow: 1px 1px 8px #000a;
  text-align: center;
}
header .subtitle {
  font-size: 1.1rem;
  color: #fff;
  margin-top: 0.5rem;
  text-align: center;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
  max-width: 900px;
  margin: auto;
}
.media-card {
  background: #242424;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px #0006;
  transition: transform 0.2s;
}
.media-card:hover {
  transform: scale(1.03);
}
.media-card img, .media-card video {
  width: 100%;
  display: block;
  max-height: 200px;
  object-fit: cover;
  background: #111;
}
.media-title {
  padding: 0.7rem;
  font-size: 1.1rem;
  text-align: center;
  background: #202020;
}
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0; width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}
.img-modal-content {
  margin: auto;
  display: block;
  max-width: 98vw;
  max-height: 95vh;
  border-radius: 10px;
  box-shadow: 0 2px 16px #000a;
}
.img-modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  text-shadow: 0 2px 8px #000a;
}
.img-modal-close:hover { color: #ffb300; } 
.pic1-wrapper {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 1rem 0;
}
.pic1-img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px #0006;
}

/* תמיכה במובייל */
@media (max-width: 768px) {
  header {
    padding: 0.7rem 1rem;
    font-size: 1.2rem;
    padding-top: 1rem;
  }
  
  header img {
    right: 1rem;
    top: 0.8rem;
    height: 48px;
    width: 48px;
  }
  
  header .site-title {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }
  
  header .subtitle {
    font-size: 0.9rem;
    margin-top: 0.3rem;
    padding: 0 0.5rem;
  }
  
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    padding: 0.7rem;
    max-width: 100%;
  }
  
  .media-card img, .media-card video {
    max-height: 150px;
  }
  
  .media-title {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .pic1-wrapper {
    margin: 1rem 0 0.7rem 0;
  }
  
  .pic1-img {
    max-width: 280px;
  }
  
  .img-modal {
    padding-top: 20px;
  }
  
  .img-modal-content {
    max-width: 95vw;
    max-height: 90vh;
  }
  
  .img-modal-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 0.5rem 0.7rem;
    font-size: 1rem;
  }
  
  header img {
    right: 0.7rem;
    top: 0.6rem;
    height: 40px;
    width: 40px;
  }
  
  header .site-title {
    font-size: 1.2rem;
  }
  
  header .subtitle {
    font-size: 0.8rem;
    padding: 0 0.3rem;
  }
  
  .gallery {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .media-card img, .media-card video {
    max-height: 180px;
  }
  
  .media-title {
    padding: 0.4rem;
    font-size: 0.85rem;
  }
  
  .pic1-img {
    max-width: 250px;
  }
  
  .img-modal-close {
    top: 10px;
    right: 15px;
    font-size: 25px;
  }
} 