.container {
    margin: auto;
    max-width: 800px;
    padding: 20px;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-align: center;
}

section {
    margin: 10px 0;
}

.about {
    background-color: var(--main-background);
    display: inline-block;
    position: relative;
    border: 2px solid var(--main-color);
    padding: 40px 20px 20px;
    margin: auto;
    font-family: sans-serif;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.about .frame-text {
    color: var(--main-color);
    position: absolute;
    top: -12px; /* מציב את הטקסט מעט מעל המסגרת */
    left: 50%;
    transform: translateX(-50%);
    padding: 0 10px;
    font-weight: bold;
    font-size: 30px;
    background-color: var(--main-background);
    }

h2 {
    margin: 40px 20px 20px;
    color: var(--main-color);
    font-size: 1.8em;
    padding: 0;
}

ul {
    list-style: none;
    padding: 0;
}

.activities ul{
    place-items: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 600px) {
    .activities ul {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.activities ul li {
    margin: 0 0 25px 0;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    border: 3px solid var(--main-color);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(62, 39, 35, 0.35); /* Espresso כהה יותר */
    aspect-ratio: 1 / 1; /* הופך את ה-li לריבוע */
    font-size: 2.3em;     /* גודל טקסט יחסי לגובה/רוחב הריבוע */
}

.activities ul li h4,
.activities ul li span {
    font-size: 1em;
}

.title-text {
    font-weight: 900; /* מודגש במיוחד */
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    display: inline-block;
    top: 25px;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
    width: 100%;
    position: absolute;
    font-size: 3.5vw;
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #bbb,
        0 3px 0 #aaa,
        0 4px 0 #999,
        0 5px 0 #888,
        0 6px 1px rgba(0,0,0,0.1),
        0 0 5px rgba(0,0,0,0.1),
        0 1px 3px rgba(0,0,0,0.3),
        0 3px 5px rgba(0,0,0,0.2),
        0 5px 10px rgba(0,0,0,0.25),
        0 10px 10px rgba(0,0,0,0.2),
        0 20px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    padding: 10px 15px;
}

.activity-button {
    height: 100%;
    position: relative;
    display: block; /* Aligns image and text horizontally */
    text-decoration: none; /* Removes underline from links */
    color: inherit; /* Ensures text color matches the design */
    overflow: hidden;
}

.activity-button img {
    width: 100%; /* Ensures the image fits within the container */
    height: 100%;
    display: block;
    object-fit: cover;
    overflow: hidden;
    vertical-align: bottom;
    margin: 0 !important;
    border-radius: inherit;

}

.details-link:active ~ .title-text {
    transform: translate(-50%, 0) scale(1.03);
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #88c070,
        0 0 20px #88c070,
        0 0 25px #88c070;
}

.details-link:active ~ img {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.details-link {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--main-color);
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 0.6em; /* NEW: מייצר יחס לגודל הטקסט של li */
    padding: 3px 10px; /* קצת יותר קטן מהמקורי */
}

.details-link h4{
    font-family: Arial, sans-serif;
    font-size: 0.8vw;
    margin: 12px;
    white-space: nowrap;
}

/* ===== אנימציות ריחוף (hover) לכרטיסי הפעילויות ===== */
.activity-button img {
    transition: transform 0.5s ease;
}

.activities ul li:hover,
.activities ul li:focus-within,
.activities ul li:active {
    transform: translateY(-8px);
    box-shadow: 0 16px 28px rgba(62, 39, 35, 0.45);
}

.activities ul li:hover img,
.activities ul li:focus-within img,
.activities ul li:active img {
    transform: scale(1.09);
}

.activities ul li:hover .title-text,
.activities ul li:focus-within .title-text,
.activities ul li:active .title-text {
    transform: translate(-50%, 0) scale(1.03);
    text-shadow:
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 15px #88c070,
        0 0 20px #88c070,
        0 0 25px #88c070;
}

.activities ul li:hover .details-link,
.activities ul li:focus-within .details-link,
.activities ul li:active .details-link {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .activities ul li,
    .activity-button img,
    .title-text,
    .details-link {
        transition: none !important;
    }
}

/*קטע תחתון*/
footer.contact-section {
    background-color: var(--main-bright);
    padding: 3px 15px;
    margin-top: 40px;
    color: #000;
    text-align: center;
    direction: rtl;
    font-size: 0.9em;
    padding-top: 10px;
}

.tel-color{
    color: inherit;
}

.hours-list {
    list-style: none;
    font-size: 1em;
    max-width: 260px;
    margin: auto;
    text-align: center;
    padding-top:15px ;
}

.hours-list li {
    margin: 3px 0;
    padding: 0;
}


footer p{
    margin-top: 5px;
}

/* TikTok – שתי שורות קלאסי */

footer.contact-section .follow-block{
  margin: 0 auto 0;
  text-align: center;
}


/* מצמצם רווח בין הכותרת לקישור בפוטר */
footer.contact-section .follow-block > * { margin: 0; }               /* איפוס כללי */


/*קרוסלת תמונות*/
.carousel {
    margin-top: 40px;
}

.carousel h3{
    color: var(--main-color);
}

.carousel-container {
    position: relative; /* חיוני למיקום מוחלט של החיצים והנקודות בתוכו */
    width: min(90vw, 600px); /* מתאים את עצמו לרוחב המסך, עם תקרה לדסקטופ */
    margin: auto; /* למרכז את הקרוסלה בדף */
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* מבטיח שתמונות לא יצאו מגבולות הקונטיינר */
    background-color: transparent;
}

.carousel-container img {
    width: 100%; /* התמונה תתפוס את כל רוחב הקונטיינר */
    height: auto;
    display: block; /* מסיר רווחים מיותרים מתחת לתמונה */
    transition: opacity 1s ease-in-out; /* מעבר הדרגתי טבעי */
    opacity: 1;
}

/* סגנונות לחיצים */
.carousel-container .prev-btn,
.carousel-container .next-btn {
    position: absolute; /* ממקם אותם באופן מוחלט ביחס ל-carousel-container */
    top: 50%; /* ממרכז אותם אנכית */
    transform: translateY(-50%); /* תיקון עדין למרכוז אנכי מושלם */
    background-color: rgba(0, 0, 0, 0.5); /* רקע שחור שקוף */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 50%; /* הופך את הכפתורים לעגולים */
    transition: background-color 0.3s ease; /* אנימציה בריחוף */
    z-index: 10; /* ודא שהחיצים מעל התמונה */
}

.carousel-container .prev-btn {
    left: 10px; /* מיקום משמאל */
}

.carousel-container .next-btn {
    right: 10px; /* מיקום מימין */
}

.carousel-container .prev-btn:hover,
.carousel-container .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8); /* רקע כהה יותר בריחוף */
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%); /* ממקם אותן במרכז אופקית */
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%; /* הופך את הנקודות לעגולות */
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot.active {
    background-color: black; /* צבע הנקודה הפעילה */
    transform: scale(1.2); /* הגדלה קלה של הנקודה הפעילה */
}


:root{
  --brown-dark: #5C4033;
  --brown: #8B5E34;
  --brown-light: #DAB49D;
  --paper: #fff;
}

/* עטיפה כללית של הבלוק בדף הבית */
.reviews-wrap{
  --bar-width: 600px;     /* כאן שולטים באורך הפס */
  --bar-height: 3px;      /* עובי הפס */
  --bar-color: var(--brown);
  position: relative;
  padding-top: 20px;      /* רווח מעל הכותרת אחרי הפס */
  background: #f8f5ef;    /* כמו שהיה לך */
  text-align: center;
  margin-top: 55px;

}

/* מציירים פס ממורכז מעל הבלוק */
.reviews-wrap::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(var(--bar-width), 92vw); /* שיהיה רספונסיבי במסכים צרים */
  height: var(--bar-height);
  transform: translateX(-50%);
  background: var(--bar-color);
  border-radius: 999px;   /* קצות עגולים יפה */
}


/* כותרת (ממוצע/כמות) */
.reviews-header{
  display:flex; justify-content:center; align-items:baseline; gap:8px;
  margin: 0 0 10px;
}
.reviews-header .avg{ font-weight:800; }
.reviews-header .count{ opacity:.8; }

/* רשת של עד 4 כרטיסים (תגיב רספונסיבי) */
.reviews-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 8px;
}

/* כרטיסי ביקורת (מכוּוָנים רק לפריוויו באמצעות הסלקטור של העטיפה) */
.reviews-wrap .review-card{
  background: var(--paper);
  border: 2px solid var(--brown);
  border-radius: 14px;
  padding: 12px;
  text-align: initial;
  box-shadow: 0 6px 12px rgba(139,94,52,.12);
}
.reviews-wrap .review-head{ display:flex; justify-content:space-between; align-items:center; }
.reviews-wrap .review-who{ font-weight:800; }
.reviews-wrap .stars{ color: var(--brown); letter-spacing:.5px; }
.reviews-wrap .review-comment{ margin:8px 0 6px; line-height:1.4; }
.reviews-wrap .review-ts{ opacity:.7; font-size:.9em; }

/* כפתור "לכל הביקורות" */
.see-all{
  display:inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  background: var(--main-color);
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--brown-dark);
}
.see-all:hover{ filter: brightness(1.05); }


.hours-list .time-range{
  direction: ltr;
  unicode-bidi: bidi-override; /* מונע התהפכויות ב-RTL */
  white-space: nowrap;          /* שלא יישבר לשתי שורות */
  display: inline-block;
}

:root{
  --brown-deep: #4b2e1f;  /* קקאו עמוק, פחות אדמדם */
  --brown-mid:  #8a5a3b;  /* אגוז/קינמון מאוזן */
  --brown-warm: #d9b07a;  /* קרמל דבש בהיר */
}

/* בסיס לרשימה נקייה */
.about-list{
  text-align: center;   /* מרכז את הטקסט */
  direction: rtl;
  margin: 10px 0 0; padding: 0; list-style: none;
}
.about-list li{
  margin: 6px 0;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing:.2px;
  font-size: clamp(1rem, 0.7rem + 0.7vw, 1.5rem);
}

/* 1) דיו-קרמל עם ברק עדין (ברירת מחדל) */
.fancy-ink li{
  background:
    radial-gradient(120% 180% at 70% 0%, rgba(255,255,255,.55), transparent 32%) no-repeat,
    linear-gradient(90deg, var(--brown-deep), var(--brown-mid) 45%, var(--brown-warm) 60%, var(--brown-mid) 85%, var(--brown-deep));
  background-size: 100% 100%, 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 .5px 0 rgba(255,255,255,.35), 0 1.5px 2px rgba(0,0,0,.18);
}

/* 2) חריטה/הבלטה חומה (ללא שקיפות) */
.fancy-engrave li{
  color: var(--brown-mid);
  text-shadow:
    0 1px 0 rgba(255,255,255,.35),   /* היילייט תחתון */
    0 -1px 0 rgba(0,0,0,.25),        /* צל עליון */
    0 1.25px 2px rgba(0,0,0,.15);    /* עומק רך */
}

/* 3) אותיות עם קונטור חום-ככה ומילוי קרמל */
.fancy-outline li{
  color: var(--brown-warm);
  -webkit-text-stroke: .9px var(--brown-deep);
  text-shadow: 0 .5px 0 rgba(0,0,0,.15), 0 1.2px 1.8px rgba(0,0,0,.18);
}
/*Fallback לדפדפנים בלי text-stroke */
@supports not (-webkit-text-stroke: 1px black){
  .fancy-outline li{
    text-shadow:
      1px 0 var(--brown-deep), -1px 0 var(--brown-deep),
      0 1px var(--brown-deep), 0 -1px var(--brown-deep),
      0 .5px 0 rgba(0,0,0,.15), 0 1.2px 1.8px rgba(0,0,0,.18);
  }
}

/* גיבוי אם אין background-clip:text */
@supports not (-webkit-background-clip:text){
  .fancy-ink li{ color: var(--brown-mid); -webkit-text-fill-color: initial; }
}

/* וי חום בתחילת כל שורה (RTL), בלי מסגרות/רקעים */
ul.about-list.checkmarks{
  text-align: center;
  direction: rtl;
  padding: 0;
  margin: 10px 0 0;
  list-style: disc inside;
}

/* מחליפים את הסמן ב-✓ וצובעים בחום */
ul.about-list.checkmarks li::marker{
  content: "✓\00A0";          /* וי + רווח צר */
  color: var(--brown-deep);    /* החום שכבר הגדרנו */
  font-weight: 900;
  font-size: 1.05em;           /* טיפונת מודגש */
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width: 768px) {
  .about {
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 20px;
  }

  .about.expanded {
    max-height: 1000px;
  }

  .about.expanded .read-more-overlay {
    display: none;
  }

  .read-more-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    cursor: pointer;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(to bottom, transparent, #faf7ed 85%);

  }

  .read-more-overlay span {
    color: #000;
    font-weight: bold;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) {
  .read-more-overlay { display: none !important; }
}

/* ===== גילוי בגלילה: עלייה עדינה כשקטע נכנס למסך ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* קלפי הפעילויות עולים בזה אחר זה (אפקט מדורג) */
.activities ul li.reveal:nth-child(1) { transition-delay: 0s; }
.activities ul li.reveal:nth-child(2) { transition-delay: .08s; }
.activities ul li.reveal:nth-child(3) { transition-delay: .16s; }
.activities ul li.reveal:nth-child(4) { transition-delay: .24s; }
.activities ul li.reveal:nth-child(5) { transition-delay: .32s; }
.activities ul li.reveal:nth-child(6) { transition-delay: .4s; }
.activities ul li.reveal:nth-child(7) { transition-delay: .48s; }

/* בטלפון (עמודה אחת) — "פעילות במוקד": ככל שכרטיס קרוב יותר למרכז
   המסך תוך כדי גלילה, הוא בהיר וגדול יותר; כרטיסים רחוקים דוהים
   ומצטמצמים. כך בכל רגע נתון פעילות אחת בולטת בבירור, וזה עובד
   חלק גם קדימה וגם אחורה בגלילה. --focus מוזרם ע"י JS (0 עד 1).
   הגריד עצמו לא משתנה. */
@media (max-width: 600px) {
  /* ספציפיות גבוהה יותר מ-.reveal / .reveal.is-visible בכוונה —
     בטלפון המערכת הזו מחליפה את אנימציית הכניסה החד-פעמית,
     כי היא רציפה ומגיבה לגלילה בשני הכיוונים. */
  .activities ul li.reveal,
  .activities ul li.reveal.is-visible {
    --focus: 1;
    opacity: calc(0.22 + var(--focus) * 0.78);
    transform: scale(calc(0.82 + var(--focus) * 0.18));
    transition: opacity .18s ease-out, transform .18s ease-out;
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .activities ul li.reveal,
  .activities ul li.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

