* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.villa-hero {
  background-size: cover;
  background-position: center;
  height: 90vh;
  position: relative;
  direction: rtl;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  color: #d4af37;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  color: #eee;
  margin-bottom: 30px;
}

.hero-btn {
  background-color: #d4af37;
  color: black;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  transition: background 0.3s ease;
}

.hero-btn:hover {
  background-color: #b5942d;
}

.villa-details {
  background-color: #111;
  color: #fff;
  padding: 80px 20px;
  direction: rtl;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #d4af37;
  margin-bottom: 60px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.detail-box {
  background-color: #1c1c1c;
  border: 1px solid #333;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.detail-box i {
  font-size: 32px;
  color: #d4af37;
  margin-bottom: 15px;
  display: block;
}

.detail-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.detail-box strong {
  color: #d4af37;
}

.detail-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
body {
  padding-top: 70px;
}
.villa-details h2.section-title {
  grid-column: 1 / -1;
  margin-bottom: 60px;
}
.villa-amenities {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 20px;
  direction: rtl;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.amenity-box {
  background-color: #111;
  border: 1px solid #333;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.amenity-box i {
  font-size: 32px;
  color: #d4af37;
  margin-bottom: 15px;
  display: block;
}

.amenity-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

.amenity-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.villa-suitable {
  background-color: #111;
  color: white;
  padding: 80px 20px;
  direction: rtl;
}

.suitable-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.suitable-box {
  background-color: #1c1c1c;
  border: 1px solid #333;
  padding: 20px 30px;
  border-radius: 30px;
  color: #d4af37;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s;
}

.suitable-box:hover {
  background-color: #2c2c2c;
}
.important-section {
  background-color: #0e0e0e;
  padding: 80px 20px;
  direction: rtl;
  text-align: center;
}

.important-title {
  font-size: 36px;
  color: #d4af37;
  margin-bottom: 50px;
  font-weight: bold;
}

.important-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.important-item {
  background: linear-gradient(to top left, rgba(212, 175, 55, 0.05), #111);
  border: 1px solid #d4af37;
  border-radius: 20px;
  padding: 25px;
  color: #f0f0f0;
  font-size: 17px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.important-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.important-item strong {
  color: #d4af37;
}

.gallery {
  background-color: #0d0d0d;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  direction: rtl;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
body {
    background: #111;
    font-family: 'Cormorant Garamond', serif;
      margin: 0;
      padding: 0;
    }
    
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 10px;
        margin: 0 auto;
        max-width: 1200px;
        padding: 20px;
    }

.gallery a {
    display: block;
  overflow: hidden;
  border-radius: 10px;
}

.gallery img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    border: 2px solid gold;
    transition: transform 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}
.gallery-section h2 {
    color: #d4af37;
    text-align: center;
    padding-top: 30px;
    font-size: 36px;
    font-weight: 600;
    font-family: 'Assistant', sans-serif; /* או כל גופן אחר שתואם לעיצוב שלך */
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.gallery-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    color: #d4af37;
    margin: 10px auto 0;
    border-radius: 2px;
}
.gallery-section h2 {
  font-family: 'Noto Serif Hebrew', serif;
  font-size: 32px;
  color: #d4af37;
  margin-bottom: 40px;
}

.villa-contact {
  background-color: #1a1a1a;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.contact-text {
  font-size: 18px;
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-btn {
  background-color: #d4af37;
  color: black;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background-color: #b5942d;
}
.villa-footer {
  background-color: #000;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* ===== התאמות מובייל ===== */
@media (max-width: 768px) {
  .villa-hero {
    height: 70vh;
    background-position: center center;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .section-title,
  .important-title,
  .gallery-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .details-grid,
  .important-grid,
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .suitable-grid {
    flex-direction: column;
    align-items: center;
  }

  .suitable-box {
    width: 80%;
    font-size: 16px;
    text-align: center;
  }

  .contact-text {
    font-size: 16px;
  }

  .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .contact-btn {
    width: 80%;
    padding: 12px;
    font-size: 16px;
  }



  .villa-footer {
    font-size: 12px;
    padding: 15px;
  }



.contact-buttons {
  flex-direction: column;
  align-items: center; /* מוסיף יישור למרכז */
}

.contact-btn {
  width: 80%;
  max-width: 300px;
  text-align: center;
}

}
@media (max-width: 768px) {

  .gallery {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}

}
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .gallery-section {
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 8px 12px;
    box-sizing: border-box;
    justify-content: center;
    justify-items: center;
  }

  .gallery a {
    width: 100%;
    display: block;
  }

  .gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
  }
}

