/* =========================================
   משתנים (Variables)
========================================= */
:root {
  --clr-primary: #C3916B;
  --clr-primary-dark: #A67957;
  --clr-secondary: #233D31;
  --clr-background: #FAF6F0;
  --clr-surface: #FFFFFF;
  --clr-text-main: #1F2937;
  --clr-text-light: #4B5563;
  --font-sans: 'Heebo', sans-serif;
  --font-serif: 'Frank Ruhl Libre', serif;
}

/* =========================================
   איפוס והגדרות בסיס (Reset & Base)
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--clr-background);
  color: var(--clr-text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

main {
  flex-grow: 1;
}

/* מבנה רשת (Container) */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.mb-section { margin-bottom: 4rem; }
.mt-section { margin-top: 4rem; }
.center-mx { margin-left: auto; margin-right: auto; }
.max-w-text { max-width: 42rem; }

/* =========================================
   אנימציות ואפקטים כלליים
========================================= */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        margin-bottom: 0px;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
margin-top: 1rem;
}

.img-overlay {
  background: linear-gradient(to top, rgba(35, 61, 49, 0.9), transparent);
  position: absolute;
  inset: 0;
  transition: opacity 0.3s ease;
}

.icon-sm { font-size: 0.875rem !important; }

/* =========================================
   תפריט ניווט עליון (Header)
========================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  height: 5rem;
  transition: all 0.3s;
}

.glass-nav {
  background: rgba(250, 246, 240, 1);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(195, 145, 107, 0.2);
}
/* =========================================
  .glass-nav {
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(195, 145, 107, 0.2);
}
========================================= */
.header-right, .header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--clr-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .site-header { padding: 0 3rem; }
  .logo { font-size: 2.25rem; }
}

/* כפתורי ניווט דסקטופ */
.desktop-nav { display: none; gap: 2rem; }
.nav-link {
  color: var(--clr-text-light);
  font-size: 1.125rem;
  transition: color 0.3s;
}
.nav-link:hover { color: var(--clr-primary); }
.nav-link.active { color: var(--clr-primary); font-weight: 700; }

.btn-check-availability {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-check-availability:hover {
  background: var(--clr-primary);
  color: var(--clr-surface);
}

.mobile-menu-btn, .mobile-calendar-btn {
  color: var(--clr-text-main);
  transition: color 0.3s;
}
.mobile-menu-btn:hover, .mobile-calendar-btn:hover { color: var(--clr-primary); }
.mobile-calendar-btn span { font-size: 1.5rem; color: var(--clr-primary); }
.mobile-menu-btn span { font-size: 1.875rem; }

/* שליטה בתצוגת דסקטופ/מובייל */
/* שליטה בתצוגת דסקטופ/מובייל */
.desktop-only { display: none !important; }

/* שינינו ל-1024px כדי שההמבורגר יעבוד גם בטאבלטים ומסכים קטנים */
@media (min-width: 1560px) {
  .desktop-nav { display: flex; align-items: center; }
  .desktop-only { display: flex !important; }
  .mobile-only { display: none !important; }
}

/* =========================================
   תפריט מובייל (Drawer)
========================================= */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 55;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.drawer-overlay.open {
  visibility: visible;
  opacity: 1;
}

.nav-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  background-color: var(--clr-surface);
  height: 100%;
  width: 80%;
  max-width: 24rem;
  box-shadow: -10px 0 25px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}
.nav-drawer.open { transform: translateX(0); }

.drawer-header {
  padding: 0 2rem 2rem;
  border-bottom: 1px solid #f3f4f6;
}
.drawer-logo {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  color: var(--clr-primary);
  font-weight: 700;
}
.drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
}
.drawer-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  color: var(--clr-text-light);
  font-size: 1.125rem;
  transition: all 0.2s;
}
.drawer-link:hover { background-color: var(--clr-background); }
.drawer-link.active {
  background-color: var(--clr-background);
  color: var(--clr-primary);
  font-weight: 600;
}

/* =========================================
   עמוד הבית - סרטון הראשי (Hero)
========================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--clr-secondary);
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(35, 61, 49, 0.4), rgba(35, 61, 49, 0.8));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  margin-top: 5rem;
}

/* =========================================
   עמוד הבית - טקסטים דינמיים ל-Hero
========================================= */
.hero-subtitle {
  display: block;
  color: var(--clr-primary);
  font-weight: 700;
  letter-spacing: 0.2em; /* קצת פחות מרווח במובייל כדי שלא ישבר */
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.hero-title {
  /* שימוש ב-clamp: מינימום 2.2rem, גודל דינמי 8vw, מקסימום 3rem למובייל */
  font-size: clamp(2.2rem, 8vw, 3rem);
  color: white;
  font-family: var(--font-serif);
  margin-bottom: 1.5rem;
  line-height: 1.1; /* צפוף יותר למניעת רווחים ענקיים בין שורות */
}
.hero-title span { 
  color: var(--clr-primary); 
  font-style: italic; 
}

.hero-desc {
  /* הקטנו משמעותית למובייל כדי שיהיה קריא ולא יתפוס חצי מסך */
  font-size: 1rem; 
  color: #e5e7eb;
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.5;
  padding: 0 1rem; /* שוליים קטנים למניעת הידבקות לקצוות המסך */
}

/* התאמות לדסקטופ וטאבלט */
@media (min-width: 768px) {
  .hero-subtitle {
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  
  .hero-title { 
    /* גדל באופן דינמי עד 4.5rem במסכים גדולים */
    font-size: clamp(3.5rem, 5vw, 4.5rem); 
    margin-bottom: 2rem;
    line-height: 1.2;
  }
  

}
@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.btn-primary {
  background-color: var(--clr-primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background-color: var(--clr-primary-dark);
  transform: scale(1.05);
}

.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  transition: all 0.3s;
}
.btn-outline:hover { background-color: rgba(255,255,255,0.1); }

/* =========================================
   הסיפור שלנו (About)
========================================= */
.about-section {
  padding: 6rem 0;
  background-color: var(--clr-surface);
}
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
}
@media (min-width: 768px) {
  .about-container { flex-direction: row; }
}

.about-text, .about-image-wrapper {
  width: 100%;
}
@media (min-width: 768px) {
  .about-text, .about-image-wrapper { width: 50%; }
}

.section-tag {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.25rem;
  font-family: var(--font-serif);
  color: var(--clr-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.section-title span { color: var(--clr-primary); font-style: italic; }
@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.text-paragraph {
  color: var(--clr-text-light);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.625;
}

.about-image-wrapper { position: relative; }
.about-img {
  width: 100%;
  border-radius: 100px 100px 0 100px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 7rem;
  right: -2rem;
  background-color: var(--clr-primary);
  color: white;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.badge-number { font-size: 1.875rem; font-weight: 700; }
.badge-text { font-size: 0.875rem; }

/* =========================================
   החללים שלנו (Spaces)
========================================= */
.spaces-section {
  padding: 6rem 0;
  background-color: var(--clr-background);
}
.section-header { margin-bottom: 4rem; }
.header-content { max-width: 42rem; }

.spaces-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: 300px;
}
@media (min-width: 768px) {
  .spaces-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 400px;
  }
  .space-card-main { grid-column: span 8; }
  .space-card-side { grid-column: span 4; }
}

.space-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
}
.space-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.space-card:hover img { transform: scale(1.05); }

.space-card-content {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 10;
}
.card-line {
  display: block;
  width: 3rem;
  height: 0.25rem;
  margin-bottom: 1rem;
  border-radius: 9999px;
  background-color: var(--clr-primary);
  transform-origin: right;
  transition: transform 0.3s;
}
.card-line-short { width: 2rem; }
.space-card:hover .card-line { transform: scaleX(1.5); }

.card-title {
  font-size: 1.875rem;
  color: white;
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
}
.space-card-side .card-title { font-size: 1.5rem; }

.card-desc {
  color: #e5e7eb;
  max-width: 28rem;
  transform: translateY(1rem);
  opacity: 0;
  transition: all 0.3s;
}
.space-card:hover .card-desc {
  transform: translateY(0);
  opacity: 1;
}
/* =========================================
   טעימת גלריה (Gallery Teaser) - גריד סימטרי וקרוסלה במובייל
========================================= */
.gallery-teaser-section {
  padding: 1rem 0;
  background-color: var(--clr-background);
}

/* הגדרות קרוסלה / החלקה במובייל */
.gallery-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch; /* תנועה חלקה באייפון */
  scrollbar-width: none; /* הסתרת פס הגלילה בפיירפוקס */
}

/* הסתרת פס הגלילה בכרום וספארי לקבלת מראה נקי */
.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  transition: all 0.5s;
  
  /* התנהגות במובייל - החלקה */
  flex: 0 0 85%; /* התמונה תופסת 85% מרוחב המסך */
  scroll-snap-align: center;
  height: 350px; /* גובה קבוע ויפה למובייל */
}

.gallery-item:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }

/* חיתוך וזום התמונות כדי שימלאו את הריבועים בצורה מושלמת */
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s;
}
.gallery-item:hover img { transform: scale(1.05); }

/* רקע הזכוכית והאייקון בהובר */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(35, 61, 49, 0.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.zoom-icon {
  color: white;
  font-size: 2.25rem !important;
  transform: scale(0.5);
  transition: transform 0.3s;
}
.gallery-item:hover .zoom-icon { transform: scale(1); }

/* =========================================
   מצב טאבלט ודסקטופ (ביטול ההחלקה וחזרה לגריד)
========================================= */

@media (min-width: 768px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible; /* ביטול הגלילה האופקית */
  }
  .gallery-item {
    flex: auto; /* ביטול התכונות של המובייל */
    height: 100%; /* חזרה למתיחה מלאה של הגריד */
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px; /* גובה אחיד לכל התמונות */
  }
  
  /* התמונה הראשונה בדיב תתפוס 2 שורות אורך */
  .gallery-item:first-child {
    grid-row: span 2;
  }
}

.btn-gallery-full {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--clr-primary);
  color: var(--clr-primary);
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s;
}
.btn-gallery-full:hover {
  background-color: var(--clr-primary);
  color: white;
}
/* =========================================
   צור קשר (Contact)
========================================= */
.contact-section {
  padding: 6rem 0;
  background-color: var(--clr-surface);
}
.contact-container {
  max-width: 56rem;
  text-align: center;
}
.contact-subtitle {
  margin-bottom: 3rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: right;
}
@media (min-width: 768px) {
  .contact-form { grid-template-columns: repeat(2, 1fr); }
  .full-width { grid-column: span 2; }
}

.form-input {
  background-color: var(--clr-background);
  border: 1px solid #e5e7eb;
  padding: 1rem;
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--clr-text-main);
  outline: none;
  transition: border-color 0.3s;
}
.form-input:focus { border-color: var(--clr-primary); }

.btn-submit {
  background-color: var(--clr-secondary);
  color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 0.3s;
}
.btn-submit:hover {
  background-color: #000000;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* =========================================
   כפתור וואטסאפ צף (FAB)
========================================= */
#theme-fab {
  position: fixed;
  bottom: 6rem;
  left: 1.6rem;
  z-index: 50;
  background: #FFF;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(195, 145, 107, 0.4);
  transition: all 0.3s ease;
}
#theme-fab:hover {
  transform: scale(1.1);
  background: var(--clr-primary-dark);
}
/* =========================================
   סליידר קטגוריות (Categories Carousel)
========================================= */
.categories-slider-section {
  width: 100%;
  position: relative;
  background-color: #000;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 60vh; /* גובה הסליידר - אפשר לשנות ל- 500px או 100vh */
  min-height: 400px;
  overflow: hidden;
  direction: ltr; /* מחזיק את ההחלקה משמאל לימין בצורה תקינה */
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* מכהה קצת את התמונה כדי שהטקסט יבלוט */
}

.slide-overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 100%;
  padding: 0 1rem;
  direction: rtl; /* מחזיר את הטקסט לימין-לשמאל */
}

.slide-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  font-weight: 700;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .slide-title { font-size: 4.5rem; }
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: #000000;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  text-decoration: none;
}

.slide-btn:hover {
  background-color: #f3f4f6;
  transform: scale(1.05);
}

/* חצי ניווט לסליידר */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  width: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: background-color 0.3s;
  border: 1px solid rgba(255,255,255,0.3);
}

.carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-arrow span {
  font-size: 2rem;
}

.prev-arrow { right: 0; border-right: none; }
.next-arrow { left: 0; border-left: none; }

/* הסתרת חצים במובייל כדי לעודד החלקה (Swipe) */
@media (max-width: 768px) {
  .carousel-arrow { display: none; }
}
/* =========================================
   עיצוב הלוגו (עיגול צף מהתפריט)
========================================= */
.logo {
  position: absolute;
  left: 50%;
  top: -35px; /* מרים קצת את העיגול כלפי מעלה כדי שיישב מדויק */
  transform: translateX(-50%);
  
  /* מידות העיגול לדסקטופ */
  width: 170px; 
  height: 170px;
  background: rgba(250, 246, 240, 0.95); /* צבע תואם לתפריט עם קצת יותר אטימות */
  border-radius: 50%; /* הופך לעיגול מושלם */
  
  /* אפקט זכוכית */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  /* מסגרת עדינה וצללית כדי להפריד מהרקע */

  
  /* מרכוז הלוגו בתוך העיגול */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
}

.logo img {
  height: 70px; /* גודל הלוגו עצמו בתוך העיגול */
  width: auto;
  display: block;
  margin-top: 15px; /* דחיפה קלה למטה כדי שיישב במרכז הוויזואלי החשוף */
  transition: all 0.3s ease; /* הוספנו כדי שההקטנה תהיה חלקה */
}

/* === עיצוב הלוגו בעת גלילה למטה (מצב רגיל בלי עיגול) === */
.site-header.scrolled .logo {
  width: auto;
  height: 100%; /* תופס בדיוק את גובה התפריט */
  top: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
}

.site-header.scrolled .logo img {
  height: 60px; /* גודל הלוגו אחרי שגללנו למטה */
  margin-top: 0; /* מבטל את הדחיפה למטה שהייתה לעיגול */
}

/* התאמה למובייל בעת גלילה */
@media (max-width: 1023px) {
  .logo {
    width: 140px;
    height: 140px;
    top: -5px;
  }
  .logo img {
    height: 64px;
    margin-top: 6px;
  }
  
  .site-header.scrolled .logo img {
    height: 60px; /* לוגו קצת יותר קטן במובייל בזמן גלילה */
  }
}

/* התאמת העיגול למסכים קטנים (מובייל וטאבלט) */
@media (max-width: 1023px) {
  .logo {
    width: 140px;
    height: 140px;
    top: -5px;
  }
  .logo img {
    height: 64px;
    margin-top: 6px;
  }
  
  }
/* =========================================
   אזור מאמרים (Articles Section) - תיקון
========================================= */
.articles-section {
  padding: 6rem 0;
  background-color: var(--clr-surface);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

/* טאבלט - 2 טורים */
@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* דסקטופ - 3 טורים */
@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background-color: var(--clr-background);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.1);
}

.article-image {
  position: relative;
  width: 100%;
  height: 250px; /* זה מה שימנע מהתמונה להיות ענקית */
  overflow: hidden;
  display: block;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* חותך את התמונה יפה כדי שתתאים לגובה */
  transition: transform 0.7s ease;
  display: block;
}

.article-card:hover .article-image img {
  transform: scale(1.08); /* זום עדין לתמונה בהובר */
}

/* תגית צפה לקטגוריה */
.article-category {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background-color: rgba(250, 246, 240, 0.95);
  color: var(--clr-primary);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  z-index: 10;
}

.article-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; 
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--clr-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.article-excerpt {
  color: var(--clr-text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; 
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--clr-primary);
  font-weight: 600;
  transition: color 0.3s;
  align-self: flex-start; 
  text-decoration: none;
}

.article-link:hover {
  color: var(--clr-primary-dark);
}

.article-card:hover .article-link .icon-sm {
  transform: translateX(-5px); /* מזיז את החץ בהובר */
}
/* =========================================
   שאלות ותשובות (FAQ Section) - עיצוב כהה יוקרתי
========================================= */
.faq-section {
  padding: 6rem 0;
  background-color: var(--clr-secondary); /* ירוק יער עמוק כמו בפוטר */
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

/* התאמת צבעי הכותרות והטקסט לרקע כהה */
.faq-section .section-title {
  color: #FFFFFF;
}
.faq-section .section-title span {
  color: var(--clr-primary); /* המילה המודגשת נשארת בזהב/קרמל */
}

.faq-section .text-paragraph {
  color: #E5E7EB; /* אפור בהיר יוקרתי */
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* עיצוב כרטיסיות האקורדיון */
.faq-item {
  background-color: rgba(255, 255, 255, 0.03); /* רקע זכוכיתי שקוף ועדין */
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(195, 145, 107, 0.2); /* מסגרת קרמל עדינה שמחברת למותג */
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: right;
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF; /* שאלה בלבן נקי */
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--clr-primary);
}

.faq-icon {
  color: var(--clr-primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #D1D5DB; /* טקסט תשובה באפור בהיר נעים לקריאה */
  line-height: 1.6;
  font-size: 1.05rem;
}

/* === מצב פתוח (Active) === */
.faq-item.active {
  background-color: rgba(255, 255, 255, 0.08); /* מבהיר מעט את הרקע כשהשאלה פתוחה */
  border-color: var(--clr-primary); /* מאיר את המסגרת */
}

.faq-item.active .faq-question {
  color: var(--clr-primary); /* צובע את השאלה בזהב כשהיא פתוחה */
}

.faq-item.active .faq-icon {
  transform: rotate(45deg); /* הופך את ה(+) ל-(X) באנימציה */
}
.masonry-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 2rem 0;
  }
  .masonry-item {
      position: relative;
      border-radius: 1rem;
      overflow: hidden;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .masonry-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  }
  .masonry-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.7s ease;
  }
  .masonry-item:hover img {
      transform: scale(1.05);
  }
  .masonry-overlay {
      position: absolute;
      inset: 0;
      background: rgba(35, 61, 49, 0.4);
      opacity: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.3s ease;
      backdrop-filter: blur(2px);
  }
  .masonry-item:hover .masonry-overlay { opacity: 1; }
  .masonry-overlay .icon {
      color: white;
      font-size: 3rem;
      transform: scale(0.5);
      transition: transform 0.3s ease;
  }
  .masonry-item:hover .masonry-overlay .icon { transform: scale(1); }

  /* ריספונסיביות ויצירת המבנה מהתמונה */
  @media (min-width: 768px) {
      .masonry-grid { 
          grid-template-columns: repeat(2, 1fr); 
      }
  }
  @media (min-width: 1024px) {
      .masonry-grid {
          grid-template-columns: repeat(3, 1fr);
          grid-auto-rows: 260px; /* קובע את הגובה של השורות */
      }
      .masonry-item { height: 100%; }
      
      /* מכריח את התמונה ה-5 להתפרס על שתי שורות בעמודה השמאלית (או הימנית בהתאם ל-RTL) כמו בסקיצה */
      .masonry-item.tall-item {
          grid-column: 3;
          grid-row: 1 / span 2;
      }
  }

  /* =========================================
   עיצוב כפתור מחשבון אלכוהול (Header)
========================================= */
.calc-header-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--clr-text-main);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-left: 1rem; /* יוצר רווח נעים מכפתור בדיקת הזמינות */
}

.calc-header-link .material-symbols-outlined {
  color: var(--clr-primary); /* צובע רק את כוס היין בצבע המותג */
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

/* אפקט בעת מעבר עכבר (Hover) */
.calc-header-link:hover {
  color: var(--clr-primary);
}

.calc-header-link:hover .material-symbols-outlined {
  transform: scale(1.15) rotate(-5deg); /* הגדלה קלה והטיה שנותנת תחושת "לחיים" */
}
/* =========================================
   תיקון טקסטים למסכי לפטופ / מחשב קטנים 
========================================= */
@media (min-width: 768px) and (max-width: 1366px) {
  /* הקטנת כותרת עליית המסך */
  .hero-title {
    font-size: 3.5rem; /* במקום 4.5rem */
  }
  
  /* הקטנת כותרות האזורים (כמו "בית לאירועים...") */
  .section-title {
    font-size: 2.25rem; /* במקום 3rem */
    line-height: 1.3;
  }
  
  /* עידון פסקאות הטקסט */
  .text-paragraph {
    font-size: 1.05rem; /* במקום 1.125rem */
    line-height: 1.6;
  }
  
  /* הקטנת כותרות הסליידר */
  .slide-title {
    font-size: 3.25rem; /* במקום 4.5rem */
  }
  
  /* צמצום המרווח בין הטקסט לתמונה באזור "הסיפור שלנו" */
  .about-container {
    gap: 2.5rem;
  }
}
/* =========================================
   תיקון יישור ומרווחים בתמונת "הסיפור שלנו" (Desktop)
========================================= */
@media (min-width: 768px) {
  .about-container {
    /* מבטל את המרכוז האנכי - משווה את גובה התמונה לגובה הטקסט */
    align-items: stretch;
  }
  
  .about-image-wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .about-img {
    height: 80%;
    object-fit: cover; /* מבטיח שהתמונה תמלא את השטח מבלי להתעוות */
  }
}