/* === Root Variables === */
:root {
  --max-width: 1200px;
  --main-color: #db0000;
  --sub-color: #676767;
  --main-font-color: #343a40;
  --sub-font-color: #6c757d;
}

/* === Base === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Titillium Web", sans-serif;
  color: var(--main-font-color);
  background: #f9f9f9;
  overflow-x: hidden;
}

html {
  font-size: 16px;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
  padding-top: 150px;
}

.color1 {
  color: var(--main-color);
}

color1 {
  color: var(--main-color);
}
.color2 {
  color: var(--sub-color);
}

.logo-font {
  font-family: "Bilbo", cursive;
  font-size: 2rem;
}

.title-page {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.desc-page {
  font-size: 1.8rem;
  text-align: justify;
  padding-top: 40pt;
}

.title-box {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.desc-box {
  font-size: 1.2rem;
}

.title-section {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--main-color);
}

.desc-section {
  font-size: 1.4rem;
  padding: 24px;
  text-align: justify;
}

.desc-section p {
  line-height: 60px;
  width: 80%;
  padding: 0 30px;
  margin: 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

/* === image hero === */

.video-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  /* width: 100%; */
  /* height: 100vh; */
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: contain;
}

.video-overlay {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3); /* optional dark overlay */
}

.bg-video img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffffa1;

  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 999;
}

.nav-container {
  max-width: var(--max-width);
  margin: auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 80%;
  max-width: 320px;
  transition: max-width 0.3s ease;
}

/* When scrolled */
.scrolled.logo {
  max-width: 250px;
}

.scrolled.navbar {
  background: #ffffff !important;
}

.nav-menu {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-links li a {
  position: relative;
  font-size: 1.1rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 3px;
  background-color: var(--main-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  transform: scaleX(1);
}

.nav-links li a.active {
  color: var(--main-color);
  /* font-weight: 600; */
}

.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #ddd;
  top: 100%;
  left: 0;
  min-width: 160px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin-top: 10px;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
}

.submenu li a:hover {
  background: #f5f5f5;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-icon span {
  display: block;
  height: 3px;
  width: 25px;
  background-color: #333;
}

/* === Hero === */
.row-full.hero {
  width: 100%;
  height: 50vh;
  background-image: url("./imgs/main-page.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
}

.hero-content {
  text-align: center;
  /* backdrop-filter: brightness(0.9); */
}

/* .hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  /* background-color: #1e1e1e80;
} */

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 6px #2d2929;
  letter-spacing: 2px;
  text-transform: uppercase;
  /* background-color: #1e1e1e80; */
}

.hero-title-home {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
}

/* === Layout Rows === */
.row-reverse,
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  min-height: 400px;
}

.half-height {
  max-height: 250px !important;
  min-height: 250px !important;
}

.height-3 {
  max-height: 300px !important;
  min-height: 300px !important;
}

.half-height .title-box {
  width: 50% !important;
}

.half-height-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  /* min-height: 400px; */
}

.height-3-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  /* min-height: 400px; */
}

.row-1 .full-width {
  flex: 1 1 100%;
}

.row-2 .one-half {
  flex: 1 1 calc((100% - 16px) / 2);
}

.row-2 .one-third {
  flex: 1 1 calc((100% - 16px) / 3);
}

.row-2 .two-thirds {
  flex: 1 1 calc((100% - 16px) * 2 / 3);
}

.row-3 .one-third {
  flex: 1 1 calc((100% - 32px) / 3);
}

.row-full {
  width: 100%;
  padding: 0;
}

.row-full .cell {
  width: 100%;
  padding: 24px 20px;
  background: #fff;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

.cell {
  background-color: #fff;
  background-position: center;
  background-size: cover;
  border: 1px solid #ddd;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  min-height: 400px;
}

.cell:not(:has(img)) {
  padding: 24px;
  line-height: 1.6;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* padding: 10px; */
  /* border: 1px solid #ccc; */
  /* box-sizing: border-box; */
}

.col .desc-title {
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}

.spacer {
  flex-grow: 1;
}

/* === Footer === */
.footer {
  width: 100%;
  background-color: #1e1e1e;
  color: #f1f1f1;
  margin-top: 40px;
  font-size: 0.95rem;
}

.footer-top {
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 20px;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer a {
  color: #ddd;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ****************** */

.social-icons a {
  /* margin: 0 10px 0 0; */
  /* border: 1px solid green; */
  color: #555;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0 10px;
}

.social-icons a.facebook:hover {
  color: #1877f2;
}
.social-icons a.twitter:hover {
  color: #000000;
}
.social-icons a.instagram:hover {
  color: #e4405f;
}
.social-icons a.linkedin:hover {
  color: #0077b5;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  position: relative; /* Needed for positioning the close button */
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  width: 500px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 18px;
  color: var(--main-font-color);
}

.modal-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #e91e63;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #000;
}

.footer-bottom {
  text-align: center;
  background-color: #181818;
  color: #aaa;
  padding: 16px 20px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
}

.footer-logo {
  /* border: 1px solid white; */
  width: 200px;
  /* margin: 0 auto; */
  height: 100%;
  padding-top: 10%;
}

.col .title-box {
  width: 100% !important;
}

/* ITEM STYLES */
.btn {
  display: inline-block;
  padding: 10px 28px;
  margin: 20px 0 20px 0;
  font-size: 16px;
  color: white;
  text-decoration: none;
  background: linear-gradient(
    to right,
    var(--main-font-color) 50%,
    var(--sub-color) 50%
  );
  background-size: 200% 100%;
  background-position: right bottom;
  border: none;
  cursor: pointer;
  transition: background-position 0.4s ease, box-shadow 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-position: left bottom;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  /* transform: translateY(-2px); */
}

/*  About us */
.row-full.inside {
  width: 100%;
  height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; /* 22-6  :end */
  justify-content: center; /* added 22-6 */
  color: white;
  position: relative;
  top: 130px;
}

.inside > .hero-content {
  padding: 5pt 12pt;
}

.mission-txt {
  line-height: 40px;
}

/*  Services  */

.desc-page ul {
  list-style: none;
}

#dubai,
#abu_dhabi,
#desert_safari,
#dhow_cruise,
#theme_park_tickets,
#burj_khalifa,
#entertainment {
  scroll-margin-top: 150px;
}

.price {
  display: flex;
  /* display: none; */
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.price > div:nth-child(2) {
  border-bottom: 2px solid var(--sub-color);
}

.price div b {
  font-size: 2.1rem;
  padding: 0 5px 0 5px;
  color: var(--sub-color);
}

.only-title {
  display: flex;
  justify-content: center; /* horizontal centering (optional) */
  align-items: center; /* vertical centering */
  height: 100%; /* or set a specific height */
  border: 1px solid #ccc; /* for visual reference */
}

.only-title .title-box {
  width: 100%;
  text-align: center;
  padding: 10pt;
  background-color: #6c757d40;
  font-size: 2.5rem;
}

/* ------------ Tables --------------  */

.container {
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.card {
  /* display: flex; */
  display: none;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  margin-bottom: 10px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  flex-direction: column;
}

.field {
  display: flex;
  margin-bottom: 4px;
  font-size: 15px;
  flex-wrap: wrap;
}

.field span {
  font-weight: bold;
  margin-right: 5px;
  color: #333;
}

/*  ------------------------ Contact us ---------------------  */

.contact-hero {
  background: url("./imgs/main-page.jpg") center center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  text-align: center;
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.contact-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-subtitle {
  font-size: 1.2rem;
}

/* === Contact Form Section === */
.row-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  /* padding: 40px 20px; */
}

.contact-info,
.contact-form {
  flex: 1 1 48%;
  background-color: #fff;
  padding: 24px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--main-color);
}

.contact-info p {
  margin-bottom: 12px;
  font-size: 1rem;
}

.contact-info a {
  color: var(--main-color);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* === Form Elements === */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 4px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--main-color);
  color: #fff;
  padding: 12px 20px;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-submit:hover {
  background-color: #b00000;
}

.row-contact-map {
  margin-top: 40px;
  padding: 0 20px;
}

.map-wrapper {
  width: 100%;
  height: 500px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* ---------------------------------------------------------------- */
/*  */
.bg-services {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.bg-services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./imgs/bg-services.jpg");
  background-size: cover;
  background-position: center;
  /* filter: blur(2px); */
  z-index: -1;
}

/*  */
.bg-contact {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.bg-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./imgs/bg-contact.jpg");
  background-size: cover;
  background-position: center;
  /* filter: blur(2px); */
  z-index: -1;
}

/*  */
.bg-offers {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.bg-offers::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./imgs/dubai-atlantis-night.jpg");
  background-size: cover;
  background-position: center;
  /* filter: blur(2px); */
  z-index: -1;
}

/*  */
.bg-about {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.bg-about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./imgs/bg-about.jpg");
  background-size: cover;
  background-position: center;
  /* filter: blur(4px); */
  z-index: -1;
}

/*  */
.bg-fleet {
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.bg-fleet::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("./imgs/bg-fleet-2.jpg");
  background-size: cover;
  background-position: center;
  /* filter: blur(3px); */
  z-index: -1;
}

.bg-two-thirds {
  background-position: top;
}

.one-third-right {
  background-position: right !important;
}

.one-half-bottom {
  background-position: bottom;
}

.card:nth-child(odd) {
  background-color: #a1a1a126;
}

.card:nth-child(even) {
  background-color: #db000017;
}

/* image hover */

.img-wrap {
  position: relative;
  background-size: cover;
  background-position: center;
  /* height: 300px;  */
  overflow: hidden;
  cursor: pointer;
}

.img-wrap .img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* show on bottom half */
  background: rgba(0, 0, 0, 0.6); /* transparent black */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  text-transform: none;
}

.img-wrap:hover .img-overlay {
  opacity: 1;
  transform: translateY(0);
  text-transform: uppercase;
}

/* ================ scroll ================ */

.row-scroll {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.cell-scroll {
  background-color: #fff;
  background-position: center;
  background-size: cover;
  border: 1px solid #ddd;
  padding: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  min-height: 350px;
  cursor: pointer;
}

.title-scroll {
  text-align: center;
  padding: 20px;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.scroll-container:hover .scroll-track {
  animation-play-state: paused;
}

.scroll-track img {
  width: 200px;
  height: auto;
  margin-right: 50px;
  border-radius: 10px;
  transition: transform 0.3s;
}

.scroll-track img:hover {
  transform: scale(1.3);
}

.scroll-track .img-wide {
  width: 400px !important;
  height: auto;
  margin-right: 50px;
  border-radius: 10px;
  transition: transform 0.3s;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ================ scroll end ================ */

.offer-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #25d366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
  display: block;
}

.fleet-icon img {
  height: 150px;
  margin-bottom: 15pt;
}

.fleet-icon {
  align-items: center;
  text-align: center;
}

.fleet-text {
  padding-top: 20pt;
}

.payment-methods {
  margin-top: 30px;
}

.payment-methods div {
  padding-left: 10px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: bold;
}

.payment-methods img {
  margin: 3px;
  height: 32px;
  filter: grayscale(0.5);
}

/* ================================= Responsive ============================= */
@media (max-width: 768px) {
  .only-title .title-box {
    width: 100%;
    text-align: center;
    padding: 10pt;
    background-color: #6c757d40;
    font-size: 1.8rem;
  }

  .half-height .title-box {
    width: 100% !important;
  }

  .desc-page {
    font-size: 1.2rem;
    text-align: left;
  }

  .row-contact {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }

  .contact-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }
  .title-page {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .row {
    flex-direction: column;
  }

  .row-reverse {
    flex-direction: column-reverse;
  }

  .menu-icon {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    display: none;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }

  .menu-toggle:checked ~ .nav-menu {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-links li a {
    padding: 12px 20px;
    border-top: 1px solid #eee;
    display: block;
  }

  .has-submenu .submenu {
    position: static;
    display: none;
    background: #f9f9f9;
    box-shadow: none;
    border: none;
  }

  .has-submenu:hover .submenu {
    display: block;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .row-2 .one-third,
  .row-2 .two-thirds,
  .row-3 .one-third {
    flex: 1 1 100%;
  }

  .desc-section {
    padding: 0 0 0 0;
  }
  .desc-section p {
    line-height: 60px;
    width: 100%;
    padding: 0 5px;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .payment-methods img {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .modal-content {
    width: 90%;
    padding: 20px;
    font-size: 16px;
  }
}

/* Larger screen grid layout */
@media (min-width: 768px) {
  .card {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }

  .field {
    margin-bottom: 0;
  }
}

/* ---------------- End  @media responsive ----------------*/
