@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif&display=swap');

/* בסיס */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  background-image: url('images/000017940031.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  position: relative;
  padding: 20px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 24px;
}

.hero .small {
  font-size: 18px;
  margin-bottom: 30px;
}

/* כפתורים */
.buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  text-decoration: none;
  color: white;
  border: 2px solid white;
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 30px;
  transition: background-color 0.3s, color 0.3s;
}

.btn:hover {
  background-color: white;
  color: #333333;
}

/* סקשנים */
.section {
  padding: 100px 20px;
  text-align: center;
}

.section h2 {
  font-size: 36px;
  margin-bottom: 30px;
}

/* נגן מוזיקה */
audio {
  margin: 20px 0;
  width: 100%;
  max-width: 400px;
}

/* גלריה */
.gallery-scroll {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

.gallery-scroll img {
  max-height: 280px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  scroll-snap-align: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-scroll img:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: transparent;
}

/* אודות */
.about-slider {
  position: relative;
  width: 100%;
  min-height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: black;
}

.about-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.about-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

.about-text {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  color: white;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
}

/* טופס */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input, form textarea {
  width: 90%;
  max-width: 400px;
  padding: 10px;
  margin-bottom: 20px;
  border: 2px solid #333333;
  border-radius: 5px;
  font-size: 16px;
}

form button {
  background-color: #333333;
  color: white;
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #555555;
}

/* פוטר */
footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #888888;
}
@media (max-width: 768px) {
  
  .hero {
    background-image: url('images/hero-mobile.jpg'); /* קובץ התמונת מובייל! */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
  }

  @media (max-width: 768px) {
    body {
      background-image: url('images/000017940036.jpg');
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      background-attachment: scroll;
      color: #ffffff;
    }
  }
  @media (max-width: 768px) {
    /* עיצוב טקסט אודות */
    .about-text {
      max-width: 95%;
      margin: 40px auto 20px auto; /* מרים למעלה ע״י הגדלת ה-margin העליון */
      background: rgba(0, 0, 0, 0.4);
      padding: 18px;
      border-radius: 12px;
      font-size: 13.5px;
      line-height: 1.5;
      color: #eeeeee;
    }
    
  
    .about-text h2 {
      font-size: 20px;
      margin-bottom: 10px;
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      color: #f0f0f0;
      line-height: 1.2;
    }
  }
  
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* שכבה קלה אם תרצי בהמשך */
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 32px;
    margin-bottom: 10px;
  }

  .hero-content p, .hero-content .small {
    font-size: 18px;
    color: #eeeeee;
  }

  .buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid white;
    color: white;
  }

  .btn:hover {
    background-color: white;
    color: #333333;
  }

  /* ביטול תמונת מתיו מהדסקטופ */
  .hero-image-mobile {
    display: none;
  }
}

body.locked main,
body.locked header,
body.locked footer {
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

#password-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 30, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.password-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.password-box h2 {
  margin-bottom: 15px;
}

.password-box input {
  padding: 10px;
  font-size: 16px;
  width: 200px;
  margin-bottom: 10px;
}

.password-box button {
  padding: 10px 20px;
  font-size: 16px;
  background: black;
  color: white;
  border: none;
  cursor: pointer;
}

.password-box button:hover {
  background: #333;
}

.password-box .error {
  color: red;
  font-size: 14px;
  display: none;
  margin-top: 10px;
}
