/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap");

/* --- Variables --- */
:root {
  --primary: #003366;
  --secondary: #0077b6;
  --accent: #f48c06;
  --accent-glow: rgba(244, 140, 6, 0.4);
  --text-dark: #1a1a1a;
  --text-gray: #555;
  --white: #ffffff;
  --light-bg: #f4f7f6;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: #fff;
}
html[dir="rtl"] body {
  font-family: "Cairo", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-padding {
  padding: 90px 0;
}
.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.show {
  opacity: 1;
  transform: translateY(0);
}

/* --- Navbar --- */
.navbar {
  height: 90px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Brand Wrapper: Holds Image & Text */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between logo and text */
  text-decoration: none;
}

/* Logo Image */
.nav-logo-img {
  height: 60px; /* Slightly smaller to fit with text */
  width: auto;
  object-fit: contain;
}

/* Logo Text */
.nav-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}
.nav-link {
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
  color: var(--text-dark);
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -6px;
  left: 0;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-link:hover::after {
  width: 100%;
}

/* Language Switcher */
.lang-switch {
  border: 2px solid var(--primary);
  padding: 6px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.lang-switch:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0, 51, 102, 0.3);
}
.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--primary);
}

/* --- Hero Section --- */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 25, 51, 0.8), rgba(0, 34, 68, 0.7)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}
.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 25px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 750px;
  margin-inline: auto;
  opacity: 0.95;
  font-weight: 300;
}

.btn {
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  font-size: 1.05rem;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  box-shadow: 0 4px 15px var(--accent-glow);
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-3px);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  margin: 0 10px;
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

/* --- Stats Banner --- */
.stats-banner {
  background: var(--accent);
  color: var(--white);
  padding: 40px 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
}
.stat-item p {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}
.feature-card {
  background: var(--white);
  padding: 45px 35px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover::before {
  opacity: 1;
}
.icon-box {
  width: 80px;
  height: 80px;
  background: rgba(0, 51, 102, 0.05);
  color: var(--primary);
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}
.feature-card:hover .icon-box {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

/* --- NEW GALLERY SECTION --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
  position: relative;
  border: 5px solid #fff;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- About & Services --- */
.about-section-text {
  background: var(--light-bg);
  border-radius: 15px;
  padding: 40px;
  border-left: 5px solid var(--primary);
}
html[dir="rtl"] .about-section-text {
  border-left: none;
  border-right: 5px solid var(--primary);
}
.values-list li {
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
}
.values-list strong {
  color: var(--primary);
  font-size: 1.1rem;
}
html[dir="rtl"] .values-list li {
  padding-left: 0;
  padding-right: 20px;
}
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}
.destination-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 350px;
}
.destination-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  padding: 40px 30px;
  color: var(--white);
}
.destination-item:hover img {
  transform: scale(1.1);
}

/* --- Contact & Footer --- */
.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--white);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
}
.contact-grid-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.info-box i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 15px;
  background: rgba(244, 140, 6, 0.1);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  transition: var(--transition);
}
.info-box:hover i {
  background: var(--accent);
  color: var(--white);
}
.info-box h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 700;
}

footer {
  background: #001a33;
  color: #e0e0e0;
  padding-top: 80px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45px;
  height: 3px;
  background: var(--accent);
}
html[dir="rtl"] .footer-col h3::after {
  left: auto;
  right: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
  text-align: center;
}
.designer-link {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--white);
}
.social-icons a.fb:hover {
  background: #1877f2;
  transform: translateY(-3px);
}
.social-icons a.tk:hover {
  background: #000000;
  border: 1px solid #333;
  transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .brand-wrapper {
    gap: 10px;
  }

  .nav-logo-img {
    height: 45px; /* Smaller image on mobile */
  }

  .nav-logo-text {
    font-size: 0.95rem; /* Smaller text on mobile to prevent overflow */
    max-width: 160px; /* Prevent text from pushing hamburger menu */
  }
  .nav-menu {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 90px);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    transition: 0.4s;
  }
  .nav-menu.active {
    left: 0;
  }
  .hamburger {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .about-split {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    margin-top: 0;
  }
  .nav-logo {
    height: 50px;
  } /* Smaller logo on mobile */
}
