:root {
  --main-color: #ffffff;
  --second-color: #05073c;
  --third-color: #eb662b;
  --four-color: #717171;
  --heading1-font: 600 4.3rem/5.2rem "Inter", sans-serif;
  --heading2-font: 700 1.9rem/2rem "Inter", sans-serif;
  --heading3-font: 700 2.5rem/3rem "Inter", sans-serif;
  --paragraph-font: 400 0.9rem/100% "Inter", sans-serif;
  --small-heading: 500 0.9rem/1.5rem "Inter", sans-serif;
  --link: 500 1.1rem/1.5rem "Inter", sans-serif;
  --mid-font: 600 1.6rem/1.5rem "Inter", sans-serif;
  --border-radius: 12.5rem;
  --border-radius5: 5rem;
  --border-radius2: 2rem;
  --border-radius1: 0.8rem;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
.header {
  position: relative;
  z-index: 10;
  background: transparent;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999; /* أعلى من السويبر */
  background: #fff; /* خلفية واضحة */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.container-2 {
  width: 100%;
  margin: 0 auto;
}
.main-list {
  gap: 3rem;
  margin-block-end: 0rem;
}
.nav p,
a {
  color: var(--main-color);
  font: var(--paragraph-font);
}

/* Hero Section */
.hero-section {
  height: 100vh;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  overflow: hidden;
}

/* Swiper */
.hero-swiper {
  width: 100%;
  height: 100vh;
}

/* Slides Backgrounds */
.bg-first {
  background: url("/image/image (6).png") no-repeat center/cover;
}
.bg-second {
  background: url("/image/vecteezy_road-through-a-countryside_1862193.jpg")
    no-repeat center/cover;
}
.bg-third {
  background: url("/image/vecteezy_ai-generated-cyclists-journey-through-a-sunlit-misty_40750977\ \(1\).jpg")
    no-repeat center/cover;
}
/* Loading Screen */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000; /* خلفية سوداء */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* فوق كل العناصر */
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading.hidden {
  visibility: hidden;
}

/* Spinner */
.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #6a89ff;
  border-top: 6px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loading h2 {
  color: #fff;
  font-size: 1.5em;
  font-weight: 600;
}

/* Hero Content */
.hero-content {
  position: relative;
  inset: 40% 0 0 0;
  z-index: 1;
  text-align: center;
  color: var(--main-color);
  animation: fadeInUp 1.2s ease forwards;
}
.hero-content p {
  font: var(--paragraph-font);
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 0.3s;
}
.hero-content h1 {
  font: var(--heading1-font);
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 0.6s;
}

/* Navigation Arrows */
.next,
.prev {
  position: absolute;
  top: 50%;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}
.next {
  right: 2rem;
}
.prev {
  left: 2rem;
}
.next:hover,
.prev:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

/* Circle Elements */
.circle {
  width: 3rem;
  height: 3rem;
  border: 2px solid #e7e6e6;
  border-radius: 50%;
}

/* Buttons */
.static-btn {
  padding: 1.2rem 2rem;
  background-color: var(--third-color);
  color: var(--main-color);
  border-radius: var(--border-radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
.static-btn:hover {
  background-color: #06324d;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.featured-trips {
  width: 100%;
  background-color: #fef7f4;
  border-radius: var(--border-radius5) var(--border-radius5) 0 0;
  transform: translateY(-4rem);
  animation: fadeInUp 1s ease forwards;
}

.search-block {
  padding: 1rem;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  transform: translateY(-2rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1.2s ease forwards;
}

.search-block .content {
  gap: 0.6rem;
  transition: transform 0.3s ease;
}
.search-block .content:hover {
  transform: translateY(-4px);
}

.circle {
  width: 3rem;
  height: 3rem;
  border: 2px solid #e7e6e6;
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.3s ease;
}
.content:hover .circle {
  background: var(--third-color);
  transform: scale(1.1);
}

.description a:first-child {
  color: var(--second-color);
  font: var(--small-heading);
}
.description a:last-child {
  font: var(--paragraph-font);
  color: var(--four-color);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.content:hover .description a:last-child {
  opacity: 1;
}

.static-btn {
  padding: 1.2rem 2rem;
  background-color: var(--third-color);
  color: var(--main-color);
  border-radius: var(--border-radius);
  transition: background 0.3s ease, transform 0.3s ease;
}
.static-btn:hover {
  background-color: #06324d;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(-4rem);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.featured-content {
  width: 100%;
  background-color: #fef7f4;
  padding-block: 6rem;
}

.featured-content h2 {
  color: var(--second-color);
  font: var(--heading2-font);
  text-align: center;
  animation: fadeInDown 1s ease forwards;
}

.card-featured {
  background-color: var(--main-color);
  border-radius: 0 0 var(--border-radius2) var(--border-radius2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.img-card img {
  width: 100%;
  border-radius: var(--border-radius2) var(--border-radius2) 0 0;
  transition: transform 0.4s ease;
}
.card-featured:hover .img-card img {
  transform: scale(1.05);
}

.content-card {
  padding: 1.5rem 0.5rem 0.5rem 0.5rem;
  position: relative;
  animation: fadeInUp 1s ease forwards;
}

.title-card h3 a {
  color: var(--second-color);
  font: var(--small-heading);
  transition: color 0.3s ease;
}
.title-card h3 a:hover {
  color: var(--third-color);
}

.title-card a {
  color: var(--four-color);
  font: var(--paragraph-font);
}

.line {
  display: block;
  width: 90%;
  height: 2px;
  background-color: #e7e6e6;
  margin: 0.5rem auto;
}

.foot-card a {
  color: var(--four-color);
  font: var(--paragraph-font);
  transition: color 0.3s ease;
}
.foot-card a:hover {
  color: var(--second-color);
}

.float-row {
  width: 100%;
  border-radius: var(--border-radius2) var(--border-radius2) 0 0;
  background-color: var(--main-color);
  padding: 1rem;
  position: absolute;
  top: -1rem;
  left: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  animation: fadeInUp 1s ease forwards;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--border-radius2);
  transition: transform 0.4s ease;
}

.gallery-grid > div {
  position: relative;
  overflow: hidden;
}

.gallery-grid > div:hover img {
  transform: scale(1.08);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-align: center;
  padding: 0.8rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  font: var(--paragraph-font);
}
.gallery-grid > div:hover .overlay {
  opacity: 1;
}

.grid-item2 {
  grid-column: span 2;
}
.grid-item3 {
  grid-column: span 2;
  grid-row: span 2;
}

.heading-gallery h2 {
  color: var(--second-color);
  font: var(--heading2-font);
  margin-block-end: 2rem;
  text-align: center;
  animation: fadeInDown 1s ease forwards;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.book-now {
  width: 100%;
  margin-block: 5rem;
  animation: fadeInUp 1s ease forwards;
}

.content-book {
  gap: 1rem;
  background: url("/image/image (16).png") no-repeat;
  padding-block-start: 3rem;
  padding-block-end: 1rem;
  padding-inline: 6rem;
  border-radius: var(--border-radius1);
  animation: fadeInLeft 1.2s ease forwards;
}

.content-book h2 {
  color: var(--second-color);
  font: var(--heading3-font);
}
.content-book h2 > span {
  color: var(--third-color);
}

.content-book p {
  font: var(--paragraph-font);
  color: var(--four-color);
  opacity: 0.9;
}

.book-now .content-book .static-btn {
  border-radius: var(--border-radius1);
  text-align: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.book-now .content-book .static-btn:hover {
  background-color: #06324d;
  transform: translateY(-4px);
}

.book-now .img-book img {
  border-radius: var(--border-radius1);
  transform: translateX(-3rem);
  transition: transform 0.5s ease;
}
.book-now .img-book img:hover {
  transform: translateX(-3rem) scale(0.99);
  -webkit-transform: translateX(-3rem) scale(0.99);
  -moz-transform: translateX(-3rem) scale(0.99);
  -ms-transform: translateX(-3rem) scale(0.99);
  -o-transform: translateX(-3rem) scale(0.99);
}

.shap-img {
  position: relative;
  z-index: 3;
  animation: bounce 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.top-attractions {
  width: 100%;
  margin-block: 5rem;
  animation: fadeInUp 1s ease forwards;
}

.item-attractions {
  margin-block-end: 2rem;
  padding: 1rem;
  border-radius: var(--border-radius1);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item-attractions:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.img-attractions img {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius1);
  transition: transform 0.4s ease;
}
.item-attractions:hover .img-attractions img {
  transform: scale(1.1);
}

.content-attractions {
  gap: 0.5rem;
}
.content-attractions a:first-child {
  color: var(--second-color);
  font: var(--link);
  transition: color 0.3s ease;
}
.content-attractions a:first-child:hover {
  color: var(--third-color);
}
.content-attractions a:nth-child(2) {
  color: var(--four-color);
  font: var(--paragraph-font);
  opacity: 0.9;
}

.heading-top-attractions h2 {
  color: var(--second-color);
  font: var(--heading2-font);
  margin-block-end: 2rem;
  animation: fadeInDown 1s ease forwards;
}
.heading-top-attractions a {
  color: var(--four-color);
  font: var(--paragraph-font);
  transition: color 0.3s ease;
}
.heading-top-attractions a:hover {
  color: var(--third-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.customer-reviews {
  margin-block: 5rem;
  animation: fadeInUp 1s ease forwards;
}

.heading-customer-reviews h2 {
  color: var(--second-color);
  font: var(--heading2-font);
  animation: fadeInDown 1s ease forwards;
}

.row-2 .col-1 img {
  opacity: 0.6;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.row-2 .col-1 img:hover {
  transform: scale(1.1);
  opacity: 1;
}

.row-2 .col-10 h3 {
  color: var(--third-color);
  font: var(--small-heading);
  margin-bottom: 1rem;
  animation: fadeInUp 1.2s ease forwards;
}
.row-2 .col-10 p {
  color: var(--second-color);
  font: var(--paragraph-font);
  line-height: 1.6;
  opacity: 0.9;
  animation: fadeIn 1.5s ease forwards;
}

.row-2 .col-4 a {
  color: var(--four-color);
  font: var(--paragraph-font);
  display: block;
  margin-block-end: 1rem;
  transition: color 0.3s ease;
}
.row-2 .col-4 a:hover {
  color: var(--third-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.app-booking {
  background: url("/image/Frame.png") no-repeat center/cover;
  width: 100%;
  padding-inline-start: 4rem;
  margin-block-start: 2rem;
  border-radius: var(--border-radius1);
  animation: fadeInUp 1s ease forwards;
}

.app-booking h3 {
  color: var(--main-color);
  font: var(--heading3-font);
  animation: fadeInDown 1s ease forwards;
}

.app-booking p {
  color: var(--main-color);
  font: var(--paragraph-font);
  opacity: 0.9;
  animation: fadeIn 1.5s ease forwards;
}

.magic-link {
  color: var(--third-color);
  font: var(--paragraph-font);
  text-decoration: underline;
  transition: color 0.3s ease;
}
.magic-link:hover {
  color: var(--second-color);
}

.input input {
  padding: 1rem 2.5rem;
  border: none;
  border-radius: var(--border-radius1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.input input:focus {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.input a {
  color: var(--four-color);
  background-color: var(--main-color);
  padding: 1.3rem 2rem;
  border-radius: var(--border-radius1);
  transition: background 0.3s ease, transform 0.3s ease;
}
.input a:hover {
  background-color: #06324d;
  transform: translateY(-3px);
}

.app-booking img {
  border-radius: var(--border-radius1);
  transition: transform 0.5s ease;
}
.app-booking img:hover {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.travel-articles .title-card a {
  color: var(--second-color);
  font: var(--paragraph-font);
}
.travel-articles .card-featured img {
  border-radius: var(--border-radius1);
  -webkit-border-radius: var(--border-radius1);
  -moz-border-radius: var(--border-radius1);
  -ms-border-radius: var(--border-radius1);
  -o-border-radius: var(--border-radius1);
}
.footer {
  background-color: #f8f9fa;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.title-foot {
  font: var(--small-heading);
  color: var(--second-color);
  margin-bottom: 1rem;
}
.title-foot h6 {
  font-weight: 600;
  color: var(--main-color);
}
.title-foot span {
  color: var(--third-color);
  font-weight: bold;
}
.title-foot a {
  color: var(--second-color);
  font-weight: 500;
  transition: color 0.3s ease;
}
.title-foot a:hover {
  color: var(--third-color);
}

.line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.column-foot h6 {
  font-weight: 600;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}
.column-foot a {
  color: var(--four-color);
  font: var(--paragraph-font);
  transition: color 0.3s ease;
}
.column-foot a:hover {
  color: var(--third-color);
}

.form-foot p {
  font: var(--paragraph-font);
  color: var(--four-color);
  margin-bottom: 0.5rem;
}
.form-foot .email {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius1);
  outline: none;
  transition: border-color 0.3s ease;
}
.form-foot .email:focus {
  border-color: var(--third-color);
}

.footer .column-foot a:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .title-foot {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .form-foot .email {
    width: 100%;
    margin-inline: auto;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

ul {
  list-style-type: none;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
.nav {
  padding-block: 1.5rem;
}
.container-2 {
  width: 100%;
  margin: 0 auto;
}
.main-list {
  gap: 2rem;
  margin-block-end: 0rem;
}
.nav p,
a {
  color: var(--second-color);
  font: var(--paragraph-font);
}
.nav .col-4 a {
  color: var(--four-color);
}
.static-btn {
  padding: 1.5rem;
  background-color: var(--third-color);
  color: var(--main-color);
  border-radius: var(--border-radius);
  -webkit-border-radius: var(--border-radius);
  -moz-border-radius: var(--border-radius);
  -ms-border-radius: var(--border-radius);
  -o-border-radius: var(--border-radius);
}
.heading-title .row .col-3 a {
  color: var(--four-color);
  font: var(--paragraph-font);
}
.heading-title .row:last-child h1 {
  color: var(--second-color);
  font: var(--heading3-font);
  margin-block-start: 3rem;
}

/* ========== Aside Section ========== */
.aside {
  max-height: 90vh;
  border-radius: var(--border-radius2) var(--border-radius2) 0 0;
  overflow-y: auto;
}
.aside .col-12 {
  padding: 0;
}

.where-travle {
  padding: 1rem;
  background-color: var(--third-color);
  border-radius: var(--border-radius2) var(--border-radius2) 0 0;
}
.title h6 {
  color: var(--main-color);
  font: var(--small-heading);
}
.history {
  padding: 0.5rem 1.5rem;
  background-color: var(--main-color);
  border-radius: var(--border-radius1);
}
.history p {
  color: var(--four-color);
  font: var(--paragraph-font);
  margin: 0;
}
.tour-type {
  background-color: var(--main-color);
  padding: 1rem;
}
.input {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.input label {
  color: var(--four-color);
}

/* Accordion */
.accordion-button::after {
  display: none;
}
.accordion-item,
.accordion-button,
.accordion-body {
  border: none !important;
  box-shadow: none !important;
  padding: 0;
}
.line {
  display: block;
  width: 90%;
  height: 0.05rem;
  background-color: var(--four-color);
  margin-inline: auto;
  margin-block-end: 1.5rem;
}
.custom-toggle {
  color: var(--second-color);
  font: var(--link);
}

/* ========== Main Section ========== */
.section {
  border: 1px solid var(--four-color);
  padding: 1.5rem;
  border-radius: var(--border-radius1);
  margin-block-end: 2rem;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.section:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Left side */
.img-left img {
  height: auto;
  border-radius: var(--border-radius1);
  max-width: 160px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.section:hover .img-left img {
  transform: scale(1.05);
}

.content-left {
  padding-block: 1rem;
}
.content-left h6 a {
  font: var(--link);
  color: var(--second-color);
  transition: color 0.3s ease;
}
.content-left h6 a:hover {
  color: var(--third-color);
}
.content-left p {
  color: var(--four-color);
  font: var(--paragraph-font);
  line-height: 1.6;
}
.choose {
  margin-block-start: 1rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.choose a {
  color: var(--third-color);
  font: var(--small-heading);
  transition: opacity 0.3s ease;
}
.choose a:hover {
  opacity: 0.7;
}

/* Divider */
.vertical-line {
  display: block;
  width: 0.05rem;
  background-color: var(--four-color);
  margin-inline: 1rem;
}

/* Right side */
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.link-r a,
.linkr a {
  font: var(--paragraph-font);
  color: var(--second-color);
}
.link-border {
  padding: 1rem 1.5rem;
  border: 2px solid var(--third-color);
  border-radius: var(--border-radius1);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.link-border a {
  color: var(--third-color);
  font: var(--small-heading);
}
.link-border:hover {
  background-color: var(--third-color);
}
.link-border:hover a {
  color: #fff;
}

/* ========== Grid Layout ========== */
.grid-container {
  max-width: 88%;
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 20% auto;
  grid-template-rows: auto 1fr 1fr auto;
  grid-template-areas:
    "header header"
    "aside main"
    "aside main"
    "footer footer";
  gap: 10px;
}
.header {
  grid-area: header;
}
.aside {
  grid-area: aside;
}
.main {
  grid-area: main;
  margin-top: 2rem;
}
.footer {
  grid-area: footer;
}

/* ========== Responsive Media Queries ========== */

/* Small devices */
@media (max-width: 576px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "header"
      "aside"
      "main"
      "footer";
  }
  .section {
    flex-direction: column;
  }
  .aside {
    max-height: none;
  }
  .main {
    margin-top: 1rem;
  }
}

/* Medium devices */
@media (min-width: 577px) and (max-width: 768px) {
  .grid-container {
    grid-template-columns: 30% 70%;
  }
  .section {
    flex-direction: column;
  }
}

/* Large devices */
@media (min-width: 769px) and (max-width: 992px) {
  .grid-container {
    grid-template-columns: 25% 75%;
  }
}

/* Extra large devices */
@media (min-width: 993px) {
  .grid-container {
    grid-template-columns: 20% 80%;
  }
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--main-color);
  cursor: pointer;
}

/* القائمة الافتراضية */
.main-list {
  gap: 1.5rem;
  transition: all 0.3s ease;
}
.app-booking h3 {
  font-weight: bold;
}
.app-booking .magic-link {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--main-color);
  text-decoration: underline;
}
.app-booking .send {
  padding: 0.6rem 1.2rem;
}
/* Small devices (max-width: 576px) */
@media (max-width: 576px) {
  .container {
    width: 100%;
    padding-inline: 1rem;
  }
  .featured-trips .col-8 {
    width: 100%;
  }
  .nav .col-sm-1 {
    display: none;
  }

  .search-block {
    flex-direction: column;
    align-items: center;
    border-radius: 2rem;
    gap: 1rem;
  }
  .search-block .col-3 {
    width: 100%;
  }
  .search-block .content {
    justify-content: flex-start !important;
  }
  .content-book .static-btn {
    width: 100% !important;
  }
  .search-block .col-3 .search-btn {
    justify-content: flex-start !important;
  }
  .next,
  .prev {
    display: none;
  }
  .hero-content {
    top: 50%;
  }
  .hero-content h1 {
    width: 100%;
    text-align: center;
    font: var(--mid-font);
  }
  .nav .row {
    justify-content: center !important;
  }
  .nav .col-4 {
    width: 50%;
  }
  .logo a {
    justify-content: flex-start !important;
  }
  .nav a {
    font: var(--paragraph-font);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid div {
    grid-column: span 2;
  }
  .book-now .row {
    flex-direction: column-reverse;
  }
  .book-now .col-6 {
    width: 100%;
  }
  .book-now .img-book {
    margin-inline-start: 2rem;
  }
  .book-now .col-4 {
    width: 35%;
  }
  .parent {
    columns: 1;
    gap: 1.3rem;
  }
  .item-attractions {
    justify-content: center;
  }
  .row-2 .col-1 {
    width: 20%;
  }
  .row-2 .col-10 {
    width: 40%;
  }
  .row-2 .col-6 {
    width: 100%;
  }
  .app-booking .row .col-6 {
    width: 100%;
    flex-direction: column;
  }
  .app-booking .row .col-5 {
    width: 100%;
  }
  .app-booking h3 {
    font-size: 1.6rem;
  }
  .app-booking .input {
    flex-direction: column;
  }
  .app-booking .send {
    width: 100%;
    text-align: center;
  }
  .footer-content {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 2rem;
  }
  .column-foot a {
    margin-block-end: 1rem;
  }
  .footer-content .form-foot .email {
    padding: 1.3rem;
    border: none;
    border-radius: var(--border-radius1);
    margin-block-end: 1rem;
  }
}

/* Medium devices (min-width: 578px and max-width: 768px) */
@media (min-width: 578px) and (max-width: 768px) {
  .nav .col-4 {
    width: 50%;
  }
  .featured-trips .col-8 {
    width: 100%;
  }
  .search-block {
    flex-direction: column;
    align-items: center;
    border-radius: 2rem;
    gap: 1rem;
  }
  .search-block .col-3 {
    width: 100%;
  }
  .search-block .content {
    justify-content: flex-start !important;
  }
  .search-block .col-3 .search-btn {
    justify-content: flex-start !important;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid div {
    grid-column: span 2;
  }
  .book-now .col-6 {
    width: 100%;
  }
  .book-now .img-book {
    transform: translateX(0);
  }
  .left-section .col-1 {
    flex-basis: 8%;
  }
  .parent {
    columns: 2;
  }
  .row-2 .col-1 {
    width: 20%;
  }
  .row-2 .col-10 {
    width: 40%;
  }
  .row-2 .col-6 {
    width: 100%;
  }
  .footer-content {
    grid-template-rows: repeat(4, 1fr);
    gap: 1rem;
  }
}

/* Large devices (min-width: 769px and max-width: 992px) */
@media (min-width: 769px) and (max-width: 992px) {
  .book-now .col-6.img-book {
    transform: translateX(0);
  }
  .content-book {
    padding: 2rem;
  }
  .row-2 .col-1 {
    width: 20%;
  }
  .row-2 .col-10 {
    width: 40%;
  }
  .row-2 .col-6 {
    width: 100%;
  }
}

/* Extra large devices (min-width: 993px and max-width: 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
  .content-book {
    padding: 1rem;
  }
  .shap-img {
    margin-inline-end: 1rem;
  }
}

/* Grid Layout for <=678px */
@media (max-width: 678px) {
  .nav .row .col-4 {
    width: 50%;
  }
  .heading-title .col-3 {
    width: 50%;
  }
  .heading-title h1 {
    font: var(--heading2-font) !important;
  }
  .main-list {
    display: none !important;
  }
  .footer-content {
    grid-template-rows: repeat(5, auto);
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .section {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: var(--border-radius1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
  .section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .vertical-line {
    display: none;
  }

  .img-left img {
    max-width: 90%;
    margin-inline: auto;
    border-radius: var(--border-radius1);
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .section:hover .img-left img {
    transform: scale(1.05);
  }

  .content-left {
    padding: 0.5rem 0;
  }
  .content-left h6 a {
    font: var(--link);
    color: var(--second-color);
    transition: color 0.3s ease;
  }
  .content-left h6 a:hover {
    color: var(--third-color);
  }
  .content-left p {
    font: var(--paragraph-font);
    color: var(--four-color);
    line-height: 1.6;
  }

  .choose {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    margin-top: 1rem;
  }
  .choose a {
    font: var(--small-heading);
    color: var(--third-color);
    transition: opacity 0.3s ease;
  }
  .choose a:hover {
    opacity: 0.7;
  }

  .right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .link-border {
    width: 100%;
    max-width: 250px;
    margin-top: 1rem;
    border: 2px solid var(--third-color);
    border-radius: var(--border-radius1);
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .link-border a {
    font: var(--small-heading);
    color: var(--third-color);
  }
  .link-border:hover {
    background-color: var(--third-color);
  }
  .link-border:hover a {
    color: #fff;
  }
}
.hero-section,
.swiper-slide {
  width: 100%;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 1rem;
    text-align: center;
  }

  .hero-content h1 {
    width: 100% !important;
    font-size: 1.5rem;
  }

  .hero-content p {
    width: 100%;
    font-size: 1rem;
  }
}
