.page-style{
    background-color: var(--background-color);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}
.page-style-tour-title{
    font-size: 30px;
    display: flex;
    justify-content: end;
    font-weight: bold;
    text-align: right;
    width: 100%;
    font-family: var(--font-main);
    color: var(--black-color);
}
.details-section-style{
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
}
.details-section-data-style{
    flex: 9;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    flex-direction: row;
}
.details-section-action-style{
    flex: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
}
.details-section-action-icon-style{
    margin-right: 2px;
    width: 15px;
    height: 15px;
}
.details-section-action-empty-style{
    width: 20px;
    height: 100%;
}
.details-section-action-text-style{
    margin-right: 5px;
    font-family: var(--font-main);
    color: var(--black-color);
}
.details-section-action-text-red-style{
    color: var(--red-color);
    margin-right: 5px;
    font-family: var(--font-main);
}
.change-action-button{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    padding: 0 30px;
    color: var(--background-color);
    background-color: var(--pink-color);
    text-decoration: none;
    font-weight: bold;
    font-family: var(--font-main);
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
}

/* === IMAGES GALLERY === */
.gallery-wrapper {
  display: flex;
  width: 100%;
  height: 470px;
  min-height: 470px;
  gap: 20px;
  box-sizing: border-box;
  position: relative;
}
/* Left & Right split equally */
.gallery-left,
.gallery-right {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  height: 470px;
  min-height: 470px;
}
/* Right side split vertically */
.gallery-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* Top and Bottom proportions */
.gallery-right-top {
  flex: 40; /* 40% of height */
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 180px;
  min-height: 180px;
}
.gallery-right-bottom {
  flex: 60; /* 60% of height */
  display: flex;
  gap: 20px;
  height: 270px;
  min-height: 270px;
}
/* Bottom left/right split 60/40 */
.gallery-right-bottom-left {
  flex: 60;
  border-radius: 20px;
}
.gallery-right-bottom-right {
  flex: 40;
  border-radius: 20px;
}
.gallery-left img,
.gallery-right-top img,
.gallery-right-bottom-left img,
.gallery-right-bottom-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
.gallery-see-more-button {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--background-color);
  color:var(--pink-color);
  border: none;
  border-radius: 25px;
  padding: 10px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.gallery-see-more-button:hover {
    background: var(--pink-color);
    color:var(--background-color);
}
/* === POPUP === */
.gallery-popup {
  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;
  z-index: 9999;
}
.gallery-popup.hidden {
  display: none;
}
.gallery-popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  max-width: 90%;
  max-height: 85%;
  overflow-y: auto;
  position: relative;
}
.close-popup {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #000;
}
.gallery-popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(550px, 1fr));
  gap: 15px;
}
.popup-image-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}
.main-section-style{
    width: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    font-family: var(--font-main, sans-serif);
}
.main-section-data-style{
    flex: 7;
    height: 100%;
}
.main-section-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: right;
    color: var(--black-color);
    font-family: var(--font-main);
}
.main-section-paragraph {
    font-size: 16px;
    line-height: 1.6;
    text-align: right;
    color: var(--black-color);
    font-family: var(--font-main);
    width: 100%;
    direction: rtl;
}
.main-section-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    list-style: none;
    column-gap: 30px;
    row-gap: 10px;
    direction: rtl;
}
.main-section-line-style{
    width: 100%;
    height: 1px;
    margin-top: 10px;
    display: flex;
    background-color: var(--black-color);
}
.three-column-list {
    list-style-type: disc;
    color: var(--black-color);
    font-family: var(--font-main);
    font-size: 16px;
}
.custom-list-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    direction: rtl;
    gap: 20px;
}
.custom-item {
    position: relative;
    color: var(--black-color);
    font-family: var(--font-main);
    text-align: right;
}
.custom-item-green{
    position: relative;
    color: var(--black-color);
    font-family: var(--font-main);
    text-align: right;
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
}
.custom-text {
    margin-top: 5px;
    font-size: 16px;
    text-align: right;
    font-family: var(--font-main);
}
.custom-text-green{
    margin-right: 5px;
    font-size: 16px;
    text-align: right;
    font-family: var(--font-main);
    color: green;
}
.tooltip {
  position: fixed;
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  z-index: 9999;
  max-width: 260px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.tooltip.hidden { display: none; }
.tooltip ul {
  padding-left: 18px;
  margin: 0;
}
.tooltip li {
  list-style-type: disc;
  margin-bottom: 4px;
}
.main-section-action-style{
    flex: 3;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
    height: 100%;
    position: relative;
}
.main-section-action-titles-style{
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: row;
}
.main-section-action-titles-img-style{
    flex: 1;
    display: flex;
    justify-content: end;
    align-items: center;
    flex-direction: column;
}
.main-section-action-titles-text-style{
    justify-content: center;
    align-items: center;
    flex: 1;
}
.form-img{
   height: 90%;
}
.form-title{
    font-size: 20px;
    text-align: right;
    color: var(--black-color);
    font-family: var(--font-main);
    width: 100%;
}
.form-subtitle{
    font-size: 16px;
    text-align: right;
    color: var(--gray-2-color);
    font-family: var(--font-main);
    width: 100%;
    font-weight: bold;
}
.two-line-button {
    width: 80%;
    padding: 20px;
    background-color: var(--red-color);
    color: var(--background-color);
    font-family: var(--font-main);
    border: none;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    direction: rtl;
  }
  .two-line-button .line1 {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 34px;
    font-weight: bold;
  }
  .two-line-button .line2 {
    display: block;
    margin: 0;
    line-height: 1;
    padding: 0;
    font-size: 14px;
    font-weight: normal;
  }
.form-group-small{
    background-color: var(--gray-color);
    margin-top: 2px;
    font-family: var(--font-main);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
}
.selected-date-text {
    font-size: 20px;
    text-align: center;
    margin: 0;
    margin-top: 20px;
    color: var(--black-color);
}
.date-explanation {
    font-size: 22px;
    color:var(--black-color);
    text-align: center;
    font-weight: bold;
    margin: 5px;
    margin-bottom: 6px;
}
.select-time-button {
    background-color: var(--black-color);
    color: var(--background-color);
    padding: 12px 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}
.time-picker-wrapper {
    background-color: var(--gray-color);
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    max-width: 320px;
    margin-top: 10px;
}
.form-group-small-row{
    background-color: var(--gray-color);
    margin-top: 10px;
    font-family: var(--font-main);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 80%;
}
.big-label{
    font-family: var(--font-main);
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: var(--dark-gray-color);
    font-weight: bold;
}
.big-label-red{
    font-family: var(--font-main);
    font-size: 22px;
    color: var(--red-color);
    font-weight: bold;
}
.submit-button-80{
    margin-top: 10px;
    background-color: var(--red-color);
    color: var(--background-color);
    border: none;
    width: 80%;
    height: 60px;
    line-height: 60px;
    border-radius: 30px;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
.input-number-small{
    text-align: center;
    display: flex;
    flex: 1;
    min-width: 100px;
    min-height: 100%;
    border-radius: 10px 0 10px 0;
    margin-right: 10px;
    margin-left: 10px;
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: bold;
    background-color:blueviolet;
}
.form-group-small-row-label{
    font-family: var(--font-main);
    font-size: 22px;
    margin-top: 20px;
    height: 100%;
    text-align: right;
    flex: 6;
    margin-bottom: 20px;
    color: var(--dark-gray-color);
    font-weight: bold;
}
.form-group-small-row-icon{
    flex: 1;
    width: 30px;
    height: 30px;
    margin-right: 10px;
}



.banner-line {
    width: 100%;
    background-color: var(--red-color);
    color: white;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 5;
    padding-left: 100%;
    box-sizing: border-box;
    direction: rtl;
  }
  
  .marquee-line-track {
    white-space: nowrap;
    display: inline-block;
    animation: scroll-right-left 15s linear infinite;
    font-size: 20px;
    font-weight: bold;
    font-family: var(--main-font, sans-serif);
  }
  
  /* Keyframes to scroll text from right to left */
  @keyframes scroll-right-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }


  .custom-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns */
  grid-template-rows: auto auto; /* Two rows in left */
  grid-template-areas: 
    "left-top right"
    "left-bottom-left right"
    "left-bottom-right right";
  gap: 10px;
  max-width: 1000px;
  margin: auto;
}

.left-top {
  grid-area: left-top;
  background: #eee;
  padding: 20px;
}

.left-bottom-left {
  grid-area: left-bottom-left;
  background: #ddd;
  padding: 20px;
}

.left-bottom-right {
  grid-area: left-bottom-right;
  background: #ccc;
  padding: 20px;
}

.right {
  grid-area: right;
  background: #bbb;
  padding: 20px;
  grid-row: 1 / span 3; /* span all 3 rows */
}


.contact-us-private-tour-submit-button {
    margin-top: 20px;
    background-color: var(--red-color);
    color: var(--background-color);
    padding: 12px 30px;
    border: none;
    width: 100%;
    border-radius: 25px;
    font-family: var(--font-main);
    font-size: 16px;
    cursor: pointer;
    height: 50px;
    font-weight: bold;
}
.contact-us-private-tour-submit-button.clickable {
  cursor: pointer;
  transition: background-color 0.2s ease;
}











.form-group-second {
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 16px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* Hide the dummy input if you’re using inline mode */
#calendar-public {
  display: none !important;
}
/* Actual calendar container (visible) */
.flatpickr-calendar {
  width: 100% !important;
  height: auto;
  background-color: var(--background-color);
  border-radius: 20px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  font-family: var(--main-font);
  direction: rtl;
}
.flatpickr-days,
.dayContainer {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
}
/* Month navigation bar */
.flatpickr-months {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--dark-gray-color);
}
/* Day grid control — adjust cell size here */
.dayContainer {
  width: 370px !important;
  display: grid !important;
  grid-template-columns: repeat(7, 1fr); /* evenly divide into 7 */
  gap: 10px !important;
  justify-items: stretch;
  align-items: center;
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}
/* Individual days */
.flatpickr-days {
  width: 370px !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
}

/* Each day square */
.flatpickr-day {
  width: 52px !important;
  aspect-ratio: 1/1;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  margin: 0 !important;
  line-height: normal !important;
  max-width: none !important;
  box-sizing: border-box;
  background-color: var(--red-color);
  transition: all 0.2s ease;
}

/* Optional: Adjust day text and prevent shift when selected */
.flatpickr-day.selected,
.flatpickr-day.today {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

/* Remove padding or extra offsets applied by Flatpickr */
.flatpickr-day:before,
.flatpickr-day:after {
  display: none !important;
}


.flatpickr-day.has-tooltip {
  position: relative;
  cursor: pointer;
}

.calendar-tooltip {
  position: absolute;
  bottom: 130%; /* show above the date cell */
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 9999;
}

.calendar-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.85) transparent transparent transparent;
}

.flatpickr-day.has-tooltip:hover .calendar-tooltip {
  opacity: 1;
}