/* --- Variables & Reset --- */
:root {
  --primary-color: #005bbb; /* כחול מודרני קליל */
  --light-bg: #f4f8fc; /* רקע כחלחל בהיר מאד */
  --dark-color: #1a1a1a; /* שחור */
  --text-color: #333333;
  --white: #ffffff;
  --border-color: #e0e0e0; /* צבע גבול לחבילות */
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Heebo', sans-serif;
}

body {
  background-color: var(--white);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* --- Typography --- */
h1,
h2,
h3 {
  color: var(--dark-color);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 900;
}

.section-title p {
  color: #666;
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn-primary,
.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #004494;
  border-color: #004494;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* --- Navbar --- */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  max-width: 1200px;
  margin: auto;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: var(--dark-color);
  font-weight: 700;
  transition: var(--transition);
  padding: 10px 0;
}

.nav-links li a:hover {
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  list-style: none;
  z-index: 1;
}

.dropdown-content li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-content li:last-child {
  border-bottom: none;
}

.dropdown-content li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-color);
}

.dropdown-content li a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.contact-phone a {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  transition: var(--transition);
}

.contact-phone a:hover {
  background-color: var(--primary-color);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}
/* --- Hero Section (Updated to Background Image & 50vh) --- */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%; /* Removed vertical padding so it doesn't force extra height */
  min-height: 60vh;
  position: relative;
  /* You will change the link here to your real image later */
  background-image: url('https://images.pexels.com/photos/4387569/pexels-photo-4387569.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* שכבת שקיפות כדי שהטקסט תמיד יהיה קריא מעל התמונה */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(230, 219, 219, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 30px;
}

/* --- Packages Section --- */
.packages-section {
  padding: 80px 5%;
  background-color: var(--light-bg);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.package-card {
  background-color: var(--white);
  border-radius: 15px;
  padding: 10px;
  border: 2px solid var(--border-color); /* הוספת מסגרת לכל הקופסאות */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
  text-align: center;
  transition: var(--transition);
}
.package-content {
  padding: 30px;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: #ccc;
}

.package-card.featured {
  border: 2px solid var(--primary-color); /* מסגרת מובלטת לחבילה המומלצת */
  transform: scale(1.05);
}

.package-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.package-img img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color); /* מסגרת עדינה סביב התמונה עצמה */
}

.package-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.package-card p {
  color: #666;
  margin-bottom: 20px;
  min-height: 50px;
}

.package-card ul {
  list-style: none;
  text-align: right;
  margin-bottom: 25px;
}

.package-card ul li {
  margin-bottom: 10px;
  color: #444;
}

.package-card ul li i {
  color: var(--primary-color);
  margin-left: 8px;
}

/* --- Custom Package CTA --- */
.custom-package-cta {
  text-align: center;

  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color); /* יוצר קו הפרדה עדין ואלגנטי */
}

.custom-package-cta h3 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.custom-package-cta p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

.custom-package-cta .btn-primary {
  padding: 15px 40px;
  font-size: 1.1rem;
}
/* END packages section   */

/* --- Footer --- */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 50px 5% 20px;
  text-align: center;
}

.footer-content h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 10px;
}

.social-icons {
  margin: 20px 0;
}

.social-icons a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 10px;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

/* GALLERY  */
/* --- Gallery Section --- */
.gallery-section {
  padding: 80px 5%;
  background-color: var(
    --white
  ); /* White background to contrast with the light-blue packages section */
}

.gallery-grid {
  display: grid;
  /* This automatically creates responsive columns. It fits as many 250px boxes as possible */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 4 / 3; /* Keeps all images uniformly shaped */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures images fill the box without stretching */
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #ccc;
}

.gallery-item:hover img {
  transform: scale(1.08); /* Cool zoom-in effect on hover */
}

/* --- Lightbox Modal --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Dark transparent background */
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #ffffff;
  font-size: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close-lightbox:hover {
  color: var(--primary-color);
}

/* --- Responsive (Mobile) --- */
@media (max-width: 992px) {
  .package-card.featured {
    transform: scale(1);
  }

  .package-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: var(--light-bg);
    margin-top: 10px;
  }

  .contact-phone {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}
.bold {
  font-weight: 600;
}
