* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gutter: 12px;
/*   --col-width: calc((100vw - (11 * var(--gutter))) / 12); */
}

html, body {
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  color: rgb(0, 0, 0);
  overflow: hidden;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

.background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

header h1 {
  top: 12px;
}

footer p {
  bottom: 3px;
}

/* HEADER + FOOTER FIXED */
header,
footer {
  position: fixed;
  left: 0;
  width: 100vw;
  z-index: 10;
}

/* HEADER POSITIONING */
header {
  top: 0;
}

/* FOOTER POSITIONING */
footer {
  bottom: 0;
  height: 240px; /* גובה זהה לגרדיאנט */

}

/* TEXT INSIDE HEADER/FOOTER */
header h1,
footer p {
  position: absolute;
  left: 27.5vw;
  font-family: Arial, sans-serif; /* ← תוספת כדי לעקוף את הפונט הכללי של p */
  font-size: 48px;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 0;
  z-index: 2;
}

/* GENERAL TEXT STYLE */
p, h2 {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  font-family: 'IBM Plex Mono', monospace;
  margin: 0;
  text-align: left;
}

/* INFO STRIP — CONTAINER */
.info-strip {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  transform: translateY(-50%);
  background-color: white;
  color: black;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* ▓▓ LEFT SIDE: PROJECT INFO ▓▓ */
.info-left {
  display: flex;
  gap: 2.5vw; /* space between blocks */
  align-items: flex-start;
  flex-wrap: nowrap;

}

/* INFO BLOCK BASE STYLE */
.info-block {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Fixed min/max widths for first two blocks */
.info-block.project,
.info-block.place {
  min-width: 190px;
  max-width: 340px;
  flex-shrink: 0; /* מונע מהם להתכווץ */

}

/* Coordinates block behaves differently */
.info-block.coordinates {
  width: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Text inside each info-block */
.info-block p {
  margin: 0;
}

/* CONTACT ON THE RIGHT */
.info-right {
  padding-right: 48px;
  white-space: nowrap;
}

.info-right h2 {
  font-size: 14px;
  font-weight: normal;
}

.info-right a {
  text-decoration: none;
  color: inherit;
  text-transform: uppercase;  
  transition: text-transform 0.2s linear;
}

.info-right a:hover {
  text-transform: lowercase;
  cursor: pointer;
}

/* אזור ה-hover הכללי */
.hover-zone {
  position: absolute;
  width: 100vw;
  height: 72px;
  z-index: 5;
}

/* HEADER hover zone - צמוד למעלה */
.header-hover {
  top: 0;
}

/* FOOTER hover zone - צמוד למטה */
.footer-hover {
  bottom: 0;
}

/* הגרדיאנט */
.hover-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 240px;
  opacity: 0;
  transition: opacity 0s linear;
  pointer-events: none;
  z-index: 1;
}

/* גרדיאנט לכל אחד */
header .hover-gradient {
  background: linear-gradient(to bottom, white 0%, white 0%, rgba(255,255,255,0) 100%) 0%;
}

footer .hover-gradient {
  top: auto;
  bottom: 0;
  background: linear-gradient(to top, white 0%, white 0%, rgba(255,255,255,0) 100%);
}

/* Hover trigger */
.header-hover:hover + .hover-gradient {
  opacity: 1;
}

.footer-hover:hover + .hover-gradient {
  opacity: 1;
}

@media (max-width: 780px) {
  header h1,
  footer p {
    font-size: 36px;
    left: 12px;
  }
  
/* GENERAL TEXT STYLE MOBILE */
p, h2 {
  font-size: 11px;
  text-align: left;
}

 .info-right h2 {
  font-size: 11px;
  font-weight: normal;
} 
  
.info-strip {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 9px 12px;
    gap: 12px;
  }

  .info-left {
    flex: 1 1 85%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .info-block {
    width: 100%;
    padding: 0;
  }

  .info-right {
    flex: 0 0 auto;
    white-space: nowrap;
  }

/* 
  .hover-gradient {
    opacity: 1 !important;   /* תמיד מוצגת */
    /* pointer-events: none;    /* לא תופסת מגע */
  /* }

  .hover-zone {
    display: none;           /* אפשר גם פשוט להסתיר אותה כי אין צורך */
  /* } */ 
}
