@charset "UTF-8";
/*   RESET   */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul:where([role=list]),
ol:where([role=list]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark light;
  scroll-behavior: smooth;
  overflow-x: clip;
  writing-mode: horizontal-tb;
  direction: rtl;
  text-orientation: mixed;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: var(--ff-body);
  position: relative;
}

/* עיצוב פס הגלילה */
::-webkit-scrollbar {
  width: 0; /* רוחב הפס אם 0 אז הסתרת פס הגלילה */
  height: 2ch; /* גובה הפס, אם מדובר בפס אופקי */
}

/* עיצוב המסילה */
::-webkit-scrollbar-track {
  background: var(--light-color); /* צבע רקע המסילה */
  border-radius: 100svw; /* פינות מעוגלות */
}

/* עיצוב האגודל (החלק הניתן לגרירה) */
::-webkit-scrollbar-thumb {
  background: var(--yellow); /* צבע האגודל */
  border-radius: 100svw; /* פינות מעוגלות */
}

/* עיצוב האגודל במעבר עכבר */
::-webkit-scrollbar-thumb:hover {
  background: var(--green2); /* צבע כהה יותר במעבר עכבר */
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

main {
  display: grid;
  justify-items: center;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  width: auto;
  margin: auto;
  object-fit: cover;
  border-radius: var(--border-radius);
}

a {
  color: inherit;
  text-decoration: none;
  transform-origin: right;
  transition: opacity var(--animation-timing), width var(--animation-timing), right var(--animation-timing), left var(--animation-timing), top var(--animation-timing), translate var(--animation-timing), background-color var(--animation-timing);
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
  border-radius: var(--border-radius);
}

input,
select {
  padding: 0.5rem;
  margin-bottom: 1rem;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}
/*   General styling   */
.fab,
.fa-solid {
  padding-left: 0.5rem;
}

video {
  max-width: 100%;
  height: auto;
  padding: 1rem;
  margin: 0 auto;
  display: block;
  max-height: 90svh;
}

.section {
  padding: min(5vh, 10em) 0;
  display: grid;
}

.grid {
  display: grid;
}

/*  Utility Classes */
/* select all direct childen of .flow
   and add margin to the top for proper
   spacing */
.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 1em);
}

.container {
  max-width: 95svw;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.flex-group {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  width: 100%;
  margin: auto;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
  margin-bottom: 1rem;
}

.btn {
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
  display: flex;
  line-height: 1;
  padding: 0.75em 1.75em;
  border-radius: var(--border-radius);
  justify-content: center;
  align-items: center;
  text-align: center;
  justify-content: center;
  border: transparent;
  outline: transparent;
}

.btn--primary {
  font-weight: var(--fw-700);
  background-color: var(--primary);
  border: 2px solid var(--light-brown);
  font-size: var(--fs-400);
  margin: 1rem auto;
  color: black;
}

.btn--primary:hover,
.btn--primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--light-brown);
}

.btn--neutral {
  background-color: var(--clr-neutral-100);
  color: var(--clr-neutral-900);
  font-weight: var(--fw-700);
  outline: 2px solid var(--light-brown);
}

.btn--neutral:hover,
.btn--neutral:focus {
  background-color: var(--orange);
  color: var(--light-color);
  outline-offset: 0.25em;
}

.btn-dark {
  background-color: var(--dark-color);
  color: var(--light-color);
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: var(--gray);
  color: var(--dark-color);
}

.btn--back {
  position: relative;
  font-weight: var(--fw-700);
  background: black;
  color: white;
  margin: 4rem auto;
  min-width: max-content;
  max-width: 10svw;
}

.btn--back::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  transform: translateY(-100%);
  width: 100%;
  height: 3rem;
}

.btn--back:hover,
.btn--back:focus {
  color: black;
  background-color: var(--clr-neutral-900);
}

.btn--order::before {
  content: "";
  background-image: url("/assets/image/img/butterfly.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 60px;
  height: 60px;
  position: absolute;
  top: -75%;
  right: 0;
  pointer-events: none;
}

@keyframes flap {
  0%, 100% {
    transform: translateX(-50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translateX(-50%) rotate(5deg) scale(1.1);
  }
}
.btn--order {
  position: relative;
  z-index: 1;
  font-weight: var(--fw-700);
  border: 2px solid var(--action);
  font-size: var(--fs-500);
  margin: 1rem auto;
  width: 100%;
  height: auto;
  transition: border-radius var(--animation-timing);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  flex-direction: column;
}
.btn--order span {
  font-size: var(--fs-600);
}

.btn--order:hover,
.btn--order:focus {
  background: var(--primary);
  border-color: var(--primary);
  color: black;
  border-radius: 0%;
}

.whatsapp-button {
  border: 1px solid var(--green);
  border-radius: 0;
}
.whatsapp-button .fa-whatsapp {
  padding-left: 1rem;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  font-weight: var(--fw-500);
  width: 100%;
  border-radius: 0;
}

.btn-whatsapp:hover,
.whatsapp-button:hover {
  color: white;
}

.copyright:hover span {
  color: #ff0000;
}

#whatsapp-link {
  position: fixed;
  left: 1%;
  top: 30svh;
  color: #076650;
  font-size: 3rem;
  text-decoration: none;
  z-index: 1000;
}

.scroll-x {
  width: 100%;
  height: max-content;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: auto;
  scroll-margin-bottom: 0;
  column-gap: 1rem;
  padding: 1rem 0;
  cursor: zoom-in;
}

.scroll-x.grabbing {
  cursor: grabbing; /* סמן בעת גרירה */
}

.decoration {
  margin: 0;
}

.hidden {
  display: none;
}

.label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-404 {
  margin: 1rem;
  padding: 1rem;
  min-height: 80svw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  background-color: var(--light-brown);
  color: black;
}

:root {
  --bar-width: 30px;
  --bar-height: 4px;
  --hamburger-gap: 5px;
  --foreground: #333;
  --background: white;
  --hamburger-margin: 1.5em;
  --animation-timing: 500ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);
  color: var(--foreground);
  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: absolute;
  top: var(--hamburger-margin);
  right: var(--hamburger-margin);
  z-index: 10;
  cursor: pointer;
}

.hamburger-menu:has(input:checked) {
  --foreground: white;
  --background: #333;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--foreground);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing), rotate var(--animation-timing), translate var(--animation-timing), background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  padding: 0.5rem 1rem;
  padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 3rem);
  background-color: var(--foreground);
  color: var(--background);
  z-index: 9;
  transition: translate var(--animation-timing);
  translate: 150%;
  position: absolute;
  right: 0;
  flex-direction: column;
  align-items: start;
  width: 100%;
  min-height: 100vh;
  transform-origin: right;
  transition: translate 600ms ease-in;
  padding-top: 9rem;
}

.hamburger-menu:has(input:checked) + .sidebar {
  translate: 0;
}

/*   Footer   */
.site-footer {
  --logo-color: currentColor;
  text-align: center;
}

.wrapper-footer {
  display: grid;
  grid-template-areas: "more-info" "social";
  column-gap: 2rem;
  row-gap: 1rem;
  text-align: center;
}

.more-info {
  min-width: 70svw;
  max-width: 70svw;
  margin: auto;
  grid-area: more-info;
  grid-template-columns: max-content max-content max-content;
  justify-content: center;
}

.social {
  grid-area: social;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

a {
  transition: font-size 1s liner, opacity 1s liner;
  transform-origin: center;
}

.contact-us,
.more-info,
.useful-information {
  display: grid;
  gap: 1rem;
}

footer:has(a[class=social-item]:hover) a[class=social-item]:not(:hover),
footer:has(i[class=social-item]:hover) a[class=social-item]:not(:hover),
footer:has(a[class=social-item]:hover) .social-item.active {
  font-size: var(--fs-300);
  opacity: 0.8;
}

.fa-facebook:hover {
  color: blue;
}

.fa-instagram:hover {
  background: linear-gradient(to right, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  background-clip: text; /* חיתוך רקע לטקסט */
  color: transparent; /* צבע טקסט שקוף כדי להציג את המעבר צבעים */
}

.fa-youtube:hover {
  color: red;
}

.fa-pinterest:hover {
  color: red;
}

.useful-information {
  grid-area: useful-information;
}

/*  Header  */
header {
  position: relative;
  min-height: 10svh;
  margin-bottom: 2rem;
}
header .page-header-content {
  display: flex;
  justify-content: space-between;
  background-color: white;
  position: fixed;
  width: 100%;
  z-index: 100;
}
header .nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 90svh;
}
header .room {
  border-bottom: 1px solid var(--primary);
  border-top: 1px solid var(--primary);
  padding: 0.5rem;
}
header .room:hover {
  border-left: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
}
header .logo {
  max-width: 20svw;
}
header .logo:hover path {
  fill: rgb(255, 60, 0);
  transform-origin: center;
  transition: fill 0.5s linear;
}
header .nav-list a:focus,
header .nav-list a:hover {
  color: var(--primary);
  font-weight: var(--fw-500);
}
header nav:has(a[class="nav-item room"]:hover) a[class=nav-item]:not(:hover),
header nav:has(a[class=nav-item]:hover) a[class=nav-item]:not(:hover),
header nav:has(i[class=nav-item]:hover) a[class=nav-item]:not(:hover),
header nav:has(a[class=nav-item]:hover) .nav-item.active {
  opacity: 0.5;
  color: var(--primary-hover);
}
header .nav-list li:nth-child(4) {
  padding: 0 0.5rem;
}

:root {
  --clr-faq: #f5f8f7;
  --clr-faq-hover: #cead82;
  --primary: rgba(226, 195, 139, 1);
  --primary-hover: rgba(165, 135, 84, 1);
  --secondary: rgba(159, 152, 140, 1);
  --secondary-hover: rgba(197, 195, 192, 1);
  --neutral: rgba(249, 248, 243, 1);
  --neutral-hover: rgb(230, 230, 170);
  --whatsapp: rgb(112 190 141);
  --whatsapp-hover: #116753;
  --light-brown: rgba(197, 195, 192, 1);
  --cream: rgb(249, 248, 243);
  --action: #ff9800;
  --dark-color: black;
  --light-color: #dee2e1;
  /* SCSS RGB */
  --eclipse: rgba(48, 35, 21, 1);
  --hillary: rgba(177, 162, 142, 1);
  --pickled-bean: rgba(95, 61, 29, 1);
  --mischka: rgba(209, 209, 220, 1);
  --nutmeg: rgba(131, 91, 41, 1);
  --coffee: rgba(114, 103, 91, 1);
  --limed-oak: rgba(165, 135, 84, 1);
  --shadow: rgba(136, 104, 77, 1);
  --gold-sand: rgba(226, 195, 139, 1);
  --new-orleans: rgba(241, 218, 166, 1);
  /* SCSS RGB logo*/
  --birch: rgba(55, 45, 33, 1);
  --shadow: rgba(126, 106, 80, 1);
  --spring-wood: rgba(249, 248, 243, 1);
  --sandal: rgba(167, 141, 102, 1);
  --zorba: rgba(159, 152, 140, 1);
  --indian-khaki: rgba(195, 173, 144, 1);
  --pavlova: rgba(219, 195, 155, 1);
  --stark-white: rgba(232, 219, 193, 1);
  --cloud: rgba(197, 195, 192, 1);
  --willow-grove: rgba(108, 116, 106, 1);
}

:root {
  direction: rtl;
  --ff-body: "Assistant", sans-serif;
  --ff-heading: "Assistant", sans-serif;
  --ff-english: "Cinzel", serif;
}

:root {
  --fs-200: 0.5rem;
  --fs-300: 0.9375rem;
  --fs-400: 1.0625rem;
  --fs-500: 1.275rem;
  --fs-600: 1.875rem;
  --fs-700: 2rem;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-900: 900;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-400);
}

h1,
h2,
h3 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-600);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

p {
  line-height: 1.9;
  text-wrap: balance;
  padding: 0 0.5rem;
  margin: 0 auto 1rem auto;
}

strong {
  font-weight: var(--fw-700);
}

/* typgraphy */
.section-title {
  color: inherit;
  text-wrap: pretty;
  text-align: center;
  font-size: var(--fs-600);
  letter-spacing: 0.1rem;
  margin: 1rem 0;
}

.big-title {
  font-size: clamp(var(--fs-500) 50% var(--fs-600));
  letter-spacing: 0.1rem;
  text-align: center;
}

.english {
  font-family: var(--ff-english);
  font-weight: var(--fw-400);
}

.title {
  font-size: clamp(var(--fs-400) 50% var(--fs-500));
  letter-spacing: 0.1rem;
  margin-inline: auto;
  margin-bottom: 1rem;
  margin-bottom: 2rem;
}

li {
  line-height: 1.5;
}

.room-snippet {
  display: grid;
  grid-template-areas: "room-title" "image" "content";
  row-gap: 2rem;
  column-gap: 1rem;
  margin-bottom: 2rem;
  padding: 2rem;
}
.room-snippet .room-title-snippet {
  grid-area: room-title;
}
.room-snippet .room-content {
  grid-area: content;
  display: grid;
  justify-items: center;
}
.room-snippet .room-image {
  grid-area: image;
}
.room-snippet .room-snippet:nth-child(even) {
  background-color: var(--green);
}

.availability-check {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.availability-check form {
  display: grid;
  justify-items: stretch;
  grid-template-columns: 1fr;
  padding: 1rem 0;
  min-width: 80svw;
}
.availability-check form:invalid {
  padding: 2rem 0;
}
.availability-check form input {
  min-width: 100%;
  offset: 0.5rem;
  border: none;
  min-height: 8svh;
  background-color: transparent;
  outline: 1px solid var(--outline-color-valid);
}
.availability-check form input::placeholder {
  font-family: var(--ff-body);
  color: var(--black);
  letter-spacing: 0.1em;
}
.availability-check form button[type=submit] {
  letter-spacing: 0.1em;
  background-color: var(--action);
  min-height: 8svh;
  max-width: 70svw;
  outline: 1px solid var(--action);
  border-radius: var(--border-radius);
}
.availability-check form button[type=submit]:hover {
  background-color: var(--primary);
  color: black;
  outline: 1px solid var(--primary);
}
.availability-check .pretty-date {
  display: block;
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
}

.selected-dates-title {
  min-height: 5rem;
  padding: 1rem;
  background-color: var(--neutral);
  text-align: center;
  outline: 2px solid var(--primary-hover);
  outline-offset: -0.5rem;
  letter-spacing: 0.1em;
}
.selected-dates-title span {
  font-weight: var(--fw-600);
  display: block;
}

.room-details {
  display: grid;
  grid-template-areas: "title" "description" "layout";
  justify-content: center;
}

.room-layout {
  display: grid;
  grid-template-areas: "form" "content" "gallery";
  grid-template-columns: 1fr;
}

.room-gallery {
  grid-area: gallery;
}

.room-content {
  grid-area: content;
}

.room-booking-form {
  grid-area: form;
}
.room-booking-form h2 {
  text-align: center;
}

.room-gallery::-webkit-scrollbar {
  display: none;
}

.room-gallery .gallery-item {
  max-width: 80%;
}

.room-gallery .gallery-item img {
  max-width: 80svw;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
  margin: 0;
}

.room-content {
  display: grid;
  grid-template-areas: "pricing" "features";
  justify-content: flex-start;
  gap: 2rem;
  margin-inline: auto;
  width: 100%;
  margin-bottom: 2rem;
}

.room-features {
  grid-area: features;
}
.room-features li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.room-features span {
  padding: 1rem;
  color: green;
}

.room-description {
  grid-area: description;
  width: fit-content;
  margin-bottom: 2rem;
}

.room-pricing {
  grid-area: pricing;
}

.room-button {
  grid-area: button;
}

.room-gallery-item {
  flex: 0 0 100%; /* גורם לכל תמונה לתפוס 100% מרוחב המסך */
  max-width: 100%;
}

.room-gallery-item img {
  width: 100%; /* התמונה תתאים לרוחב האלמנט */
  height: auto; /* שמירה על פרופורציות התמונה */
}

.booking-form {
  width: 100%;
  display: grid;
  grid-area: form;
  grid-template-columns: 1fr;
  grid-template-areas: "checkin" "checkout" "guests" "price" "fullname" "phone" "email" "submit" "whatsapp";
  padding: 0.5rem;
  border: 2px solid var(--blue);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin: 0 1rem;
}

.checkin {
  grid-area: checkin;
}

.checkout {
  grid-area: checkout;
}

.guests {
  grid-area: guests;
}

.fullname {
  grid-area: fullname;
}

.email {
  grid-area: email;
}

.phone {
  grid-area: phone;
}

.room {
  grid-area: room;
}

.submit {
  grid-area: submit;
  text-align: center;
}

.submit-whatsapp {
  grid-area: whatsapp;
}

.room-price {
  grid-area: price;
  display: grid;
  align-content: center;
  justify-items: center;
  height: fit-content;
  width: 100%;
  margin: auto;
  outline: 2px solid rgba(82, 156, 100, 0.368627451);
  outline-offset: -0.5rem;
  background-color: rgba(82, 156, 100, 0.368627451);
  min-height: 5rem;
  padding: 1rem;
}

.flatpickr-day {
  transition: background-color 0.3s ease;
}

.flatpickr-day.flatpickr-disabled {
  color: #ccc;
  background-color: #f0f0f0 !important; /* אפור בהיר לתפוס */
  cursor: not-allowed;
}

.flatpickr-day:not(.flatpickr-disabled) {
  background-color: var(--primary);
  cursor: pointer;
}

.flatpickr-day:hover:not(.flatpickr-disabled) {
  background-color: var(--secondary-hover);
  color: var(--dark-color);
}

.room-container select {
  position: relative;
  width: 100%;
  border: 2px solid brown;
}

#error-message-container {
  display: none; /* מוסתר ברירת מחדל */
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin-bottom: 15px;
  outline: 2px solid #f5c6cb;
  outline-offset: -0.5rem;
  padding: 1rem;
}

#error-message-container.visible {
  display: block; /* הצגת המיכל כשיש שגיאה */
}

/* form */
:root {
  --outline-color-invalid: var(--primary);
  --outline-color-valid: var(--primary-hover);
}

#form {
  max-width: 100dvw;
  overflow: hidden;
  text-align: center;
  border-radius: var(--border-radius);
  justify-content: center;
}

form {
  min-height: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-items: stretch;
}

.lead {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
}

button[type=submit] {
  align-self: center;
  width: 100%;
  height: 2.5rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  font-weight: var(--fw-500);
  border-radius: 0;
  color: var(--dark-color);
  background-color: var(--primary);
  transition: color 600ms ease, font-size 600ms ease, background-color 600ms ease, max-height 600ms ease;
}

button[type=submit]:hover,
button[type=submit]:focus-visible {
  background-color: var(--primary-hover);
  color: var(--light-color);
}

input:invalid,
textarea:invalid {
  border: none;
  outline-width: unset;
  outline-color: var(--outline-color-invalid);
  outline-style: solid;
  outline-width: 0.1rem;
  min-width: 10svw;
}

form input:valid,
textarea:valid {
  border: none;
  border-radius: var(--border-radius);
  outline-width: unset;
  outline-color: var(--outline-color-valid);
  outline-style: solid;
  outline-width: 0.1rem;
}

textarea:focus-visible,
form input:focus-visible {
  border: 2px solid var(--dark-color);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
}

form:invalid {
  border-radius: var(--border-radius);
  padding: 0.5rem;
}

.text-fields {
  padding: 1rem;
  margin-bottom: 0.5rem;
  width: inherit;
  display: grid;
  grid-template-areas: "name" "phone" "email" "message" "submit";
  grid-gap: 1rem;
  justify-items: center;
}
.text-fields Grid Area form .name-input {
  grid-area: name;
}
.text-fields .subject-input {
  grid-area: subject;
}
.text-fields .email-input {
  grid-area: email;
}
.text-fields .phone-input {
  grid-area: phone;
}
.text-fields .message-input {
  grid-area: message;
  height: 6rem;
}
.text-fields .file-form {
  grid-area: file;
}
.text-fields .submit {
  grid-area: submit;
}

.text-input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  width: 100%;
}

.success {
  display: flex;
  flex-direction: column;
  background-color: rgba(125, 168, 174, 0.4117647059);
  align-items: center;
  max-height: 100svw;
  text-align: center;
  min-height: 50svw;
  justify-content: center;
}

.contact-us {
  grid-area: contact-us;
  margin: 1rem;
  justify-content: start;
  text-align: start;
  padding: 1rem;
}
.contact-us span {
  display: inline-flex;
  margin: 1rem;
}

.contact {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}

.faq-section {
  text-align: center;
}

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

.faq-item {
  animation: slide-in-list 1s ease-in-out forwards;
}

.faq-question {
  border-top: 1px solid var(--light-brown);
  border-bottom: 1px solid var(--light-brown);
  border-left: none;
  border-right: none;
  display: flex;
  width: 100%;
  min-height: 7ch;
  cursor: pointer;
  transition: background-color 0.3s;
  gap: 1rem;
  min-width: 70svw;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.5rem;
  min-height: 10vh;
  text-align: start;
  align-items: center;
  color: currentColor;
  margin-top: 1rem;
}

.faq-question:hover {
  background-color: var(--cream);
  color: black;
}

.faq-answer {
  padding-inline: 1rem;
  text-wrap: balance;
  border-radius: 0.3rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: 1rem;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity var(--animation-timing), transform var(--animation-timing);
  width: 70svw;
  line-height: 2;
  text-align: start;
  font-weight: 700;
}

.faq-question.active + .faq-answer {
  animation: slide-in-list var(--animation-timing) forwards;
  border-bottom: 1px solid var(--light-brown);
  border-left: none;
  border-right: none;
  width: auto;
  max-width: 100%;
  margin: 1rem auto;
}

.faq-question::before {
  content: "⇦";
  display: inline-flex;
  scale: 1.5;
  transition: transform var(--animation-timing);
  padding: 0rem 0.5rem;
}

.faq-question.active::before {
  transform: rotate(-90deg);
}

@keyframes slide-in-list {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.about {
  border-radius: var(--border-radius);
  background-size: 20%;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-weight: var(--fw-500);
  padding-top: 2rem;
}
.about h1,
.about h2 {
  margin-top: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.about img {
  aspect-ratio: 1;
  height: 30svw;
  width: auto;
  border-radius: 50%;
}
.about .warrper-text-about {
  text-align: center;
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  margin-inline: 2rem;
  padding-bottom: 2rem;
}
.about .warrper-text-about p {
  margin-inline: auto;
  max-width: 90%;
}

.attractions {
  display: grid;
  justify-content: center;
  grid-template-areas: "title" "map" "list";
}
.attractions h1 {
  grid-area: title;
}

/* attractions עיצוב רשימת האטרקציות */
.attractions-list {
  grid-area: list;
  display: flex;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.map-container {
  grid-area: map;
  /* עיצוב המפה */
  width: 100%;
  height: inherit;
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

#map {
  width: fit-content;
  height: 40svh;
  max-width: 80svw;
  aspect-ratio: 1;
  border-radius: var(--border-radius);
  z-index: 1;
}

.attraction {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.attraction-card {
  padding: 1rem;
  text-align: center;
}

.attraction-card img {
  width: 10ch;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  aspect-ratio: 1;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 600px; /* מגביל את הרוחב למקסימום הגיוני */
  aspect-ratio: 16/9; /* יחס גובה-רוחב 16:9 */
  overflow: hidden;
  border-radius: var(--border-radius);
  margin: 0 auto; /* ממרכז את הווידאו */
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
}

.feedback {
  text-align: center;
  padding: 2rem;
  background-color: #f9f9f9;
  color: var(--dark-color);
  margin-bottom: 2rem;
}
.feedback h2 {
  font-size: clamp(var(--fs-400), 5vw, var(--fs-500));
}

.feedback-card {
  display: flex;
  gap: var(--gap);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--neutral);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  min-width: 80svw;
  height: fit-content;
  justify-items: center;
  align-self: stretch;
}

.feedback-summary {
  font-size: inherit;
  list-style: none;
  cursor: pointer;
  position: relative;
  width: fit-content;
  margin: 1rem auto;
}
.feedback-summary::-webkit-details-marker {
  display: none;
}
.feedback-summary::before {
  content: "הצג ביקורת מלאה";
}
.feedback-summary .feedback-content {
  text-align: center;
}
.feedback-content[open] .feedback-summary::before {
  content: "הסתר ביקורת";
}
.feedback-summary:hover {
  background-color: var(--primary-hover);
  color: currentColor;
}

.feedback-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.feedback-name {
  font-weight: bold;
  margin: 1rem auto;
  font-size: inherit;
}

.feedback-date {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.feedback-rating {
  min-height: 5rem;
}

.feedback-text {
  font-size: var(--fs-400);
  padding: 2rem 0;
}

:root {
  --animation-timing: 500ms ease-in-out;
  --border-radius: 0.3rem;
  --gap: 1rem;
}

/*  Homepage   */
.hero > div {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: 1fr;
  align-items: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  font-size: var(--fs-500);
  font-weight: var(--fw-900);
  row-gap: 0.5rem;
  text-align: center;
  word-spacing: 0.5rem;
  margin-bottom: 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 2rem;
  background-size: cover;
}
.hero-content p {
  font-family: var(--ff-heading);
  font-size: var(--fs-600);
  margin-top: 0;
  color: var(--brown);
  line-height: 1.5;
  text-align: center;
}

/* grid */
.grid {
  display: grid;
}

/*   gallery  */
.gallery-room,
.gallery {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.gallery-item {
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--light-brown);
  row-gap: 1rem;
  font-size: inherit;
  grid-template-rows: 1fr 4rem auto;
}

.gallery-image-room,
.gallery-image {
  max-width: 80svw;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  opacity: 0.9;
}

.gallery-title {
  margin-top: 1rem;
}

.map-section {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  height: 40svh;
}

.location-link {
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-rows: 1fr 1fr 1fr;
  padding: 2rem;
}
.location-link i {
  color: #ff6600;
  font-size: 10ch;
}
.location-link .location-title {
  width: min-content;
}
.location-link .logo {
  max-width: 5rem;
}

.cookie-consent.active {
  bottom: 0;
  display: block;
}

.cookie-consent {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  background-color: #f0f0f0;
  color: var(--dark-color);
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: clamp(30svw, 70svw, 50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  padding-block-end: 1rem;
  text-wrap: balance;
  margin-block-end: 5rem;
  transition: display 0.5s;
}
.cookie-consent img {
  justify-content: center;
  object-fit: contain;
  max-width: 20svw;
  max-height: 20svw;
}
.cookie-consent button {
  min-width: 50svw;
  height: 3rem;
}
.cookie-consent .color-light {
  color: var(--light-color);
}
.cookie-consent .flex-column {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}
.cookie-consent .btn-accept {
  border: 2px solid var(--primary);
  color: var(--dark-color);
  border-color: inherit;
}
.cookie-consent .btn-accept:hover,
.cookie-consent .btn-accept:focus-visible {
  background-color: var(--primary-hover);
  color: var(--light-color);
  font-weight: 700;
}
.cookie-consent .btn-reject {
  border: 2px solid var(--light-brown);
  color: var(--dark-color);
  border-color: inherit;
}
.cookie-consent .btn-reject:hover,
.cookie-consent .btn-reject:focus-visible {
  background-color: var(--brown);
  color: var(--light-color);
  font-weight: 700;
}

@media (prefers-color-scheme: light) {
  .html {
    color: var(--dark-color);
    background-color: var(--red);
  }
}
@media (prefers-color-scheme: dark) {
  html {
    color: var(--light-color);
    background-color: var(--dark-color);
  }
  .cookie-consent p {
    color: var(--dark-color);
  }
  .site-footer .social {
    color: var(--cream);
  }
  .copyright {
    color: var(--cream);
  }
  .btn--back {
    border: 2px solid var(--cream);
  }
  .snippet {
    outline: 2px solid var(--cream);
  }
  .snippet-title {
    color: var(--cream);
  }
}
@media (min-width: 45em) {
  header .nav-list {
    flex-direction: row;
    min-height: 5svh;
  }
  header .room {
    color: black;
  }
  .hamburger-menu {
    opacity: 0;
    width: 0;
  }
  .sidebar {
    padding: 1.5em;
    translate: 0;
    width: auto;
    min-height: max-content;
    background-color: inherit;
  }
  a[class=nav-item] {
    color: black;
  }
  .availability-check {
    position: fixed;
    right: 0;
    top: 4rem;
    width: 100%;
    align-items: stretch;
    z-index: 100;
    left: 0;
  }
  .availability-check form {
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    flex-direction: row;
    padding: 2rem 1rem 2rem 1rem;
    background: var(--background);
  }
  .availability-check form button[type=submit] {
    margin: 0;
  }
  .availability-check form input {
    margin: 0;
  }
  .availability-check .mobile-title {
    display: none;
  }
  .hero-content {
    inline-size: 60%;
    margin: 2rem auto;
    gap: 2rem;
  }
  .hero-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 4rem auto;
    cursor: auto;
  }
  .hero-gallery-grid img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
    padding: 0.5rem;
  }
  .hero-gallery-grid img:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bandb-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: masonry;
    gap: 1rem;
    height: auto;
    max-width: 95%;
    margin: 2rem auto;
  }
  .bandb-gallery-item {
    position: relative;
    overflow: hidden;
    height: 250px;
  }
  .bandb-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bandb-gallery .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bandb-gallery .gallery-item:nth-child(2n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bandb-gallery .gallery-item:nth-child(5n) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .flex-group {
    justify-content: space-evenly;
  }
  #map {
    aspect-ratio: 4/1;
    width: 100%;
  }
  .attractions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "title title" " list map";
  }
  .attraction #map {
    aspect-ratio: 1;
    height: auto;
    width: 30%;
  }
  .card-view {
    display: none;
  }
  .reviews {
    width: fit-content;
    align-content: center;
    margin: 2rem auto;
  }
  .faq-answer {
    text-align: center;
    margin: auto;
    width: 80svw;
  }
  .faq-question.active + .faq-answer {
    width: 80svw;
  }
  img:hover {
    opacity: 0.9;
  }
  ol li {
    grid-template-columns: 50svw;
  }
  /*  snippet  */
  .room-snippet {
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "room-title room-title" "image content";
    margin: auto;
    max-width: 80svw;
    margin-bottom: 2rem;
  }
  /* הכותרת לוקחת את כל השורה העליונה */
  .room-title-snippet {
    grid-area: 1/2/2/3;
    margin: auto;
  }
  /* תמונה בצד ימין */
  .room-image-snippet {
    grid-area: 1/1/6/2;
    margin-bottom: 0;
  }
  .room-content-snippet {
    grid-area: 2/2/6/3;
    margin: 0.5rem 0;
    min-width: 90%;
    text-align: center;
    padding: 2rem;
    background: none;
    gap: 1rem;
  }
  /* חדר*/
  .room-layout {
    grid-template-columns: 1fr 3fr 1fr;
    grid-template-areas: "content form gallery";
    align-items: start;
    grid-template-rows: auto;
    justify-items: center;
    margin: 2rem;
    grid-area: layout;
  }
  .room-layout > *:not(:nth-child(3)) {
    padding-top: 10ch;
  }
  .room-gallery {
    grid-area: gallery;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: masonry; /* תומך בדפדפנים חדשים */
    gap: 1rem;
    height: auto;
  }
  .room-gallery .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .room-gallery .gallery-item:nth-child(3n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  /* אפקט hover */
  .gallery-item img:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .cookie-consent img {
    width: 10svw;
    height: 10svw;
  }
  /* booking-form */
  .title-form {
    flex-direction: row;
    gap: 1rem;
  }
  #booking-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "checkin checkout" "price price" "guests guests" "fullname phone" "email email" "submit submit" "whatsapp whatsapp";
    gap: 1rem;
    padding: 2rem 1rem;
  }
  /* form */
  #form {
    text-align: center;
  }
  .text-fields {
    justify-content: center;
    grid-template-areas: "name     phone    email" "message  message  message" "submit   submit   submit ";
    padding: 1rem 0;
  }
  /* צור קשר */
  .contact {
    flex-direction: row-reverse;
    min-height: 60svh;
    align-items: center;
  }
  /* form */
  .form-section {
    min-width: 50svw;
  }
  .lightbox {
    grid-area: gallery;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
  }
  .lightbox.hidden {
    display: none;
  }
  .lightbox-image {
    max-width: 90%;
    max-height: 80%;
    margin: 0 auto;
    object-fit: contain;
  }
  .lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
  }
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 5rem;
    cursor: pointer;
    z-index: 1001;
  }
  .lightbox-prev {
    left: 1rem;
    padding-right: 10rem;
  }
  .lightbox-next {
    right: 1rem;
    padding-left: 10rem;
  }
  .lightbox-prev:hover,
  .lightbox-next:hover {
    color: #ccc;
  }
  .lightbox-pagination {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
  }
  .lightbox-pagination button {
    width: 0.5rem;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid var(--light-color);
    background-color: transparent;
    cursor: pointer;
    transition: background-color var(--animation-timing), transform var(--animation-timing);
  }
  .lightbox-pagination button.active {
    background-color: var(--light-color);
    transform: scale(1.2);
  }
  .tags-list .btn-tag {
    min-width: 10ch;
  }
  .tags-list {
    grid-template: auto/auto auto auto auto;
  }
  .feedback-card {
    min-width: 20svw;
    max-width: 20svw;
  }
  .faq-question {
    width: 80svw;
    margin: auto;
  }
  .about {
    max-width: 70svw;
    background-size: 15%;
  }
  .about .warrper-content-about {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
  }
  .about .warrper-content-about img {
    width: 25svw;
    max-height: 25svw;
    aspect-ratio: 1;
    height: auto;
    border-radius: 10%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  .about .warrper-content-about .decoration-deer {
    background-size: 50%;
    height: 20svw;
  }
  .cart-dropdown p {
    display: flex;
    column-gap: 1rem;
    justify-content: center;
  }
  .room-wrapper-form-img-video {
    display: flex;
    flex-direction: row-reverse;
    margin: 2rem auto;
    align-items: center;
    justify-items: self-end;
    width: 100%;
  }
  .room-wrapper-form-img-video .room-form {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height: inherit;
    width: 100%;
  }
  .room-wrapper-form-img-video .room-form img {
    min-height: 30svw;
    border-radius: var(--border-radius);
    min-width: 30svw;
    padding-right: 1rem;
  }
  .room-wrapper-form-img-video .room-form .text-fields {
    padding: 1rem;
    margin-bottom: 0.5rem;
    width: inherit;
    grid-gap: 2rem;
    justify-content: center;
    justify-items: center;
    margin: 2rem auto;
    display: grid;
    grid-template-areas: "name" "phone" "email" "message" "submit";
  }
  .room-wrapper-form-img-video .room-form input:invalid,
  .room-wrapper-form-img-video .room-form textarea:invalid {
    min-width: 20svw;
    min-height: 2rem;
    border-radius: inherit;
  }
}
@media (min-width: 45em) and (min-width: 35em) {
  :root {
    --fs-300: 1rem;
    --fs-400: 1.125rem;
    --fs-500: 1.5rem;
    --fs-600: 2.25rem;
    --fs-700: 3rem;
  }
}
