/* ========== ROOT + RESET ========== */
:root {
  --nav-height: 72px;
  --max-content-width: 1200px;
  --primary: #2563eb;
  --secondary: #0ea5e9;
  --muted: #5f6b7a;
  --border: rgba(15, 23, 42, 0.12);
}


* {
  margin: 0;
  padding: 0;
  font-family: 'Heebo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
}



/* ========== HEADER בסיסי (הרקע) ========== */
.header{
    min-height: calc(100vh - var(--nav-height));
    height: auto;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/1.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}



/* ========== נביגציה “ישנה” (משאירים כדי לא לשבור עמודים ישנים) ========== */
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 275px;
}

.nav-links{
    flex: 1;
    text-align: right;
    direction: rtl;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a{
    color: white;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}

nav .fa{
    display: none;
}

/* ========== HERO טקסט וכפתורים ========== */
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 18px;
    color: #fff;
}

.hero-btn,
.apt-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    position: relative;
    cursor: pointer;
}

.hero-btn{
    background: transparent;
}
.hero-btn:hover{
    border: 1px solid #0ea5e9;
    background: #2563eb;
    transition: 1s;
}

.apt-btn{
    background: linear-gradient(120deg, var(--primary), var(--secondary));
}
.apt-btn:hover{
    border: 1px solid #0ea5e9;
    background: #2563eb;
    transition: 1s;
}

/* התאמת טקסט ה־Hero למובייל (ללא התעסקות בתפריט) */
@media(max-width: 700px){
    .text-box h1{
        font-size: 40px;
    }
    .text-box p{
        font-size: 17px;
    }
    .nav-links ul li{
        display: block;
    }
}

/* ========== COURSE / כל הקטעים הכלליים של התוכן ========== */

.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size:36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}

/*------Facilities------*/
.facilities{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}
.facilities-col img{
    width: 100%;
    height: 300px;
    border-radius: 10px;
}
.facilities-col p{
    padding: 0;
    direction: rtl;
    text-align: right;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: right;
    direction: rtl;
}

/*------------testimonials-----------*/
.testimonials{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}
.testimonials-col{
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}
.testimonials-col img{
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}
.testimonials-col p{
    padding: 0;
}
.testimonials-col h3{
    margin-top: 15px;
    text-align: left;
}
.testimonials-col .fa{
    color: #f44336;
}
@media(max-width:700px){
    .testimonials-col img{
        margin-left: 0px;
        margin-right: 15px;
    }
}

/*-----call to action----*/
.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/housegive.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}
.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}
@media(max-width:700px){
    .cta h1{
        font-size: 24px
    }
}

/*-----footer----*/
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.icons .fa{
    color: #2563eb;
    margin: 0 6px;
    cursor: pointer;
    padding: 18px 0;
}
.fa-heart-o{
    color: #2563eb;
}
.footer .icons a {
  text-decoration: none;    /* מבטל קו תחתון */
  color: inherit;           /* משאיר את צבע האייקון כמו שהוא */
}


/*------------------ABOUT US PAGE------------------*/
.sub-header {
    height: 30vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/background.jpeg);
    background-position: center;
    background-size: cover;
    text-align: center;
}

/* קונטיינר כללי של האודות */
.about-us {
    width: 80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;
}

/* השורה של הטקסט + הלוגו */
.about-us .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* שתי העמודות – טקסט ותמונה */
.about-col,
.about-col1 {
    flex-basis: 48%;
    padding: 30px 2px;
    box-sizing: border-box;
}

/* כותרת ותוכן */
.about-col h1 {
    padding-top: 0;
}

/* בדיוק הפסקה שלך – טקסט גדול יותר ונעים יותר לקריאה */
.about-col p {
    padding: 15px 0 25px;
    font-size: 16px;      /* במקום 14 גלובלי */
    line-height: 1.9;
}

/* קצת יותר גדול במסכים גדולים */
@media (min-width: 900px) {
    .about-col p {
        font-size: 17px;
    }
}

/* תמונה בעמודת האודות */
.about-col img,
.about-col1 img {
    width: 100%;
    height: auto;
    display: block;
}

/* גודל התמונה – גדלה בהתאם למסך, אבל לא נהיית ענקית מדי */
.about-col1 img {
    max-width: clamp(260px, 28vw, 440px);
    margin: 0 auto;
}

/* כפתור */
.red-btn {
    border: 1px solid #0ea5e9;
    background: transparent;
    color: #2563eb;
}
.red-btn:hover {
    color: #fff;
}

/* התאמות מובייל */
@media (max-width: 700px) {
    .sub-header h1 {
        font-size: 24px;
    }

    .about-us {
        width: 92%;
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .about-us .row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .about-col,
    .about-col1 {
        flex-basis: 100%;
        padding: 0;
    }

    .about-col h1 {
        text-align: right;
        margin-bottom: 10px;
    }

    .about-col p {
        text-align: right;
        font-size: 15px;       /* עדיין גדול יותר מהברירת מחדל */
        line-height: 1.9;
    }

    /* במובייל גם נגדיל יחסית, שלא תהיה קטנה מדי */
    .about-col1 img {
        max-width: clamp(260px, 55vw, 340px);
    }
}

/*------------------blog PAGE------------------*/
.blog-content{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}
.blog-left{
    flex-basis: 65%;
}
.blog-left img{
    width: 100%;
}
.blog-left h2{
    color: #222;
    font-weight: 600;
    margin: 30px 0;
}
.blog-left p{
    color: #999;
    padding: 0;
}
.blog-right{
    flex-basis: 32%;
}
.blog-right h3{
    background: #f44336;
    color:#fff;
    padding: 7px 0;
    font-size: 16px;
    margin-bottom: 20px;
}
.blog-right div{
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    padding: 8px;
    box-sizing: border-box;
}
.comment-box{
    border: 1px solid #ccc;
    margin: 50px 0;
    padding: 10px 20px;
}
.comment-box h3{
    text-align: left;
}
.comment-form input, .comment-form textarea{
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    background: #f0f0f0;
}
.comment-form button{
    margin: 10px 0;
}

/*------------------contact us PAGE------------------*/
.location{
    width: 80%;
    margin: auto;
    padding: 80px 0;
}
.location iframe{
    width:  100%;
}
.contact-us{
    width: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 28px;
    color: #2563eb;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
.contact-col form button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}
.contact-col form button:hover {
    background: rgb(53, 119, 241);
}

/*------------------apartements PAGE------------------*/

/* properties-container */
.properties-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

/* property */
.property {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    width: 24%;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}
.property:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.property img {
    border-radius: 10px;
    width: 400px;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.property-info {
    text-align: right;
}
.property-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.property-info p {
    font-size: 18px;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* התאמות לדירות במסכים קטנים */
@media (max-width: 768px) {
    .property {
        width: 48%;
    }
}
@media (max-width: 500px) {
    .property {
        width: 100%;
    }
}



/* ========== פילטר דירות ========== */
.filter-container-modern {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto;
    direction: rtl;
}
.filter-container-modern h3 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    direction: rtl;
}
.filter-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    direction: rtl;
}
.filter-group label {
    font-size: 16px;
    margin-bottom: 5px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-group select,
.filter-group input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.3s;
    text-align: right;
}
.filter-group select:focus,
.filter-group input:focus {
    border-color: #ff4d4d;
    outline: none;
}
.filter-btn {
    background-color: #ff4d4d;
    color: #fff;
    font-size: 16px;
    padding: 12px 20px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}
.filter-btn:hover {
    border: 1px solid #0ea5e9;
    background: #2563eb;
    transition: 1s;
}
@media (max-width: 768px) {
    .filter-container-modern {
      padding: 15px;
    }
    .filter-btn {
      font-size: 14px;
    }
}

/* ========== MODAL (גלריה / תמונות) ========== */

/* ========== כפתור נגישות ========== */
#accessibility-button-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}
#accessibility-button {
    background-color: transparent !important;
    color: #007bff !important;
    padding: 0;
    border: none;
    font-size: 36px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
#accessibility-button i {
    font-size: 36px;
}
#accessibility-button:hover {
    transform: scale(1.1);
}

/* תפריט נגישות */
#accessibility-menu {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: 300px;
    z-index: 9999;
    text-align: right;
    direction: rtl;
}
.accessibility-menu-item {
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background-color 0.3s ease;
    font-size: 14px;
}
.accessibility-menu-item:hover {
    background-color: #007bff;
    color: white;
}
.accessibility-menu-item i {
    margin-left: 10px;
    font-size: 20px;
}
#accessibility-menu.open {
    display: block;
}

/* ניגודיות גבוהה */
body.high-contrast {
    background-color: black;
    color: white;
}
body.high-contrast a {
    color: #00ff00;
    text-decoration: underline;
}
body.high-contrast #accessibility-button {
    background-color: transparent !important;
    color: #007bff !important;
}
body.high-contrast #accessibility-menu {
    background-color: black;
    border: 1px solid white;
}
body.high-contrast .accessibility-menu-item {
    background-color: #333;
    color: white;
}
body.high-contrast .accessibility-menu-item:hover {
    background-color: white;
    color: black;
}

/* ========== NAV + HEADER + MAINIMAGE – גרסת הניווט החדשה ========== */

/* נווט קבוע בחלק העליון */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  flex-direction: row-reverse; /* סידור הלוגו מימין */
  z-index: 10000;
  background: rgba(245,247,251,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  display: flex;
  align-items: center; 
}

/* קונטיינר פנימי */
.nav-inner {
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
}

/* סדר הפריטים - CTA משמאל, קישורים במרכז, לוגו מימין */
.primary-btn { 
  order: 1; 
  flex: 0 0 auto; 
  text-decoration: none;
}
.nav-links  { 
  order: 2; 
  flex: 1; 
  display: flex; 
  justify-content: center; 
  gap: 1.4rem; 
  align-items: center; 
}
.logo-stack { 
  order: 3; 
  display: flex; 
  align-items: center; 
  gap: 0.8rem; 
  text-decoration: none; 
  color: inherit; 
}

/* CTA */
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 10px 24px rgba(37,99,235,0.14);
}

/* קישורים בשורה */
.nav-links a {
  padding-bottom: 0.18rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] { 
  border-color: var(--primary); 
}

/* לוגו */
.logo-stack img {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
}

/* תיקון זינדקס */
.site-header { 
  z-index: 10000 !important; 
}
.logo-stack { 
  z-index: 10010; 
}



/* text-box נשאר באמצע */
.text-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 90%;
  max-width: 720px;
}

/* ========== MOBILE NAV – גרסה מקצועית נקייה ========== */

/* Overlay כללי – מוגדר פעם אחת בלבד */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.28);
  backdrop-filter: none;
  opacity: 0;
  display: none;
  pointer-events: none;
  transition: opacity 0.22s ease;
  z-index: 9900 !important;
}
.nav-overlay.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* כשהתפריט פתוח – חסימת גלילה */
body.nav-open {
  overflow: hidden;
  touch-action: none;
}


/* MOBILE NAV DRAWER */
@media (max-width: 840px) {

  /* drawer נקי ולבן מצד ימין */
@media (max-width: 840px) {
  .nav-links {
    position: fixed !important;
    top: var(--nav-height);
    right: 0;
    height: calc(100vh - var(--nav-height));
    width: min(300px, 82vw);
    transform: translateX(110%);
    transition: transform 0.32s cubic-bezier(.2,.9,.2,1);
    z-index: 10055 !important;
    box-sizing: border-box;
    padding: 14px 16px 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #ffffff;
    color: #111;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    box-shadow: -18px 30px 48px rgba(20,30,60,0.12);
    /* >>> כאן השינוי <<< */
    overflow-y: visible;
    -webkit-overflow-scrolling: auto;
    pointer-events: none;
    border-left: 1px solid rgba(15,23,42,0.04);
  }
}


  .nav-links.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* כפתור X */
  .nav-links .fa-times {
    display: block !important;
    position: absolute;
    left: 14px;
    top: 14px;
    font-size: 18px;
    color: #fff;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37,99,235,0.14);
    transition: transform 0.12s ease, opacity 0.12s ease;
    z-index: 10060;
  }
  .nav-links .fa-times:hover {
    transform: translateY(-2px);
    opacity: 0.95;
  }

  /* אייקון המבורגר */
  .nav-inner .fa-bars {
    display: block !important;
    font-size: 22px !important;
    cursor: pointer;
    z-index: 10070 !important;
    color: var(--primary) !important;
    background: #fff;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(37,99,235,0.12);
  }

  /* רשימת קישורים */
  .nav-links ul {
    list-style: none;
    padding: 8px 2px 12px 2px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-links ul li {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid rgba(15,23,42,0.04);
  }

  .nav-links ul li a,
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 8px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: #111 !important;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.12s ease, transform 0.08s ease;
    box-sizing: border-box;
  }

  .nav-links ul li a:hover,
  .nav-links a:hover {
    background: rgba(37,99,235,0.06);
    transform: translateY(-1px);
  }

  .nav-links a[aria-current='page'],
  .nav-links ul li a.active {
    background: rgba(37,99,235,0.10);
    color: var(--primary) !important;
  }

  .nav-links ul li .subtext {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 400;
  }

  /* CTA בתוך התפריט */
  .nav-links .primary-btn,
  .nav-links .nav-cta {
    display: block;
    margin: 12px 4px 4px 4px;
    padding: 12px 14px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 10px 28px rgba(37,99,235,0.12);
    border: none;
    width: calc(100% - 8px);
  }

  .nav-links ul li a .fa {
    font-size: 18px;
    width: 28px;
    text-align: center;
    color: rgba(37,99,235,0.98);
  }

  @media (max-width: 420px) {
    .nav-links {
      width: 88vw;
      padding: 12px;
      border-top-left-radius: 12px;
      border-bottom-left-radius: 12px;
    }
    .nav-links ul {
      padding-top: 48px;
    }
    .nav-links ul li a {
      font-size: 15px;
      padding: 12px 10px;
    }
    .nav-links .fa-times {
      left: 10px;
      top: 10px;
      padding: 6px 8px;
    }
  }
}

/* ========== RESPONSIVE OVERRIDES כלליים ========== */
@media (max-width: 1100px) {
  .text-box h1 { font-size: clamp(36px, 4.5vw, 62px); }
}
@media (max-width: 900px) {
  nav img { max-width: 220px; width: auto; height: auto; }
}
@media (max-width: 700px) {

  .course, .facilities, .testimonials, .cta,
  .about-us, .blog-content, .location, .contact-us {
    width: 92%;
  }

  .row { flex-wrap: wrap; gap: 18px; }
  .course-col { flex-basis: 100%; width: 100%; }

  .facilities-col img { width: 100%; height: auto; }
  .testimonials-col img { width: 48px; height: 48px; }

  .properties-container { gap: 12px; }
  .property { width: 100% !important; flex: 1 1 100%; max-width: 100%; margin: 12px 0; }
  .property img { width: 100% !important; height: auto !important; }


  .modal-content { width: 95% !important; max-height: 85vh !important; }
  .location iframe { height: 300px; }

  .text-box { padding: 0 12px; }
  .text-box h1 { font-size: clamp(28px, 6vw, 40px); }
  .text-box p { font-size: 16px; }
}
@media (max-width: 500px) {
  .property { width: 100% !important; flex-basis: 100% !important; }
}
@media (max-width: 420px) {
  .text-box h1 { font-size: 26px; }
  .nav-inner .fa-bars { font-size: 20px !important; padding: 6px !important; }
}

/* ========== CLEAN NAV LAYOUT – ללא שינוי עיצוב ========== */

/* דסקטופ – לוגו מימין, קישורים באמצע, "קבעו שיחה" בשמאל */
@media (min-width: 701px) {
  .site-header .nav-inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }

  .logo-stack {
    order: 1;
    display: flex;
    flex-direction: row-reverse;
    gap: 0.6rem;
    margin-right: 0;
    margin-left: 0;
  }

  .nav-links {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
  }

  .primary-btn {
    order: 3;
    display: inline-flex;
  }
}

/* מובייל – לוגו בצד ימין, המבורגר בצד שמאל, בלי "קבעו שיחה" בראש */
@media (max-width: 700px) {

  .site-header .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  /* לוגו נעוץ לימין */
  .logo-stack {
    order: 1;
    margin-right: 0;
    margin-left: auto;
  }

  /* קישורים נשארים באמצע (בתור drawer, לא בשורה) */
  .nav-links {
    order: 2;
  }

  /* המבורגר נעוץ לשמאל עם מרווח יפה */
  .nav-inner .fa-bars {
    order: 3;
    margin-left: 0;
    margin-right: 0;
    position: absolute;
    left: 16px;
    right: auto;
  }

  /* מסתירים CTA במובייל בראש */
  .primary-btn {
    display: none !important;
  }
}
/* ===== FIX: logo right of text on MOBILE ===== */
@media (max-width: 700px) {
  .logo-stack {
    flex-direction: row !important; /* לוגו קודם, טקסט אחריו */
  }
}
/* ===== FINAL LOCK – Mobile Logo ALWAYS on the right ===== */
@media (max-width: 700px) {
  .logo-stack {
    display: flex !important;
    flex-direction: row-reverse !important; /* לוגו מצד ימין, טקסט מצד שמאל */
    order: 1 !important;
    margin-right: 0 !important;
    margin-left: auto !important;
  }
}


























/* ===== FIX: Prevent Layout Shift (מונע קפיצות בגלילה) ===== */

.property img {
    aspect-ratio: 16 / 10 !important; /* שומר גובה מראש */
    width: 100% !important;
    height: auto !important;
    object-fit: cover;
}

.facilities-col img {
    aspect-ratio: 4 / 3 !important;
}





html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

}

body {
  box-sizing: border-box;
  padding-top: var(--nav-height);
  max-width: 100%;
  min-height: 100vh;    /* במקום 100% מה-html → גובה מסך אמיתי */
  overflow-x: hidden;
  overflow-y: auto;     /* יש רק scroll אחד – על body */
}










/* ===== ברירת מחדל (נטען לפני המדיות) ===== */
.mainimage {
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;
    width: 260px !important;   /* ברירת מחדל הגיונית */
    z-index: 5;
}



/* ===== מובייל - בלי זום ובלי קפיצות ===== */
@media (max-width: 700px) {
  section.header {
    height: auto;
    min-height: calc(100svh - var(--nav-height));
    max-height: none;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
  }

  .mainimage {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .text-box {
    transform: translate(-50%, calc(-50% - 10px));
  }
}



/* ========== מדרגות גובה למובייל ========== */






/* ===== טאבלטים ===== */
@media (min-width: 701px) and (max-width: 900px) {
  .mainimage { width: 240px !important; }
}


/* ===== לאפטופים קטנים ===== */
@media (min-width: 901px) and (max-width: 1200px) {
  .mainimage { width: 220px !important; }
}

@media (min-width: 1201px) and (max-width: 1315px) {
  .mainimage { width: 220px !important; }
}

/* ===== דסקטופ ===== */
@media (min-width: 1316px) {
  .mainimage {
    width: 430px !important;
    bottom: 0 !important;

    left: 0 !important;              /* מוציא מהמרכז — מצמיד לשמאל */
    transform: none !important;      /* מבטל מרכוז */
  }
}

/* ===== שינוי סדר במובייל בלבד: טקסט למעלה, טופס למטה ===== */
@media (max-width: 900px) {
  .contact-text {
    order: 1;
  }
  .contact-col {
    order: 2;
  }
}
/* ============================
   SKELETON LOADING – דירות נטענות
============================ */

.skeleton-card {
  width: 100%;
  max-width: 340px;
  margin: 20px auto;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
}

.skeleton {
  background: linear-gradient(90deg, #eeeeee 0%, #f3f3f3 50%, #eeeeee 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.3s infinite;
  border-radius: 6px;
}

.skeleton-img {
  width: 100%;
  height: 180px;
  margin-bottom: 10px;
}

.skeleton-title {
  width: 70%;
  height: 20px;
  margin-bottom: 8px;
}

.skeleton-text {
  width: 90%;
  height: 14px;
  margin-bottom: 12px;
}

.skeleton-btn {
  width: 40%;
  height: 35px;
  border-radius: 25px;
}

/* Animation */
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* מובייל */
@media (max-width: 768px) {
  .skeleton-card {
    max-width: 100%;
  }
}
.gallery-controls {
  text-align: center;
  margin-top: 10px;
}

.gallery-controls button {
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  margin: 0 10px;
  cursor: pointer;
}

.gallery-controls button:hover {
  background: #2563eb;
}
/* ===== IMAGE LIGHTBOX ===== */
/* Lightbox */
.img-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 99999999; /* הגדר z-index גבוה כדי שהלייטבוקס יהיה תמיד בראש */
}

.img-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);
  cursor: pointer;
}

/* תיקון לסגירה בלחיצה על הרקע */
.img-lightbox.open {
  display: flex;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#toast {
  visibility: hidden;
  direction: rtl;
  min-width: 220px;
  background-color: #28a745;
  color: white;
  text-align: center;
  border-radius: 10px;
  padding: 14px;
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 20px;
  font-size: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

#toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
/* מכולת תנאים - שורה אחת: טקסט + צ'קבוקס מימין */
.terms {
  display: flex;
  align-items: center;
  gap: 10px;          /* ריווח בין הטקסט לצ'קבוקס */
  margin-bottom: 17px;/* כמו השדות האחרים בטופס */
  direction: rtl;     /* שומר שהפריסה תהיה נכונה בעברית - הצ'קבוקס ימוקם מימין */
  font-size: 14px;
}

/* מבטל את השפעת width:100% על הצ'קבוקס */
.contact-col input[type="checkbox"] {
  width: auto !important;
  height: auto;
  margin: 0;
  cursor: pointer;
}

/* שהקישורים בתוך הטקסט יהיו מובחנים מעט */
.terms a {
  text-decoration: underline;
}

/* אופציונלי — הקטנת המרחק בין שורת הטקסט לשאר השדות בטלפון */
@media (max-width: 600px) {
  .terms { gap: 8px; font-size: 13px; }
}
body.high-contrast {
    background-color: black;
    color: white;
}
body.high-contrast a {
    color: #00ff00;
    text-decoration: underline;
}
body.high-contrast #accessibility-button {
    background-color: transparent !important;
    color: #007bff !important;
}
body.high-contrast #accessibility-menu {
    background-color: black;
    border: 1px solid white;
}
body.high-contrast .accessibility-menu-item {
    background-color: #333;
    color: white;
}
body.high-contrast .accessibility-menu-item:hover {
    background-color: white;
    color: black;
}
#accessibility-menu {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 10px;
    width: 300px;
    z-index: 9999;
    text-align: right;
    direction: rtl;
}

#accessibility-menu.open {
    display: block;
}
/* ============================================
   ANIMATIONS – מינימליסטי, יוקרתי, לא מחליף שום עיצוב קיים
   ============================================ */

/* fade-in עדין */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* slide-up אלגנטי */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease-out, transform .9s ease-out;
}
.slide-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* zoom עדין לכרטיסים */
.card-zoom {
  opacity: 0;
  transform: scale(.96);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.card-zoom.show {
  opacity: 1;
  transform: scale(1);
}

/* במובייל – רק fade-in כדי לא להעמיס */
@media (max-width: 700px) {
  .slide-up,
  .card-zoom {
    transform: translateY(20px);
    opacity: 0;
  }
  .slide-up.show,
  .card-zoom.show {
    opacity: 1;
    transform: translateY(0);
  }
}
/* אנימציה מיוחדת עבור ה-hero שלא שוברת את המיקום */
.fade-in-hero {
  opacity: 0;
  transition: opacity .8s ease-out;
}
.fade-in-hero.show {
  opacity: 1;
}
/* ===== תפריט סינון – גרסה פרימיום ===== */

.filter-container-pro {
  background: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  max-width: 900px;
  direction: rtl;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.filter-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

#resetFilter {
  background: #eee;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}
#resetFilter:hover {
  background: #ddd;
}

/* רשת – מסודרת */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* פריט */
.filter-field {
  display: flex;
  flex-direction: column;
  gap: px;
}

.filter-field label {
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: px;
}

.filter-field input,
.filter-field select {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: 0.25s ease;
  background: #fafafa;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--primary);
  background: #fff;
}

/* שני שדות בשורה */
.flex-pair {
  display: flex;
  gap: 10px;
}
.flex-pair input {
  flex: 1;
}

/* כפתור חיפוש */
.filter-btn {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  font-size: 17px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  transition: 0.3s;
  font-weight: 600;
}

.filter-btn:hover {
  background: #2563eb;
}

/* מובייל */
@media (max-width: 768px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}
.filter-container-pro {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-top: 30px;
  margin-bottom: 30px;
}

.filter-container-pro .filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 10px;
}

.filter-container-pro h3 {
  margin: 0;
  font-size: 20px;
}

.filter-container-pro #resetFilter {
  background: #e2e8f0;
  border: none;
  padding: 6px 15px;
  border-radius: 6px;
  cursor: pointer;
}


.filter-field label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
}
#contactForm input[type="tel"] {
  text-align: right;
  direction: rtl;
}
/* ========== MODAL – כרטיס נכס מעוצב ========== */

/* ========== MODAL – כרטיס נכס מעוצב (גרסה משופרת) ========== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  z-index: 99999;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden; /* לא לגלול הצידה בכלל */
}

.modal-content {
  background: #ffffff;
  margin: auto;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  padding: 22px 24px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  direction: rtl;
  position: relative;
  box-sizing: border-box;
}

/* גלילה פנימית יפה */
.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-thumb {
  background: #cbd5f5;
  border-radius: 999px;
}

/* מבנה פנימי */
.modal-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* כותרת + מחיר */
.modal-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.modal-title-block h2 {
  margin: 0;
  font-size: 22px;
  color: #111827;
}

.modal-address {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6b7280;
}

/* תג מחיר */
.modal-price-badge {
  min-width: 150px;
  padding: 8px 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.modal-price-label {
  font-size: 11px;
  opacity: 0.9;
}
.modal-price-value {
  font-size: 16px;
  font-weight: 700;
}

/* פריסה – תמונה + פרטים */
.modal-layout {
  display: flex;
  gap: 20px;
  align-items: stretch; /* שיהיו באותו גובה */
}

.modal-media {
  flex: 1 1 55%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.modal-details {
  flex: 1 1 45%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* גלריה – תמונה ממלאת יפה את הקונטיינר */
.modal-gallery {
  flex: 1;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  padding: 0;
}

.modal-gallery img.modal-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}

/* כפתורי גלריה */
.gallery-controls {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.gallery-controls button {
  background: #0ea5e9;
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.2s;
}

.gallery-controls button:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
}

/* רשימת מאפיינים */
.modal-details h3 {
  margin: 0;
  font-size: 16px;
  color: #111827;
}

.modal-features {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.modal-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 13px;
  color: #111827;
}

.modal-features i {
  color: #2563eb;
}

/* תיאור */
.modal-description {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}

/* CTA בתחתית המידע */
.modal-cta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-cta-text {
  font-size: 14px;
  color: #374151;
}

.modal-contact-btn {
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
}

/* כפתור סגירה – עיגול מקצועי, סימטרי */
.modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #4b5563;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.modal-close:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

/* טקסטים במודל – בלי padding המוגזם של p הכללי */
.modal-content p {
  padding: 0;
}

/* נעילת גלילה כשהמודל פתוח */
html.modal-open,
body.modal-open {
  overflow: hidden;
}

/* ===== התאמות למסכים בינוניים ===== */
@media (max-width: 900px) {
  .modal {
    padding: 12px;
  }

  .modal-content {
    padding: 18px 16px 18px;
    max-height: 90vh;
  }

  .modal-layout {
    flex-direction: column;
  }

  .modal-media {
    display: block;
  }

  .modal-gallery {
    flex: 0;
  }

  .modal-gallery img.modal-image {
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }

  .modal-price-badge {
    min-width: 0;
  }
}

/* ===== מובייל – מרכזים טקסטים וכפתור, שומרים פינות מעוגלות ===== */
@media (max-width: 600px) {
  .modal {
    padding: 10px;
  }

  .modal-content {
    width: 100%;
    max-width: 100%;
    margin: 24px auto;
    border-radius: 18px;       /* מחזיר את הפינות המעוגלות גם בנייד */
  }

  /* שם הדירה + כתובת + תג מחיר – באמצע */
  .modal-title-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .modal-title-block {
    text-align: center;
  }

  .modal-title-block h2 {
    text-align: center;
  }

  .modal-address {
    text-align: center;
  }

  .modal-price-badge {
    align-items: center;
    text-align: center;
  }

  /* CTA וכפתור – מלא, בלי לצאת מגבולות המודל */
  .modal-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .modal-contact-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 18px;
  }

  .modal-close {
    top: 10px;
    left: 10px;
  }
}
/* ממרכז טקסט בכפתור "השאר/י פרטים ואחזור אליך" בדסקטופ */
@media (min-width: 601px) {
  .modal-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
/* היעד של הגלילה מהמודל ומהתפריט */
#contact {
  scroll-margin-top: calc(var(--nav-height) + 20px);  /* תעצור 20px לפני ה-header */
}
html.modal-open,
body.modal-open {
  overflow: hidden;
}
/* רמז שניתן ללחוץ על התמונה במודל */
.modal-gallery {
  position: relative;
  cursor: zoom-in; /* או pointer אם אתה מעדיף */
}

/* שכבת hover עדינה מעל התמונה */
.modal-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.18)  /* היה 0.35 – עכשיו הרבה יותר עדין */
  );
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}


/* טקסט קטן "לחץ להגדלה" בפינה */
.modal-gallery::after {
  content: "לחץ להגדלה";
  position: absolute;
  right: 12px;
  bottom: 10px;
  padding: 4px 10px;
  font-size: 11px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

/* אפקט ה-hover עצמו */
.modal-gallery:hover::before,
.modal-gallery:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* במובייל – אפשר (אם תרצה) להשאיר את הטקסט תמיד גלוי */
@media (max-width: 700px) {
  .modal-gallery::after {
    opacity: 1;
    transform: none;
  }
}
.property-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(37,99,235,0.1);
  color: #2563eb;
  margin-bottom: 6px;
}
/* Scroll hint under the hero */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(15, 23, 42, 0.45);
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  animation: scroll-indicator-bounce 1.8s infinite;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-indicator:hover {
  background: rgba(37, 99, 235, 0.8);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.35);
}

.scroll-indicator-label {
  letter-spacing: 0.03em;
}

.scroll-indicator-icon i {
  font-size: 14px;
}

/* Small bounce animation */
@keyframes scroll-indicator-bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* On very small screens, tighten it a bit */
@media (max-width: 700px) {
  .scroll-indicator {
    bottom: 16px;
    padding: 6px 12px;
    font-size: 12px;
  }
}
/* מרכז רק את הכפתור "לפרטים נוספים" בעמוד האודות */
.about-btn {
  display: block !important;
  width: fit-content;
  margin: 20px auto 0 auto !important;
  text-align: center;
}
